/* Button Styles */
#downloadBtn {
    background: linear-gradient(135deg, #FF0050, #FF416C);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#downloadBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 80, 0.3);
}

#downloadBtn:active {
    transform: translateY(-1px);
}

/* Input Box */
.input-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px 0;
}

#tiktokUrl {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#tiktokUrl:focus {
    outline: none;
    border-color: #FF0050;
}

/* Download Buttons */
.btn-download-hd {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #FF0050, #FF416C);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    margin: 10px 0;
    transition: transform 0.3s;
}

.btn-download-hd:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 80, 0.3);
}

.btn-download-wm, .btn-download-audio {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
}

.btn-copy-link, .btn-share {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin: 5px;
    font-size: 14px;
}

/* Loading Spinner */
#loading {
    text-align: center;
    margin: 30px 0;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FF0050;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    background: #ffe6e6;
    border-left: 4px solid #ff3333;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.btn-retry {
    background: #ff3333;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* Success Box */
.success-box {
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.thumbnail {
    max-width: 200px;
    border-radius: 10px;
    margin: 10px 0;
}

/* Instructions */
.instructions {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}
