
/* ===== from index.php ===== */
.community-comments-grid {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 16px !important;
            width: 100% !important;
            margin-top: 14px !important;
        }
        @media (max-width: 1024px) {
            .community-comments-grid {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
                scroll-snap-type: x mandatory !important;
                gap: 14px !important;
                padding-bottom: 12px !important;
                padding-top: 4px !important;
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
            }
            .community-comments-grid::-webkit-scrollbar {
                display: none !important;
            }
            .community-comment-card {
                flex: 0 0 290px !important;
                width: 290px !important;
                min-width: 290px !important;
                max-width: 290px !important;
                scroll-snap-align: start !important;
                box-sizing: border-box !important;
                padding: 16px 18px !important;
                border-radius: 16px !important;
            }
            .comment-card-badge {
                max-width: 65% !important;
                font-size: 0.74rem !important;
            }
            .comment-card-username {
                max-width: 135px !important;
                font-size: 0.82rem !important;
            }
        }

/* ===== from detail.php ===== */
@media (max-width: 768px) {
        .detail-hero-banner {
            padding: 80px 14px 28px !important;
            min-height: auto !important;
        }
        .detail-hero-content {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 20px !important;
        }
        .detail-poster-box {
            width: 140px !important;
            border-radius: 12px !important;
        }
        .detail-cd-card {
            flex-direction: column !important;
            align-items: stretch !important;
            padding: 14px 12px !important;
            gap: 12px !important;
            border-radius: 12px !important;
        }
        .detail-cd-timer-boxes {
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            gap: 6px !important;
        }
        .detail-cd-box-item {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            padding: 6px 4px !important;
            text-align: center !important;
        }
        .detail-cd-box-item span:first-child {
            font-size: 1rem !important;
        }
        .detail-cd-box-item span:last-child {
            font-size: 0.55rem !important;
        }
        .detail-completed-card {
            flex-direction: column !important;
            align-items: flex-start !important;
            padding: 12px 14px !important;
            gap: 10px !important;
            border-radius: 12px !important;
        }
        .detail-episodes-grid {
            grid-template-columns: 1fr !important;
            gap: 12px !important;
        }
    }

/* ===== from watch.php ===== */
/* Watch Page Mobile-Friendly Responsive Styles */
    .watch-container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 90px 24px 60px;
    }
    .watch-controls-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 24px;
    }
    .watch-actions-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .watch-action-btn {
        padding: 9px 20px;
        border-radius: 9999px;
        font-size: 0.82rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        font-family: 'Quicksand', sans-serif;
        text-decoration: none;
        border: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .watch-cd-card {
        background: linear-gradient(90deg, rgba(229, 9, 20, 0.15) 0%, rgba(0, 168, 255, 0.15) 100%);
        border: 1px solid rgba(255, 42, 85, 0.35);
        border-radius: 14px;
        padding: 16px 20px;
        margin-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .watch-cd-timer-boxes {
        display: flex;
        gap: 8px;
        font-family: 'Quicksand', sans-serif;
    }
    .watch-cd-box-item {
        text-align: center;
        background: rgba(0,0,0,0.6);
        padding: 6px 12px;
        border-radius: 8px;
    }
    .watch-server-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .watch-server-btn {
        padding: 10px 18px;
        border-radius: 12px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        transition: all 0.2s ease;
        font-family: 'Quicksand', sans-serif;
        text-align: left;
    }
    .watch-comment-section {
        margin-bottom: 50px;
        background: #121212;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        padding: 28px;
    }
    .watch-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 99999;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 20px;
    }
    .watch-modal-dialog {
        width: 100%;
        max-width: 820px;
        background: #121212;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
    }
    .watch-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        background: #18181b;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    @media (max-width: 768px) {
        .watch-container {
            padding: 75px 12px 40px !important;
        }
        .cineapse-player-wrapper {
            border-radius: 10px !important;
        }
        .watch-controls-bar {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 14px !important;
            padding: 14px 0 !important;
        }
        .watch-title-text {
            font-size: 1.15rem !important;
            line-height: 1.3 !important;
        }
        .watch-subtitle-text {
            font-size: 0.74rem !important;
        }
        .watch-actions-bar {
            display: flex !important;
            width: 100% !important;
flex-wrap: wrap !important;
            gap: 8px !important;
            justify-content: space-between !important;
        }
        .watch-actions-bar .watch-action-btn {
            flex: 0 0 auto !important;
            justify-content: center !important;
            padding: 10px 8px !important;
            font-size: 0.78rem !important;
            white-space: nowrap !important;
        }
        .watch-cd-card {
            flex-direction: column !important;
            align-items: stretch !important;
            padding: 14px 12px !important;
            gap: 12px !important;
            border-radius: 12px !important;
        }
        .watch-cd-timer-boxes {
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            gap: 6px !important;
        }
        .watch-cd-box-item {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            padding: 6px 4px !important;
        }
        .watch-cd-box-item span:first-child {
            font-size: 1rem !important;
        }
        .watch-cd-box-item span:last-child {
            font-size: 0.55rem !important;
        }
        .watch-completed-card {
            flex-direction: column !important;
            align-items: flex-start !important;
            padding: 12px 14px !important;
            gap: 10px !important;
            border-radius: 12px !important;
        }
        .watch-server-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 8px !important;
        }
        .watch-server-btn {
            width: 100% !important;
            padding: 9px 10px !important;
            border-radius: 10px !important;
        }
        .watch-server-btn span:first-child {
            font-size: 0.8rem !important;
        }
        .watch-server-btn span:last-child {
            font-size: 0.65rem !important;
        }
        .watch-comment-section {
            padding: 16px 12px !important;
            border-radius: 14px !important;
        }
        .watch-comment-section textarea {
            font-size: 16px !important; /* Critical to prevent iOS Safari auto-zoom */
        }
        .watch-modal-overlay {
            padding: 10px !important;
        }
        .watch-modal-dialog {
            max-height: 92vh !important;
            border-radius: 14px !important;
        }
        .watch-modal-header {
            padding: 14px 16px !important;
        }
        .watch-modal-iframe {
            height: 380px !important;
            max-height: 55vh !important;
        }
    }

/* ===== from watch.php ===== */
.watch-cd-card{display:none}

/* ===== from calendar.php ===== */
.schedule-card {
            padding: 16px 18px;
            border-radius: 16px;
            background: #121212;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .schedule-card:hover {
            border-color: rgba(255, 42, 85, 0.4);
            transform: translateY(-2px);
        }

/* ===== from posts.php ===== */
.post-card {
            background: #121212;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 16px;
            display: flex;
            gap: 16px;
            cursor: pointer;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
            position: relative;
        }
        .post-card:hover {
            border-color: rgba(255, 255, 255, 0.3);
            transform: scale(1.03);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
        }
        .post-thumb-wrapper {
            position: relative;
            width: 82px;
            aspect-ratio: 2 / 3;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .post-thumb-wrapper img {
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .post-card:hover .post-thumb-wrapper img {
            transform: scale(1.08);
        }

/* ===== from ranking.php ===== */
.ranking-card {
            padding: 16px 22px;
            border-radius: 16px;
            background: #12141c;
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
            transition: all 0.25s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }
        .ranking-card:hover {
            border-color: rgba(255, 42, 85, 0.35);
            transform: translateY(-2px);
        }
        .heart-btn {
            padding: 9px 16px;
            border-radius: 12px;
            background: rgba(255, 42, 85, 0.1);
            border: 1px solid rgba(255, 42, 85, 0.3);
            color: #ff4d6d;
            font-size: 0.84rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: 'Quicksand', sans-serif;
        }
        .heart-btn:hover {
            background: rgba(255, 42, 85, 0.2);
            transform: scale(1.05);
        }
        .heart-btn.voted i {
            animation: heartPulse 0.4s ease;
        }
        @keyframes heartPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.4); }
            100% { transform: scale(1); }
        }

/* ===== from app.php ===== */
:root {
            --app-accent: #ff2a55;
            --app-accent-glow: rgba(255, 42, 85, 0.45);
            --app-emerald: #10b981;
            --app-emerald-glow: rgba(16, 185, 129, 0.35);
            --app-blue: #3b82f6;
            --app-surface: #0f1117;
            --app-surface-elevated: #161a23;
            --app-border: rgba(255, 255, 255, 0.08);
            --app-border-hover: rgba(255, 42, 85, 0.4);
        }

        body {
            background-color: #07090d;
            color: #e2e8f0;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
        }

        .app-hero-container {
            position: relative;
            max-width: 1300px;
            margin: 0 auto;
            padding: 120px 24px 60px;
        }

        /* Ambient Glow Backgrounds */
        .ambient-glow-1 {
            position: absolute;
            top: 60px;
            left: 10%;
            width: 480px;
            height: 480px;
            background: radial-gradient(circle, rgba(255, 42, 85, 0.18) 0%, rgba(255, 42, 85, 0) 70%);
            filter: blur(80px);
            pointer-events: none;
            z-index: 0;
        }

        .ambient-glow-2 {
            position: absolute;
            top: 200px;
            right: 5%;
            width: 520px;
            height: 520px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 70%);
            filter: blur(90px);
            pointer-events: none;
            z-index: 0;
        }

        /* Hero Grid */
        .hero-split-grid {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 48px;
            align-items: center;
        }

        @media (max-width: 980px) {
            .hero-split-grid {
                grid-template-columns: 1fr;
                gap: 36px;
                text-align: center;
            }
        }

        /* Safety & Status Pill */
        .badge-pill-group {
            display: inline-flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .safe-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 999px;
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.04em;
        }

        .rank-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 999px;
            background: rgba(255, 42, 85, 0.14);
            border: 1px solid rgba(255, 42, 85, 0.35);
            color: #ff4d6d;
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Hero Typography */
        .hero-main-title {
            font-size: 3.1rem;
            font-weight: 900;
            line-height: 1.15;
            letter-spacing: -0.03em;
            color: #ffffff;
            font-family: 'Quicksand', sans-serif;
            margin: 0 0 18px 0;
        }

        @media (max-width: 768px) {
            .hero-main-title {
                font-size: 2.2rem;
            }
        }

        .hero-title-highlight {
            background: linear-gradient(135deg, #ff2a55 0%, #ff758c 50%, #ff8a00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.12rem;
            line-height: 1.7;
            color: #94a3b8;
            margin-bottom: 28px;
            max-width: 640px;
        }

        @media (max-width: 980px) {
            .hero-subtitle {
                margin-left: auto;
                margin-right: auto;
            }
        }

        /* Spec Pills Bar */
        .specs-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 32px;
        }

        @media (max-width: 980px) {
            .specs-bar {
                justify-content: center;
            }
        }

        .spec-item {
            background: var(--app-surface-elevated);
            border: 1px solid var(--app-border);
            padding: 10px 18px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.85rem;
        }

        .spec-item i {
            color: var(--app-accent);
            font-size: 1rem;
        }

        .spec-item strong {
            color: #ffffff;
            font-weight: 700;
        }

        .spec-item span {
            color: #94a3b8;
        }

        /* Action Buttons */
        .hero-action-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
            margin-bottom: 32px;
        }

        @media (max-width: 980px) {
            .hero-action-group {
                justify-content: center;
            }
        }

        .btn-download-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            background: linear-gradient(135deg, #ff2a55 0%, #e50914 100%);
            color: #ffffff !important;
            padding: 16px 36px;
            border-radius: 14px;
            font-size: 1.1rem;
            font-weight: 800;
            text-decoration: none;
            box-shadow: 0 10px 30px var(--app-accent-glow);
            transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
        }

        .btn-download-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 15px 40px rgba(255, 42, 85, 0.6);
            background: linear-gradient(135deg, #ff3d67 0%, #f01420 100%);
        }

        .btn-download-primary i {
            font-size: 1.3rem;
            animation: bounceDown 2s infinite;
        }

        @keyframes bounceDown {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(4px); }
            60% { transform: translateY(2px); }
        }

        .btn-mirror-secondary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.14);
            color: #e2e8f0 !important;
            padding: 16px 26px;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .btn-mirror-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.28);
            color: #ffffff !important;
            transform: translateY(-2px);
        }

        /* QR Scan Box */
        .qr-card-box {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--app-border);
            padding: 12px 18px;
            border-radius: 14px;
            margin-top: 6px;
        }

        .qr-card-box img {
            width: 72px;
            height: 72px;
            border-radius: 8px;
            background: #ffffff;
            padding: 4px;
        }

        .qr-card-box .qr-text {
            text-align: left;
        }

        .qr-card-box .qr-title {
            font-size: 0.88rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 2px 0;
        }

        .qr-card-box .qr-sub {
            font-size: 0.78rem;
            color: #94a3b8;
            margin: 0;
        }

        /* 3D Phone Mockup Container */
        .phone-mockup-wrap {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .phone-frame {
            position: relative;
            width: 320px;
            height: 640px;
            background: #000000;
            border: 10px solid #1f2430;
            border-radius: 46px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 42, 85, 0.25);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        @media (max-width: 480px) {
            .phone-frame {
                width: 280px;
                height: 560px;
            }
        }

        .phone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 140px;
            height: 22px;
            background: #1f2430;
            border-bottom-left-radius: 16px;
            border-bottom-right-radius: 16px;
            z-index: 10;
        }

        .phone-screen {
            flex: 1;
            background: #08090d;
            padding: 30px 14px 14px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .phone-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .phone-logo {
            font-family: 'Quicksand', sans-serif;
            font-weight: 800;
            font-size: 1rem;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .phone-logo-badge {
            background: var(--app-accent);
            color: #fff;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 6px;
        }

        .phone-player-preview {
            position: relative;
            width: 100%;
            height: 160px;
            border-radius: 14px;
            overflow: hidden;
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
            margin-bottom: 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .phone-player-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.75;
        }

        .phone-player-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 10px;
        }

        .phone-player-tag {
            align-self: flex-start;
            background: #10b981;
            color: #ffffff;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 6px;
            margin-bottom: 4px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .phone-player-title {
            color: #ffffff;
            font-size: 0.85rem;
            font-weight: 700;
            margin: 0;
        }

        .phone-player-sub {
            color: #94a3b8;
            font-size: 0.7rem;
            margin: 0;
        }

        .phone-drama-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            flex: 1;
        }

        .phone-drama-card {
            background: #151922;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .phone-drama-card img {
            width: 100%;
            height: 90px;
            object-fit: cover;
        }

        .phone-drama-name {
            font-size: 0.65rem;
            color: #e2e8f0;
            padding: 4px 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
        }

        /* Section Container */
        .content-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 24px;
            position: relative;
            z-index: 2;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-header .sub-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--app-accent);
            margin-bottom: 12px;
        }

        .section-header h2 {
            font-size: 2.3rem;
            font-weight: 800;
            color: #ffffff;
            font-family: 'Quicksand', sans-serif;
            margin: 0 0 14px 0;
            letter-spacing: -0.02em;
        }

        .section-header p {
            font-size: 1.05rem;
            color: #94a3b8;
            max-width: 680px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }

        .feature-card {
            background: var(--app-surface-elevated);
            border: 1px solid var(--app-border);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.25s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--app-border-hover);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }

        .feature-icon-wrap {
            width: 58px;
            height: 58px;
            border-radius: 16px;
            background: rgba(255, 42, 85, 0.12);
            border: 1px solid rgba(255, 42, 85, 0.25);
            color: var(--app-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .feature-card.emerald .feature-icon-wrap {
            background: rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.25);
            color: #34d399;
        }

        .feature-card.blue .feature-icon-wrap {
            background: rgba(59, 130, 246, 0.12);
            border-color: rgba(59, 130, 246, 0.25);
            color: #60a5fa;
        }

        .feature-card.purple .feature-icon-wrap {
            background: rgba(168, 85, 247, 0.12);
            border-color: rgba(168, 85, 247, 0.25);
            color: #c084fc;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 12px 0;
            font-family: 'Quicksand', sans-serif;
        }

        .feature-card p {
            font-size: 0.92rem;
            line-height: 1.65;
            color: #94a3b8;
            margin: 0;
        }

        /* Comparison Table */
        .comparison-table-wrap {
            background: var(--app-surface-elevated);
            border: 1px solid var(--app-border);
            border-radius: 20px;
            overflow-x: auto;
            box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        }

        .comp-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.95rem;
        }

        .comp-table th, .comp-table td {
            padding: 18px 22px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .comp-table th {
            background: rgba(255, 255, 255, 0.02);
            font-weight: 700;
            color: #ffffff;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

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

        .comp-table .highlight-col {
            background: rgba(255, 42, 85, 0.08);
            border-left: 2px solid var(--app-accent);
            border-right: 2px solid var(--app-accent);
        }

        .comp-check {
            color: #10b981;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .comp-cross {
            color: #ef4444;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* Steps Installation */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

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

        .step-card {
            background: var(--app-surface-elevated);
            border: 1px solid var(--app-border);
            border-radius: 20px;
            padding: 32px 24px;
            position: relative;
        }

        .step-num {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 2.6rem;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.04);
            font-family: 'Quicksand', sans-serif;
            line-height: 1;
        }

        .step-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: rgba(255, 42, 85, 0.12);
            color: var(--app-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

        .step-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 10px 0;
            font-family: 'Quicksand', sans-serif;
        }

        .step-card p {
            font-size: 0.9rem;
            color: #94a3b8;
            line-height: 1.6;
            margin: 0;
        }

        /* Drama Posters Grid */
        .drama-showcase-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 16px;
        }

        @media (max-width: 1024px) {
            .drama-showcase-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 560px) {
            .drama-showcase-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .drama-poster-card {
            background: var(--app-surface-elevated);
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid var(--app-border);
            position: relative;
            transition: all 0.2s ease;
        }

        .drama-poster-card:hover {
            transform: translateY(-4px);
            border-color: var(--app-border-hover);
        }

        .drama-poster-img {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            display: block;
        }

        .drama-poster-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(4px);
            color: #ffffff;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .drama-poster-info {
            padding: 10px;
        }

        .drama-poster-title {
            font-size: 0.84rem;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0 0 4px 0;
        }

        .drama-poster-meta {
            font-size: 0.74rem;
            color: #34d399;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* FAQ Accordion */
        .faq-accordion {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            background: var(--app-surface-elevated);
            border: 1px solid var(--app-border);
            border-radius: 16px;
            overflow: hidden;
            transition: border-color 0.2s ease;
        }

        .faq-item:hover {
            border-color: rgba(255, 255, 255, 0.15);
        }

        .faq-question {
            width: 100%;
            padding: 20px 24px;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 700;
            text-align: left;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Quicksand', sans-serif;
        }

        .faq-question i {
            font-size: 0.9rem;
            color: var(--app-accent);
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
            color: #94a3b8;
            font-size: 0.94rem;
            line-height: 1.7;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 0 24px 22px;
        }

        /* Sticky Floating Mobile Download Bar */
        .floating-mobile-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(11, 14, 21, 0.95);
            backdrop-filter: blur(12px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 20px;
            display: none;
            align-items: center;
            justify-content: space-between;
            z-index: 999;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
        }

        @media (max-width: 768px) {
            .floating-mobile-bar.visible {
                display: flex;
            }
        }

        .floating-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .floating-info img {
            width: 38px;
            height: 38px;
            border-radius: 10px;
        }

        .floating-title {
            font-size: 0.88rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            font-family: 'Quicksand', sans-serif;
        }

        .floating-sub {
            font-size: 0.74rem;
            color: #10b981;
            margin: 0;
            font-weight: 600;
        }

        .btn-floating-download {
            background: linear-gradient(135deg, #ff2a55 0%, #e50914 100%);
            color: #ffffff !important;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

/* ===== from best_kdrama_sites.php ===== */
.geo-guide-container {
            max-width: 960px;
            margin: 0 auto;
            padding: 110px 24px 80px;
            font-family: 'Inter', sans-serif;
            color: #e2e8f0;
            line-height: 1.8;
        }
        .geo-guide-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 999px;
            background: rgba(229, 9, 20, 0.15);
            border: 1px solid rgba(229, 9, 20, 0.35);
            color: #ff4d6d;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 16px;
        }
        .geo-guide-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.02em;
            line-height: 1.25;
            margin-bottom: 18px;
            font-family: 'Quicksand', sans-serif;
        }
        .geo-lead {
            font-size: 1.08rem;
            color: #94a3b8;
            margin-bottom: 36px;
            line-height: 1.7;
        }
        .platform-card {
            background: #090a0f;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 28px;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }
        .platform-card:hover {
            border-color: rgba(255, 255, 255, 0.18);
        }
        .platform-card.winner {
            border: 2px solid #e50914;
            background: linear-gradient(180deg, rgba(229, 9, 20, 0.06) 0%, #090a0f 100%);
            position: relative;
        }
        .winner-tag {
            position: absolute;
            top: -12px;
            right: 24px;
            background: #e50914;
            color: #ffffff;
            font-size: 0.74rem;
            font-weight: 800;
            padding: 4px 14px;
            border-radius: 999px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .platform-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 16px;
        }
        .platform-rank {
            font-size: 1.35rem;
            font-weight: 800;
            color: #ffffff;
            font-family: 'Quicksand', sans-serif;
        }
        .platform-score {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.05);
            padding: 4px 12px;
            border-radius: 8px;
            font-size: 0.84rem;
            font-weight: 700;
            color: #fbbf24;
        }
        .pros-cons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;
            margin-top: 20px;
        }
        .pros-box, .cons-box {
            padding: 16px;
            border-radius: 12px;
            font-size: 0.85rem;
        }
        .pros-box {
            background: rgba(52, 211, 153, 0.08);
            border: 1px solid rgba(52, 211, 153, 0.2);
            color: #a7f3d0;
        }
        .cons-box {
            background: rgba(248, 113, 113, 0.08);
            border: 1px solid rgba(248, 113, 113, 0.2);
            color: #fca5a5;
        }
        .geo-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.86rem;
            margin: 28px 0;
            background: #090a0f;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
        }
        .geo-table th, .geo-table td {
            padding: 14px 18px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .geo-table th {
            background: rgba(255, 255, 255, 0.03);
            color: #94a3b8;
            font-weight: 600;
        }
        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #e50914;
            color: #ffffff;
            padding: 10px 22px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.88rem;
            text-decoration: none;
            margin-top: 14px;
            transition: opacity 0.2s;
        }
        .cta-btn:hover {
            opacity: 0.9;
        }
.hd-eps{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 2px}
.hd-eps span{font-size:.62rem;font-weight:700;line-height:1;padding:3px 5px;border-radius:4px;background:#151a22;border:1px solid #2a3140;color:#cfd6e2}
.hd-st{position:absolute;top:8px;left:8px;z-index:3;font-size:.6rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:3px 6px;border-radius:5px;backdrop-filter:blur(6px)}
.hd-st.on{background:rgba(22,163,74,.9);color:#fff}
.hd-st.done{background:rgba(0,0,0,.7);color:#9aa3b2}
.hd-c{position:absolute;bottom:6px;right:8px;z-index:3;font-size:.6rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:2px 6px;border-radius:5px;background:rgba(0,0,0,.62);backdrop-filter:blur(6px);color:#9fb3c8}
.hd-c.mv{color:#ff8fa3}
.hd-n{position:absolute;bottom:6px;left:8px;z-index:3;font-family:'Quicksand',sans-serif;font-weight:900;font-size:1.9rem;line-height:1;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.9)}
.hd-r{position:absolute;top:8px;right:8px;z-index:3;display:flex;align-items:center;gap:3px;background:rgba(0,0,0,.75);backdrop-filter:blur(6px);padding:2px 7px;border-radius:6px;font-size:.72rem;font-weight:700;color:#ffb703}
.hd-ep{display:inline-block;margin:6px 0 0;padding:2px 7px;border-radius:5px;font-size:.64rem;font-weight:800;letter-spacing:.02em;background:rgba(22,163,74,.14);border:1px solid rgba(22,163,74,.35);color:#4ade80}
.cineapse-card-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:8px;margin-bottom:-3px;line-height:1.12;font-size:.84rem;font-weight:600;color:#e6eaf2}
.cineapse-card-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:7px;margin:2px 0 0;padding:0;font-size:.7rem;color:#8b93a1;line-height:1}
.cineapse-card-meta .hd-ep{margin:0;padding:0;border:0;background:none;font-size:.66rem;transform:translateY(-1px)}
.cineapse-card-meta .cy{color:#8b93a1}
.cineapse-card-meta .ct{margin-left:auto;color:#c9d1dd;font-weight:700}
.cineapse-card{line-height:1.2}
.cineapse-poster-box{display:block;position:relative;overflow:hidden}
