/* ==========================================================================
   AnimeNova — Modern Responsive Theme
   Obsidian Dark Slate + Crimson Rose & Amber Gold
   ========================================================================== */

:root {
    --nv-bg-deep: #060911;
    --nv-bg-main: #0a0f1d;
    --nv-bg-surface: #10172a;
    --nv-bg-card: #141e36;
    --nv-bg-card-hover: #1c2a4c;
    --nv-border: rgba(244, 63, 94, 0.16);
    --nv-border-subtle: rgba(255, 255, 255, 0.08);
    --nv-border-glow: rgba(225, 29, 72, 0.45);

    --nv-rose: #f43f5e;
    --nv-ruby: #e11d48;
    --nv-crimson: #be123c;
    --nv-amber: #f59e0b;
    --nv-gold: #fbbf24;
    --nv-emerald: #10b981;
    --nv-cyan: #06b6d4;

    --nv-text-bright: #ffffff;
    --nv-text-main: #f1f5f9;
    --nv-text-muted: #94a3b8;
    --nv-text-dim: #64748b;

    --nv-font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --nv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nv-radius-sm: 8px;
    --nv-radius-md: 14px;
    --nv-radius-lg: 20px;
    --nv-radius-full: 9999px;

    --nv-shadow-card: 0 12px 30px -8px rgba(0, 0, 0, 0.6), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
    --nv-shadow-rose: 0 0 28px rgba(225, 29, 72, 0.35);
    --nv-shadow-amber: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--nv-bg-main);
    color: var(--nv-text-main);
    font-family: var(--nv-font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(225, 29, 72, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 40%, rgba(245, 158, 11, 0.07) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(16, 23, 42, 0.9) 0%, transparent 70%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.nova-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.nova-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--nv-border-subtle);
    padding: 12px 0;
    transition: background 0.3s ease;
}

.nova-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nova-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nova-brand img {
    height: 38px;
    width: auto;
}

.nova-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--nv-radius-full);
    color: var(--nv-text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nova-nav-link i {
    font-size: 14px;
}

.nova-nav-link:hover {
    color: var(--nv-text-bright);
    background: rgba(244, 63, 94, 0.12);
}

.nova-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--nv-ruby), var(--nv-rose));
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

/* Live Search Bar */
.nova-search-wrap {
    position: relative;
    flex: 1;
    max-width: 380px;
}

.nova-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.nova-search-box i {
    position: absolute;
    left: 14px;
    color: var(--nv-text-dim);
    font-size: 14px;
    pointer-events: none;
}

.nova-search-input {
    width: 100%;
    padding: 9px 14px 9px 40px;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-full);
    color: var(--nv-text-bright);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
}

.nova-search-input:focus {
    border-color: var(--nv-rose);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
    background: var(--nv-bg-card);
}

.nova-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    z-index: 1100;
    display: none;
}

.nova-search-dropdown.active {
    display: block;
}

.nova-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--nv-border-subtle);
    transition: background 0.15s ease;
}

.nova-search-item:last-child {
    border-bottom: none;
}

.nova-search-item:hover {
    background: var(--nv-bg-card-hover);
}

.nova-search-item img {
    width: 36px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.nova-search-info {
    flex: 1;
    min-width: 0;
}

.nova-search-title {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--nv-text-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nova-search-meta {
    font-size: 12px;
    color: var(--nv-text-muted);
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

/* Mobile Toggle */
.nova-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nv-text-bright);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
}

/* Buttons */
.nova-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: var(--nv-radius-md);
    font-weight: 700;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.nova-btn-primary {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #f59e0b 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.nova-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.55);
    color: #ffffff;
}

.nova-btn-secondary {
    background: var(--nv-bg-surface);
    color: var(--nv-text-bright);
    border: 1px solid var(--nv-border-subtle);
}

.nova-btn-secondary:hover {
    background: var(--nv-bg-card-hover);
    border-color: var(--nv-rose);
    color: #ffffff;
}

.nova-btn-block {
    width: 100%;
}

.nova-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--nv-radius-md);
}

/* Pulsing CTA */
.nova-pulse-cta {
    animation: novaPulse 2.4s infinite;
}

@keyframes novaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(225, 29, 72, 0);
    }
}

/* Hero Spotlight Banner */
.nova-hero {
    position: relative;
    padding: 40px 0 20px;
    overflow: hidden;
}

.nova-hero-card {
    position: relative;
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--nv-shadow-card);
}

.nova-hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    filter: blur(2px) brightness(0.45);
    transform: scale(1.05);
}

.nova-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a0f1d 0%, rgba(10, 15, 29, 0.8) 50%, rgba(10, 15, 29, 0.3) 100%),
                linear-gradient(90deg, #0a0f1d 0%, rgba(10, 15, 29, 0.7) 60%, transparent 100%);
}

.nova-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 760px;
}

.nova-hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.nova-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--nv-radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nova-badge-rose {
    background: rgba(225, 29, 72, 0.2);
    color: #fb7185;
    border: 1px solid rgba(225, 29, 72, 0.4);
}

.nova-badge-gold {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.nova-badge-cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.nova-hero-title {
    font-family: var(--nv-font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.nova-hero-desc {
    color: var(--nv-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nova-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Section Layout */
.nova-section {
    padding: 36px 0;
}

.nova-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.nova-section-title {
    font-family: var(--nv-font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nova-section-title i {
    color: var(--nv-rose);
}

.nova-section-link {
    color: var(--nv-text-muted);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nova-section-link:hover {
    color: var(--nv-rose);
}

/* Anime Card Grid */
.nova-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}

.nova-card {
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--nv-shadow-card);
    position: relative;
}

.nova-card:hover {
    transform: translateY(-6px);
    border-color: var(--nv-border-glow);
    box-shadow: var(--nv-shadow-rose);
}

.nova-card-poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--nv-bg-card);
}

.nova-card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.nova-card:hover .nova-card-poster {
    transform: scale(1.06);
}

.nova-card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--nv-gold);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--nv-radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.nova-card-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: var(--nv-radius-sm);
    z-index: 3;
}

.nova-card-play-hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.nova-card-play-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nv-ruby);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.6);
    transform: scale(0.8);
    transition: transform 0.25s ease;
}

.nova-card:hover .nova-card-play-hover {
    opacity: 1;
}

.nova-card:hover .nova-card-play-icon {
    transform: scale(1);
}

.nova-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nova-card-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nova-card-meta {
    font-size: 12px;
    color: var(--nv-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid var(--nv-border-subtle);
}

/* Catalog Filter Bar */
.nova-catalog-header {
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-lg);
    padding: 24px;
    margin-bottom: 30px;
}

.nova-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.nova-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--nv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.nova-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--nv-bg-card);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text-bright);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.nova-select:focus {
    border-color: var(--nv-rose);
}

/* Pagination */
.nova-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nova-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--nv-radius-sm);
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    color: var(--nv-text-bright);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nova-page-btn:hover {
    background: var(--nv-bg-card-hover);
    border-color: var(--nv-rose);
}

.nova-page-btn.active {
    background: var(--nv-ruby);
    border-color: var(--nv-ruby);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}

/* ==========================================================================
   Anime Detail Page Styling
   ========================================================================== */

.nova-detail-header-wrap {
    position: relative;
    padding: 40px 0 20px;
}

.nova-detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    filter: blur(14px) brightness(0.28);
    opacity: 0.65;
    z-index: 0;
}

.nova-detail-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    background: rgba(16, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 32px;
    box-shadow: var(--nv-shadow-card);
}

.nova-poster-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nova-poster-frame {
    position: relative;
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    aspect-ratio: 2 / 3;
}

.nova-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nova-poster-score {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(6, 9, 17, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--nv-radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
}

.nova-score-val {
    color: var(--nv-gold);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nova-detail-info {
    display: flex;
    flex-direction: column;
}

.nova-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--nv-text-dim);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.nova-breadcrumbs a:hover {
    color: var(--nv-rose);
}

.nova-title-ru {
    font-family: var(--nv-font-heading);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 6px;
}

.nova-title-en {
    font-size: 17px;
    font-weight: 500;
    color: var(--nv-text-muted);
    margin-bottom: 18px;
}

.nova-genres-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.nova-genre-tag {
    padding: 5px 12px;
    border-radius: var(--nv-radius-full);
    background: var(--nv-bg-card);
    border: 1px solid var(--nv-border-subtle);
    color: var(--nv-text-bright);
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nova-genre-tag:hover {
    border-color: var(--nv-rose);
    color: #ffffff;
    background: rgba(225, 29, 72, 0.15);
}

/* Specs Table */
.nova-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    background: var(--nv-bg-card);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.nova-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nova-spec-label {
    color: var(--nv-text-dim);
}

.nova-spec-val {
    color: #ffffff;
    font-weight: 600;
}

/* Synopsis */
.nova-synopsis-block {
    margin-top: 10px;
}

.nova-synopsis-head {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-synopsis-text {
    color: var(--nv-text-main);
    line-height: 1.75;
    font-size: 15px;
    white-space: pre-line;
}

/* ==========================================================================
   Fake Cinema Player Hub 2.0 (AnimeNova Version)
   ========================================================================== */

.nova-player-section {
    margin: 36px 0;
}

.nova-player-hub {
    background: #060911;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.nova-player-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 540px;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.nova-player-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 15, 29, 0.4) 0%, rgba(6, 9, 17, 0.88) 100%);
}

.nova-player-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nova-player-quality-tag {
    background: rgba(225, 29, 72, 0.9);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--nv-radius-sm);
    letter-spacing: 0.5px;
}

.nova-player-audio-tag {
    background: rgba(16, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--nv-text-bright);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--nv-radius-sm);
}

.nova-player-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.nova-play-trigger-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 36px rgba(225, 29, 72, 0.65);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: novaPulse 2s infinite;
}

.nova-play-trigger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 48px rgba(225, 29, 72, 0.9);
}

.nova-player-screen-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.nova-player-bottombar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--nv-text-muted);
}

.nova-player-controls-mock {
    background: var(--nv-bg-surface);
    padding: 16px 24px;
    border-top: 1px solid var(--nv-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nova-player-notice {
    font-size: 13.5px;
    color: var(--nv-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-player-notice i {
    color: var(--nv-amber);
}

/* Episodes Grid */
.nova-episodes-section {
    margin: 36px 0;
}

.nova-episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.nova-episodes-grid::-webkit-scrollbar {
    width: 6px;
}

.nova-episodes-grid::-webkit-scrollbar-thumb {
    background: var(--nv-border);
    border-radius: 4px;
}

.nova-ep-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text-bright);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.nova-ep-btn:hover {
    background: var(--nv-bg-card-hover);
    border-color: var(--nv-rose);
    transform: translateY(-2px);
    color: #ffffff;
}

.nova-ep-btn.active {
    background: var(--nv-ruby);
    border-color: var(--nv-ruby);
    color: #ffffff;
}

.nova-ep-sub {
    font-size: 11px;
    color: var(--nv-text-dim);
    margin-top: 2px;
}

/* Screenshots Gallery */
.nova-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.nova-gallery-item {
    aspect-ratio: 16 / 9;
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    border: 1px solid var(--nv-border-subtle);
}

.nova-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nova-gallery-item:hover img {
    transform: scale(1.05);
}

/* Tags Cloud */
.nova-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.nova-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-full);
    color: var(--nv-text-muted);
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.nova-tag-pill:hover {
    color: #ffffff;
    border-color: var(--nv-rose);
    background: rgba(225, 29, 72, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.nova-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.nova-quick-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--nv-radius-full);
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--nv-text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nova-quick-tag-chip:hover,
.nova-quick-tag-chip.active {
    color: #ffffff;
    background: rgba(225, 29, 72, 0.16);
    border-color: var(--nv-rose);
}

.nova-popular-tags-bar {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--nv-border-subtle);
}

/* FAQ Block */
.nova-faq-block {
    margin: 36px 0;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-lg);
    padding: 28px;
}

.nova-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--nv-border-subtle);
}

.nova-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nova-faq-q {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-faq-q i {
    color: var(--nv-rose);
}

.nova-faq-a {
    color: var(--nv-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Top 100 Leaderboard */
.nova-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--nv-bg-surface);
    border: 1px solid var(--nv-border-subtle);
    border-radius: var(--nv-radius-md);
    padding: 14px 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.nova-leaderboard-item:hover {
    border-color: var(--nv-border-glow);
    background: var(--nv-bg-card-hover);
    transform: translateX(4px);
}

.nova-rank-num {
    font-family: var(--nv-font-heading);
    font-size: 22px;
    font-weight: 900;
    width: 42px;
    text-align: center;
    color: var(--nv-text-dim);
}

.nova-rank-1 { color: #f59e0b; text-shadow: 0 0 12px rgba(245, 158, 11, 0.5); }
.nova-rank-2 { color: #cbd5e1; text-shadow: 0 0 12px rgba(203, 213, 225, 0.5); }
.nova-rank-3 { color: #f97316; text-shadow: 0 0 12px rgba(249, 115, 22, 0.5); }

.nova-rank-poster {
    width: 50px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--nv-radius-sm);
    flex-shrink: 0;
}

.nova-rank-info {
    flex: 1;
    min-width: 0;
}

.nova-rank-title {
    font-weight: 700;
    font-size: 15.5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.nova-rank-score {
    font-weight: 800;
    font-size: 16px;
    color: var(--nv-gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
.nova-footer {
    margin-top: auto;
    background: #04060c;
    border-top: 1px solid var(--nv-border-subtle);
    padding: 48px 0 24px;
}

.nova-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.nova-footer-brand p {
    color: var(--nv-text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 400px;
}

.nova-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.nova-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nova-footer-links a {
    color: var(--nv-text-muted);
    font-size: 13.5px;
}

.nova-footer-links a:hover {
    color: var(--nv-rose);
}

.nova-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--nv-text-dim);
    flex-wrap: wrap;
    gap: 12px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .nova-detail-card {
        grid-template-columns: 1fr;
    }
    .nova-poster-col {
        max-width: 260px;
        margin: 0 auto;
    }
    .nova-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nova-nav {
        display: none;
    }
    .nova-mobile-toggle {
        display: block;
    }
    .nova-hero-title {
        font-size: 26px;
    }
    .nova-title-ru {
        font-size: 24px;
    }
    .nova-specs-grid {
        grid-template-columns: 1fr;
    }
    .nova-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
