/* SoundCloudMP3 Design 2025 - Modern CSS */

:root {
    /* Light theme (default) */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary-color: #a855f7;
    --text-dark: #f9fafb;
    --text-muted: #9ca3af;
    --bg-light: #111827;
    --bg-white: #1f2937;
    --bg-card: #1f2937;
    --border-color: #374151;
}

/* Dark mode Bootstrap overrides */
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .modal-content {
    background-color: var(--bg-card);
    color: var(--text-dark);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.top-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    transition: background-color 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success-color);
}

.status-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.lang-select {
    position: relative;
}

.lang-select .dropdown-menu {
    z-index: 1050;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.lang-select .dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
}

.lang-select .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.theme-toggle {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Converter Card */
.converter-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    margin: 0 auto -2rem;
    position: relative;
    z-index: 10;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.url-input {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 140px;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--bg-white);
    color: var(--text-dark);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.url-input::placeholder {
    color: var(--text-muted);
}

.btn-convert-action {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.btn-convert-action:hover {
    transform: translateY(-50%);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-convert-action:focus,
.btn-convert-action:active {
    color: white;
    outline: none;
}

.quality-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Coming Soon Notice */
.coming-soon-notice {
    text-align: center;
    padding: 2rem 1rem;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.coming-soon-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.coming-soon-notice h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.coming-soon-notice p {
    color: var(--text-muted);
    margin: 0;
}

.coming-soon-notice .bookmark-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.coming-soon-notice .bookmark-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.quality-badge {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
    color: var(--text-muted);
}

.quality-badge:hover,
.quality-badge.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feature-badge i {
    color: var(--success-color);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* How To Section */
.howto-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    border: 4px solid var(--bg-light);
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 500px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
}

.faq-question {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    padding-left: 1.75rem;
}

/* SEO Content Section */
.seo-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.seo-content-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.seo-content {
    columns: 2;
    column-gap: 3rem;
}

.seo-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
    break-after: avoid;
}

.seo-content h3:first-child {
    margin-top: 0;
}

.seo-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    break-inside: avoid;
}

.seo-content ul {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    padding-left: 1.25rem;
    break-inside: avoid;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .seo-content {
        columns: 1;
    }

    .seo-content-wrapper {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
}

/* Formats Section */
.formats-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 950px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 768px) {
    .formats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.format-card {
    background: var(--bg-white);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.format-card:first-child {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.1), var(--shadow-md);
}

.format-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.format-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px -4px rgba(102, 126, 234, 0.4);
}

.format-icon i {
    font-size: 1.75rem;
    color: white;
}

.format-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.format-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
    flex-grow: 1;
}

.format-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.format-badge.recommended {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px -2px rgba(102, 126, 234, 0.4);
}

/* Compare Section */
.compare-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.compare-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.compare-table thead th {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-dark);
}

.compare-table thead th.highlight {
    background: var(--primary-gradient);
    color: white;
    font-size: 1rem;
    position: relative;
}

.compare-table thead th.highlight::after {
    content: "★ Best Choice";
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

.compare-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    transition: background 0.2s ease;
}

.compare-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.02);
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.compare-table tbody td.highlight {
    background: rgba(99, 102, 241, 0.04);
    font-weight: 600;
    color: var(--text-dark);
}

.compare-table tbody tr:hover td.highlight {
    background: rgba(99, 102, 241, 0.07);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody td i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.compare-table .text-success { color: #10b981 !important; }
.compare-table .text-danger { color: #ef4444 !important; }

@media (max-width: 600px) {
    .compare-table thead th,
    .compare-table tbody td {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
    }
    .compare-table thead th.highlight::after {
        display: none;
    }
}

/* Guide Section */
.guide-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.guide-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.guide-section .seo-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-section .seo-content h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--primary-gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

.guide-section .seo-content ul {
    list-style: none;
    padding-left: 0;
}

.guide-section .seo-content li {
    position: relative;
    padding-left: 1.5rem;
}

.guide-section .seo-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1.5rem;
}

[data-theme="dark"] footer {
    background: #0f172a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    -webkit-text-fill-color: white;
    background: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Converter Page */
.converter-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.converter-box {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.track-artwork {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.track-details h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.track-artist {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-artist i {
    color: var(--primary);
}

.track-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.track-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 2rem;
}

.progress-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.progress-bar-wrapper {
    height: 12px;
    background: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Ready State */
.ready-section {
    display: none;
}

.ready-section.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.ready-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.ready-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Tier Selection Section */
.tier-section {
    margin-top: 1.5rem;
    text-align: center;
}

.tier-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Download Tier Options */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.download-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
}

.download-option:hover:not(.disabled) {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.download-option.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.08);
}

.download-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.download-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.option-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    color: var(--text-dark);
}

.option-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.option-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.login-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #059669;
}

.premium-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #d97706;
}

[data-theme="dark"] .login-badge {
    background: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .premium-badge {
    background: rgba(245, 158, 11, 0.2);
}

/* Remember choice */
.remember-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.remember-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.change-tier-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: underline;
}

.change-tier-link:hover {
    color: var(--primary-dark);
}

/* Start download button */
.btn-start-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-start-download:hover {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.35);
}

.btn-get-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
}

.btn-get-file:hover {
    transform: none;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Bookmark Prompt */
.bookmark-prompt {
    margin-top: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 2px dashed var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.bookmark-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.25rem;
}

.bookmark-content {
    flex: 1;
}

.bookmark-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.bookmark-content p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.bookmark-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.bookmark-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.bookmark-btn kbd {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: inherit;
    font-size: 0.75rem;
}

/* Power User Banner */
.power-user-banner {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.power-user-banner i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.power-user-banner span {
    flex: 1;
}

.power-user-banner .btn-login-banner {
    flex-shrink: 0;
    padding: 0.375rem 0.875rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.power-user-banner .btn-login-banner:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Queue busy message */
.queue-busy-message {
    text-align: center;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.queue-busy-message p {
    margin: 0 0 0.75rem 0;
}

.queue-busy-message .btn-login-queue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.queue-busy-message .btn-login-queue:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Thanks Page */
.thanks-card {
    max-width: 600px;
}

.thanks-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.thanks-message p {
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.thanks-message i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Share Section */
.share-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.share-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.share-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy-link {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}
.share-btn.copy-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiDrop 1s ease-out forwards;
}

@keyframes confettiDrop {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100px) rotate(720deg); opacity: 0; }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--success-color);
}

/* Utilities */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero {
        padding: 2rem 0 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .converter-card {
        padding: 1.5rem;
        margin: 0 1rem -2rem;
    }

    .url-input {
        padding-right: 1rem;
        padding-bottom: 4rem;
    }

    .btn-convert-action {
        position: absolute;
        right: 6px;
        top: auto;
        bottom: 6px;
        transform: none;
        width: calc(100% - 12px);
        justify-content: center;
    }

    .btn-convert-action:hover {
        transform: none;
    }

    .track-info {
        flex-direction: column;
        text-align: center;
    }

    .bookmark-prompt {
        flex-direction: column;
        text-align: center;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .tab-buttons {
        flex-direction: column;
    }

    .quality-selector {
        flex-wrap: wrap;
    }

    .feature-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Language Suggestion Banner */
.language-suggestion-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    animation: slideUpBanner 0.4s ease-out;
    padding: 1.5rem 0;
}

.language-suggestion-banner.show {
    display: block;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.lang-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.lang-banner-message {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-banner-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lang-banner-text {
    color: var(--text-dark);
}

.lang-banner-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-lang-switch {
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-lang-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-lang-dismiss {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-lang-dismiss:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .lang-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .lang-banner-message {
        flex-direction: column;
    }

    .lang-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Blocker Notice Modal
   ============================================ */

.blocker-notice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blocker-notice-modal.show {
    opacity: 1;
    visibility: visible;
}

.blocker-notice-content {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.blocker-notice-modal.show .blocker-notice-content {
    transform: scale(1) translateY(0);
}

.blocker-notice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse-blocker-notice 2s infinite;
}

.blocker-notice-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse-blocker-notice {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.blocker-notice-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blocker-notice-content p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blocker-notice-content p strong {
    color: var(--text-dark);
}

.blocker-notice-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-blocker-primary {
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-blocker-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-blocker-secondary {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-blocker-secondary:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.blocker-notice-alternative {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.blocker-notice-alternative p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blocker-notice-share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.share-btn-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn-small.facebook {
    background: #1877f2;
}

.share-btn-small.twitter {
    background: #000;
}

.share-btn-small.whatsapp {
    background: #25d366;
}

.share-btn-small.reddit {
    background: #ff4500;
}

.share-btn-small:hover {
    transform: scale(1.1);
    color: white;
}

/* Improved Adblocker Modal */
.blocker-notice-main {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blocker-notice-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.blocker-notice-options {
    text-align: left;
    margin-top: 1.5rem;
}

.blocker-option {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.blocker-option-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.blocker-option-header i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.blocker-option p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.blocker-option .btn-blocker-primary {
    width: 100%;
}

.blocker-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.blocker-divider::before,
.blocker-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.share-btn-blocker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    flex: 1;
}

.share-btn-blocker span {
    display: none;
}

.share-btn-blocker i {
    font-size: 1.2rem;
}

.share-btn-blocker.facebook { background: #1877f2; }
.share-btn-blocker.twitter { background: #000; }
.share-btn-blocker.whatsapp { background: #25d366; }
.share-btn-blocker.telegram { background: #0088cc; }
.share-btn-blocker.reddit { background: #ff4500; }
.share-btn-blocker.copylink { background: #6b7280; }

.share-btn-blocker:hover {
    transform: translateY(-2px);
    color: white;
    filter: brightness(1.1);
}

.share-btn-blocker.shared {
    background: #6b7280 !important;
    pointer-events: none;
    transform: none;
}

.share-btn-blocker.shared i {
    color: #22c55e;
}

.btn-blocker-thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-blocker-thanks:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.btn-blocker-thanks i {
    color: #fef08a;
}

/* Skip confirm section */
.blocker-skip-confirm {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.blocker-skip-confirm p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.skip-confirm-subtext {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.skip-share-buttons {
    margin-bottom: 1rem;
}

.skip-confirm-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-blocker-goback {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-blocker-goback:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-blocker-skip-final {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-blocker-skip-final:hover {
    background: var(--bg-light);
}

.btn-blocker-skip-trigger {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    text-decoration: underline;
}

.btn-blocker-skip-trigger:hover {
    opacity: 1;
}

.blocker-notice-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blocker-skip-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

@media (min-width: 400px) {
    .share-btn-blocker span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .blocker-notice-content {
        padding: 1.5rem 1rem;
        max-height: 85vh;
        border-radius: 1rem;
    }

    .blocker-notice-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .blocker-notice-icon i {
        font-size: 1.5rem;
    }

    .blocker-notice-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .blocker-notice-main {
        font-size: 0.9rem;
    }

    .blocker-notice-sub {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .blocker-option {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .blocker-option-header {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .blocker-option p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .btn-blocker-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .blocker-divider {
        margin: 0.75rem 0;
    }

    .share-btn-blocker {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .share-btn-blocker i {
        font-size: 1rem;
    }

    .blocker-notice-share-buttons {
        gap: 0.35rem;
    }

    .btn-blocker-thanks {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .blocker-skip-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .btn-blocker-skip-trigger {
        font-size: 0.75rem;
    }

    .skip-confirm-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-blocker-goback,
    .btn-blocker-skip-final {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Static Pages (Contact, Terms, etc.)
   ============================================ */

.static-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.static-page .container {
    max-width: 800px;
}

.static-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.static-card .page-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.static-card .page-icon i {
    font-size: 2rem;
    color: white;
}

.static-card h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.static-card .page-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.static-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.static-card h2 i {
    color: var(--primary-color);
}

.static-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.static-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.static-card ul, .static-card ol {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.static-card li {
    margin-bottom: 0.5rem;
}

.static-card a {
    color: var(--primary-color);
    text-decoration: underline;
}

.static-card a:hover {
    color: var(--primary-dark);
}

.static-card .highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 1.5rem 0;
}

.static-card .highlight-box p {
    margin-bottom: 0;
    color: var(--text-dark);
}

.static-card .contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 1rem;
}

.static-card .contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.static-card .last-updated {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 768px) {
    .static-card {
        padding: 2rem 1.5rem;
    }

    .static-card h1 {
        font-size: 1.5rem;
    }

    .static-card .page-icon {
        width: 64px;
        height: 64px;
    }

    .static-card .page-icon i {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Auth / Login Styles
   ========================================== */

/* Login button in header */
.auth-section {
    display: flex;
    align-items: center;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* User dropdown when logged in */
.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem 0.375rem 0.375rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.user-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.user-btn::after {
    margin-left: 0.25rem;
    opacity: 0.6;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* User dropdown menu */
.auth-section .dropdown-menu {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    margin-top: 0.5rem;
}

.auth-section .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: all 0.15s;
}

.auth-section .dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.auth-section .dropdown-item-text {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-section .dropdown-divider {
    margin: 0.25rem 0;
    border-color: var(--border-color);
}

/* Login Modal */
#loginModal .modal-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
}

#loginModal .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

#loginModal .modal-title {
    font-weight: 600;
    color: var(--text-dark);
}

#loginModal .modal-body {
    padding: 1.5rem;
}

/* OAuth Buttons */
.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.oauth-icon {
    flex-shrink: 0;
}

.btn-google {
    background: white;
    border: 1px solid #dadce0;
    color: #3c4043;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #3c4043;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-apple {
    background: #000;
    border: 1px solid #000;
    color: white;
}

.btn-apple:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

/* Divider */
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider-text span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Form styling */
#loginModal .form-control {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#loginModal .form-control:focus {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#loginModal .form-control::placeholder {
    color: var(--text-muted);
}

#loginModal .form-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

#loginModal .btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

#loginModal .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Dark mode adjustments */
[data-theme="dark"] .btn-google {
    background: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .btn-google:hover {
    background: var(--bg-white);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .login-btn span {
        display: none;
    }

    .login-btn {
        padding: 0.5rem;
    }

    .user-btn span {
        display: none;
    }
}

/* Landing page CTA */
.landing-cta {
    margin-top: 2rem;
    text-align: center;
}

.landing-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.landing-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.landing-cta-btn:focus,
.landing-cta-btn:active {
    color: white;
    outline: none;
}

.landing-cta-btn i {
    font-size: 1.3rem;
}

.landing-cta-subtext {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .landing-cta-btn {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }
}
