/* Google Fonts: Plus Jakarta Sans & Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
    /* Color Palette - Premium Dark Theme */
    --bg-dark: #07080c;
    --bg-card: rgba(17, 19, 26, 0.6);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --accent: #22d3ee;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.03);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Dynamic Background Nodes */
.bg-blob {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 { 
    top: -100px; 
    right: -100px; 
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: float 20s infinite alternate;
}
.blob-2 { 
    bottom: -100px; 
    left: -100px; 
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 100px) scale(1.1); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9); /* Slightly more opaque for readability */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-brand {
    justify-self: start;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    justify-self: center;
}

.nav-actions {
    justify-self: end;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i, .nav-link .material-icons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link:hover i, .nav-link.active i,
.nav-link:hover .material-icons, .nav-link.active .material-icons {
    color: white;
}

.lang-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-text {
    color: #0ea5e9; /* Bright Sky Blue */
    text-transform: uppercase;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 10rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease;
}

.brand-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: default;
}

.brand-badge:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.nav-tabs {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    margin: 0 auto 2.5rem;
    width: fit-content;
}

.tab-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.pro-badge {
    font-size: 0.6rem;
    background: var(--accent);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
}

.premium-tag {
    font-size: 0.65rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: black;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 800;
}

/* Search Box */
.search-wrapper {
    width: 100%;
    max-width: 700px;
    position: relative;
    padding: 1.5rem; /* Increased padding */
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
    margin: 0 auto;
}

.input-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.batch-textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
    resize: none;
    min-height: 120px;
    display: none; /* Hidden by default */
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: #4b5563;
}

.download-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    width: 100%; /* Full width in wrapper */
}

.download-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.download-btn:active {
    transform: scale(0.98);
}

/* Results Card & Batch List */
.batch-list {
    margin-top: 3rem;
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1.5rem;
}

.result-container {
    margin-top: 3rem;
    width: 100%;
    max-width: 800px;
    display: none;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
}

.video-preview {
    width: 100%;
    background: #1a1c23;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.video-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-author {
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

/* Hide Extension Promo when Extension is Installed */
html[data-golinks-ext-installed="true"] #ui-extension-promo {
    display: none !important;
}

/* Sembunyikan Extension Promo di Perangkat Mobile */
@media (max-width: 768px) {
    #ui-extension-promo {
        display: none !important;
    }
}

.admin-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    color: white;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.admin-input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

/* API Documentation Styling */
.api-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.api-section code {
    display: block;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent);
    line-height: 1.5;
    word-break: break-all;
}

.api-section {
    width: 100%;
    text-align: left;
}

.api-section h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.api-section p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.api-code-block {
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.api-tester {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.api-tester h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: white;
}

.api-tester button {
    margin-top: 0.8rem;
    width: fit-content;
}

.api-generated-link {
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #a5b4fc;
    display: none;
    margin: 1rem 0;
    border: 1px dashed var(--primary);
    word-break: break-all;
    font-family: monospace;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.option-btn.primary {
    background: var(--primary);
    border: none;
}

/* Loading Spinner */
.loader {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* =============================================
   RESPONSIVE OVERHAUL (MOBILE & TABLET)
   ============================================= */

@media (max-width: 992px) {
    .nav-menu { gap: 1.5rem; }
    .header h1 { font-size: 2.8rem; }
    .batch-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar { padding: 0.5rem 0; }
    .steps-grid {
        display: flex;
        grid-template-columns: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0 2rem;
        width: 100vw;
        margin-left: -1rem; /* Kompensasi padding container */
        padding-left: 2rem;
        padding-right: 2rem;
        scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
    }
    .steps-grid::-webkit-scrollbar {
        display: none; /* Sembunyikan scrollbar Chrome/Safari */
    }
    .step-card {
        min-width: 280px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "brand actions"
            "menu menu";
        align-items: center;
        gap: 0.75rem 0.5rem;
        padding: 0 1rem;
    }
    .nav-brand {
        grid-area: brand;
        justify-self: start;
        margin-bottom: 0;
    }
    .nav-actions {
        grid-area: actions;
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        justify-self: end;
    }
    .nav-menu { 
        grid-area: menu;
        justify-content: center; 
        gap: 1.2rem; 
        width: 100%;
        overflow-x: auto;
        padding: 0.5rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-link { font-size: 0.8rem; white-space: nowrap; }
    .logo-text { font-size: 1.4rem; }
    .lang-select { padding: 4px 8px; font-size: 0.75rem; }

    /* Layout & Header */
    .container { padding: 8rem 1rem 2rem; width: 100%; }
    .header h1 { font-size: 2rem; line-height: 1.2; }
    .header p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    
    /* Search Box */
    .search-wrapper { 
        padding: 1rem; 
        border-radius: 20px; 
        width: 100%;
        margin: 0;
    }
    .nav-tabs { 
        width: 100%; 
        max-width: 360px; /* Batasi agar tidak terlalu lebar di HP */
        flex-wrap: nowrap; 
        overflow-x: auto; 
        padding: 0.2rem; 
        margin: 0 auto 2rem;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn { 
        padding: 0.5rem 0.8rem; 
        font-size: 0.7rem; 
        flex-shrink: 0; 
    }
    
    /* Result Card */
    .result-card {
        grid-template-columns: 1fr !important;
        padding: 1.2rem;
        gap: 1rem;
    }
    .video-preview {
        width: 160px;
        margin: 0 auto;
        border-radius: 12px;
    }
    .video-info { text-align: center; }
    .video-title { font-size: 1.1rem; }
    .video-author { justify-content: center; margin-bottom: 1rem; }
    .download-options { justify-content: center; width: 100%; gap: 0.8rem; }
    .option-btn { width: 100%; font-size: 0.85rem; padding: 0.8rem; }

    /* Steps & FAQ */
    .steps-grid, .faq-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .step-card { padding: 1.5rem; }
    .section-title { font-size: 1.4rem; margin: 2rem 0 1.5rem; }
    
    /* Blobs fix for mobile (prevent overflow) */
    .bg-blob { width: 300px; height: 300px; }
}

@media (max-width: 480px) {
    .header h1 { font-size: 1.8rem; }
    .search-input { font-size: 0.9rem; padding: 0.8rem 1rem; }
    .download-btn { padding: 0.8rem; font-size: 0.9rem; }
}
/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
    max-width: 90vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.toast.toast-error {
    background: rgba(220, 38, 38, 0.95);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.toast.toast-success {
    background: rgba(5, 150, 105, 0.95);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.toast.toast-info {
    background: rgba(37, 99, 235, 0.95);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Guide & FAQ Sections */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 4rem 0 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.step-icon, .step-card .material-icons {
    font-size: 45px;
    width: 45px;
    height: 45px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: white;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: left;
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Bypass Modal Styles */
.bypass-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 12, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bypass-modal-content {
    background: rgba(17, 19, 26, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    width: 100%;
    max-width: 520px;
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bypass-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

.modal-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.modal-glow-icon {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    margin-top: 0.5rem;
}

.modal-close-btn {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 18px;
}

.modal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-feature i, .modal-feature .material-icons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-feature span {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 500;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-muted) !important;
    transition: var(--transition-smooth) !important;
    cursor: pointer;
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: white !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* PWA Install UI */
.pwa-install-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border: none;
    color: #fff;
    cursor: pointer;
    animation: pwa-pulse 2s infinite;
    text-decoration: none;
    font-family: inherit;
}
.pwa-install-btn i {
    width: 16px;
    height: 16px;
    color: white;
}
@keyframes pwa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Hide scrollbars globally on responsive & mobile screens */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    * {
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
    }
}


