
:root {
    --a3-bg: #07080f;
    --a3-surface: #10121e;
    --a3-surface-2: #171a2b;
    --a3-border: rgba(255, 255, 255, 0.07);
    --a3-accent: #ff2a5f;
    --a3-coral: #ff6b4a;
    --a3-cyan: #06b6d4;
    --a3-emerald: #10b981;
    --a3-text: #f8fafc;
    --a3-muted: #94a3b8;
    --a3-grad: linear-gradient(135deg, #ff2a5f 0%, #ff6b4a 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Readex Pro', system-ui, -apple-system, sans-serif; }
html, body { width: 100%; max-width: 100vw; overflow-x: hidden; background: var(--a3-bg); color: var(--a3-text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.a3-wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 18px; }

/* TOPBAR */
.a3-topbar {
    position: sticky; top: 0; z-index: 900;
    background: rgba(7, 8, 15, 0.88);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--a3-border);
    padding: 12px 0;
}
.a3-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.a3-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.a3-brand img { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 6px 18px rgba(255, 42, 95, 0.32); }
.a3-brand-txt strong { display: block; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.15; }
.a3-brand-txt small { display: block; font-size: 10.5px; letter-spacing: 0.8px; color: var(--a3-accent); font-weight: 600; }

.a3-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.a3-nav a {
    padding: 7px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
    color: var(--a3-muted); transition: all .2s;
}
.a3-nav a:hover, .a3-nav a.active { color: #fff; background: rgba(255, 42, 95, 0.14); }

.a3-actions { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; max-width: 430px; }
.a3-search-form { position: relative; flex: 1; min-width: 170px; }
.a3-search-input {
    width: 100%; background: var(--a3-surface); border: 1px solid var(--a3-border);
    color: #fff; padding: 9px 36px 9px 14px; border-radius: 12px; font-size: 13px; outline: none; transition: border-color .2s;
}
.a3-search-input:focus { border-color: var(--a3-accent); }
.a3-search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--a3-muted); font-size: 13px; pointer-events: none; }
.a3-search-drop {
    position: absolute; top: calc(100% + 6px); right: 0; left: 0;
    background: var(--a3-surface-2); border: 1px solid rgba(255,42,95,0.3);
    border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.75);
    display: none; max-height: 360px; overflow-y: auto; z-index: 999;
}
.a3-search-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    border-bottom: 1px solid var(--a3-border); transition: background .15s;
}
.a3-search-item:hover { background: rgba(255,42,95,0.12); }
.a3-search-item img { width: 38px; height: 52px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.a3-search-item div strong { display: block; font-size: 13px; color: #fff; }
.a3-search-item div span { font-size: 11px; color: var(--a3-muted); }

.a3-cta-app {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--a3-grad); color: #fff; padding: 9px 16px; border-radius: 12px;
    font-size: 13px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 6px 20px rgba(255, 42, 95, 0.35); transition: transform .2s;
}
.a3-cta-app:hover { transform: translateY(-2px); }

/* HERO SPOTLIGHT */
.a3-spotlight {
    position: relative; overflow: hidden; border-radius: 26px; margin: 22px 0 30px;
    background: var(--a3-surface); border: 1px solid var(--a3-border);
    padding: 34px 30px;
}
.a3-spotlight-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: blur(36px) brightness(0.28); transform: scale(1.18); z-index: 0; pointer-events: none;
}
.a3-spotlight-grid {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: 1fr 220px; gap: 28px; align-items: center;
}
.a3-pill-tag {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255, 42, 95, 0.16); border: 1px solid rgba(255, 42, 95, 0.4);
    color: #ff8aa6; padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 14px;
}
.a3-spotlight h1 { font-size: clamp(23px, 4vw, 36px); font-weight: 700; line-height: 1.3; margin-bottom: 12px; color: #fff; }
.a3-spotlight h1 span { background: var(--a3-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.a3-spotlight p { color: #cbd5e1; font-size: 15px; max-width: 680px; margin-bottom: 20px; }
.a3-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.a3-btn-primary {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px;
    border-radius: 14px; background: var(--a3-grad); color: #fff; font-weight: 700; font-size: 14.5px;
    box-shadow: 0 10px 26px rgba(255, 42, 95, 0.4); transition: transform .2s;
}
.a3-btn-secondary {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px;
    border-radius: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
    color: #fff; font-weight: 600; font-size: 14px; transition: background .2s;
}
.a3-btn-primary:hover, .a3-btn-secondary:hover { transform: translateY(-2px); }
.a3-stats-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--a3-muted); }
.a3-stats-row span strong { color: #fff; font-weight: 700; }
.a3-spotlight-poster {
    border-radius: 18px; overflow: hidden; border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.65); aspect-ratio: 2/3;
}
.a3-spotlight-poster img { width: 100%; height: 100%; object-fit: cover; }

/* SECTION HEADS */
.a3-sec-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 32px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--a3-border);
}
.a3-sec-title { font-size: 19.5px; font-weight: 700; display: flex; align-items: center; gap: 9px; color: #fff; }
.a3-sec-title i { color: var(--a3-accent); }
.a3-sec-more { font-size: 13px; font-weight: 600; color: var(--a3-accent); display: inline-flex; align-items: center; gap: 5px; }

/* TOP 10 RANKED STRIP */
.a3-rank-strip {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px;
}
.a3-rank-card {
    display: flex; align-items: center; gap: 12px; padding: 11px;
    background: var(--a3-surface); border: 1px solid var(--a3-border); border-radius: 16px;
    transition: transform .2s, border-color .2s; position: relative; overflow: hidden;
}
.a3-rank-card:hover { transform: translateY(-3px); border-color: rgba(255, 42, 95, 0.45); }
.a3-rank-num {
    font-size: 28px; font-weight: 800; line-height: 1; min-width: 34px; text-align: center;
    background: var(--a3-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.a3-rank-card img { width: 54px; height: 76px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--a3-surface-2); }
.a3-rank-meta { min-width: 0; flex: 1; }
.a3-rank-meta h3 { font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.a3-rank-meta span { font-size: 11.5px; color: var(--a3-muted); display: block; }

/* LATEST EPISODES BENTO GRID */
.a3-ep-bento {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 13px;
}
.a3-ep-card {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    background: var(--a3-surface); border: 1px solid var(--a3-border); border-radius: 15px;
    transition: all .2s;
}
.a3-ep-card:hover { border-color: var(--a3-cyan); transform: translateY(-2px); background: var(--a3-surface-2); }
.a3-ep-thumb { width: 56px; height: 76px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--a3-surface-2); }
.a3-ep-body { flex: 1; min-width: 0; }
.a3-ep-pill {
    display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 50px;
    background: rgba(6, 182, 212, 0.16); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); margin-bottom: 4px;
}
.a3-ep-body h3 { font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-ep-body small { font-size: 11.5px; color: var(--a3-muted); }
.a3-ep-play {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,42,95,0.14);
    color: var(--a3-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px;
}

/* POSTER CATALOG GRID */
.a3-poster-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px;
}
.a3-poster-card {
    background: var(--a3-surface); border: 1px solid var(--a3-border); border-radius: 16px;
    overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.a3-poster-card:hover { transform: translateY(-5px); border-color: rgba(255, 42, 95, 0.45); box-shadow: 0 14px 30px rgba(0,0,0,0.45); }
.a3-poster-media { position: relative; aspect-ratio: 2/3; width: 100%; overflow: hidden; background: var(--a3-surface-2); }
.a3-poster-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.a3-poster-card:hover .a3-poster-media img { transform: scale(1.06); }
.a3-badge-ep {
    position: absolute; top: 9px; right: 9px; background: rgba(7, 8, 15, 0.84);
    backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14);
    color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 8px;
}
.a3-badge-year {
    position: absolute; bottom: 9px; left: 9px; background: var(--a3-grad);
    color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
}
.a3-poster-info { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.a3-poster-info h3 {
    font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.a3-poster-sub { font-size: 11.5px; color: var(--a3-muted); margin-top: 6px; }

/* BREADCRUMB */
.a3-crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--a3-muted); margin: 18px 0; }
.a3-crumb a:hover { color: var(--a3-accent); }

/* PLAYER PROMO BANNERS (Above & Below Player) */
.a3-promo-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 16px; border-radius: 15px; margin: 14px 0;
    background: linear-gradient(135deg, rgba(255, 42, 95, 0.16) 0%, rgba(16, 18, 30, 0.95) 72%);
    border: 1px solid rgba(255, 42, 95, 0.38);
}
.a3-promo-strip.alt {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 18, 30, 0.95) 72%);
    border-color: rgba(16, 185, 129, 0.38);
}
.a3-promo-lhs { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.a3-promo-lhs img { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); }
.a3-promo-lhs strong { display: block; font-size: 13.5px; color: #fff; }
.a3-promo-lhs span { display: block; font-size: 12px; color: #cbd5e1; }
.a3-promo-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 18px; border-radius: 12px; background: var(--a3-grad);
    color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.a3-promo-strip.alt .a3-promo-cta { background: linear-gradient(135deg, #10b981, #059669); }

/* ARTICLES & EDITORIAL CARDS */
.a3-guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; }
.a3-guide-card {
    background: var(--a3-surface); border: 1px solid var(--a3-border); border-radius: 16px;
    padding: 20px; transition: all .2s; display: flex; flex-direction: column; gap: 9px;
}
.a3-guide-card:hover { border-color: var(--a3-accent); transform: translateY(-3px); }
.a3-guide-icon {
    width: 40px; height: 40px; border-radius: 11px; background: rgba(255,42,95,0.14);
    color: var(--a3-accent); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.a3-guide-card h3 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.45; }
.a3-guide-card p { font-size: 12.5px; color: var(--a3-muted); line-height: 1.65; }

.a3-seo-box {
    background: var(--a3-surface); border: 1px solid var(--a3-border); border-radius: 20px;
    padding: 26px; margin: 32px 0 18px; color: #cbd5e1; font-size: 14.5px; line-height: 1.85;
}
.a3-seo-box h2 { font-size: 20px; color: #fff; margin-bottom: 12px; border-right: 4px solid var(--a3-accent); padding-right: 11px; }
.a3-seo-box h3 { font-size: 16.5px; color: #fff; margin: 18px 0 8px; }
.a3-seo-box p { margin-bottom: 10px; }
.a3-seo-box a { color: #ff6b8b; font-weight: 700; }
.a3-faq-item { border-bottom: 1px solid var(--a3-border); padding: 12px 0; }
.a3-faq-item summary { cursor: pointer; font-weight: 700; color: #fff; font-size: 15px; }
.a3-faq-item p { margin-top: 8px; color: var(--a3-muted); }

/* FOOTER */
.a3-footer {
    border-top: 1px solid var(--a3-border); background: #05060b;
    padding: 36px 0 84px; margin-top: 44px; text-align: center; color: var(--a3-muted); font-size: 13px;
}
.a3-footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; color: #cbd5e1; }
.a3-footer-links a:hover { color: var(--a3-accent); }

/* FLOATING SMART BAR */
.a3-float-bar {
    position: fixed; bottom: 14px; left: 12px; right: 12px; max-width: 520px; margin: 0 auto; z-index: 880;
}
.a3-float-inner {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    background: rgba(16, 18, 30, 0.96); border: 1px solid rgba(255, 42, 95, 0.42);
    border-radius: 15px; box-shadow: 0 12px 32px rgba(0,0,0,0.7); backdrop-filter: blur(14px);
}
.a3-float-close { background: none; border: none; color: var(--a3-muted); font-size: 20px; cursor: pointer; padding: 0 4px; }
.a3-float-inner img { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); }
.a3-float-txt { flex: 1; min-width: 0; }
.a3-float-txt strong { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-float-txt span { display: block; font-size: 11px; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-float-btn {
    background: var(--a3-grad); color: #fff; font-size: 12px; font-weight: 700;
    padding: 8px 13px; border-radius: 10px; white-space: nowrap; flex-shrink: 0;
}

@media (max-width: 820px) {
    .a3-spotlight-grid { grid-template-columns: 1fr; text-align: center; }
    .a3-spotlight-poster { max-width: 185px; margin: 0 auto; order: -1; }
    .a3-hero-btns, .a3-stats-row { justify-content: center; }
    .a3-actions { max-width: 100%; width: 100%; order: 3; }
}
@media (max-width: 600px) {
    .a3-poster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .a3-promo-strip { flex-direction: column; align-items: stretch; }
    .a3-promo-cta { width: 100%; }
}
