:root {
    --primary: #00b4d8;
    --primary-2: #5ee8a8;
    --primary-glow: rgba(0, 180, 216, 0.4);
    --accent: #facc15;
    --bg: #04090c;
    --surface: #081218;
    --surface-2: #0d1a24;
    --border: rgba(0, 180, 216, 0.15);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --play-overlay: rgba(4, 9, 12, 0.5);
    --radius: 16px;
    --shadow: 0 15px 35px rgba(0, 0, 0, .6);
    --header-bg: #060a0f;
    --header-panel: #0d151f;
    --header-border: rgba(255, 255, 255, 0.09);
    --header-text: #f8fafc;
    --header-muted: #b9c2cf;
    --header-accent: var(--primary);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    background: radial-gradient(circle at top, #081b24 0, var(--bg) 100%);
    overflow-x: hidden;
}

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

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

button, input, select {
    font: inherit;
}

.container {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    min-height: 65vh;
}

.btn, .play-button {
    cursor: pointer;
}

.badge-type, .detail-facts .fact-hd, .footer-logo {
    text-transform: uppercase;
}

.card .poster img, .cast-photo img, .marquee-item img {
    object-fit: cover;
    height: 100%;
}

.btn, .card .rating, .card .year, .marquee-item .cap {
    white-space: nowrap;
}

.card .meta h3, .card .year, .marquee-item .cap {
    overflow: hidden;
    text-overflow: ellipsis;
}

.card .poster::after, .card .poster::before, .detail-hero:after, .hero:after {
    position: absolute;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    align-items: center;
    padding: 100px 0;
    display: flex;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px 10px rgba(4, 9, 12, 0.3);
    z-index: 0;
}

.detail-hero:after, .hero:after {
    content: "";
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 9, 12, .7) 90%, var(--bg) 100%);
}

.detail-hero .container, .hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin: 0 0 15px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-overview {
    max-width: 680px;
    color: var(--soft);
    margin: 0 0 30px;
    font-size: 1.15rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-home {
    padding: 90px 0 70px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-home h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin: 0 0 12px;
}

.lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    border: 0;
    transition: all .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #000;
}

.btn-large {
    min-height: 54px;
    padding: 14px 34px;
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.75rem;
    margin: 50px 0 25px;
    line-height: 1.2;
    font-weight: 900;
    display: inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 6px;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    align-items: start;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    min-width: 0;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5), 0 0 20px rgba(0, 180, 216, .15);
    z-index: 2;
}

.card .poster {
    position: relative;
    aspect-ratio: 2/3;
    background: #030505;
    overflow: hidden;
}

.card .poster img {
    width: 100%;
    background: #030505;
    transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}

.card:hover .poster img {
    transform: scale(1.08);
    filter: brightness(.65);
}

.card .poster::before {
    content: "";
    inset: 0;
    background: var(--play-overlay);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: all .3s ease;
    z-index: 1;
}

.card:hover .poster::before {
    opacity: 1;
}

.card .meta {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card .meta h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
    color: #fff;
}

.card .row {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700;
    display: flex;
}

.card .rating {
    color: var(--accent);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
}

@keyframes pulse-play {
    0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, .6); }
    70% { box-shadow: 0 0 0 20px rgba(0, 180, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

.card .poster::after {
    content: "";
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) scale(.5);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'><path d='M8 5v14l11-7z'/></svg>") center/35% no-repeat, linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    opacity: 0;
    transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 10;
}

.card:hover .poster::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse-play 1.8s infinite;
}

/* Detail & Watch Pages */
.detail-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 85px 0 65px;
    border-bottom: 0;
}

.detail-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.detail-poster img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
    background: #000;
}

.detail-info h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 5px;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .7);
}

.orig-title {
    color: var(--soft);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.detail-info .year {
    color: var(--primary);
    font-weight: 800;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 15px 0 25px;
}

.detail-info .year, .badge-type, .detail-facts .fact {
    display: inline-flex;
    padding: 5px 16px;
    line-height: 1.2;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.detail-facts .fact-hd {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 900;
}

.detail-facts .fact-star {
    color: var(--accent);
}

.detail-facts .fact-imdb {
    color: var(--accent);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .15);
    font-weight: 800;
}

.badge-type {
    display: none;
}

.genres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.pill {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .85rem;
    color: #fff;
    font-weight: 700;
    transition: all .3s;
}

.pagination a:hover, .pill:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.overview {
    max-width: 860px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 20px 0;
}

.detail-line {
    margin: 12px 0;
    color: var(--muted);
}

.detail-line strong, .detail-line b {
    color: #fff;
}

/* Video Player Area */
.video-player-area {
    padding: 35px 0 15px;
}

.backdrop-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.player-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 180, 0, 0.08);
    border: 1px solid rgba(255, 180, 0, 0.25);
    color: #ffc107;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.player-notice svg {
    flex-shrink: 0;
}

.player-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.player-loader {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.player-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 0;
    background: #000;
}

.hd-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 18px;
    justify-content: center;
    width: 100%;
}

.btn-hd {
    width: 200px;
    max-width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.btn-hd:hover {
    opacity: 0.8;
    color: inherit;
}

.btn-stream {
    background-color: #66c1c8;
    color: #111;
}

.btn-download {
    background-color: #3b3a45;
    color: #fff;
}

.btn-hd svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.server-list {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-server {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-server:hover, .btn-server.active, .btn-server.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #000;
    border-color: transparent;
}

/* Season / Episode Selector for TV */
.episode-selector-box {
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin: 30px 0;
}

.selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.season-select-dropdown {
    background: var(--header-panel);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

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

.ep-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--soft);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s;
}

.ep-btn:hover, .ep-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* Cast */
.cast-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.cast-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: all .3s;
    text-align: center;
}

.cast-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 180, 216, .15);
}

.cast-photo {
    overflow: hidden;
    aspect-ratio: 2/3;
    background: #000;
}

.cast-photo img {
    width: 100%;
    transition: transform .5s;
}

.cast-card:hover .cast-photo img {
    transform: scale(1.08);
}

.cast-name {
    padding: 14px 10px 4px;
    font-size: .95rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 900;
}

.cast-char {
    padding: 0 10px 16px;
    font-size: .85rem;
    line-height: 1.3;
    color: var(--primary-2);
}

/* Trailer */
.trailer {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Person Profile */
.person-header {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 45px;
    margin-top: 45px;
    align-items: start;
}

.person-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Articles & FAQs */
.article {
    max-width: 900px;
    padding-top: 35px;
    padding-bottom: 55px;
}

.article h2 {
    font-size: 2rem;
    margin: 45px 0 15px;
    font-weight: 900;
}

.article h3 {
    font-size: 1.3rem;
    margin: 30px 0 12px;
    color: #fff;
    font-weight: 900;
}

.article p {
    color: var(--soft);
    line-height: 1.8;
}

.home-genres {
    padding: 1rem 0;
}

.home-genres h2, .home-faq h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.home-genres .genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.home-genres .genre-grid a {
    display: block;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s, border-color .2s, transform .2s;
}

.home-genres .genre-grid a:hover {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.home-faq {
    padding: 1rem 0 2rem;
}

.home-faq details {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 12px;
    transition: all .2s;
}

.home-faq details[open] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .15);
}

.home-faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
}

.home-faq p {
    margin-top: 10px;
    color: var(--soft);
    line-height: 1.7;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 45px 0;
    color: var(--muted);
}

.pagination a, .pagination span {
    background: var(--surface-2);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    font-weight: 800;
    transition: all .3s;
    color: var(--text);
}

.pagination span.current {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* Marquee infinite slider */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 30px 0 15px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: 60s linear infinite marquee-scroll;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 170px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
    transition: all .4s;
}

.marquee-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 180, 216, .2);
}

.marquee-item .poster {
    position: relative;
    aspect-ratio: 2/3;
    background: #000;
}

.marquee-item img {
    width: 100%;
    display: block;
}

.marquee-item .cap {
    padding: 12px;
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary-2);
    text-align: center;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Header */
#siteHeader {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 99999 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: rgba(6, 10, 15, 0.96) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--header-border) !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.26) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#siteHeader .header-inner {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1360px !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    gap: 22px !important;
}

#siteHeader .logo {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
}

#siteHeader .logo img, .site-logo-svg {
    display: block !important;
    width: auto !important;
    height: 42px !important;
    max-width: 165px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

#siteHeader .main-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#siteHeader .main-nav > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
}

#siteHeader .main-nav li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#siteHeader .main-nav > ul > li > a,
#siteHeader .main-nav > ul > li > button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    color: var(--header-muted) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px !important;
    font: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: color .2s ease, background-color .2s ease !important;
}

#siteHeader .main-nav > ul > li > a:hover,
#siteHeader .main-nav > ul > li > button:hover {
    color: var(--header-text) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    outline: none !important;
}

#siteHeader .main-nav > ul > li.active > a {
    color: #04110f !important;
    background: var(--header-accent) !important;
}

#siteHeader .has-drop > a::after,
#siteHeader .has-drop > button::after {
    content: "" !important;
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    margin: -3px 0 0 9px !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform .2s ease !important;
}

#siteHeader .has-drop:hover > a::after,
#siteHeader .has-drop:hover > button::after,
#siteHeader .has-drop.is-drop-open > button::after {
    margin-top: 3px !important;
    transform: rotate(225deg) !important;
}

#siteHeader .drop {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    z-index: 100001 !important;
    display: block !important;
    min-width: 220px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 9px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    list-style: none !important;
    background: var(--header-panel) !important;
    border: 1px solid var(--header-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

#siteHeader .drop::before {
    content: "" !important;
    position: absolute !important;
    top: -11px !important;
    left: 0 !important;
    width: 100% !important;
    height: 11px !important;
}

#siteHeader .has-drop:hover > .drop,
#siteHeader .has-drop.is-drop-open > .drop {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#siteHeader .drop a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    color: var(--header-muted) !important;
    background: transparent !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

#siteHeader .drop a:hover {
    color: var(--header-text) !important;
    background: rgba(0, 180, 216, 0.15) !important;
}

#siteHeader .drop-grid {
    left: auto !important;
    right: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(135px, 1fr)) !important;
    gap: 3px !important;
    width: 480px !important;
    max-width: calc(100vw - 32px) !important;
}

#siteHeader .search-form {
    display: flex !important;
    flex: 0 0 235px !important;
    align-items: center !important;
    width: 235px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 4px !important;
    overflow: hidden !important;
    background: #0d151f !important;
    border: 1px solid var(--header-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

#siteHeader .search-form:focus-within {
    border-color: var(--header-accent) !important;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12) !important;
}

#siteHeader .search-form input {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    color: var(--header-text) !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

#siteHeader .search-btn {
    display: inline-flex !important;
    flex: 0 0 36px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #04110f !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
    border: 0 !important;
    border-radius: 9px !important;
    cursor: pointer !important;
}

#siteHeader .hamburger {
    display: none !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    color: #000 !important;
    background: var(--primary) !important;
    border: none !important;
    border-radius: 11px !important;
    cursor: pointer !important;
}

#siteHeader .mobile-menu {
    display: none !important;
    width: 100% !important;
    max-width: 1360px !important;
    max-height: calc(100vh - 72px) !important;
    margin: 0 auto !important;
    padding: 0 16px 16px !important;
    overflow-y: auto !important;
}

#siteHeader .mobile-menu.is-open {
    display: block !important;
}

#siteHeader .mobile-menu-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 12px !important;
    background: var(--header-panel) !important;
    border: 1px solid var(--header-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38) !important;
}

#siteHeader .mobile-menu .search-form {
    display: flex !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 46px !important;
    margin: 0 0 5px !important;
}

#siteHeader .mobile-menu a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    color: var(--header-muted) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

#siteHeader .mobile-menu a:hover {
    color: var(--header-text) !important;
    background: rgba(0, 180, 216, 0.12) !important;
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg);
}

.hero-slide {
    display: none;
    animation: fadeEffect 0.8s ease-in-out;
}

.hero-slide.active {
    display: flex;
}

.hero-slider-dots {
    position: absolute;
    bottom: 35px;
    width: 100%;
    left: 0;
    z-index: 10;
}

.dots-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 6px;
    background: #fff;
    border-color: #fff;
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@keyframes fadeEffect {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* Share Buttons */
.share-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.share-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8a96a3;
    line-height: 1.1;
}

.share-count .count-number {
    font-size: 22px;
    font-weight: 700;
    color: #b0bac5;
}

.share-count .count-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    opacity: 0.85;
}

.share-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.share-btn.facebook, .share-btn.fb { background-color: #4c66a4; }
.share-btn.twitter, .share-btn.tw { background-color: #55adef; }
.share-btn.whatsapp, .share-btn.wa { background-color: #5cbe4a; }
.share-btn.telegram, .share-btn.tg { background-color: #2ca5e0; }
.share-btn.reddit, .share-btn.rd { background-color: #e65615; }
.share-btn.pinterest, .share-btn.pt { background-color: #bd1c1b; }

/* Footer */
.site-footer {
    background: var(--surface);
    margin-top: 80px;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.footer-desc, .site-footer li a {
    font-size: .95rem;
    color: var(--muted);
    transition: all .2s;
}

.footer-desc {
    margin: 0;
    line-height: 1.7;
}

.site-footer h4 {
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    padding: 6px 0;
}

.site-footer li a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.copyright {
    padding: 24px;
    color: var(--muted);
    font-size: .9rem;
    background: rgba(0, 0, 0, .3);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.copyright a {
    color: var(--primary);
    font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 1180px) {
    #siteHeader .header-inner {
        min-height: 66px !important;
        padding: 0 16px !important;
    }
    #siteHeader .main-nav, #siteHeader .header-inner > .search-form {
        display: none !important;
    }
    #siteHeader .hamburger {
        display: inline-flex !important;
    }
}

@media (min-width: 640px) and (max-width: 1180px) {
    #siteHeader .mobile-menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .detail-inner {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 35px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 18px;
    }
    .hero {
        min-height: 450px;
        padding: 80px 0 40px;
    }
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
    .detail-inner, .footer-inner, .person-header {
        grid-template-columns: 1fr;
    }
    .detail-poster, .person-photo {
        width: 220px;
        max-width: 65%;
        margin: 0 auto;
    }
    .detail-info {
        text-align: left;
    }
    .footer-inner {
        gap: 35px;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .section-title {
        font-size: 1.45rem;
    }
    .share-btn span {
        display: none;
    }
    .share-btn {
        padding: 10px 12px;
    }
}
