/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4757;
    --secondary-color: #5352ed;
    --warning-color: #ffa502; /* Add this line */
    --accent-color: #2ed573;
    --warning-color: #ffa502;
    --dark-bg: #1e1e2e;
    --darker-bg: #151521;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --card-bg: #2d2d44;
    --progress-bg: #3d3d5c;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --success-gradient: linear-gradient(135deg, var(--accent-color), #1e90ff);
}

[data-theme="light"] {
    --dark-bg: #ffffff;
    --darker-bg: #f8f9fa;
    --light-text: #2d3436;
    --gray-text: #636e72;
    --card-bg: #ffffff;
    --progress-bg: #e9ecef;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}


/* Steps Styles */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--light-text);
}

/* FAQ Styles */
.faq-container {
    margin: 20px 0;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-method {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Help Categories */
.help-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help-category {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

/* Grid Layouts */
.formats-grid, .issue-types, .suggestion-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.format-item, .issue-type, .suggestion-area {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.format-item i, .issue-type i, .suggestion-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-email {
    text-align: center;
    padding: 15px;
    background: rgba(46, 213, 115, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}



/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    background: var(--bg-color);
    padding: 80px 0 40px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-container h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
    font-size: 2.5rem;
}

.legal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-content section {
    margin-bottom: 30px;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--light-text);
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content li {
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--light-text);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    opacity: 0.1;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--light-text);
    padding: 50px 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Brand Section */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-item i {
    color: var(--primary-color);
    width: 16px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
    font-size: 0.95rem;
}

.footer-link i {
    color: var(--primary-color);
    width: 16px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link:hover i {
    color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-disclaimer p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease;
}


/* Time Estimate */
.time-estimate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--gray-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.time-estimate i {
    color: var(--accent-color);
}

/* Progress Stats */
.progress-stats {
    margin: 20px 0;
    display: grid;
    gap: 10px;
}

.progress-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--darker-bg);
    border-radius: 8px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.progress-stats .stat i {
    color: var(--primary-color);
    width: 16px;
}

/* Success notification variants */
.download-notification.success {
    background: var(--success-gradient);
}

.download-notification.error {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 5px;
}

.logo-tagline {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(46, 213, 115, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 213, 115, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgba(46, 213, 115, 0.3);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.security-badge i {
    font-size: 1.1rem;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(69, 183, 209, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 3px;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 71, 87, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--light-text);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    margin: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-text);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(83, 82, 237, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--light-text);
    font-weight: 600;
}

.step-content p {
    color: var(--gray-text);
    line-height: 1.5;
}

/* Legal Notice Section */
.legal-notice {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    padding: 50px;
    border-radius: 25px;
    margin: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.legal-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.legal-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-text);
    font-weight: 700;
}

.legal-text p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.legal-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 500;
}

.legal-point i {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* Footer Styles */
.footer {
    background: var(--darker-bg);
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

.copyright p {
    color: var(--gray-text);
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .legal-notice {
        padding: 30px 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bounce 2s infinite;
}

.logo h1 {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray-text);
    animation: fadeIn 2s ease 0.5s both;
}

/* Search Section */
.search-section {
    animation: slideInUp 1s ease;
    flex: 1;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.input-group {
    display: flex;
    gap: 10px;
}

#searchInput {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    background: var(--darker-bg);
    color: var(--light-text);
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.3), inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

#searchBtn {
    padding: 18px 35px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

#searchBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}

#searchBtn:active {
    transform: translateY(-1px);
}

/* Progress Bar */
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success State Enhancements */
.progress-card.success {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(46, 213, 115, 0.2);
}

.progress-card.success .progress-icon {
    animation: bounceIn 0.8s ease;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(46, 213, 115, 0.5);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(0deg);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Results Section */
.results-section {
    animation: fadeIn 0.5s ease;
    flex: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.results-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.result-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.5s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.result-card:hover::before {
    left: 100%;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

/* Thumbnail Styles */
.thumbnail-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.thumbnail-container.large {
    border-radius: 20px;
}

.result-thumbnail, .video-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail {
    height: 300px;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.thumbnail-container:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-container:hover .result-thumbnail,
.thumbnail-container:hover .video-thumbnail {
    transform: scale(1.08);
}

.thumbnail-overlay i {
    color: white;
    font-size: 2.5rem;
    background: var(--gradient);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.thumbnail-container:hover .thumbnail-overlay i {
    transform: scale(1);
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.duration-badge.large {
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--light-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-select {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.btn-select:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}


@media (max-width: 768px) {
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .btn-back, .download-btn {
        width: 100%;
        padding: 16px;
    }
}

/* Button Base Styles */
.btn-back, .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-back:hover, .download-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Download Buttons Grid */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.download-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-option:hover {
    border-color: #007bff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.15);
}

/* Video Detail Section */
.video-detail-section {
    animation: fadeIn 0.5s ease;
    flex: 1;
}

.back-button {
    margin-bottom: 25px;
}

.btn-back {
    padding: 12px 25px;
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-back:hover {
    background: var(--primary-color);
    transform: translateX(-5px);
}

.video-detail-container {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 35px;
    margin-bottom: 35px;
}

.video-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--light-text);
    font-weight: 700;
}

.video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--darker-bg);
    padding: 10px 18px;
    border-radius: 10px;
    color: var(--gray-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-color);
}

.action-buttons {
    margin: 25px 0;
}

.copy-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 12px 20px;
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.btn-action:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.3);
}

.btn-action.copied {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(0.95);
}

/* Download Section */
.download-section {
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--progress-bg);
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.download-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--darker-bg);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* Format Tabs */
.format-tabs {
    background: var(--darker-bg);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-headers {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--progress-bg);
}

.tab-header {
    padding: 15px 25px;
    background: transparent;
    color: var(--gray-text);
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px 10px 0 0;
}

.tab-header.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(255, 71, 87, 0.1);
}

.tab-header:hover:not(.active) {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.05);
}

.tab-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Formats Grid - Updated for Desktop */
.formats-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.format-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 120px; /* Fixed height for consistency */
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.format-card:hover::before {
    left: 100%;
}

.format-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.2);
}

.format-card.audio:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(83, 82, 237, 0.2);
}

.format-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.format-card.audio .format-icon {
    background: linear-gradient(135deg, var(--secondary-color), #8e44ad);
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.3);
}

.format-icon i {
    color: white;
    font-size: 1.3rem;
}

.format-info {
    flex: 1;
    min-width: 0; /* Important for text overflow */
}

.format-quality {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 1.1rem;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.format-details {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap; /* Changed from wrap to nowrap */
    white-space: nowrap; /* Prevent wrapping */
}

.format-size {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(46, 213, 115, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.format-bitrate {
    background: rgba(83, 82, 237, 0.1);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-download {
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.btn-download.audio {
    background: linear-gradient(135deg, var(--secondary-color), #8e44ad);
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.3);
}

.btn-download:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}

.btn-download.audio:hover:not(:disabled) {
    box-shadow: 0 10px 25px rgba(83, 82, 237, 0.4);
}

.btn-download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-text);
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    margin-bottom: 10px;
    color: var(--light-text);
    font-size: 1.3rem;
}

.empty-state p {
    font-size: 1rem;
}

/* Download Progress Section */
.download-progress-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    flex: 1;
}

.progress-card {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.progress-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.progress-card.success .progress-icon {
    color: var(--accent-color);
    animation: bounceIn 0.6s ease;
}

.progress-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.progress-info {
    margin-bottom: 25px;
}

.progress-info span {
    font-size: 1.1rem;
    color: var(--gray-text);
    font-weight: 500;
}

.progress-stats {
    margin: 25px 0;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 12px;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.stat i {
    color: var(--primary-color);
}

.info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-top: 20px;
    font-style: italic;
}

/* Success State */
.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-success {
    padding: 15px 30px;
    background: var(--success-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 213, 115, 0.4);
}

.btn-secondary {
    padding: 15px 30px;
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--gray-text);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--gray-text);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Notifications */
.download-notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--success-gradient);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(46, 213, 115, 0.3);
    z-index: 10000;
    animation: slideInRight 0.5s ease;
    max-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.download-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-notification .notification-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-notification .notification-icon i {
    color: white;
    font-size: 1.3rem;
}

.download-notification .notification-text {
    flex: 1;
}

.download-notification .notification-text strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 1.1rem;
}

.download-notification .notification-text span {
    opacity: 0.9;
    font-size: 0.9rem;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    background: var(--success-gradient);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    color: white;
    font-size: 1.3rem;
}

.notification-text {
    flex: 1;
}

.notification-text strong {
    display: block;
    color: var(--light-text);
    margin-bottom: 4px;
    font-weight: 600;
}

.notification-text span {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.notification-loader {
    flex-shrink: 0;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--progress-bg);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.error-notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
    z-index: 10000;
    animation: slideInRight 0.4s ease;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 35px 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    background: var(--card-bg);
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.stat-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .video-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        padding: 25px;
    }
    
    .video-detail-container {
        padding: 25px;
    }
    
    .progress-card {
        padding: 30px;
        margin: 20px;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        justify-content: center;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .btn-success, .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .copy-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .download-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .format-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .format-details {
        justify-content: center;
    }
}