:root {
    --bg-main: #18191d;
    --bg-soft: #202126;
    --bg-card: #111217;
    --bg-card-2: #17181e;
    --border: rgba(255, 255, 255, 0.07);
    --text: #ffffff;
    --text-soft: #b8bac4;
    --text-muted: #767986;
    --red: #f31223;
    --red-dark: #b80f1a;
    --yellow: #ffca3a;
    --radius: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-main);
    color: var(--text);
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 19, 23, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 58px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff6a00, var(--red));
    color: #fff;
    font-size: 12px;
}

.logo-text {
    font-size: 15px;
    letter-spacing: -0.4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    height: 34px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 14px 8px 8px;
    background: #111217;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    display: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 10px;
    color: var(--text-soft);
    border-radius: 10px;
    font-size: 13px;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.header-search {
    margin-left: auto;
    width: 210px;
    height: 34px;
    background: #fff;
    color: #111;
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0 11px;
    gap: 8px;
}

.header-search i {
    color: #70727c;
    font-size: 12px;
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header {
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.btn-login {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn-register {
    background: var(--red);
    color: #fff;
}

.header-user {
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    font-size: 13px;
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.site-main {
    max-width: var(--container);
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: 22px 18px 40px;
}

.hero-section {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: stretch;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 15%, rgba(243, 18, 35, 0.20), transparent 30%),
        linear-gradient(135deg, #202126, #111217);
    overflow: hidden;
}

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

.hero-eyebrow {
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(243, 18, 35, 0.12);
    border: 1px solid rgba(243, 18, 35, 0.25);
    font-size: 12px;
    font-weight: 700;
}

.hero-eyebrow i {
    color: var(--red);
}

.hero-content h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(28px, 5vw, 54px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.hero-content p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1px solid var(--border);
}

.hero-preview {
    position: relative;
    min-height: 310px;
}

.preview-card-main {
    height: 100%;
    border-radius: 24px;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 60%),
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 35%),
        linear-gradient(135deg, #31323a, #111217);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.preview-card-main::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

.preview-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 11px;
    background: rgba(243, 18, 35, 0.95);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.preview-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff6a00, var(--red));
    font-size: 25px;
    box-shadow: 0 18px 45px rgba(243, 18, 35, 0.35);
}

.preview-mini-list {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 8px;
}

.preview-mini-list span {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d2f38, #08090c);
    border: 1px solid var(--border);
}

.content-section,
.layout-section {
    margin-top: 24px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-heading-space {
    margin-top: 28px;
}

.section-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.section-link {
    color: var(--text-soft);
    font-size: 13px;
}

.circle-content-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 4px 0 10px;
}

.circle-content-row::-webkit-scrollbar {
    height: 5px;
}

.circle-content-row::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
}

.circle-content-item {
    width: 92px;
    flex: 0 0 92px;
    text-align: center;
}

.circle-poster {
    width: 82px;
    height: 82px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(243, 18, 35, 0.75);
    display: grid;
    place-items: center;
    color: var(--text-muted);
}

.circle-content-item span {
    display: block;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.layout-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.movie-card {
    min-width: 0;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243, 18, 35, 0.45);
}

.movie-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    background-color: #0d0e12;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 30px;
}

.movie-quality {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px 7px;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.movie-card-body {
    padding: 10px;
}

.movie-card-body h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    min-height: 35px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 11px;
}

.movie-meta i {
    color: var(--yellow);
}

.sidebar-column {
    display: grid;
    gap: 14px;
}

.sidebar-card {
    padding: 14px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    font-size: 14px;
}

.sidebar-title i {
    color: var(--red);
}

.sidebar-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.sidebar-item {
    display: grid;
    gap: 3px;
    padding: 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.sidebar-item:hover {
    background: rgba(243, 18, 35, 0.10);
}

.sidebar-item span {
    font-size: 13px;
    font-weight: 700;
}

.sidebar-item small,
.sidebar-empty {
    color: var(--text-muted);
    font-size: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-list a {
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-soft);
    font-size: 12px;
}

.tag-list a:hover {
    background: var(--red);
    color: #fff;
}

.empty-box {
    grid-column: 1 / -1;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed var(--border);
    color: var(--text-soft);
    line-height: 1.6;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #111217;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--text-soft);
}

.footer-inner p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .layout-section {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sidebar-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 58px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mobile-menu-btn {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        order: 10;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        justify-content: flex-start;
        border-radius: 10px;
    }

    .nav-dropdown-menu {
        position: static;
        display: block;
        margin-top: 6px;
        box-shadow: none;
    }

    .header-search {
        order: 11;
        width: 100%;
        margin-left: 0;
    }

    .header-actions {
        order: 12;
        width: 100%;
    }

    .hero-section {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sidebar-column {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .site-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-section {
        padding: 18px;
        border-radius: 18px;
    }

    .hero-content h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.breadcrumb a {
    color: var(--text-soft);
}

.breadcrumb a:hover {
    color: #fff;
}

.watch-page {
    display: block;
}

.watch-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.watch-title-row h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.6px;
}

.watch-title-row p {
    margin: 6px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.google-icon {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
}

.watch-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.watch-tabs button {
    border: 0;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.watch-tabs button.is-active,
.watch-tabs button:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.player-box {
    width: 100%;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    background: #07080b;
    border: 1px solid var(--border);
}

.player-box video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

.fake-player {
    position: relative;
    min-height: 470px;
    background:
        linear-gradient(to bottom, rgba(8, 9, 12, 0.10), rgba(8, 9, 12, 0.88)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 35%),
        linear-gradient(135deg, #2c2f3a, #0c0d11);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    text-align: center;
}

.fake-player-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
}

.fake-play-logo {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff6a00, var(--red));
    font-size: 28px;
    z-index: 2;
    box-shadow: 0 18px 50px rgba(243, 18, 35, 0.35);
}

.fake-player span {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--text-soft);
    z-index: 2;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.content-info-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.series-top-card {
    margin-bottom: 18px;
}

.detail-poster img,
.poster-placeholder {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
    background: #101116;
    border: 1px solid var(--border);
}

.poster-placeholder {
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 40px;
}

.detail-info h1,
.detail-info h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.detail-description {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}

.imdb-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #15161b;
    border: 1px solid var(--border);
}

.imdb-box span {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    background: #f5c518;
    color: #111;
    font-size: 11px;
    font-weight: 900;
    border-radius: 5px;
}

.imdb-box strong {
    color: #fff;
}

.trailer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.info-grid div {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.04);
}

.info-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.info-grid strong {
    color: var(--text-soft);
    font-size: 13px;
}

.actor-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.actor-mini {
    width: 62px;
    flex: 0 0 62px;
    text-align: center;
}

.actor-avatar {
    width: 52px;
    height: 52px;
    margin: 0 auto 6px;
    border-radius: 14px;
    background: #121319;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    overflow: hidden;
}

.actor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-mini span {
    display: block;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-sidebar {
    position: sticky;
    top: 78px;
    display: grid;
    gap: 12px;
}

.side-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.side-action-grid button {
    min-height: 58px;
    border: 0;
    border-radius: 13px;
    background: #111217;
    color: #fff;
    border: 1px solid var(--border);
    cursor: pointer;
    display: grid;
    place-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
}

.side-action-grid button i {
    font-size: 15px;
}

.side-action-grid button:hover {
    background: rgba(243, 18, 35, 0.12);
    border-color: rgba(243, 18, 35, 0.35);
}

.rating-box {
    padding: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.rating-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #111217;
}

.rating-score > i {
    color: var(--red);
    font-size: 34px;
}

.rating-score strong {
    font-size: 22px;
}

.rating-score span {
    color: var(--text-soft);
}

.rating-score small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
}

.fire-rate {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #454750;
}

.fire-rate i:hover {
    color: var(--red);
}

.share-box {
    padding: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.share-box span {
    display: block;
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
}

.share-box div {
    display: flex;
    gap: 8px;
}

.share-box a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #111217;
    border: 1px solid var(--border);
}

.share-box a:hover {
    background: var(--red);
    color: #fff;
}

.related-section,
.comments-section,
.episodes-section {
    margin-top: 18px;
}

.movie-grid-small {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.login-warning {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 14px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: rgba(243, 18, 35, 0.13);
    color: #ffb8bd;
    border: 1px solid rgba(243, 18, 35, 0.18);
    font-size: 13px;
}

.comment-heading-icon,
.episode-heading-icon {
    color: var(--red);
    font-size: 19px;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
    background: #111217;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: var(--text-muted);
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-head strong {
    font-size: 13px;
}

.comment-head span {
    color: var(--text-muted);
    font-size: 11px;
}

.comment-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 13px;
}

.season-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
}

.season-tabs button {
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: #111217;
    color: var(--text-soft);
    border: 1px solid var(--border);
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
}

.season-tabs button.is-active,
.season-tabs button:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.season-panel {
    display: none;
}

.season-panel.is-active {
    display: grid;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.episode-card {
    padding: 12px;
    background: #111217;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.episode-card:hover,
.episode-card.is-current {
    border-color: rgba(243, 18, 35, 0.55);
    background: rgba(243, 18, 35, 0.08);
}

.episode-card strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
}

.episode-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 12px;
}

.episode-card small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 11px;
}

.episode-card b {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
}

.back-series-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .movie-grid-small {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .episode-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .watch-title-row {
        flex-direction: column;
    }

    .content-info-card {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 220px;
    }

    .detail-sidebar {
        grid-template-columns: 1fr;
    }

    .movie-grid-small {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .episode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fake-player {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .movie-grid-small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .episode-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
.auth-page {
    min-height: calc(100vh - 190px);
    display: grid;
    place-items: center;
    padding: 34px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(243, 18, 35, 0.14), transparent 32%),
        radial-gradient(circle at 80% 70%, rgba(255, 106, 0, 0.10), transparent 30%);
}

.auth-card {
    width: min(100%, 620px);
    padding: 26px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
        var(--bg-soft);
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.auth-card-small {
    width: min(100%, 460px);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-brand span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #ff6a00, var(--red));
    color: #fff;
    box-shadow: 0 12px 28px rgba(243, 18, 35, 0.25);
}

.auth-brand strong {
    font-size: 15px;
    letter-spacing: -0.3px;
}

.auth-head {
    margin-bottom: 20px;
}

.auth-head h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.9px;
}

.auth-head p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 13px;
}

.auth-alert {
    display: grid;
    gap: 7px;
    padding: 13px 14px;
    margin-bottom: 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-alert-error {
    background: rgba(243, 18, 35, 0.13);
    color: #ffc3c7;
    border: 1px solid rgba(243, 18, 35, 0.24);
}

.auth-alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.auth-alert-info {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    border: 1px solid rgba(59, 130, 246, 0.22);
    word-break: break-all;
}

.auth-alert-info a {
    color: #fff;
    text-decoration: underline;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
}

.auth-input {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border-radius: 14px;
    background: #111217;
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.auth-input:focus-within {
    border-color: rgba(243, 18, 35, 0.55);
    box-shadow: 0 0 0 4px rgba(243, 18, 35, 0.08);
}

.auth-input i {
    color: var(--text-muted);
    font-size: 13px;
}

.auth-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
}

.auth-input input::placeholder {
    color: #5f626d;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -2px;
    font-size: 13px;
}

.auth-row a {
    color: #ffb8bd;
}

.auth-row a:hover {
    color: #fff;
}

.auth-submit {
    height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff4b1f, var(--red));
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(243, 18, 35, 0.25);
    transition: 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(243, 18, 35, 0.34);
}

.auth-bottom {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-soft);
    font-size: 13px;
}

.auth-bottom a {
    color: #fff;
    font-weight: 900;
}

.auth-bottom a:hover {
    color: #ffb8bd;
}

.auth-bottom-standalone {
    border-top: 0;
    padding-top: 4px;
}

@media (max-width: 620px) {
    .auth-page {
        padding: 20px 0;
    }

    .auth-card {
        padding: 20px;
        border-radius: 20px;
    }

    .auth-grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-head h1 {
        font-size: 25px;
    }
}
.side-action-grid form {
    display: block;
}

.side-action-grid form button,
.side-login-btn {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 13px;
    background: #111217;
    color: #fff;
    border: 1px solid var(--border);
    cursor: pointer;
    display: grid;
    place-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.side-login-btn {
    text-decoration: none;
}

.side-action-grid form button:hover,
.side-login-btn:hover {
    background: rgba(243, 18, 35, 0.12);
    border-color: rgba(243, 18, 35, 0.35);
}

.side-action-grid form button.is-following {
    background: rgba(34, 197, 94, 0.13);
    border-color: rgba(34, 197, 94, 0.28);
    color: #bbf7d0;
}

.rating-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rating-label small {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.fire-rate-form {
    display: block;
}

.fire-rate button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #454750;
    cursor: pointer;
    font-size: 16px;
}

.fire-rate button:hover,
.fire-rate button.is-active {
    color: var(--red);
}

.login-to-rate {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    background: #111217;
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 12px;
    text-align: center;
}

.login-to-rate:hover {
    color: #fff;
    border-color: rgba(243, 18, 35, 0.35);
    background: rgba(243, 18, 35, 0.10);
}

.comment-form {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #111217;
    border: 1px solid var(--border);
}

.comment-form textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 1px solid var(--border);
    outline: 0;
    border-radius: 13px;
    padding: 13px 14px;
    background: #0c0d11;
    color: #fff;
    line-height: 1.6;
    font-size: 13px;
}

.comment-form textarea::placeholder {
    color: #686b76;
}

.comment-form textarea:focus {
    border-color: rgba(243, 18, 35, 0.55);
    box-shadow: 0 0 0 4px rgba(243, 18, 35, 0.08);
}

.comment-form button {
    justify-self: end;
    height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
}

.comment-form button:hover {
    background: var(--red-dark);
}

.login-warning a {
    color: #fff;
    font-weight: 900;
    text-decoration: underline;
}
.profile-page {
    display: grid;
    gap: 20px;
}

.profile-hero {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(243, 18, 35, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        var(--bg-soft);
    border: 1px solid var(--border);
}

.profile-avatar {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111217;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 34px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(243, 18, 35, 0.12);
    color: #ffb8bd;
    border: 1px solid rgba(243, 18, 35, 0.18);
    font-size: 11px;
    font-weight: 900;
}

.profile-info h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.8px;
}

.profile-info p {
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}

.profile-stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.profile-stats div {
    min-width: 78px;
    padding: 9px 11px;
    border-radius: 13px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--border);
}

.profile-stats strong {
    display: block;
    font-size: 18px;
}

.profile-stats span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
}

.profile-actions a {
    height: 40px;
    padding: 0 14px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 18, 35, 0.12);
    color: #ffb8bd;
    border: 1px solid rgba(243, 18, 35, 0.22);
    font-size: 13px;
    font-weight: 900;
}

.profile-actions a:hover {
    background: var(--red);
    color: #fff;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.profile-main,
.profile-sidebar {
    display: grid;
    gap: 18px;
}

.profile-card {
    padding: 16px;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.profile-section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.profile-section-head span {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
}

.profile-section-head h2 {
    margin: 0;
    font-size: 19px;
    letter-spacing: -0.4px;
}

.profile-section-head > i {
    color: var(--red);
    font-size: 18px;
}

.profile-watch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-watch-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #111217;
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.profile-watch-item:hover {
    border-color: rgba(243, 18, 35, 0.45);
    transform: translateY(-2px);
}

.profile-watch-poster {
    position: relative;
    width: 74px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background-color: #0c0d11;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    overflow: hidden;
}

.profile-watch-poster b {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 3px 5px;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
}

.profile-watch-item h3 {
    margin: 2px 0 6px;
    font-size: 14px;
    line-height: 1.35;
}

.profile-watch-item p {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.profile-watch-item span {
    color: var(--text-soft);
    font-size: 12px;
}

.profile-watch-item span i {
    color: var(--yellow);
}

.profile-list {
    display: grid;
    gap: 10px;
}

.profile-list-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
    border-radius: 15px;
    background: #111217;
    border: 1px solid var(--border);
}

.profile-list-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.055);
    color: var(--text-muted);
}

.profile-list-item a {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 900;
}

.profile-list-item a:hover {
    color: #ffb8bd;
}

.profile-list-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.profile-list-item small {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 11px;
}

.profile-rating-list {
    display: grid;
    gap: 9px;
}

.profile-rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #111217;
    border: 1px solid var(--border);
}

.profile-rating-item:hover {
    border-color: rgba(243, 18, 35, 0.4);
}

.profile-rating-item span {
    min-width: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.4;
}

.profile-rating-item strong {
    flex: 0 0 auto;
    color: #fff;
    font-size: 13px;
}

.profile-rating-item strong i {
    color: var(--red);
}

.profile-tip-card {
    text-align: center;
    padding: 24px 18px;
}

.profile-tip-card > i {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(243, 18, 35, 0.12);
    color: var(--red);
    font-size: 20px;
}

.profile-tip-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.profile-tip-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 13px;
}

@media (max-width: 980px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .profile-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-avatar {
        margin: 0 auto;
    }

    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-actions {
        display: flex;
        justify-content: center;
    }

    .profile-watch-grid,
    .profile-sidebar {
        grid-template-columns: 1fr;
    }
}
.site-logo-img {
    display: block;
    max-width: 172px;
    max-height: 38px;
    object-fit: contain;
}
.archive-page {
    display: grid;
    gap: 22px;
}

.archive-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(243, 18, 35, 0.16), transparent 34%),
        radial-gradient(circle at 90% 40%, rgba(255, 106, 0, 0.10), transparent 28%),
        var(--bg-soft);
    border: 1px solid var(--border);
}

.archive-hero h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.9px;
}

.archive-hero p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.archive-count {
    min-width: 104px;
    padding: 14px;
    border-radius: 18px;
    background: #111217;
    border: 1px solid var(--border);
    text-align: center;
}

.archive-count strong {
    display: block;
    font-size: 26px;
    letter-spacing: -0.7px;
}

.archive-count span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.archive-layout {
    margin-top: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.pagination a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 900;
}

.pagination a:hover,
.pagination a.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.tag-list a.is-active {
    background: var(--red);
    color: #fff;
}

.archive-search-form {
    width: min(100%, 420px);
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: #111217;
    border: 1px solid var(--border);
}

.archive-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 8px;
    font-size: 13px;
}

.archive-search-form input::placeholder {
    color: var(--text-muted);
}

.archive-search-form button {
    height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 900;
}

.episode-search-list {
    display: grid;
    gap: 10px;
}

.episode-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.episode-search-item:hover {
    border-color: rgba(243, 18, 35, 0.45);
    background: rgba(243, 18, 35, 0.08);
}

.episode-search-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.episode-search-item span {
    color: var(--text-soft);
    font-size: 13px;
}

.episode-search-item i {
    color: var(--red);
    font-size: 22px;
}

@media (max-width: 760px) {
    .archive-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-count {
        width: 100%;
    }

    .archive-search-form {
        width: 100%;
    }
}
.home-slider {
    position: relative;
    min-height: 430px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #08090c;
}

.home-slider-track {
    position: relative;
    min-height: 430px;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.home-slide-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 60% 35%, rgba(255,255,255,0.12), transparent 32%),
        linear-gradient(135deg, #2c2f3a, #08090c);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,9,12,0.94) 0%, rgba(8,9,12,0.72) 42%, rgba(8,9,12,0.20) 100%),
        linear-gradient(0deg, rgba(8,9,12,0.60), rgba(8,9,12,0.08));
}

.home-slide-content {
    position: relative;
    z-index: 2;
    min-height: 430px;
    max-width: 670px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-slide-content h1 {
    margin: 0;
    font-size: clamp(31px, 5vw, 58px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.home-slide-content p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 14px;
}

.home-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 9, 12, 0.68);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.13);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: 0.2s ease;
    backdrop-filter: blur(10px);
}

.home-slider:hover .home-slider-arrow {
    opacity: 1;
}

.home-slider-prev {
    left: 18px;
}

.home-slider-next {
    right: 18px;
}

.home-slider-arrow:hover {
    background: var(--red);
    border-color: var(--red);
}

.home-slider-dots {
    position: absolute;
    left: 48px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.home-slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.36);
    cursor: pointer;
    transition: 0.2s ease;
}

.home-slider-dots button.is-active {
    width: 28px;
    background: var(--red);
}

.admin-slider-list {
    display: grid;
    gap: 12px;
}

.admin-slider-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #141722;
    border: 1px solid rgba(255,255,255,0.055);
}

.admin-slider-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background-color: #10121a;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: var(--admin-muted);
    border: 1px solid var(--admin-border);
}

.admin-slider-meta {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
}

.admin-slider-meta strong {
    font-size: 13px;
}

.admin-slider-meta span {
    color: var(--admin-muted);
    font-size: 11px;
}

@media (max-width: 760px) {
    .home-slider,
    .home-slider-track,
    .home-slide-content {
        min-height: 390px;
    }

    .home-slide-content {
        padding: 28px;
    }

    .home-slide-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .home-slider-dots {
        left: 28px;
        bottom: 20px;
    }

    .home-slider-arrow {
        opacity: 1;
    }
}

@media (max-width: 540px) {
    .home-slide-overlay {
        background:
            linear-gradient(90deg, rgba(8,9,12,0.94) 0%, rgba(8,9,12,0.78) 100%),
            linear-gradient(0deg, rgba(8,9,12,0.60), rgba(8,9,12,0.08));
    }

    .admin-slider-item {
        grid-template-columns: 1fr;
    }
}
.not-found-page {
    display: grid;
    gap: 22px;
}

.not-found-card {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
    padding: 38px 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 10%, rgba(243, 18, 35, 0.16), transparent 34%),
        var(--bg-soft);
    border: 1px solid var(--border);
}

.not-found-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #ff6a00, var(--red));
    color: #fff;
    font-size: 30px;
    box-shadow: 0 18px 42px rgba(243, 18, 35, 0.26);
}

.not-found-card h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -1.4px;
}

.not-found-card p {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.not-found-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-page {
    display: grid;
    gap: 22px;
}

.contact-hero-badge {
    width: 106px;
    height: 88px;
    display: grid;
    place-items: center;
    gap: 4px;
    border-radius: 20px;
    background: #111217;
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 900;
}

.contact-hero-badge i {
    color: var(--red);
    font-size: 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.contact-card,
.contact-info-card,
.contact-info-list {
    padding: 18px;
    border-radius: 22px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.contact-card-head {
    margin-bottom: 16px;
}

.contact-card-head h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -0.6px;
}

.contact-card-head p {
    margin: 7px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 13px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border: 1px solid var(--border);
    outline: 0;
    border-radius: 14px;
    padding: 13px 14px;
    background: #111217;
    color: #fff;
    line-height: 1.6;
    font-size: 13px;
}

.contact-textarea:focus {
    border-color: rgba(243, 18, 35, 0.55);
    box-shadow: 0 0 0 4px rgba(243, 18, 35, 0.08);
}

.contact-side {
    display: grid;
    gap: 14px;
}

.contact-info-card {
    text-align: center;
}

.contact-info-card > i {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(243, 18, 35, 0.13);
    color: var(--red);
    font-size: 22px;
}

.contact-info-card h3 {
    margin: 0 0 8px;
}

.contact-info-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 13px;
}

.contact-info-list {
    display: grid;
    gap: 12px;
}

.contact-info-list > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.contact-info-list span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #111217;
    border: 1px solid var(--border);
    color: var(--red);
}

.contact-info-list strong {
    font-size: 13px;
}

.contact-info-list p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-badge {
        width: 100%;
    }
}
/* =========================================================
   Mobile App Style Fixes
   Backend'e dokunmadan mobil görünüm iyileştirme
========================================================= */

.mobile-header-actions,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 820px) {
    body {
        background: #15161a;
        padding-bottom: 72px;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 500;
        background: rgba(17, 18, 23, 0.98);
        border-bottom: 1px solid rgba(255,255,255,0.055);
        backdrop-filter: blur(16px);
    }

    .header-inner {
        height: 54px;
        min-height: 54px;
        padding: 0 14px;
        flex-wrap: nowrap;
        gap: 9px;
    }

    .site-logo {
        min-width: 0;
        flex: 1;
        gap: 8px;
    }

    .logo-icon {
        width: 31px;
        height: 31px;
        border-radius: 10px;
        font-size: 12px;
    }

    .logo-text {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: -0.6px;
    }

    .site-logo-img {
        max-width: 174px;
        max-height: 35px;
    }

    .header-search,
    .header-actions {
        display: none;
    }

    .mobile-header-actions {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .mobile-header-icon {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: transparent;
        color: #c9ccd6;
        font-size: 17px;
        cursor: pointer;
    }

    .mobile-header-icon:hover {
        color: #fff;
        background: rgba(255,255,255,0.07);
    }

    .mobile-header-icon.is-user {
        background: rgba(255,255,255,0.10);
        color: #d7d9e2;
    }

    .mobile-menu-btn {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        margin-left: 0;
        border-radius: 13px;
        background: rgba(255,255,255,0.075);
        color: #fff;
    }

    .main-nav {
        position: fixed;
        top: 58px;
        left: 12px;
        right: 12px;
        z-index: 600;
        width: auto;
        max-height: calc(100vh - 135px);
        overflow-y: auto;
        display: none;
        padding: 10px;
        border-radius: 18px;
        background: rgba(20, 21, 27, 0.98);
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 22px 70px rgba(0,0,0,0.45);
        backdrop-filter: blur(18px);
    }

    .main-nav.is-open {
        display: grid;
        gap: 6px;
    }

    .main-nav .nav-link {
        width: 100%;
        height: 42px;
        border-radius: 13px;
        justify-content: flex-start;
        padding: 0 13px;
        background: rgba(255,255,255,0.035);
        color: #d5d7df;
        font-weight: 800;
    }

    .main-nav .nav-link.active,
    .main-nav .nav-link:hover {
        background: rgba(243, 18, 35, 0.14);
        color: #fff;
    }

    .nav-dropdown-menu {
        position: static;
        display: grid;
        gap: 4px;
        min-width: 0;
        margin-top: 6px;
        padding: 8px;
        border-radius: 14px;
        background: rgba(0,0,0,0.22);
        box-shadow: none;
    }

    .nav-dropdown-menu a {
        padding: 9px 10px;
        border-radius: 11px;
        font-size: 12px;
    }

    .site-main {
        max-width: 100%;
        padding: 12px 16px 28px;
    }

    .site-footer {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 700;
        height: 61px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 6px 8px 7px;
        background:
            linear-gradient(180deg, rgba(35,36,45,0.97), rgba(31,32,40,0.99));
        border-top: 1px solid rgba(255,255,255,0.075);
        box-shadow: 0 -18px 50px rgba(0,0,0,0.32);
        backdrop-filter: blur(18px);
    }

    .mobile-bottom-nav a {
        min-width: 0;
        height: 48px;
        display: grid;
        place-items: center;
        gap: 3px;
        border-radius: 999px;
        color: #c7c9d3;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-bottom-nav a i {
        font-size: 17px;
    }

    .mobile-bottom-nav a span {
        font-size: 10.5px;
        line-height: 1;
    }

    .mobile-bottom-nav a.is-active {
        background: rgba(255,255,255,0.16);
        color: #fff;
    }

    .home-slider {
        min-height: 390px;
        border-radius: 22px;
        border: 0;
        margin-top: 8px;
        background: #090a0d;
        box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    }

    .home-slider-track,
    .home-slide-content {
        min-height: 390px;
    }

    .home-slide-bg {
        background-position: center;
        transform: scale(1.01);
    }

    .home-slide-overlay {
        background:
            linear-gradient(90deg, rgba(8,9,12,0.92) 0%, rgba(8,9,12,0.72) 52%, rgba(8,9,12,0.20) 100%),
            linear-gradient(0deg, rgba(8,9,12,0.68), rgba(8,9,12,0.08));
    }

    .home-slide-content {
        padding: 32px 28px;
        justify-content: center;
    }

    .home-slide-content h1 {
        max-width: 360px;
        font-size: 34px;
        line-height: 1.02;
        letter-spacing: -1.2px;
    }

    .home-slide-content p {
        max-width: 330px;
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.65;
        color: #e0e2ea;
    }

    .hero-eyebrow {
        padding: 7px 10px;
        margin-bottom: 12px;
        border-radius: 999px;
        background: rgba(243, 18, 35, 0.16);
        font-size: 12px;
    }

    .hero-actions {
        margin-top: 22px;
        flex-direction: row;
        align-items: center;
        gap: 9px;
    }

    .btn-primary,
    .btn-secondary {
        height: 43px;
        padding: 0 15px;
        border-radius: 13px;
        font-size: 13px;
        white-space: nowrap;
    }

    .home-slider-arrow {
        opacity: 1;
        width: 38px;
        height: 38px;
        background: rgba(255,255,255,0.11);
    }

    .home-slider-prev {
        left: 12px;
    }

    .home-slider-next {
        right: 12px;
    }

    .home-slider-dots {
        left: 28px;
        bottom: 18px;
    }

    .content-section,
    .layout-section {
        margin-top: 24px;
    }

    .section-heading {
        align-items: flex-end;
        margin-bottom: 13px;
    }

    .section-kicker {
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 22px;
        letter-spacing: -0.7px;
    }

    .section-link {
        font-size: 12px;
        color: #d8d9df;
    }

    .circle-content-row {
        gap: 18px;
        margin-left: -16px;
        margin-right: -16px;
        padding: 2px 16px 12px;
        scroll-snap-type: x mandatory;
    }

    .circle-content-item {
        width: 86px;
        flex: 0 0 86px;
        scroll-snap-align: start;
    }

    .circle-poster {
        width: 78px;
        height: 78px;
        border-width: 2px;
        box-shadow: 0 0 0 3px rgba(243,18,35,0.06);
    }

    .circle-content-item span {
        font-size: 12px;
        color: #e6e7ed;
    }

    .layout-section {
        display: block;
    }

    .sidebar-column {
        display: none;
    }

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-card {
        border: 0;
        border-radius: 14px;
        background: #101116;
        box-shadow: none;
    }

    .movie-poster {
        border-radius: 14px;
        overflow: hidden;
        background-color: #0c0d11;
    }

    .movie-card-body {
        padding: 9px 2px 2px;
        background: transparent;
    }

    .movie-card-body h3 {
        min-height: auto;
        font-size: 13px;
        line-height: 1.28;
        font-weight: 900;
    }

    .movie-meta {
        margin-top: 6px;
        font-size: 11px;
        justify-content: flex-start;
        gap: 9px;
    }

    .movie-quality {
        right: 8px;
        top: 8px;
        border-radius: 8px;
        padding: 4px 7px;
    }
}

@media (max-width: 540px) {
    .site-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-slider,
    .home-slider-track,
    .home-slide-content {
        min-height: 390px;
    }

    .home-slide-content {
        padding: 30px 28px;
    }

    .home-slide-content h1 {
        font-size: 33px;
    }

    .home-slide-content p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: row;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    .mobile-header-actions {
        gap: 4px;
    }

    .mobile-header-icon {
        width: 33px;
        height: 33px;
        font-size: 15px;
    }

    .mobile-menu-btn {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .logo-text {
        max-width: 132px;
        font-size: 15px;
    }

    .home-slide-content {
        padding: 28px 24px;
    }

    .home-slide-content h1 {
        font-size: 30px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0 12px;
        font-size: 12px;
    }
}

/* Mobil alt menü final sade aktif görünüm */
@media (max-width: 820px) {
    .mobile-bottom-nav {
        height: 60px;
        padding: 6px 10px 7px;
        background: rgba(31, 32, 40, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.075);
        box-shadow: 0 -14px 38px rgba(0, 0, 0, 0.28);
    }

    .mobile-bottom-nav a {
        position: relative;
        height: 47px;
        border-radius: 16px;
        background: transparent;
        color: rgba(230, 232, 240, 0.68);
        box-shadow: none;
    }

    .mobile-bottom-nav a::before {
        display: none !important;
        content: none !important;
    }

    .mobile-bottom-nav a i {
        color: rgba(230, 232, 240, 0.68);
        font-size: 16px;
    }

    .mobile-bottom-nav a span {
        color: rgba(230, 232, 240, 0.68);
        font-size: 10.5px;
        font-weight: 800;
    }

    .mobile-bottom-nav a.is-active {
        background: rgba(255, 255, 255, 0.075);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
    }

    .mobile-bottom-nav a.is-active i,
    .mobile-bottom-nav a.is-active span {
        color: #fff;
    }

    .mobile-bottom-nav a.is-active i {
        transform: translateY(-1px);
    }
}
/* Masaüstü türler dropdown hover boşluğu düzeltmesi */
@media (min-width: 821px) {
    .nav-dropdown {
        padding-bottom: 12px;
        margin-bottom: -12px;
    }

    .nav-dropdown-menu {
        top: calc(100% - 2px);
        padding-top: 12px;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: block;
    }
}