/* ============================
   SMART UNIQUE HOME PAGE CSS
   ============================ */

/* ---- Floating Genre Pill Bar ---- */
.genre-pill-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.genre-pill-bar::-webkit-scrollbar { display: none; }
.genre-pill {
    flex-shrink: 0;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.genre-pill:hover, .genre-pill.active {
    background: rgba(229,9,20,0.15);
    border-color: rgba(229,9,20,0.5);
    color: #fff;
    box-shadow: 0 0 16px rgba(229,9,20,0.25);
}

/* ---- Stats Ticker ---- */
.stats-ticker {
    background: linear-gradient(90deg,rgba(229,9,20,0.08), rgba(139,92,246,0.08));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: hidden;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ticker-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.ticker-num {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.ticker-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Section Header ---- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}
@media (max-width: 480px) {
    .section-header { margin-bottom: 14px; gap: 8px; }
    .section-title { font-size: 16px; gap: 8px; }
    .section-title .bar { height: 22px; }
    .section-badge { font-size: 8px; padding: 3px 7px; }
    .view-all-btn { font-size: 11px; padding: 5px 12px; }
    .trend-scroll-btn { width: 28px; height: 28px; font-size: 10px; }
}
.section-title .bar {
    width: 4px;
    height: 28px;
    border-radius: 4px;
}
.section-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}
.view-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 999px;
    transition: all 0.2s;
    text-decoration: none;
}
.view-all-btn:hover {
    background: rgba(229,9,20,0.12);
    border-color: rgba(229,9,20,0.35);
    color: #fff;
}

/* ── Modern View All Button (VAB) ── */
.vab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}
.vab i {
    font-size: 10px;
    transition: transform 0.25s;
}
.vab:hover i { transform: translateX(3px); }

/* Red — Latest Release */
.vab-red {
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.25);
}
.vab-red:hover {
    color: #fff;
    background: rgba(220, 38, 38, 0.22);
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 18px rgba(220, 38, 38, 0.25);
}

/* Teal — TV Shows */
.vab-teal {
    color: #5eead4;
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.25);
}
.vab-teal:hover {
    color: #fff;
    background: rgba(13, 148, 136, 0.22);
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 0 18px rgba(13, 148, 136, 0.25);
}

/* Gold — Top Rated */
.vab-gold {
    color: #fde68a;
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.22);
}
.vab-gold:hover {
    color: #fff;
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.5);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.2);
}

/* Purple — 18+ Movies */
.vab-purple {
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
}
.vab-purple:hover {
    color: #fff;
    background: rgba(124, 58, 237, 0.22);
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
}

/* Pink — 18+ Series */
.vab-pink {
    color: #f5d0fe;
    background: rgba(192, 38, 211, 0.1);
    border-color: rgba(192, 38, 211, 0.25);
}
.vab-pink:hover {
    color: #fff;
    background: rgba(192, 38, 211, 0.22);
    border-color: rgba(192, 38, 211, 0.55);
    box-shadow: 0 0 18px rgba(192, 38, 211, 0.25);
}

/* Light mode overrides */
html:not(.dark) .vab-red    { color: #dc2626; background: rgba(220,38,38,0.07); }
html:not(.dark) .vab-teal   { color: #0d9488; background: rgba(13,148,136,0.07); }
html:not(.dark) .vab-gold   { color: #b45309; background: rgba(250,204,21,0.07); }
html:not(.dark) .vab-purple { color: #7c3aed; background: rgba(124,58,237,0.07); }
html:not(.dark) .vab-pink   { color: #c026d3; background: rgba(192,38,211,0.07); }

/* ---- Trending Scroll (numbered) ---- */
.trending-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 20px; scrollbar-width: none; scroll-behavior: smooth; }
.trending-scroll::-webkit-scrollbar { display: none; }
.trend-scroll-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; transition: all 0.2s;
}
.trend-scroll-btn:hover {
    background: rgba(229,9,20,0.15); border-color: rgba(229,9,20,0.4);
    color: #fff;
}
.trend-card {
    flex-shrink: 0;
    width: 130px;
    position: relative;
    cursor: pointer;
}
@media (min-width: 768px) { .trend-card { width: 180px; } }
.trend-rank {
    position: absolute;
    bottom: 48px;
    left: -8px;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 2px rgba(255,255,255,0.25);
    color: transparent;
    text-shadow: 3px 5px 12px rgba(0,0,0,0.8);
    z-index: 2;
    user-select: none;
    pointer-events: none;
}
@media (min-width: 768px) {
    .trend-rank { font-size: 96px; left: -10px; }
}
.trend-poster {
    position: relative;
    margin-left: 14px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}
.trend-card:hover .trend-poster {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(229,9,20,0.2);
    border-color: rgba(229,9,20,0.4);
}
.trend-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.trend-card:hover .trend-poster img { transform: scale(1.08); }
.trend-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trend-card:hover .trend-overlay { opacity: 1; }
.play-ring {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(229,9,20,0.85);
    box-shadow: 0 0 20px rgba(229,9,20,0.6);
    transform: scale(0.5);
    transition: transform 0.3s ease;
}
.trend-card:hover .play-ring { transform: scale(1); }
.trend-quality {
    position: absolute;
    top: 8px; right: 8px;
    font-size: 9px; font-weight: 800;
    padding: 3px 8px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    color: #facc15;
    border: 1px solid rgba(250,204,21,0.3);
    text-transform: uppercase;
}
.trend-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #e5e7eb;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    padding: 0 2px;
    transition: color 0.2s;
}
.trend-card:hover .trend-title { color: #e50914; }
@media (max-width: 480px) {
    .trend-title { font-size: 13px; }
}

/* ---- Movie Grid Cards ---- */
.movie-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 480px) { .movie-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .movie-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .movie-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .movie-grid { grid-template-columns: repeat(6, 1fr); } }

.movie-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    aspect-ratio: 2/3;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}
.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0,0,0,0.65), 0 0 20px rgba(229,9,20,0.18);
    border-color: rgba(229,9,20,0.35);
    z-index: 5;
}
.movie-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.movie-card:hover img { transform: scale(1.08); }

/* Genre Badge top-right */
.card-genre-badge {
    position: absolute;
    top: 0; right: 0;
    font-size: 9px; font-weight: 800;
    padding: 4px 10px;
    border-radius: 0 14px 0 10px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #e50914, #ec4899);
    color: #fff;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(229,9,20,0.4);
}
/* Bottom info overlay */
.card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    transform: translateY(4px);
    transition: transform 0.3s;
}
.movie-card:hover .card-info { transform: translateY(0); }
.card-title {
    font-size: 11px; font-weight: 800;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 0.2s;
}
.movie-card:hover .card-title { color: #f87171; }
.card-meta { display: flex; align-items: center; justify-content: space-between; }
.card-type-badge {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.04em;
}
.card-rating { display: flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: #facc15; }

/* Play overlay center */
.card-play-overlay {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(0,0,0,0.15);
}
.movie-card:hover .card-play-overlay { opacity: 1; }
.card-play-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(229,9,20,0.85);
    display: flex; align-items: center; justify-content: center;
    transform: scale(0.6);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 0 24px rgba(229,9,20,0.55);
    backdrop-filter: blur(4px);
}
.movie-card:hover .card-play-btn { transform: scale(1); }

/* ---- Staggered animation ---- */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.anim-card { animation: fadeSlideUp 0.4s ease both; }

/* ---- NEW BADGE ---- */
.new-badge {
    position: absolute;
    top: 8px; left: 0;
    background: linear-gradient(90deg, #10b981, #059669);
    color: #fff;
    font-size: 9px; font-weight: 800;
    padding: 3px 10px 3px 8px;
    border-radius: 0 8px 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(16,185,129,0.4);
}

/* ---- TRENDING BADGE ---- */
.trending-badge {
    position: absolute;
    top: 8px; left: 0;
    background: linear-gradient(90deg, #f97316, #ef4444);
    color: #fff;
    font-size: 9px; font-weight: 800;
    padding: 3px 10px 3px 8px;
    border-radius: 0 8px 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(239,68,68,0.45);
    animation: trendingPulse 2s ease-in-out infinite;
    z-index: 3;
}
@keyframes trendingPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(239,68,68,0.45); }
    50% { box-shadow: 0 4px 16px rgba(249,115,22,0.7); }
}

/* Parallax scrolling ambient glow */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

/* ---- Home Genre Bar ---- */
.home-genre-bar-wrap {
    margin-bottom: 28px;
}
.home-genre-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 8px;
    align-items: center;
}
.home-genre-pills::-webkit-scrollbar { display: none; }

/* Base pill */
.hgp {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.22s;
    user-select: none;
}
.hgp:hover, .hgp.active {
    background: rgba(229,9,20,0.14);
    border-color: rgba(229,9,20,0.45);
    color: #fff;
    box-shadow: 0 0 14px rgba(229,9,20,0.2);
    transform: translateY(-1px);
}

/* All pill */
.hgp-all {
    background: linear-gradient(135deg, rgba(229,9,20,0.14), rgba(236,72,153,0.09));
    border-color: rgba(229,9,20,0.35);
    color: #f87171;
    font-weight: 800;
}
.hgp-all:hover {
    background: linear-gradient(135deg, rgba(229,9,20,0.26), rgba(236,72,153,0.18));
    color: #fff;
}

/* ===== 18+ TOGGLE as pill ===== */
.hgp-18toggle {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    gap: 7px;
    padding: 6px 12px;
    position: relative;
}
.hgp-18toggle::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(239,68,68,0.4), rgba(139,92,246,0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.hgp-18toggle.is-on {
    background: rgba(239,68,68,0.13);
    border-color: rgba(239,68,68,0.55);
    color: #fff;
    box-shadow: 0 0 18px rgba(239,68,68,0.25), 0 0 6px rgba(239,68,68,0.1);
    animation: pill18Glow 2s ease-in-out infinite;
}
.hgp-18toggle.is-on::before { opacity: 1; }
@keyframes pill18Glow {
    0%, 100% { box-shadow: 0 0 16px rgba(239,68,68,0.22), 0 0 4px rgba(239,68,68,0.08); }
    50%       { box-shadow: 0 0 26px rgba(239,68,68,0.38), 0 0 10px rgba(239,68,68,0.18); }
}
.hgp18-label {
    font-size: 11px;
    font-weight: 900;
    color: #ef4444;
    letter-spacing: 0.02em;
}
.hgp-18toggle.is-on .hgp18-label { color: #f87171; }

/* Toggle track */
.hgp18-track {
    width: 28px;
    height: 15px;
    border-radius: 8px;
    background: #4b5563;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}
.hgp-18toggle.is-on .hgp18-track { background: #ef4444; }
.hgp18-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hgp-18toggle.is-on .hgp18-thumb { left: 15px; }
.hgp18-txt {
    font-size: 9px;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    min-width: 18px;
}
.hgp-18toggle.is-on .hgp18-txt { color: #f87171; }

/* 18+ Zone highlighted pill */
.hgp-zone-hl {
    background: linear-gradient(135deg, rgba(239,68,68,0.22), rgba(220,38,38,0.15));
    border: 1.5px solid rgba(239,68,68,0.55);
    color: #f87171;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.03em;
    animation: zonePillPulse2 2.5s ease-in-out infinite;
}
.hgp-zone-hl:hover {
    background: linear-gradient(135deg, rgba(239,68,68,0.35), rgba(220,38,38,0.28));
    border-color: rgba(239,68,68,0.85);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}
@keyframes zonePillPulse2 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.2); }
    50%       { box-shadow: 0 0 10px 3px rgba(239,68,68,0.14); }
}

/* Mobile: hide toggle text */
@media (max-width: 480px) {
    .hgp18-txt { display: none; }
    .hgp-18toggle { padding: 6px 10px; gap: 5px; }
}

/* ---- Continue Watching Cards ---- */
.cw-card {
    display: block; text-decoration: none; min-width: 150px; max-width: 150px; flex-shrink: 0;
}
.cw-poster {
    position: relative; width: 100%; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.cw-poster img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
}
.cw-card:hover .cw-poster img { transform: scale(1.05); }
.cw-progress-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: rgba(255,255,255,0.1);
}
.cw-progress-fill {
    height: 100%; background: linear-gradient(90deg, #e50914, #ec4899);
    border-radius: 0 2px 0 0; transition: width 0.3s;
}
.cw-play-icon {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.25s;
}
.cw-card:hover .cw-play-icon { opacity: 1; }
.cw-play-icon i {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(229,9,20,0.9);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
}
.cw-title {
    margin-top: 6px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cw-time {
    font-size: 10px; color: rgba(255,255,255,0.25); font-weight: 600;
}

/* ---- Discover More Card — Mobile ---- */
@media (max-width: 480px) {
    .discover-card { padding: 18px 16px !important; border-radius: 14px !important; }
    .discover-inner { gap: 16px !important; }
    .discover-divider { display: none !important; }
    .discover-request { text-align: left !important; width: 100%; }
    .discover-request p { font-size: 12px !important; }
    .discover-cta { width: 100% !important; justify-content: center !important; padding: 12px 20px !important; font-size: 13px !important; }
    .discover-links a { padding: 9px 16px !important; font-size: 12px !important; }
}

/* ---- Discover More Section — Default (Dark) ---- */
.discover-label { color: rgba(255,255,255,0.4); }
.discover-links a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 13px; font-weight: 800; text-decoration: none;
}
.discover-divider { background: rgba(255,255,255,0.07); }
.discover-request { text-align: right; }
.discover-q { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 6px; }
.discover-sub { font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.discover-cta {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: 13px;
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: #fff; font-size: 14px; font-weight: 900;
    text-decoration: none; box-shadow: 0 6px 22px rgba(220,38,38,0.4);
    letter-spacing: 0.01em;
}
.discover-viewall { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; }

/* =============================================
   LIGHT MODE — Home Page Overrides
   html:not(.dark) targets JS toggle
   ============================================= */
html:not(.dark) .section-title { color: #111; }
html:not(.dark) .trend-title { color: #333; }
html:not(.dark) .trend-card:hover .trend-title { color: #dc2626; }
html:not(.dark) .trend-rank { -webkit-text-stroke-color: rgba(0,0,0,0.12); }

html:not(.dark) .view-all-btn {
    color: rgba(0,0,0,0.5); background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}
html:not(.dark) .view-all-btn:hover {
    color: #dc2626; background: rgba(220,38,38,0.08);
    border-color: rgba(220,38,38,0.3);
}

html:not(.dark) .trend-scroll-btn {
    background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.5);
}
html:not(.dark) .trend-scroll-btn:hover {
    background: rgba(220,38,38,0.1); color: #dc2626;
}

html:not(.dark) .trend-poster {
    background: #f3f3f3; border-color: rgba(0,0,0,0.08);
}
html:not(.dark) .trend-quality { background: rgba(0,0,0,0.6); }

/* Continue Watching */
html:not(.dark) .cw-title { color: #333; }
html:not(.dark) .cw-time { color: #888; }

/* Discover More card */
html:not(.dark) .discover-card {
    background: linear-gradient(135deg,rgba(220,38,38,0.04) 0%,rgba(13,148,136,0.03) 50%,rgba(250,204,21,0.02) 100%) !important;
    border-color: rgba(0,0,0,0.08) !important;
}
html:not(.dark) .discover-label { color: rgba(0,0,0,0.45); }
html:not(.dark) .discover-links a {
    background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #333;
}
html:not(.dark) .discover-divider { background: rgba(0,0,0,0.08); }
html:not(.dark) .discover-q { color: rgba(0,0,0,0.55); }
html:not(.dark) .discover-sub { color: rgba(0,0,0,0.35); }
html:not(.dark) .discover-viewall { color: rgba(0,0,0,0.4); }

/* Ambient glows toned down */
html:not(.dark) .ambient-glow { opacity: 0.2; }

/* Clear button in Continue Watching */
html:not(.dark) button[onclick="clearWatchHistory()"] {
    color: rgba(0,0,0,0.4) !important;
    border-color: rgba(0,0,0,0.1) !important;
}

