:root {
    --bg: #09090b;
    --bg-soft: #101014;
    --panel: #15151a;
    --panel-2: #1c1c22;
    --text: #f7f7f8;
    --muted: #aaaab5;
    --muted-2: #777784;
    --line: rgba(255,255,255,.09);
    --red: #e11d48;
    --red-2: #be123c;
    --shadow: 0 24px 70px rgba(0,0,0,.32);
    --radius: 22px;
    --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.container-xl { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 13px 0;
    transition: .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(9,9,11,.88);
    backdrop-filter: blur(18px);
    border-color: var(--line);
    box-shadow: 0 12px 35px rgba(0,0,0,.2);
}
.site-nav { min-height: 60px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 14px;
    display: grid; place-items: center;
    color: white; background: linear-gradient(145deg, #fb275b, #b50d34);
    box-shadow: 0 12px 28px rgba(225,29,72,.24);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 1rem; font-weight: 800; }
.brand-copy small { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.nav-panel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 5px; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: block; padding: 10px 13px; color: #d4d4da; font-size: .92rem; border-radius: 10px; transition: .2s; }
.nav-links a:hover { color: white; background: rgba(255,255,255,.06); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; color: #e7e7eb; background: rgba(255,255,255,.04); font-size: .88rem; }
.nav-cta:hover { background: rgba(255,255,255,.08); }
.nav-toggle { display: none; margin-right: auto; width: 44px; height: 44px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: .2s; }

.hero { position: relative; min-height: 720px; background: #0b0b0e; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-backdrop { position: absolute; inset: -25px; background-size: cover; background-position: center 24%; filter: blur(5px) saturate(.9); transform: scale(1.06); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,9,11,.5), rgba(9,9,11,.91) 60%, rgba(9,9,11,.98)), linear-gradient(0deg, #09090b 0%, transparent 35%); }
.hero-content { position: relative; z-index: 3; min-height: 720px; padding-top: 145px; padding-bottom: 95px; display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: center; gap: 70px; }
.hero-copy { max-width: 720px; }
.eyebrow, .section-kicker { color: #fb7185; font-size: .83rem; font-weight: 800; letter-spacing: .01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fb315e; box-shadow: 0 0 0 6px rgba(251,49,94,.11); }
.hero h1 { margin: 0 0 16px; font-size: clamp(3rem, 7vw, 6rem); line-height: 1.05; font-weight: 900; letter-spacing: -.04em; }
.hero-copy > p { max-width: 620px; color: #c5c5cd; font-size: 1.08rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary-cinema, .btn-glass, .btn-outline-cinema {
    min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border-radius: 13px; padding: 10px 18px; font-weight: 800; font-size: .9rem; transition: .2s ease;
}
.btn-primary-cinema { background: linear-gradient(135deg, #f12958, #c8103b); color: white; box-shadow: 0 16px 34px rgba(225,29,72,.25); }
.btn-primary-cinema:hover { color: white; transform: translateY(-2px); box-shadow: 0 20px 38px rgba(225,29,72,.34); }
.btn-glass { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); backdrop-filter: blur(10px); color: #f4f4f5; }
.btn-glass:hover { background: rgba(255,255,255,.13); color: white; }
.btn-outline-cinema { border: 1px solid var(--line); color: white; background: transparent; }
.btn-outline-cinema:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: white; }
.full-width { width: 100%; }
.hero-poster { width: 280px; aspect-ratio: 2/3; border-radius: 24px; overflow: hidden; justify-self: end; box-shadow: 0 30px 80px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); transform: rotate(-1.7deg); transition: .3s; }
.hero-poster:hover { transform: rotate(0) translateY(-5px); }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-controls { position: absolute; z-index: 10; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; direction: ltr; }
.slider-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); color: white; background: rgba(255,255,255,.06); border-radius: 50%; transition: .2s; }
.slider-arrow:hover { background: rgba(255,255,255,.13); }
.slider-dots { display: flex; gap: 7px; }
.slider-dot { width: 8px; height: 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); padding: 0; transition: .2s; }
.slider-dot.is-active { width: 28px; background: var(--red); }

.home-content { padding: 38px 0 90px; }
.data-status { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(245,158,11,.2); background: rgba(245,158,11,.08); color: #f7d287; border-radius: 13px; font-size: .86rem; }
.data-status svg { flex: 0 0 auto; }
.section-block { padding: 52px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 5px 0 2px; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.02em; }
.section-heading p { color: var(--muted); margin: 4px 0 0; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: #d7d7dd; font-size: .88rem; white-space: nowrap; }
.text-link:hover { color: #fb7185; }
.movie-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.movie-card { min-width: 0; }
.movie-poster-wrap { position: relative; display: block; aspect-ratio: 2/3; overflow: hidden; border-radius: 18px; background: var(--panel); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.movie-poster { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s; }
.movie-card-overlay { position: absolute; inset: auto 0 0; padding: 45px 14px 15px; display: flex; align-items: center; gap: 9px; color: white; font-size: .82rem; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transform: translateY(8px); transition: .25s; }
.play-badge { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); }
.play-badge svg { width: 17px; height: 17px; }
.movie-poster-wrap:hover .movie-poster { transform: scale(1.045); filter: brightness(.78); }
.movie-poster-wrap:hover .movie-card-overlay { opacity: 1; transform: translateY(0); }
.movie-card-body { padding: 13px 3px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.movie-card-body h3 { margin: 0; font-size: .98rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.movie-card-body p { margin: 3px 0 0; color: var(--muted-2); font-size: .75rem; }
.icon-link { flex: 0 0 auto; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.icon-link:hover { color: white; border-color: rgba(255,255,255,.2); }

.cinema-feature { margin-top: 34px; min-height: 420px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 20% 15%, rgba(225,29,72,.16), transparent 37%), linear-gradient(135deg, #18181d, #0e0e12); display: grid; grid-template-columns: 1fr 1fr; }
.cinema-feature-copy { padding: clamp(34px, 5vw, 68px); align-self: center; }
.cinema-feature-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin: 5px 0 14px; }
.cinema-feature-copy > p { color: #b9b9c2; max-width: 580px; }
.cinema-meta-row { display: grid; gap: 9px; margin: 22px 0 28px; color: #d0d0d7; font-size: .88rem; }
.cinema-meta-row span { display: flex; align-items: center; gap: 9px; }
.cinema-meta-row svg { color: #fb7185; }
.cinema-feature-art { position: relative; min-height: 420px; overflow: hidden; perspective: 800px; background: linear-gradient(180deg, #111115, #09090b); }
.screen-glow { position: absolute; top: 8%; left: 10%; right: 10%; height: 48%; background: radial-gradient(ellipse, rgba(225,29,72,.2), transparent 65%); filter: blur(20px); }
.cinema-screen { position: absolute; top: 17%; left: 14%; right: 14%; height: 42%; display: grid; place-items: center; background: linear-gradient(135deg, #2d2d36, #18181e); border: 8px solid #050506; box-shadow: 0 0 35px rgba(225,29,72,.14); transform: rotateX(-4deg); }
.cinema-screen span { letter-spacing: .35em; color: rgba(255,255,255,.28); font-weight: 900; }
.seat-row { position: absolute; left: 12%; right: 12%; height: 23px; background: repeating-linear-gradient(90deg, #3f1520 0 30px, transparent 30px 39px); border-radius: 5px; transform-origin: center; }
.seat-row-1 { bottom: 22%; transform: perspective(250px) rotateX(45deg) scale(.78); }
.seat-row-2 { bottom: 14%; transform: perspective(250px) rotateX(45deg) scale(.92); }
.seat-row-3 { bottom: 6%; transform: perspective(250px) rotateX(45deg) scale(1.06); }

.page-hero { position: relative; padding: 160px 0 75px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 20% 30%, rgba(225,29,72,.15), transparent 27%), linear-gradient(180deg, #121217, #0a0a0d); }
.page-hero-content { max-width: var(--container); }
.page-hero-content h1 { margin: 7px 0 10px; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.035em; }
.page-hero-content p { margin: 0; max-width: 760px; color: var(--muted); font-size: 1rem; }
.page-content { padding: 42px 0 95px; }
.movie-search { display: flex; align-items: center; gap: 10px; padding: 9px 11px 9px 14px; margin-bottom: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; }
.movie-search > svg { color: #777784; margin-right: 4px; }
.movie-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: white; padding: 9px 2px; }
.movie-search input::placeholder { color: #747480; }
.movie-search button { border: 0; color: white; background: var(--red); border-radius: 11px; padding: 9px 18px; }
.movie-search a { color: var(--muted); font-size: .82rem; padding: 0 8px; }
.results-summary { display: flex; align-items: baseline; gap: 7px; color: var(--muted); margin-bottom: 17px; font-size: .85rem; }
.results-summary strong { color: white; font-size: 1.1rem; }
.movie-grid-page { grid-template-columns: repeat(5, minmax(0,1fr)); }
.empty-state { min-height: 300px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.02); padding: 35px; }
.empty-state h2, .empty-state h3 { margin: 0 0 7px; font-weight: 900; }
.empty-state p { color: var(--muted); margin: 0 0 18px; }

.movie-detail-hero { min-height: 650px; position: relative; overflow: hidden; }
.movie-detail-bg { position: absolute; inset: -25px; background-position: center; background-size: cover; filter: blur(8px); transform: scale(1.08); }
.movie-detail-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,9,11,.64), rgba(9,9,11,.92) 65%, rgba(9,9,11,.98)), linear-gradient(0deg, #09090b, transparent 45%); }
.movie-detail-content { position: relative; z-index: 2; min-height: 650px; padding-top: 145px; padding-bottom: 65px; display: grid; grid-template-columns: 280px 1fr; gap: 55px; align-items: center; }
.detail-poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 22px; box-shadow: 0 25px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12); }
.detail-copy h1 { margin: 3px 0 13px; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.1; font-weight: 900; }
.detail-copy > p { color: #bcbcc5; max-width: 650px; }
.detail-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px; }
.detail-chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #d4d4da; font-size: .78rem; }
.detail-page-content { padding-top: 24px; }
.showtime-panel { border: 1px solid var(--line); background: var(--panel); border-radius: 22px; padding: 28px; }
.compact-heading { margin-bottom: 20px; }
.compact-heading h2 { font-size: 1.65rem; }
.showtime-list { display: flex; gap: 10px; flex-wrap: wrap; }
.showtime-item { min-width: 140px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: #101014; display: grid; gap: 2px; }
.showtime-item:hover { border-color: rgba(225,29,72,.45); background: rgba(225,29,72,.07); }
.showtime-time { font-size: 1.2rem; font-weight: 900; direction: ltr; text-align: right; }
.showtime-meta { color: var(--muted); font-size: .72rem; }
.showtime-action { color: #fb7185; font-size: .72rem; margin-top: 5px; }
.showtime-empty { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 19px; border-radius: 16px; background: #101014; border: 1px dashed rgba(255,255,255,.1); }
.showtime-empty-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fb7185; background: rgba(225,29,72,.1); }
.showtime-empty h3 { margin: 0 0 2px; font-size: 1rem; }
.showtime-empty p { margin: 0; color: var(--muted); font-size: .82rem; }
.detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 16px; }
.info-card { display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 20px; }
.info-icon { flex: 0 0 auto; width: 43px; height: 43px; display: grid; place-items: center; color: #fb7185; border-radius: 12px; background: rgba(225,29,72,.09); }
.info-card div { display: grid; }
.info-card small, .contact-row small { color: var(--muted-2); font-size: .72rem; }
.info-card strong { font-size: .92rem; margin: 2px 0; }
.info-card span:last-child { color: var(--muted); font-size: .76rem; }

.schedule-stack { display: grid; gap: 14px; }
.schedule-card { display: grid; grid-template-columns: 105px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.schedule-card > a img { width: 105px; height: 158px; object-fit: cover; }
.schedule-card-body { padding: 18px 20px; min-width: 0; }
.schedule-card-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.schedule-card-head span { color: #fb7185; font-size: .72rem; }
.schedule-card-head h2 { margin: 2px 0 12px; font-size: 1.2rem; font-weight: 900; }
.schedule-times { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-times a { border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; font-weight: 800; direction: ltr; }
.schedule-times a:hover { border-color: rgba(225,29,72,.42); color: #fb7185; }
.schedule-no-times { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: .82rem; }
.schedule-no-times a { color: #fb7185; font-weight: 800; white-space: nowrap; }

.cinema-page-hero { padding: 155px 0 75px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 15% 20%, rgba(225,29,72,.19), transparent 28%), radial-gradient(circle at 78% 60%, rgba(255,255,255,.05), transparent 28%), #0e0e12; }
.cinema-page-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: end; }
.cinema-page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 900; margin: 5px 0 10px; }
.cinema-page-hero p { color: var(--muted); max-width: 720px; }
.cinema-stat-panel { display: grid; grid-template-columns: repeat(3, 120px); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); }
.cinema-stat-panel div { padding: 18px 12px; text-align: center; border-left: 1px solid var(--line); }
.cinema-stat-panel div:last-child { border-left: 0; }
.cinema-stat-panel strong { display: block; font-size: 1.3rem; }
.cinema-stat-panel span { display: block; color: var(--muted); font-size: .7rem; margin-top: 3px; }
.cinema-info-layout { display: grid; grid-template-columns: 1fr 390px; gap: 18px; }
.cinema-about-card, .contact-card, .prose-card { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: clamp(24px, 4vw, 38px); }
.cinema-about-card h2, .prose-card h2 { font-size: 1.7rem; font-weight: 900; margin: 5px 0 15px; }
.cinema-about-card p, .prose-card p { color: var(--muted); }
.contact-card h2 { font-size: 1.15rem; font-weight: 900; margin: 0 0 18px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-row div { display: grid; gap: 3px; }
.contact-row strong, .contact-row a { font-size: .85rem; }
.contact-card .btn-outline-cinema { margin-top: 18px; }
.prose-card { max-width: 900px; margin-inline: auto; }

.site-footer { border-top: 1px solid var(--line); background: #08080a; padding: 56px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid p { color: var(--muted); max-width: 480px; font-size: .84rem; }
.footer-grid h3 { font-size: .9rem; font-weight: 900; margin: 8px 0 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) span { color: var(--muted); font-size: .8rem; }
.footer-grid a:hover { color: white !important; }
.footer-bottom { margin-top: 40px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #696974; font-size: .72rem; }

@media (max-width: 1100px) {
    .movie-grid, .movie-grid-page { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .hero-content { grid-template-columns: 1fr 245px; gap: 40px; }
    .hero-poster { width: 235px; }
    .cinema-info-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-panel { position: fixed; inset: 88px 18px auto 18px; display: none; padding: 16px; background: rgba(18,18,22,.98); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
    .nav-panel.is-open { display: block; }
    .nav-links { display: grid; gap: 3px; }
    .nav-links a { padding: 12px 13px; }
    .nav-cta { width: 100%; justify-content: center; margin-top: 9px; }
    .hero, .hero-content { min-height: 650px; }
    .hero-content { grid-template-columns: 1fr 200px; padding-top: 135px; }
    .hero-poster { width: 195px; }
    .movie-grid, .movie-grid-page { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .cinema-feature { grid-template-columns: 1fr; }
    .cinema-feature-art { min-height: 320px; }
    .cinema-info-layout { grid-template-columns: 1fr; }
    .cinema-page-hero-inner { grid-template-columns: 1fr; }
    .cinema-stat-panel { justify-self: stretch; grid-template-columns: repeat(3,1fr); }
    .movie-detail-content { grid-template-columns: 220px 1fr; gap: 35px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .container-xl { width: min(calc(100% - 24px), var(--container)); }
    .site-header { padding: 9px 0; }
    .site-nav { min-height: 56px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-copy strong { font-size: .92rem; }
    .hero { min-height: 690px; }
    .hero-content { min-height: 690px; display: flex; flex-direction: column-reverse; justify-content: center; align-items: flex-start; gap: 26px; padding-top: 105px; padding-bottom: 100px; }
    .hero-poster { width: 150px; align-self: flex-start; transform: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-copy > p { font-size: .9rem; }
    .hero-actions { width: 100%; }
    .hero-actions > * { flex: 1 1 auto; }
    .hero-controls { bottom: 28px; }
    .section-block { padding: 38px 0; }
    .section-heading { align-items: flex-start; }
    .section-heading p { display: none; }
    .section-heading .text-link { margin-top: 8px; }
    .movie-grid, .movie-grid-page { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 11px; }
    .movie-poster-wrap { border-radius: 14px; }
    .movie-card-body h3 { max-width: 130px; font-size: .87rem; }
    .movie-card-body p { font-size: .68rem; }
    .movie-card-overlay { display: none; }
    .cinema-feature { border-radius: 22px; }
    .cinema-feature-copy { padding: 28px 22px; }
    .cinema-feature-art { min-height: 270px; }
    .page-hero { padding: 125px 0 52px; }
    .page-content { padding-top: 28px; }
    .movie-search { flex-wrap: wrap; }
    .movie-search input { flex-basis: calc(100% - 40px); }
    .movie-search button { flex: 1; }
    .movie-detail-hero { min-height: 760px; }
    .movie-detail-content { min-height: 760px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 25px; padding-top: 110px; }
    .detail-poster-col { width: 150px; }
    .detail-copy h1 { font-size: 2.7rem; }
    .detail-info-grid { grid-template-columns: 1fr; }
    .showtime-panel { padding: 20px; }
    .showtime-empty { grid-template-columns: auto 1fr; }
    .showtime-empty > a { grid-column: 1 / -1; }
    .schedule-card { grid-template-columns: 82px 1fr; }
    .schedule-card > a img { width: 82px; height: 123px; }
    .schedule-card-body { padding: 12px 13px; }
    .schedule-card-head .text-link { display: none; }
    .schedule-no-times { display: grid; gap: 5px; }
    .cinema-page-hero { padding-top: 125px; }
    .cinema-stat-panel { grid-template-columns: 1fr 1fr 1fr; }
    .cinema-stat-panel strong { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Dynamic Iticket showtimes */
.showtime-source-status { margin-top: 10px; justify-content: flex-start; flex-wrap: wrap; }
.showtime-source-status.is-live { border-color: rgba(62, 207, 142, .25); background: rgba(62, 207, 142, .07); }
.showtime-source-status.is-passive { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.035); }
.showtime-source-status small { margin-inline-start: auto; color: var(--muted); font-size: .68rem; }
.source-pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 5px rgba(62,207,142,.1); flex: 0 0 auto; }
.schedule-day-groups, .movie-showtime-groups { display: grid; gap: 14px; }
.schedule-day-group { display: grid; gap: 8px; }
.schedule-day-title { color: var(--muted); font-size: .73rem; font-weight: 800; }
.rich-times { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-time-chip { min-width: 86px; min-height: 58px; display: grid !important; place-items: center; gap: 2px; padding: 8px 12px !important; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); transition: .2s ease; }
.schedule-time-chip:hover { border-color: rgba(229,9,20,.5); transform: translateY(-2px); background: rgba(229,9,20,.08); }
.schedule-time-chip strong { font-size: .95rem; }
.schedule-time-chip small { color: var(--muted); font-size: .62rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-time-chip .showtime-price { color: #d8d8de; }
.movie-showtime-day { display: grid; gap: 10px; }
.movie-showtime-day + .movie-showtime-day { padding-top: 14px; border-top: 1px solid var(--line); }
.movie-showtime-day-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.movie-showtime-day-head strong { font-size: .85rem; }
.movie-showtime-day-head span { color: var(--muted); font-size: .7rem; }
.showtime-item .showtime-meta { display: grid; gap: 2px; }
.showtime-item .showtime-meta strong { font-size: .76rem; font-weight: 800; }
.showtime-item .showtime-meta small { color: var(--muted); font-size: .65rem; }

@media (max-width: 680px) {
    .showtime-source-status small { width: 100%; margin-inline-start: 0; padding-inline-start: 18px; }
    .schedule-time-chip { min-width: 74px; }
}

/* Live showtimes on home cards */
.movie-card-copy { min-width: 0; }
.movie-card-showtimes { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.movie-card-showtimes a { min-width: 49px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); color: #ececf0; text-align: center; font-size: .72rem; font-weight: 800; transition: .2s ease; }
.movie-card-showtimes a:hover { border-color: rgba(229,9,20,.48); background: rgba(229,9,20,.1); color: #fff; transform: translateY(-1px); }
.movie-card-showtimes .more-showtimes { color: var(--muted); }
.movie-card-showtime-link { display: inline-flex; margin-top: 9px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.movie-card-showtime-link:hover { color: #fff; }
.hero-showtimes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 17px 0 2px; }
.hero-showtimes > span { color: rgba(255,255,255,.68); font-size: .76rem; }
.hero-showtimes a { min-width: 58px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(8,8,10,.32); color: #fff; font-size: .78rem; font-weight: 850; text-align: center; backdrop-filter: blur(8px); }
.hero-showtimes a:hover { border-color: rgba(229,9,20,.7); background: rgba(229,9,20,.18); }

/* HTTP-only Iticket showtime status */
.showtime-fetch-note {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: #cfcfd5;
    font-size: .9rem;
}

.showtime-fetch-note.is-live {
    border-color: rgba(65, 200, 120, .18);
}

.showtime-fetch-note.is-warning {
    border-color: rgba(255, 190, 70, .18);
}

/* Iticket schedule Server Action states */
.showtime-item.is-available,
.schedule-time-chip.is-available {
    cursor: pointer;
}

.showtime-item.is-closed,
.schedule-time-chip.is-closed {
    opacity: .52;
    cursor: not-allowed;
    filter: saturate(.45);
    border-style: dashed;
    background: rgba(255,255,255,.018);
}

.showtime-item.is-closed:hover,
.schedule-time-chip.is-closed:hover {
    transform: none;
    border-color: var(--line);
    background: rgba(255,255,255,.018);
}

.showtime-item.is-closed .showtime-action {
    color: var(--muted);
}

/* =========================================================
   Cinema Farhang UI v2 — richer cinematic theme
   ========================================================= */
:root {
    --bg: #07070a;
    --bg-soft: #0d0d12;
    --panel: rgba(19,19,26,.92);
    --panel-2: #171720;
    --text: #fbfbfd;
    --muted: #aaaaba;
    --muted-2: #777789;
    --line: rgba(255,255,255,.085);
    --red: #f2275b;
    --red-2: #c80f3d;
    --violet: #7c3aed;
    --shadow: 0 28px 90px rgba(0,0,0,.42);
}

body {
    background:
        radial-gradient(circle at 15% 5%, rgba(124,58,237,.07), transparent 22rem),
        radial-gradient(circle at 85% 18%, rgba(242,39,91,.06), transparent 28rem),
        var(--bg);
}

.site-header.is-scrolled {
    background: rgba(7,7,10,.82);
    backdrop-filter: blur(24px) saturate(1.2);
}

.brand-mark {
    background: linear-gradient(145deg, #ff3c6d, #b90b37 70%);
    box-shadow: 0 14px 34px rgba(242,39,91,.28), inset 0 1px rgba(255,255,255,.22);
}

.hero-v2 {
    min-height: 790px;
    isolation: isolate;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 73% 25%, rgba(242,39,91,.16), transparent 26%),
        radial-gradient(circle at 18% 70%, rgba(124,58,237,.10), transparent 24%);
}
.hero-slide-v2 { transition: opacity .85s cubic-bezier(.2,.7,.2,1), visibility .85s; }
.hero-slide-v2 .hero-backdrop {
    inset: -45px;
    filter: blur(17px) saturate(1.05) brightness(.52);
    transform: scale(1.10);
    transition: transform 8s ease;
}
.hero-slide-v2.is-active .hero-backdrop { transform: scale(1.04); }
.hero-shade-v2 {
    background:
        linear-gradient(90deg, rgba(7,7,10,.34), rgba(7,7,10,.90) 55%, rgba(7,7,10,.985) 83%),
        linear-gradient(0deg, #07070a 0%, rgba(7,7,10,.34) 34%, rgba(7,7,10,.15) 100%);
}
.hero-colorwash {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(124,58,237,.06), transparent 32%, rgba(242,39,91,.08) 82%, transparent);
    mix-blend-mode: screen;
    pointer-events: none;
}
.hero-content-v2 {
    min-height: 790px;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: clamp(50px, 7vw, 100px);
    padding-top: 135px;
    padding-bottom: 150px;
}
.hero-copy-v2 { max-width: 790px; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 690px; margin-bottom: 12px; }
.hero-index { color: rgba(255,255,255,.35); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.hero-v2 h1 {
    max-width: 780px;
    font-size: clamp(3.8rem, 8vw, 7.1rem);
    line-height: .96;
    text-wrap: balance;
    text-shadow: 0 12px 60px rgba(0,0,0,.35);
}
.hero-copy-v2 > p { max-width: 690px; font-size: 1.02rem; color: rgba(242,242,247,.74); }
.hero-feature-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
.hero-feature-row > span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.74);
    font-size: .72rem;
    backdrop-filter: blur(10px);
}
.hero-feature-row b { color: #fff; }
.hero-showtimes-v2 { margin: 9px 0 25px; }
.hero-showtimes-v2 a {
    min-width: 64px;
    border-color: rgba(255,255,255,.14);
    background: rgba(9,9,13,.46);
}
.hero-showtimes-v2 a:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(242,39,91,.15); }
.hero-main-action { min-width: 174px; }
.hero-poster-v2 {
    position: relative;
    width: 300px;
    overflow: visible;
    border: 0;
    box-shadow: none;
    transform: none;
}
.hero-poster-v2:hover { transform: translateY(-6px); }
.hero-poster-v2 > img {
    position: relative;
    z-index: 2;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 35px 90px rgba(0,0,0,.58);
}
.hero-poster-glow {
    position: absolute;
    inset: 12% -12% -7%;
    z-index: 0;
    border-radius: 50%;
    background: rgba(242,39,91,.24);
    filter: blur(48px);
}
.hero-poster-caption {
    position: absolute;
    z-index: 3;
    inset: auto 12px 12px 12px;
    display: grid;
    gap: 1px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
    background: rgba(9,9,13,.70);
    backdrop-filter: blur(16px);
}
.hero-poster-caption b { font-size: .82rem; }
.hero-poster-caption small { color: var(--muted); font-size: .65rem; }
.hero-navigation-v2 {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 42px;
    gap: 12px;
    align-items: center;
    direction: ltr;
}
.hero-thumb-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    max-width: 800px;
}
.hero-thumb {
    min-width: 0;
    height: 58px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    color: rgba(255,255,255,.54);
    background: rgba(13,13,18,.58);
    backdrop-filter: blur(14px);
    transition: .25s ease;
    text-align: right;
    direction: rtl;
}
.hero-thumb img { width: 38px; height: 46px; border-radius: 8px; object-fit: cover; }
.hero-thumb span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .68rem; font-weight: 800; }
.hero-thumb:hover, .hero-thumb.is-active { color: #fff; border-color: rgba(242,39,91,.48); background: rgba(242,39,91,.11); }
.hero-progress-track { position: absolute; z-index: 12; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.hero-progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red), #ff7899); }
.hero-progress-track span.is-running { animation: heroProgress 6.5s linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

.home-content-v2 { padding-top: 28px; }
.now-showing-section { position: relative; }
.movie-grid-v2 { gap: 22px 16px; }
.movie-card-v2 { position: relative; }
.movie-poster-wrap-v2 { border-radius: 20px; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.movie-card-top-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(7,7,10,.65);
    backdrop-filter: blur(10px);
    font-size: .62rem;
    font-weight: 850;
}
.movie-card-body-v2 { padding-top: 12px; }
.movie-card-cta-v2 { margin-top: 8px; color: #8c8c9d; }
.movie-card-v2:hover .movie-card-cta-v2 { color: #fb7185; }
.cinema-feature-v2 { box-shadow: 0 30px 80px rgba(0,0,0,.20); }

.movie-detail-hero-premium { min-height: 720px; }
.movie-detail-hero-premium .movie-detail-bg { filter: blur(15px) saturate(1.1) brightness(.55); }
.movie-detail-grain { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.18) .6px, transparent .6px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.movie-detail-hero-premium .movie-detail-shade { background: linear-gradient(90deg, rgba(7,7,10,.42), rgba(7,7,10,.91) 59%, rgba(7,7,10,.985)), linear-gradient(0deg, #07070a 0%, rgba(7,7,10,.28) 50%, rgba(7,7,10,.26)); }
.movie-detail-hero-premium .movie-detail-content { min-height: 720px; grid-template-columns: 300px minmax(0,1fr); }
.detail-poster-frame { position: relative; }
.poster-live-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(7,7,10,.74); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(10px); font-size: .68rem; font-weight: 800; }
.poster-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #48d597; box-shadow: 0 0 0 5px rgba(72,213,151,.10); }
.detail-quick-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.detail-quick-meta span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); color: #cbcbD5; font-size: .72rem; }
.detail-quick-meta b { color: #fff; }
.detail-lead { max-width: 780px !important; font-size: .98rem; line-height: 2; }
.movie-facts-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.movie-facts-grid article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); }
.movie-facts-grid span { display: block; color: var(--muted-2); font-size: .68rem; }
.movie-facts-grid strong { display: block; margin-top: 3px; font-size: .92rem; }
.movie-story-card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 25px; padding: clamp(26px,4vw,40px); margin: 16px 0; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 90% 20%, rgba(124,58,237,.08), transparent 25%), var(--panel); }
.movie-story-copy h2 { margin: 4px 0 12px; font-size: 1.8rem; font-weight: 900; }
.movie-story-copy p { margin: 0; color: #bebec9; line-height: 2.05; }
.cast-block { border-right: 1px solid var(--line); padding-right: 25px; }
.cast-block > span { color: var(--muted-2); font-size: .72rem; }
.cast-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cast-list span { padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.045); border: 1px solid var(--line); font-size: .75rem; }
.movie-gallery-section { margin: 34px 0; }
.movie-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.movie-gallery a { aspect-ratio: 16/10; overflow: hidden; border-radius: 15px; border: 1px solid var(--line); background: var(--panel); }
.movie-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.movie-gallery a:hover img { transform: scale(1.04); filter: brightness(1.08); }
.premium-showtime-panel { margin-top: 24px; padding: clamp(24px,4vw,36px); background: radial-gradient(circle at 100% 0, rgba(242,39,91,.07), transparent 25%), var(--panel); }
.premium-showtime-list { gap: 12px; }
.premium-showtime { min-width: 185px; min-height: 118px; align-content: center; padding: 17px 18px; }
.premium-showtime .showtime-time { font-size: 1.5rem; }

.checkout-shell { min-height: 100vh; position: relative; overflow: hidden; display: grid; align-items: center; padding: 130px 0 80px; background: linear-gradient(145deg,#08080c,#0e0e15); }
.checkout-orb { position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(100px); opacity: .16; }
.checkout-orb-a { background: var(--red); top: -180px; right: -130px; }
.checkout-orb-b { background: var(--violet); bottom: -240px; left: -160px; }
.checkout-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) 470px; gap: clamp(40px,7vw,90px); align-items: center; }
.checkout-summary h1 { font-size: clamp(2.8rem,5vw,5.4rem); font-weight: 950; margin: 6px 0 24px; }
.checkout-summary > p { max-width: 620px; color: var(--muted); }
.checkout-ticket { max-width: 520px; display: grid; grid-template-columns: 92px 1fr; gap: 15px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.checkout-ticket img { width: 92px; height: 125px; object-fit: cover; border-radius: 13px; }
.checkout-ticket div { display: grid; gap: 4px; }
.checkout-ticket strong { font-size: 1.7rem; }
.checkout-ticket span { color: var(--muted); font-size: .82rem; }
.checkout-card { padding: 30px; border: 1px solid rgba(255,255,255,.09); border-radius: 26px; background: rgba(17,17,24,.82); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.checkout-card-head span { color: #fb7185; font-size: .72rem; font-weight: 850; }
.checkout-card-head h2 { margin: 3px 0 7px; font-size: 1.7rem; font-weight: 900; }
.checkout-card-head p { margin: 0 0 20px; color: var(--muted); font-size: .8rem; }
.profile-form { display: grid; gap: 14px; }
.profile-form label:not(.privacy-check) { display: grid; gap: 6px; }
.profile-form label > span:first-child { color: #d7d7de; font-size: .75rem; font-weight: 700; }
.profile-form label small { color: var(--muted-2); font-weight: 500; }
.profile-form input[type="text"], .profile-form input[type="email"], .profile-form input[type="tel"], .profile-form input[type="password"], .profile-form label:not(.privacy-check) > input {
    width: 100%; min-height: 48px; padding: 10px 13px; outline: 0; border: 1px solid var(--line); border-radius: 12px; color: #fff; background: rgba(255,255,255,.035); transition: .2s;
}
.profile-form input:focus { border-color: rgba(242,39,91,.52); box-shadow: 0 0 0 4px rgba(242,39,91,.07); }
.privacy-check { display: flex !important; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .72rem; line-height: 1.7; }
.privacy-check input { margin-top: 6px; accent-color: var(--red); }
.field-error, .form-errors { color: #ff8aa6; font-size: .7rem; }
.checkout-submit { width: 100%; margin-top: 4px; }
.profile-panel { max-width: 650px; margin-inline: auto; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.profile-clear-form { margin-top: 14px; }
.success-note { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(72,213,151,.2); border-radius: 12px; background: rgba(72,213,151,.08); color: #9ce8c5; font-size: .82rem; }

.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 110px 18px 50px; background: radial-gradient(circle at 20% 10%, rgba(124,58,237,.12), transparent 28rem), radial-gradient(circle at 85% 20%, rgba(242,39,91,.12), transparent 30rem), #08080c; }
.admin-login-card { width: min(100%, 470px); padding: 32px; border: 1px solid var(--line); border-radius: 25px; background: rgba(17,17,24,.88); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.admin-login-brand { margin-bottom: 25px; }
.admin-login-card h1 { font-size: 2rem; font-weight: 900; margin: 0 0 7px; }
.admin-login-card > p { color: var(--muted); margin: 0 0 22px; font-size: .82rem; }
.admin-config-warning { margin: 0 0 16px; padding: 12px; border: 1px solid rgba(245,158,11,.25); border-radius: 11px; background: rgba(245,158,11,.08); color: #f5cf85; font-size: .73rem; }
.admin-config-warning code { color: #fff; }
.dev-login-note { display: block; text-align: center; color: var(--muted-2); margin-top: 14px; direction: ltr; }

.admin-shell { min-height: 100vh; padding: 125px 0 80px; background: #08080c; }
.admin-wrap { display: grid; gap: 20px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-head h1 { margin: 4px 0; font-size: clamp(2rem,4vw,3.5rem); font-weight: 950; }
.admin-head p { max-width: 760px; margin: 0; color: var(--muted); }
.admin-truth-note { padding: 14px 16px; border: 1px solid rgba(245,158,11,.18); border-radius: 14px; background: rgba(245,158,11,.055); color: #d7c49e; font-size: .78rem; }
.admin-truth-note strong { color: #f3d99d; }
.admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.admin-stats article { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg,#15151d,#101016); }
.admin-stats span { color: var(--muted); font-size: .72rem; }
.admin-stats strong { display: block; margin-top: 2px; font-size: 1.9rem; }
.admin-search { display: flex; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.admin-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; padding: 7px 9px; }
.admin-search button { border: 0; border-radius: 10px; background: var(--red); color: #fff; padding: 8px 17px; font-weight: 800; }
.admin-search a { display: grid; place-items: center; padding: 0 12px; color: var(--muted); font-size: .75rem; }
.admin-table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.admin-table-head { display: flex; justify-content: space-between; gap: 15px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.admin-table-head span { color: var(--muted); font-size: .72rem; }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.admin-table th { padding: 12px 16px; color: var(--muted-2); font-size: .68rem; font-weight: 700; text-align: right; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.admin-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid rgba(255,255,255,.05); }
.admin-table tbody tr:hover { background: rgba(255,255,255,.018); }
.admin-table td > strong, .admin-table td > span, .admin-table td > small, .admin-table td > a { display: block; }
.admin-table td > span, .admin-table td > small, .admin-table td > a { color: var(--muted); font-size: .7rem; }
.admin-table code { color: #b7a6ef; font-size: .62rem; }
.status-badge { display: inline-flex !important; width: max-content; padding: 6px 9px; border-radius: 999px; font-weight: 800; }
.status-badge.redirected { color: #f1cb83; background: rgba(245,158,11,.09); border: 1px solid rgba(245,158,11,.18); }
.status-badge.confirmed { color: #8ce1ba; background: rgba(72,213,151,.08); border: 1px solid rgba(72,213,151,.18); }
.admin-actions { white-space: nowrap; }
.admin-actions > a, .admin-actions button { display: inline-flex; padding: 6px 9px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: #dedee5; font-size: .68rem; cursor: pointer; }
.admin-actions form { display: inline; }
.admin-actions button:hover, .admin-actions > a:hover { border-color: rgba(242,39,91,.35); color: #fff; }

@media (max-width: 1000px) {
    .hero-content-v2 { grid-template-columns: minmax(0,1fr) 250px; }
    .hero-poster-v2 { width: 240px; }
    .hero-thumb span { display: none; }
    .hero-thumb { grid-template-columns: 1fr; justify-items: center; }
    .movie-facts-grid, .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .movie-story-card, .checkout-wrap { grid-template-columns: 1fr; }
    .cast-block { border-right: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}

@media (max-width: 680px) {
    .hero-v2, .hero-content-v2 { min-height: 790px; }
    .hero-content-v2 { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: center; gap: 22px; padding-top: 105px; padding-bottom: 155px; }
    .hero-poster-v2 { width: 145px; }
    .hero-poster-caption { display: none; }
    .hero-v2 h1 { font-size: clamp(2.8rem,14vw,4.3rem); }
    .hero-topline { width: 100%; }
    .hero-feature-row { margin-bottom: 12px; }
    .hero-feature-row > span:nth-child(n+3) { display: none; }
    .hero-navigation-v2 { bottom: 28px; grid-template-columns: 36px minmax(0,1fr) 36px; gap: 7px; }
    .hero-navigation-v2 .slider-arrow { width: 36px; height: 36px; }
    .hero-thumb-rail { gap: 5px; }
    .hero-thumb { height: 48px; padding: 4px; border-radius: 10px; }
    .hero-thumb img { width: 31px; height: 39px; }
    .movie-facts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .movie-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .premium-showtime { min-width: calc(50% - 6px); }
    .checkout-shell { padding-top: 105px; }
    .checkout-card { padding: 22px; }
    .admin-head { align-items: flex-start; flex-direction: column; }
    .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-search { flex-wrap: wrap; }
    .admin-search input { flex-basis: 100%; }
}
.admin-head-actions { display: flex; align-items: center; gap: 8px; }
.admin-head-actions form { margin: 0; }

/* =========================================================
   Cinema Farhang UI v3 — LIGHT THEME
   ========================================================= */
body.theme-light {
    --bg: #f7f8fb;
    --bg-soft: #f1f4f8;
    --panel: #ffffff;
    --panel-2: #f8fafc;
    --text: #111827;
    --muted: #667085;
    --muted-2: #98a2b3;
    --line: #e5e9f0;
    --red: #dc2454;
    --red-2: #b91543;
    --violet: #6d5bd0;
    --shadow: 0 22px 65px rgba(15, 23, 42, .12);
    background:
        radial-gradient(circle at 10% 0%, rgba(109,91,208,.08), transparent 30rem),
        radial-gradient(circle at 92% 12%, rgba(220,36,84,.07), transparent 30rem),
        #f7f8fb;
    color: var(--text);
}

body.theme-light .site-header { color: #111827; }
body.theme-light .site-header.is-scrolled {
    background: rgba(255,255,255,.90);
    border-color: rgba(15,23,42,.07);
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
    backdrop-filter: blur(20px) saturate(1.25);
}
body.theme-light .brand-copy strong { color: #111827; }
body.theme-light .brand-copy small { color: #7b8494; }
body.theme-light .nav-links a { color: #475467; }
body.theme-light .nav-links a:hover { color: #111827; background: #f1f4f8; }
body.theme-light .nav-cta {
    color: #344054;
    background: rgba(255,255,255,.78);
    border-color: #e2e7ee;
    box-shadow: 0 8px 25px rgba(15,23,42,.05);
}
body.theme-light .nav-cta:hover { color: #111827; background: #fff; border-color: #d0d7e2; }
body.theme-light .nav-toggle { background: #fff; border-color: #e2e7ee; }
body.theme-light .nav-toggle span { background: #1f2937; }

body.theme-light .hero,
body.theme-light .hero-v2 {
    background: #f6f8fb;
    border-bottom-color: #e8ecf2;
}
body.theme-light .hero-ambient {
    background:
        radial-gradient(circle at 76% 25%, rgba(220,36,84,.09), transparent 29%),
        radial-gradient(circle at 18% 70%, rgba(109,91,208,.08), transparent 28%);
}
body.theme-light .hero-slide-v2 .hero-backdrop {
    filter: blur(20px) saturate(.78) brightness(1.14);
    opacity: .26;
}
body.theme-light .hero-shade,
body.theme-light .hero-shade-v2 {
    background:
        linear-gradient(90deg, rgba(247,248,251,.45), rgba(247,248,251,.88) 54%, rgba(247,248,251,.99) 82%),
        linear-gradient(0deg, #f7f8fb 0%, rgba(247,248,251,.68) 35%, rgba(247,248,251,.30) 100%) !important;
}
body.theme-light .hero-colorwash {
    background: linear-gradient(145deg, rgba(109,91,208,.05), transparent 35%, rgba(220,36,84,.05) 83%, transparent);
    mix-blend-mode: multiply;
}
body.theme-light .hero h1,
body.theme-light .hero-v2 h1 { color: #101828; text-shadow: none; }
body.theme-light .hero-copy > p,
body.theme-light .hero-copy-v2 > p { color: #5f6b7a; }
body.theme-light .hero-index { color: #98a2b3; }
body.theme-light .hero-feature-row > span {
    color: #536070;
    background: rgba(255,255,255,.78);
    border-color: #e2e7ee;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
body.theme-light .hero-feature-row b { color: #101828; }
body.theme-light .hero-showtimes > span { color: #697586; }
body.theme-light .hero-showtimes a,
body.theme-light .hero-showtimes-v2 a {
    color: #253041;
    background: rgba(255,255,255,.88);
    border-color: #dfe5ed;
    box-shadow: 0 8px 20px rgba(15,23,42,.05);
}
body.theme-light .hero-showtimes a:hover,
body.theme-light .hero-showtimes-v2 a:hover { color: #b91543; background: #fff3f6; border-color: #f2b8c8; }
body.theme-light .hero-poster,
body.theme-light .hero-poster-v2 {
    border-color: rgba(255,255,255,.92);
    box-shadow: 0 30px 70px rgba(15,23,42,.20), 0 0 0 7px rgba(255,255,255,.60);
}
body.theme-light .hero-poster-caption {
    background: linear-gradient(transparent, rgba(17,24,39,.88));
    color: #fff;
}
body.theme-light .slider-arrow {
    color: #344054;
    background: #fff;
    border-color: #e0e6ee;
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
}
body.theme-light .slider-arrow:hover { color: #b91543; background: #fff6f8; }
body.theme-light .hero-thumb {
    color: #667085;
    background: rgba(255,255,255,.78);
    border-color: #e4e9f0;
}
body.theme-light .hero-thumb.is-active { color: #101828; background: #fff; border-color: #e9a4b8; box-shadow: 0 10px 26px rgba(15,23,42,.08); }
body.theme-light .hero-progress-track { background: #e6eaf0; }

body.theme-light .btn-glass {
    color: #344054;
    background: rgba(255,255,255,.78);
    border-color: #dfe5ec;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}
body.theme-light .btn-glass:hover { color: #111827; background: #fff; border-color: #cfd7e2; }
body.theme-light .btn-outline-cinema { color: #344054; border-color: #d9e0e9; background: #fff; }
body.theme-light .btn-outline-cinema:hover { color: #b91543; background: #fff5f7; border-color: #efb6c6; }

body.theme-light .data-status {
    color: #8a5a00;
    background: #fff9e8;
    border-color: #f5dfa4;
}
body.theme-light .section-heading h2,
body.theme-light .movie-card-body h3,
body.theme-light .schedule-card-head h2 { color: #101828; }
body.theme-light .section-heading p,
body.theme-light .movie-card-body p,
body.theme-light .results-summary,
body.theme-light .schedule-day-title { color: #667085; }
body.theme-light .text-link { color: #475467; }
body.theme-light .text-link:hover { color: #c51b4a; }
body.theme-light .movie-poster-wrap {
    background: #fff;
    border-color: #e6eaf0;
    box-shadow: 0 13px 34px rgba(15,23,42,.10);
}
body.theme-light .movie-card-v2 { padding: 9px; border-radius: 22px; background: #fff; border: 1px solid #e9edf2; box-shadow: 0 11px 30px rgba(15,23,42,.055); }
body.theme-light .icon-link { color: #667085; border-color: #e1e6ed; background: #fafbfc; }
body.theme-light .icon-link:hover { color: #bd1645; border-color: #efb7c6; background: #fff4f7; }
body.theme-light .movie-card-showtime-link { color: #667085; }
body.theme-light .movie-card-showtime-link:hover { color: #bd1645; }

body.theme-light .cinema-feature,
body.theme-light .cinema-feature-v2 {
    background:
        radial-gradient(circle at 18% 12%, rgba(220,36,84,.08), transparent 38%),
        linear-gradient(135deg, #ffffff, #f4f6fa);
    border-color: #e4e9ef;
    box-shadow: 0 22px 60px rgba(15,23,42,.08);
}
body.theme-light .cinema-feature-copy h2 { color: #101828; }
body.theme-light .cinema-feature-copy > p,
body.theme-light .cinema-meta-row { color: #667085; }
body.theme-light .cinema-feature-art { background: linear-gradient(180deg, #f0f3f8, #e9edf4); }
body.theme-light .cinema-screen { background: linear-gradient(145deg, #fff, #f6e7ec); border-color: #fff; color: #9b2044; box-shadow: 0 16px 40px rgba(15,23,42,.12); }
body.theme-light .seat-row { opacity: .38; }

body.theme-light .page-hero,
body.theme-light .cinema-page-hero {
    background:
        radial-gradient(circle at 9% 18%, rgba(220,36,84,.09), transparent 28%),
        radial-gradient(circle at 82% 55%, rgba(109,91,208,.07), transparent 30%),
        #f5f7fa;
    border-bottom-color: #e5e9ef;
}
body.theme-light .page-hero-content h1,
body.theme-light .cinema-page-hero h1 { color: #101828; }
body.theme-light .page-hero-content p,
body.theme-light .cinema-page-hero p { color: #667085; }
body.theme-light .movie-search,
body.theme-light .showtime-panel,
body.theme-light .schedule-card,
body.theme-light .cinema-about-card,
body.theme-light .contact-card,
body.theme-light .prose-card,
body.theme-light .info-card,
body.theme-light .profile-panel,
body.theme-light .checkout-card,
body.theme-light .admin-table-card,
body.theme-light .admin-login-card {
    background: #fff;
    border-color: #e4e9ef;
    box-shadow: 0 14px 35px rgba(15,23,42,.055);
}
body.theme-light .movie-search input { color: #101828; }
body.theme-light .movie-search input::placeholder { color: #98a2b3; }
body.theme-light .results-summary strong { color: #101828; }
body.theme-light .empty-state { background: #fff; border-color: #dfe5ec; }

body.theme-light .movie-detail-hero { background: #f7f8fb; }
body.theme-light .movie-detail-bg { filter: blur(18px) saturate(.72) brightness(1.18); opacity: .27; }
body.theme-light .movie-detail-shade {
    background:
        linear-gradient(90deg, rgba(247,248,251,.48), rgba(247,248,251,.90) 63%, rgba(247,248,251,.99)),
        linear-gradient(0deg, #f7f8fb 2%, rgba(247,248,251,.62) 45%, rgba(247,248,251,.28)) !important;
}
body.theme-light .movie-detail-grain { opacity: .04; }
body.theme-light .detail-copy h1 { color: #101828; }
body.theme-light .detail-lead,
body.theme-light .detail-copy > p { color: #5e6a79; }
body.theme-light .detail-quick-meta span,
body.theme-light .detail-chips span {
    color: #475467;
    background: rgba(255,255,255,.76);
    border-color: #dfe5ed;
}
body.theme-light .detail-quick-meta b { color: #101828; }
body.theme-light .detail-poster { border-color: #fff; box-shadow: 0 26px 60px rgba(15,23,42,.20); }
body.theme-light .poster-live-badge { background: rgba(255,255,255,.93); color: #344054; border-color: #e4e8ee; }

body.theme-light .movie-facts-grid article,
body.theme-light .movie-story-card {
    background: #fff;
    border-color: #e4e9ef;
    box-shadow: 0 10px 30px rgba(15,23,42,.045);
}
body.theme-light .movie-facts-grid article span,
body.theme-light .cast-block > span { color: #7a8594; }
body.theme-light .movie-facts-grid article strong,
body.theme-light .movie-story-card h2 { color: #111827; }
body.theme-light .movie-story-card p { color: #5f6b7a; }
body.theme-light .cast-list span { color: #475467; background: #f5f7fa; border-color: #e5e9ef; }
body.theme-light .movie-gallery a { border-color: #e2e7ed; box-shadow: 0 9px 24px rgba(15,23,42,.06); }

body.theme-light .premium-showtime-panel { background: #fff; border-color: #e2e7ed; box-shadow: 0 18px 45px rgba(15,23,42,.07); }
body.theme-light .showtime-fetch-note { color: #536070; background: #f8fafc; border-color: #e6eaf0; }
body.theme-light .showtime-fetch-note.is-live { background: #f2fbf6; border-color: #cdebd9; }
body.theme-light .showtime-fetch-note.is-warning { background: #fff9eb; border-color: #f4dfaa; }
body.theme-light .showtime-item,
body.theme-light .schedule-time-chip { background: #fff; border-color: #dfe5ec; }
body.theme-light .showtime-item.is-available:hover,
body.theme-light .schedule-time-chip.is-available:hover { background: #fff4f7; border-color: #edafc1; box-shadow: 0 10px 25px rgba(190,18,60,.08); }
body.theme-light .showtime-time,
body.theme-light .showtime-item .showtime-meta strong,
body.theme-light .schedule-time-chip strong { color: #101828; }
body.theme-light .showtime-item .showtime-meta small,
body.theme-light .schedule-time-chip small { color: #667085; }
body.theme-light .showtime-item.is-closed,
body.theme-light .schedule-time-chip.is-closed { background: #f7f8fa; border-color: #e2e6ec; }
body.theme-light .showtime-empty { background: #f8fafc; border-color: #dfe5ec; }
body.theme-light .showtime-empty h3 { color: #101828; }

/* Day selector for multi-day schedules */
.showtime-date-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 15px;
    margin-bottom: 4px;
    scrollbar-width: thin;
}
.showtime-date-tabs a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel-2);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    transition: .2s ease;
}
.showtime-date-tabs a:hover,
.showtime-date-tabs a.is-active { color: #b91543; border-color: #efb6c7; background: #fff2f6; }

/* Inline trailer */
.movie-trailer-section { margin: 38px 0; }
.movie-trailer-player {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: min(100%, 980px);
    margin-inline: auto;
    border: 1px solid #e2e7ed;
    border-radius: 24px;
    background: #0b0d12;
    box-shadow: 0 22px 55px rgba(15,23,42,.14);
}
.movie-trailer-player video,
.movie-trailer-player iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; background: #0b0d12; }

body.theme-light .cinema-stat-panel { background: #fff; border-color: #e0e6ed; box-shadow: 0 12px 30px rgba(15,23,42,.06); }
body.theme-light .cinema-stat-panel div { border-color: #e9edf2; }
body.theme-light .cinema-stat-panel strong { color: #101828; }
body.theme-light .contact-row { border-color: #e8ecf1; }
body.theme-light .contact-row strong,
body.theme-light .contact-row a { color: #344054; }

body.theme-light .site-footer { background: #fff; border-top-color: #e4e9ef; }
body.theme-light .footer-grid p,
body.theme-light .footer-grid > div:not(:first-child) a,
body.theme-light .footer-grid > div:not(:first-child) span { color: #667085; }
body.theme-light .footer-grid h3 { color: #101828; }
body.theme-light .footer-grid a:hover { color: #bd1645 !important; }
body.theme-light .footer-bottom { color: #98a2b3; border-top-color: #e9edf2; }

body.theme-light .admin-shell,
body.theme-light .checkout-shell { background: #f7f8fb; }
body.theme-light .admin-stats article,
body.theme-light .checkout-ticket,
body.theme-light .admin-truth-note,
body.theme-light .admin-config-warning { background: #fff; border-color: #e4e9ef; color: #475467; }
body.theme-light .admin-table th { color: #667085; background: #f8fafc; }
body.theme-light .admin-table td { color: #344054; border-color: #edf0f4; }
body.theme-light .admin-search input,
body.theme-light .profile-form input,
body.theme-light .checkout-card input { color: #101828; background: #fff; border-color: #dfe5ec; }

@media (max-width: 900px) {
    body.theme-light .nav-panel {
        background: rgba(255,255,255,.98);
        border-color: #e2e7ee;
        box-shadow: 0 24px 60px rgba(15,23,42,.16);
    }
}

/* =========================================================
   Cinema Farhang UI polish v3
   Unified controls, stronger responsive layout, gallery slider
   ========================================================= */
:root {
    --control-height: 48px;
    --control-radius: 14px;
    --focus-ring: 0 0 0 4px rgba(197, 27, 74, .13);
}

/* Predictable controls across links, buttons and forms */
.btn-primary-cinema,
.btn-glass,
.btn-outline-cinema,
.nav-cta {
    min-height: var(--control-height);
    box-sizing: border-box;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
}

button.btn-primary-cinema,
button.btn-glass,
button.btn-outline-cinema,
button.nav-cta {
    appearance: none;
    -webkit-appearance: none;
}

.btn-primary-cinema,
.btn-glass,
.btn-outline-cinema {
    border: 1px solid transparent;
    padding-inline: 19px;
}

.btn-primary-cinema svg,
.btn-glass svg,
.btn-outline-cinema svg,
.nav-cta svg,
.text-link svg,
.icon-link svg {
    flex: 0 0 auto;
}

.btn-primary-cinema:focus-visible,
.btn-glass:focus-visible,
.btn-outline-cinema:focus-visible,
.nav-cta:focus-visible,
.icon-link:focus-visible,
.slider-arrow:focus-visible,
.gallery-nav:focus-visible,
.movie-gallery-thumb:focus-visible,
.movie-gallery-slide:focus-visible,
.showtime-item.is-available:focus-visible,
.movie-section-nav a:focus-visible {
    outline: 0;
    box-shadow: var(--focus-ring);
}

.btn-primary-cinema:active,
.btn-glass:active,
.btn-outline-cinema:active,
.nav-cta:active {
    transform: translateY(0) scale(.985);
}

body.theme-light .btn-primary-cinema {
    color: #fff;
    border-color: #be1847;
    background: linear-gradient(135deg, #d62858 0%, #b91543 100%);
    box-shadow: 0 10px 24px rgba(185,21,67,.20);
}
body.theme-light .btn-primary-cinema:hover {
    color: #fff;
    border-color: #a8133c;
    background: linear-gradient(135deg, #c92050 0%, #a9103c 100%);
    box-shadow: 0 14px 30px rgba(185,21,67,.24);
}
body.theme-light .btn-glass,
body.theme-light .btn-outline-cinema {
    color: #344054;
    background: #fff;
    border-color: #d9e0e9;
    box-shadow: 0 5px 15px rgba(15,23,42,.04);
}
body.theme-light .btn-glass:hover,
body.theme-light .btn-outline-cinema:hover {
    color: #b91543;
    background: #fff6f8;
    border-color: #eeb4c4;
    box-shadow: 0 8px 20px rgba(185,21,67,.08);
}

.hero-actions { gap: 10px; }
.hero-actions > * { flex: 0 0 auto; }

/* Header/navigation refinements */
body.theme-light .site-header.is-scrolled {
    background: rgba(255,255,255,.90);
    border-color: rgba(218,224,233,.9);
    box-shadow: 0 9px 28px rgba(15,23,42,.07);
}
body.theme-light .nav-links a {
    position: relative;
    font-weight: 750;
}
body.theme-light .nav-links a::after {
    content: "";
    position: absolute;
    inset: auto 13px 5px 13px;
    height: 2px;
    border-radius: 999px;
    background: #c51b4a;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
body.theme-light .nav-links a:hover::after { transform: scaleX(1); }

/* Better cards and click targets */
body.theme-light .movie-card-v2 {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.theme-light .movie-card-v2:hover {
    transform: translateY(-5px);
    border-color: #dce2ea;
    box-shadow: 0 18px 42px rgba(15,23,42,.10);
}
.movie-card-cta-v2 {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: .76rem;
    font-weight: 800;
    transition: .2s ease;
}
body.theme-light .movie-card-cta-v2 {
    color: #475467;
    background: #f8fafc;
    border: 1px solid #e7ebf0;
}
body.theme-light .movie-card-v2:hover .movie-card-cta-v2,
body.theme-light .movie-card-cta-v2:hover {
    color: #b91543;
    background: #fff3f6;
    border-color: #efc0cd;
}

/* Detail page quick navigation */
.movie-section-nav {
    position: sticky;
    top: 84px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin: 10px 0 22px;
    padding: 7px;
    overflow-x: auto;
    border-radius: 16px;
    scrollbar-width: none;
    backdrop-filter: blur(16px);
}
.movie-section-nav::-webkit-scrollbar { display: none; }
.movie-section-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: 11px;
    font-size: .78rem;
    font-weight: 850;
    transition: .18s ease;
}
body.theme-light .movie-section-nav {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(222,228,235,.92);
    box-shadow: 0 10px 30px rgba(15,23,42,.07);
}
body.theme-light .movie-section-nav a { color: #5f6b7a; }
body.theme-light .movie-section-nav a:hover,
body.theme-light .movie-section-nav a.is-active,
body.theme-light .movie-section-nav a.is-primary {
    color: #b91543;
    background: #fff1f5;
}

#showtimes,
#story,
#trailer,
#gallery,
.movie-showtime-day { scroll-margin-top: 150px; }

/* Showtime cards: cleaner grid and consistent alignment */
.premium-showtime-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 11px;
}
.premium-showtime {
    min-width: 0;
    min-height: 112px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
}
.premium-showtime .showtime-time {
    grid-row: 1 / span 2;
    min-width: 64px;
    text-align: center;
}
.premium-showtime .showtime-meta { min-width: 0; }
.premium-showtime .showtime-action {
    align-self: center;
    margin: 0;
    padding: 6px 9px;
    border-radius: 9px;
    font-weight: 850;
    white-space: nowrap;
}
body.theme-light .showtime-item.is-available {
    position: relative;
    overflow: hidden;
}
body.theme-light .showtime-item.is-available::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #cf2451;
    opacity: .82;
}
body.theme-light .showtime-item.is-available .showtime-action {
    color: #b91543;
    background: #fff0f4;
}
body.theme-light .showtime-item.is-closed .showtime-action {
    color: #8b95a4;
    background: #eef1f5;
}

/* Trailer gets a cleaner media frame */
.movie-trailer-player {
    position: relative;
    isolation: isolate;
}
.movie-trailer-player::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(198,28,74,.18), transparent 55%);
}

/* Gallery slider */
.movie-gallery-section { margin: 46px 0 30px; }
.gallery-section-heading { align-items: center; }
.gallery-heading-count {
    flex: 0 0 auto;
    min-width: 72px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}
.gallery-heading-count strong { font-size: 1rem; }
body.theme-light .gallery-heading-count {
    color: #344054;
    background: #fff;
    border: 1px solid #e0e6ed;
    box-shadow: 0 6px 18px rgba(15,23,42,.05);
}

.movie-gallery-slider { display: grid; gap: 13px; }
.movie-gallery-stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 8.6;
    min-height: 360px;
    border-radius: 25px;
    touch-action: pan-y;
}
body.theme-light .movie-gallery-stage {
    background: #eef2f6;
    border: 1px solid #dfe5ec;
    box-shadow: 0 22px 55px rgba(15,23,42,.10);
}
.movie-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
    cursor: zoom-in;
    background: #11151b;
    transition: opacity .38s ease, visibility .38s ease;
}
.movie-gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.movie-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, filter .45s ease;
}
.movie-gallery-slide:hover img { transform: scale(1.015); filter: brightness(.96); }
.gallery-zoom-hint {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 11px;
    color: #fff;
    background: rgba(17,24,39,.66);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    font-size: .74rem;
    font-weight: 800;
    pointer-events: none;
}
.gallery-zoom-hint svg { width: 17px; height: 17px; }
.gallery-nav {
    position: absolute;
    z-index: 7;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .18s ease;
}
.gallery-nav-next { right: 18px; }
.gallery-nav-prev { left: 18px; }
body.theme-light .gallery-nav {
    color: #344054;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(216,224,233,.95);
    box-shadow: 0 9px 26px rgba(15,23,42,.13);
}
body.theme-light .gallery-nav:hover {
    color: #b91543;
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.movie-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 2px 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #cfd6df transparent;
}
.movie-gallery-thumb {
    flex: 0 0 112px;
    aspect-ratio: 16 / 10;
    padding: 3px;
    overflow: hidden;
    border-radius: 13px;
    cursor: pointer;
    scroll-snap-align: center;
    transition: .2s ease;
}
.movie-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}
body.theme-light .movie-gallery-thumb {
    background: #fff;
    border: 1px solid #dfe5ec;
    opacity: .65;
}
body.theme-light .movie-gallery-thumb:hover { opacity: .9; transform: translateY(-2px); }
body.theme-light .movie-gallery-thumb.is-active {
    opacity: 1;
    border-color: #cf6b88;
    box-shadow: 0 0 0 2px rgba(197,27,74,.10), 0 8px 18px rgba(15,23,42,.08);
}

/* Fullscreen gallery */
body.lightbox-open { overflow: hidden; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    opacity: 0;
    transition: opacity .18s ease;
}
.gallery-lightbox.is-open { opacity: 1; }
.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8,12,18,.88);
    backdrop-filter: blur(12px);
}
.gallery-lightbox-dialog {
    position: absolute;
    inset: 24px;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.gallery-lightbox-dialog figure {
    max-width: min(1220px, calc(100vw - 120px));
    max-height: calc(100vh - 86px);
    margin: 0;
    display: grid;
    gap: 10px;
    place-items: center;
    pointer-events: auto;
}
.gallery-lightbox-dialog figure img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.gallery-lightbox-dialog figcaption {
    color: rgba(255,255,255,.82);
    font-size: .8rem;
    direction: ltr;
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    cursor: pointer;
    pointer-events: auto;
    transition: .18s ease;
}
.gallery-lightbox-close {
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
}
.gallery-lightbox-nav {
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transform: translateY(-50%);
}
.gallery-lightbox-next { right: 0; }
.gallery-lightbox-prev { left: 0; }
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { background: rgba(255,255,255,.18); }

/* General responsive improvements */
@media (max-width: 900px) {
    .movie-section-nav { top: 75px; }
    .premium-showtime-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .movie-gallery-stage { aspect-ratio: 16 / 10; min-height: 300px; }
}

@media (max-width: 680px) {
    :root { --control-height: 46px; }
    .container-xl { width: min(calc(100% - 24px), var(--container)); }
    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .hero-actions > * { width: 100%; min-width: 0; }
    .hero-actions > .btn-primary-cinema:first-child { grid-column: 1 / -1; }
    .btn-primary-cinema,
    .btn-glass,
    .btn-outline-cinema { padding-inline: 13px; font-size: .82rem; }
    .movie-section-nav { width: 100%; border-radius: 14px; }
    .premium-showtime-list { grid-template-columns: 1fr; }
    .premium-showtime {
        min-height: 96px;
        grid-template-columns: 68px minmax(0, 1fr) auto;
        padding: 14px;
    }
    .premium-showtime .showtime-time { font-size: 1.28rem; }
    .premium-showtime .showtime-action { font-size: .65rem; padding: 5px 7px; }
    .gallery-section-heading { align-items: flex-end; }
    .gallery-section-heading p { display: none; }
    .movie-gallery-stage { min-height: 230px; aspect-ratio: 4 / 3; border-radius: 18px; }
    .gallery-nav { width: 40px; height: 40px; }
    .gallery-nav-next { right: 10px; }
    .gallery-nav-prev { left: 10px; }
    .gallery-zoom-hint { right: 10px; bottom: 10px; padding: 6px 8px; font-size: .66rem; }
    .movie-gallery-thumb { flex-basis: 86px; }
    .gallery-lightbox-dialog { inset: 14px; }
    .gallery-lightbox-dialog figure { max-width: calc(100vw - 28px); }
    .gallery-lightbox-nav { width: 42px; height: 42px; }
    .gallery-lightbox-next { right: 4px; }
    .gallery-lightbox-prev { left: 4px; }
    .gallery-lightbox-close { top: 4px; right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Hero images now use real <img> elements so offscreen slides can lazy-load. */
.hero-backdrop-image {
    width: calc(100% + 50px);
    height: calc(100% + 50px);
    max-width: none;
    object-fit: cover;
    object-position: center 24%;
}

/* =========================================================
   Home hero mobile controls + light badges final polish
   2026-09-16
   ========================================================= */

/* Keep "now showing" labels readable on the light theme instead of a dark/black chip. */
body.theme-light .movie-card-top-badge {
    color: #b91543;
    background: rgba(255, 248, 250, .94);
    border-color: #f0c4d0;
    box-shadow: 0 8px 20px rgba(185, 21, 67, .10);
    backdrop-filter: blur(12px) saturate(1.1);
}

body.theme-light .hero-v2 .eyebrow {
    width: max-content;
    max-width: 100%;
    margin-bottom: 0;
    padding: 7px 11px;
    color: #b91543;
    background: rgba(255, 248, 250, .92);
    border: 1px solid #f0c4d0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(185, 21, 67, .08);
    backdrop-filter: blur(12px) saturate(1.1);
}

body.theme-light .hero-v2 .live-dot {
    background: #d61f51;
    box-shadow: 0 0 0 5px rgba(214, 31, 81, .10);
}

.hero-navigation-v2 .slider-arrow svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

@media (max-width: 680px) {
    /* Give the copy enough room and keep navigation away from the CTAs. */
    .hero-v2,
    .hero-content-v2 {
        min-height: 760px;
    }

    .hero-content-v2 {
        gap: 18px;
        padding-top: 94px;
        padding-bottom: 118px;
    }

    .hero-poster-v2 {
        width: 132px;
    }

    .hero-v2 h1 {
        font-size: clamp(2.55rem, 13vw, 3.8rem);
        line-height: 1.02;
        margin-bottom: 12px;
    }

    .hero-copy-v2 > p {
        font-size: .92rem;
        line-height: 1.9;
        margin-bottom: 18px;
    }

    .hero-topline {
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    body.theme-light .hero-v2 .eyebrow {
        padding: 6px 9px;
        font-size: .72rem;
    }

    .hero-index {
        flex: 0 0 auto;
        font-size: .68rem;
        letter-spacing: .08em;
    }

    /* Mobile navigation: large edge arrows + compact pagination pills. */
    .hero-navigation-v2 {
        width: min(calc(100% - 28px), 430px);
        bottom: 16px;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        gap: 12px;
        padding: 7px;
        border: 1px solid rgba(214, 221, 231, .9);
        border-radius: 20px;
        background: rgba(255, 255, 255, .86);
        box-shadow: 0 14px 38px rgba(15, 23, 42, .12);
        backdrop-filter: blur(18px) saturate(1.2);
    }

    .hero-navigation-v2 .slider-arrow,
    body.theme-light .hero-navigation-v2 .slider-arrow {
        width: 46px;
        height: 46px;
        border: 1px solid #e0e6ee;
        border-radius: 15px;
        color: #b91543;
        background: #fff;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .hero-navigation-v2 .slider-arrow:hover,
    body.theme-light .hero-navigation-v2 .slider-arrow:hover {
        color: #a6113d;
        background: #fff5f7;
        border-color: #efc0cd;
    }

    .hero-navigation-v2 .slider-arrow:active {
        transform: scale(.94);
    }

    /* RTL carousel: next lives on the left and points left; previous is on the right. */
    .hero-navigation-v2 [data-slider-next] svg,
    .hero-navigation-v2 [data-slider-prev] svg {
        transform: rotate(180deg);
    }

    .hero-thumb-rail {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        max-width: none;
        overflow: visible;
    }

    .hero-thumb,
    body.theme-light .hero-thumb {
        width: 8px;
        min-width: 8px;
        height: 8px;
        min-height: 8px;
        padding: 0;
        display: block;
        overflow: hidden;
        border: 0;
        border-radius: 999px;
        color: transparent;
        background: #cfd6e0;
        box-shadow: none;
        backdrop-filter: none;
        transition: width .24s ease, background .24s ease, transform .24s ease;
    }

    .hero-thumb img,
    .hero-thumb span {
        display: none !important;
    }

    .hero-thumb:hover,
    .hero-thumb.is-active,
    body.theme-light .hero-thumb:hover,
    body.theme-light .hero-thumb.is-active {
        width: 28px;
        background: linear-gradient(90deg, #d62858, #b91543);
        border: 0;
        box-shadow: 0 4px 12px rgba(185, 21, 67, .18);
        transform: none;
    }

    .hero-progress-track {
        height: 2px;
    }
}

@media (max-width: 420px) {
    .hero-navigation-v2 {
        width: calc(100% - 20px);
        bottom: 10px;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 6px;
        border-radius: 18px;
    }

    .hero-navigation-v2 .slider-arrow,
    body.theme-light .hero-navigation-v2 .slider-arrow {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .hero-v2 .eyebrow {
        max-width: calc(100vw - 105px);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* =========================================================
   Mobile hero layout rework — controls must never overlay CTA/showtimes
   2026-09-16
   ========================================================= */
@media (max-width: 680px) {
    /* The active slide participates in normal document flow on mobile.
       This lets the hero grow naturally when a movie has more showtimes/actions. */
    .hero-v2 {
        min-height: 0 !important;
        height: auto;
        overflow: hidden;
        padding-bottom: 0;
    }

    .hero-v2 .hero-slides {
        position: relative;
        inset: auto;
        min-height: 0;
    }

    .hero-v2 .hero-slide-v2 {
        position: absolute;
        inset: 0;
        min-height: 100%;
        overflow: hidden;
    }

    .hero-v2 .hero-slide-v2.is-active {
        position: relative;
        inset: auto;
        min-height: 0;
        overflow: hidden;
    }

    .hero-v2 .hero-content-v2 {
        min-height: 0 !important;
        width: min(calc(100% - 24px), var(--container));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
        padding-top: 96px;
        padding-bottom: 28px;
    }

    /* Poster is fully visible and no longer consumes excessive height. */
    .hero-v2 .hero-poster-v2 {
        order: 0;
        width: min(148px, 42vw);
        aspect-ratio: 2 / 3;
        align-self: center;
        margin: 0 auto;
        flex: 0 0 auto;
    }

    .hero-v2 .hero-poster-v2 > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .hero-v2 .hero-copy-v2 {
        order: 1;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .hero-v2 .hero-topline {
        width: 100%;
        margin-bottom: 12px;
    }

    .hero-v2 h1 {
        max-width: 100%;
        margin: 0 0 12px;
        font-size: clamp(2.25rem, 11.5vw, 3.25rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .hero-v2 .hero-copy-v2 > p {
        max-width: none;
        margin: 0 0 16px;
        font-size: .9rem;
        line-height: 1.85;
    }

    .hero-v2 .hero-feature-row {
        gap: 7px;
        margin: 0 0 14px;
    }

    .hero-v2 .hero-feature-row > span {
        padding: 6px 9px;
        font-size: .68rem;
    }

    /* Do not hide movie data just to make the hero fit. */
    .hero-v2 .hero-feature-row > span:nth-child(n+3) {
        display: inline-flex;
    }

    .hero-v2 .hero-showtimes-v2 {
        width: 100%;
        margin: 8px 0 18px;
        gap: 7px;
    }

    .hero-v2 .hero-showtimes-v2 > span {
        flex: 1 0 100%;
        margin-bottom: 1px;
    }

    .hero-v2 .hero-showtimes-v2 a {
        min-width: 62px;
        min-height: 39px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 11px;
    }

    .hero-v2 .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
        margin-top: 2px;
    }

    .hero-v2 .hero-actions > *,
    .hero-v2 .hero-actions > .btn-primary-cinema:first-child {
        grid-column: auto;
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

    /* Navigation is now a dedicated row AFTER the active slide, not an overlay. */
    .hero-v2 .hero-navigation-v2 {
        position: relative;
        z-index: 20;
        left: auto;
        bottom: auto;
        transform: none;
        width: min(calc(100% - 24px), 430px);
        margin: 0 auto 16px;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        gap: 10px;
        padding: 7px;
        border: 1px solid rgba(214, 221, 231, .95);
        border-radius: 18px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
        backdrop-filter: blur(18px) saturate(1.15);
    }

    .hero-v2 .hero-navigation-v2 .slider-arrow,
    body.theme-light .hero-v2 .hero-navigation-v2 .slider-arrow {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        border-radius: 14px;
        background: #fff;
    }

    .hero-v2 .hero-thumb-rail {
        min-width: 0;
        overflow: hidden;
    }

    /* Progress also becomes part of the hero footer and never covers content. */
    .hero-v2 .hero-progress-track {
        position: relative;
        z-index: 20;
        left: auto;
        right: auto;
        bottom: auto;
        height: 3px;
        margin-top: 0;
    }

    /* Keep backdrop covering the dynamically-sized active slide. */
    .hero-v2 .hero-slide-v2 .hero-backdrop-image {
        width: calc(100% + 42px);
        height: calc(100% + 42px);
        min-height: 100%;
        object-position: center 18%;
    }
}

@media (max-width: 420px) {
    .hero-v2 .hero-content-v2 {
        width: min(calc(100% - 20px), var(--container));
        padding-top: 90px;
        padding-bottom: 24px;
        gap: 17px;
    }

    .hero-v2 .hero-poster-v2 {
        width: min(132px, 40vw);
    }

    .hero-v2 h1 {
        font-size: clamp(2rem, 11vw, 2.85rem);
    }

    .hero-v2 .hero-navigation-v2 {
        width: calc(100% - 20px);
        margin-bottom: 12px;
        grid-template-columns: 43px minmax(0, 1fr) 43px;
        gap: 7px;
        padding: 6px;
        border-radius: 16px;
    }

    .hero-v2 .hero-navigation-v2 .slider-arrow,
    body.theme-light .hero-v2 .hero-navigation-v2 .slider-arrow {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .hero-v2 .hero-showtimes-v2 a {
        flex: 1 1 calc(25% - 7px);
        min-width: 56px;
    }
}


/* Upcoming-catalog home cards */
.home-movie-card .movie-card-top-badge {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-movie-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.home-movie-quick-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: #e11d48;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(225, 29, 72, .18);
}

.home-movie-quick-buy:hover {
    background: #be123c;
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .home-movie-card-actions {
        grid-template-columns: 1fr;
    }

    .home-movie-quick-buy {
        width: 100%;
    }
}

/* =========================================================
   Home hero — desktop composition v6
   2026-09-16
   Desktop only: full cinematic stage, complete content and controls.
   Mobile flow rules below 1024px remain untouched.
   ========================================================= */
@media (min-width: 1025px) {
    .hero-v2 {
        min-height: clamp(740px, calc(100vh - 12px), 880px);
        height: auto;
        overflow: hidden;
        border-bottom: 1px solid rgba(148, 163, 184, .18);
    }

    .hero-v2 .hero-slides,
    .hero-v2 .hero-slide-v2 {
        min-height: inherit;
    }

    .hero-v2 .hero-slide-v2 .hero-backdrop-image {
        inset: -30px;
        width: calc(100% + 60px);
        height: calc(100% + 60px);
        object-fit: cover;
        object-position: center 22%;
        filter: blur(12px) saturate(.98) brightness(.74);
        opacity: .78;
        transform: scale(1.06);
    }

    .hero-v2 .hero-slide-v2.is-active .hero-backdrop-image {
        transform: scale(1.02);
    }

    .hero-v2 .hero-shade-v2 {
        background:
            linear-gradient(90deg, rgba(7, 7, 10, .18) 0%, rgba(7, 7, 10, .44) 35%, rgba(7, 7, 10, .88) 69%, rgba(7, 7, 10, .97) 100%),
            linear-gradient(0deg, rgba(7, 7, 10, .96) 0%, rgba(7, 7, 10, .22) 34%, rgba(7, 7, 10, .06) 100%);
    }

    .hero-v2 .hero-content-v2 {
        min-height: clamp(740px, calc(100vh - 12px), 880px);
        grid-template-columns: minmax(0, 1fr) clamp(290px, 24vw, 340px);
        gap: clamp(54px, 7vw, 112px);
        align-items: center;
        padding-top: 112px;
        padding-bottom: 124px;
    }

    .hero-v2 .hero-copy-v2 {
        width: 100%;
        max-width: 760px;
        min-width: 0;
        align-self: center;
    }

    .hero-v2 .hero-topline {
        max-width: 650px;
        margin-bottom: 15px;
    }

    .hero-v2 h1 {
        max-width: 760px;
        margin: 0 0 18px;
        font-size: clamp(3.7rem, 5.3vw, 5.7rem);
        line-height: 1.01;
        letter-spacing: -.045em;
        overflow-wrap: break-word;
    }

    .hero-v2 .hero-copy-v2 > p {
        max-width: 650px;
        margin: 0 0 22px;
        font-size: 1.02rem;
        line-height: 2;
    }

    .hero-v2 .hero-feature-row {
        max-width: 700px;
        gap: 8px;
        margin-bottom: 15px;
    }

    .hero-v2 .hero-feature-row > span {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        padding: 6px 11px;
    }

    .hero-v2 .hero-showtimes-v2 {
        max-width: 700px;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 10px 0 22px;
    }

    .hero-v2 .hero-showtimes-v2 > span {
        flex: 0 0 auto;
        margin-inline-end: 2px;
    }

    .hero-v2 .hero-showtimes-v2 a {
        min-width: 68px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 12px;
        border-radius: 11px;
    }

    .hero-v2 .hero-actions {
        gap: 10px;
        margin-top: 2px;
    }

    .hero-v2 .hero-actions > a {
        min-height: 50px;
        padding-inline: 20px;
    }

    .hero-v2 .hero-poster-v2 {
        width: clamp(280px, 23vw, 330px);
        aspect-ratio: 2 / 3;
        align-self: center;
        justify-self: start;
        margin-inline-start: 6px;
    }

    .hero-v2 .hero-poster-v2 > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 28px;
        box-shadow: 0 34px 88px rgba(15, 23, 42, .28);
    }

    .hero-v2 .hero-poster-glow {
        inset: 12% -16% -10%;
        filter: blur(54px);
        opacity: .75;
    }

    .hero-v2 .hero-poster-caption {
        inset: auto 13px 13px 13px;
        padding: 13px 14px;
        border-radius: 15px;
    }

    .hero-v2 .hero-navigation-v2 {
        width: min(calc(100% - 56px), 1120px);
        bottom: 25px;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 13px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 19px;
        background: rgba(8, 10, 15, .45);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
        backdrop-filter: blur(18px) saturate(1.18);
    }

    .hero-v2 .hero-navigation-v2 .slider-arrow {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        flex: 0 0 48px;
    }

    .hero-v2 .hero-thumb-rail {
        display: flex;
        align-items: center;
        gap: 7px;
        width: 100%;
        max-width: none;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        padding: 0 2px;
    }

    .hero-v2 .hero-thumb-rail::-webkit-scrollbar { display: none; }

    .hero-v2 .hero-thumb {
        flex: 0 0 clamp(118px, 12vw, 154px);
        height: 50px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 7px;
        padding: 5px 7px;
        border-radius: 12px;
        scroll-snap-align: center;
    }

    .hero-v2 .hero-thumb img {
        width: 34px;
        height: 40px;
        border-radius: 7px;
    }

    .hero-v2 .hero-thumb span {
        display: block;
        font-size: .68rem;
        line-height: 1.5;
    }

    .hero-v2 .hero-progress-track {
        height: 3px;
    }

    /* Light theme keeps the backdrop visible, while preserving text contrast. */
    body.theme-light .hero-v2 .hero-slide-v2 .hero-backdrop-image {
        filter: blur(13px) saturate(.92) brightness(1.02);
        opacity: .46;
    }

    body.theme-light .hero-v2 .hero-shade-v2 {
        background:
            linear-gradient(90deg, rgba(247, 248, 251, .14) 0%, rgba(247, 248, 251, .48) 38%, rgba(247, 248, 251, .91) 70%, rgba(247, 248, 251, .985) 100%),
            linear-gradient(0deg, rgba(247, 248, 251, .97) 0%, rgba(247, 248, 251, .47) 35%, rgba(247, 248, 251, .12) 100%) !important;
    }

    body.theme-light .hero-v2 .hero-navigation-v2 {
        border-color: rgba(220, 226, 235, .92);
        background: rgba(255, 255, 255, .78);
        box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
    }

    body.theme-light .hero-v2 .hero-thumb {
        background: rgba(255, 255, 255, .72);
    }

    body.theme-light .hero-v2 .hero-thumb:hover,
    body.theme-light .hero-v2 .hero-thumb.is-active {
        background: #fff;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .hero-v2 .hero-content-v2 {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 42px;
        padding-top: 108px;
    }

    .hero-v2 .hero-poster-v2 { width: 265px; }
    .hero-v2 h1 { font-size: clamp(3.3rem, 5vw, 4.7rem); }
    .hero-v2 .hero-copy-v2 > p { font-size: .96rem; }
    .hero-v2 .hero-navigation-v2 { width: min(calc(100% - 40px), 1040px); }
    .hero-v2 .hero-thumb { flex-basis: 122px; }
}

/* =========================================================
   DELIVERY POLISH — unified hero, branding and performance
   ========================================================= */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cinema-brand { gap: 10px; }
.cinema-brand-logo {
    width: 58px;
    height: 48px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    overflow: hidden;
}
.cinema-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}
.footer-brand .cinema-brand-logo { width: 72px; height: 58px; flex-basis: 72px; }
.footer-bottom-v2 { align-items: center; flex-wrap: wrap; }
.arkoa-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-weight: 800;
    white-space: nowrap;
}
.arkoa-credit img {
    width: 74px;
    height: 48px;
    object-fit: contain;
}

img.is-fallback-image {
    object-fit: contain !important;
    background: #fff !important;
    padding: 12px !important;
}
.hero-backdrop-image.is-fallback-image {
    object-fit: contain !important;
    padding: 14% !important;
    filter: none !important;
    opacity: .14 !important;
}

.hero-delivery { outline: none; }
.hero-delivery:focus-visible { box-shadow: inset 0 0 0 3px rgba(225,29,72,.28); }
.hero-delivery.is-dragging { cursor: grabbing; user-select: none; }
.hero-delivery:not(.is-dragging) .hero-slide-v2 { cursor: grab; }
.hero-delivery a,
.hero-delivery button { cursor: pointer; }

.hero-cinema-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 4px 10px 4px 7px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.hero-cinema-badge img {
    width: 34px;
    height: 28px;
    object-fit: contain;
    border-radius: 7px;
    background: rgba(255,255,255,.96);
    padding: 2px;
}
body.theme-light .hero-cinema-badge {
    color: #344054;
    background: rgba(255,255,255,.90);
    border-color: #dfe5ed;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.hero-poster-v2 {
    aspect-ratio: auto !important;
    display: block;
    overflow: visible !important;
}
.hero-poster-frame {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 26px;
    background: #eef2f6;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 30px 75px rgba(15,23,42,.22);
}
.hero-poster-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-poster-caption,
body.theme-light .hero-poster-caption {
    position: relative !important;
    inset: auto !important;
    display: grid;
    gap: 4px;
    width: calc(100% - 18px);
    margin: -18px auto 0;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: rgba(255,255,255,.96) !important;
    color: #101828 !important;
    box-shadow: 0 16px 38px rgba(15,23,42,.13);
    backdrop-filter: blur(16px);
    text-align: right;
}
.hero-poster-caption b {
    color: #101828 !important;
    font-size: .84rem;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-poster-caption small {
    color: #475467 !important;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.6;
    white-space: normal;
}

.hero-feature-row > span.is-accent {
    border-color: rgba(225,29,72,.24);
    background: rgba(225,29,72,.08);
}
body.theme-light .hero-feature-row > span.is-accent { color: #9f1239; background: #fff1f4; border-color: #f5c2d0; }

.hero-slider-tools {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 1px 4px 0;
}
.hero-slider-hint {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(255,255,255,.62);
    font-size: .66rem;
    font-weight: 700;
}
.hero-autoplay-toggle {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.86);
    font-size: .67rem;
    font-weight: 850;
    transition: .2s ease;
}
.hero-autoplay-toggle:hover { background: rgba(255,255,255,.13); color: #fff; }
.hero-play-icon { display: none; }
.hero-autoplay-toggle.is-paused .hero-pause-icon { display: none; }
.hero-autoplay-toggle.is-paused .hero-play-icon { display: inline; }
body.theme-light .hero-slider-hint { color: #7b8798; }
body.theme-light .hero-autoplay-toggle {
    color: #475467;
    background: #fff;
    border-color: #dfe5ed;
}
body.theme-light .hero-autoplay-toggle:hover { color: #9f1239; border-color: #f0b5c6; background: #fff6f8; }

.hero-thumb {
    grid-template-columns: 27px minmax(0,1fr) !important;
}
.hero-thumb-index {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    font-size: .63rem;
    font-weight: 900;
}
.hero-thumb-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .69rem;
    font-weight: 850;
}
body.theme-light .hero-thumb-index { background: #f1f4f8; color: #344054; }
.hero-thumb.is-active .hero-thumb-index { background: #e11d48; color: #fff; }

.movie-poster-wrap-v2 {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #eef2f6;
}
.movie-poster-wrap-v2 .movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.now-showing-section,
.cinema-feature-v2 {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

@media (min-width: 1025px) {
    .hero-delivery {
        height: clamp(790px, calc(100svh - 54px), 920px);
        min-height: 790px;
        max-height: 920px;
    }
    .hero-delivery .hero-slides,
    .hero-delivery .hero-slide-v2 { height: 100%; min-height: 100%; }
    .hero-delivery .hero-backdrop-image {
        inset: -34px !important;
        width: calc(100% + 68px) !important;
        height: calc(100% + 68px) !important;
        object-fit: cover !important;
        object-position: center 24% !important;
    }
    .hero-delivery .hero-content-v2 {
        height: 100%;
        min-height: 100%;
        grid-template-columns: minmax(0, 1fr) clamp(270px, 23vw, 325px);
        gap: clamp(44px, 6vw, 92px);
        padding-top: 102px;
        padding-bottom: 160px;
    }
    .hero-delivery .hero-copy-v2 { max-width: 760px; }
    .hero-delivery .hero-topline { max-width: 690px; }
    .hero-delivery h1 {
        max-width: 760px;
        font-size: clamp(3.35rem, 5.1vw, 5.45rem);
        line-height: 1.02;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-delivery .hero-copy-v2 > p {
        max-width: 660px;
        min-height: 3.9em;
        margin-bottom: 18px;
        line-height: 1.95;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-delivery .hero-poster-v2 {
        width: clamp(260px, 21vw, 310px);
        align-self: center;
        margin-top: -4px;
    }
    .hero-delivery .hero-poster-frame { border-radius: 24px; }
    .hero-delivery .hero-navigation-v2 {
        width: min(calc(100% - 52px), 1160px);
        bottom: 18px;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        grid-template-rows: 50px 32px;
        gap: 7px 12px;
        padding: 8px 10px 7px;
        border-radius: 20px;
    }
    .hero-delivery .hero-thumb-rail { height: 50px; }
    .hero-delivery .hero-thumb {
        flex: 0 0 clamp(118px, 11vw, 148px);
        height: 44px;
        padding: 5px 7px;
        border-radius: 11px;
    }
    .hero-delivery .hero-showtimes-v2 a {
        font-weight: 900;
        box-shadow: 0 8px 22px rgba(15,23,42,.08);
    }
    .hero-delivery .hero-actions > a { min-height: 50px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .hero-delivery { min-height: 740px; height: 740px; }
    .hero-delivery .hero-content-v2 { padding-top: 90px; padding-bottom: 145px; }
    .hero-delivery .hero-poster-v2 { width: 245px; }
    .hero-delivery h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); }
    .hero-delivery .hero-copy-v2 > p { font-size: .92rem; }
}

@media (max-width: 1024px) {
    .cinema-brand-logo { width: 52px; height: 43px; flex-basis: 52px; }
    .hero-cinema-badge img { width: 30px; height: 25px; }
    .hero-slider-tools { justify-content: flex-end; }
    .hero-slider-hint { display: none; }
    .hero-autoplay-toggle [data-slider-toggle-label] { display: none; }
    .hero-autoplay-toggle { width: 38px; min-height: 34px; padding: 4px; }
}

@media (max-width: 680px) {
    .cinema-brand-logo { width: 46px; height: 38px; flex-basis: 46px; border-radius: 10px; }
    .brand-copy strong { font-size: .86rem; }
    .brand-copy small { font-size: .64rem; }
    .hero-poster-caption,
    body.theme-light .hero-poster-caption {
        width: calc(100% - 10px);
        margin-top: -10px;
        padding: 8px 9px;
        border-radius: 11px;
    }
    .hero-poster-caption b { font-size: .68rem; }
    .hero-poster-caption small { font-size: .58rem; }
    .hero-cinema-badge { min-height: 34px; font-size: .67rem; padding: 3px 8px 3px 5px; }
    .hero-navigation-v2 { grid-template-rows: auto auto; }
    .hero-slider-tools { grid-column: 1 / -1; padding-top: 2px; }
    .footer-bottom-v2 { display: grid; justify-items: start; }
    .arkoa-credit img { width: 68px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-delivery .hero-backdrop-image,
    .hero-delivery .hero-slide-v2,
    .hero-delivery .hero-thumb,
    .hero-delivery .slider-arrow { transition: none !important; animation: none !important; }
}

.cinema-screen-branded {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 18px;
}
.cinema-screen-branded img {
    width: min(156px, 48%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(15,23,42,.10));
}
.cinema-screen-branded span {
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: 0;
    color: #475467;
}

/* =========================================================
   HERO PRODUCTION PASS — stable fullscreen slider
   2026-09-16
   ========================================================= */
.hero-pro {
    --hero-control-height: 118px;
    --hero-stage-top: 94px;
    position: relative;
    width: 100%;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: #07101d !important;
    border-bottom: 0 !important;
    outline: 0;
}

.hero-pro .hero-ambient {
    z-index: 1;
    opacity: .5;
    background:
        radial-gradient(circle at 16% 16%, rgba(17, 93, 181, .20), transparent 34rem),
        radial-gradient(circle at 83% 30%, rgba(222, 52, 93, .16), transparent 32rem) !important;
}

.hero-pro .hero-slides {
    z-index: 0;
}

.hero-pro-slide {
    overflow: hidden;
}

.hero-pro-backdrop,
body.theme-light .hero-pro .hero-pro-backdrop {
    max-width: none !important;
    object-fit: cover !important;
    filter: saturate(.98) contrast(1.02) brightness(.74) !important;
    opacity: 1 !important;
    transform: scale(1.025);
    transition: transform 8s cubic-bezier(.2,.65,.2,1), opacity .5s ease;
}

.hero-pro-slide.is-active .hero-pro-backdrop {
    transform: scale(1.065);
}

.hero-pro-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(270deg,
            rgba(5, 11, 22, .97) 0%,
            rgba(5, 11, 22, .91) 32%,
            rgba(5, 11, 22, .70) 56%,
            rgba(5, 11, 22, .28) 80%,
            rgba(5, 11, 22, .16) 100%),
        linear-gradient(0deg,
            rgba(5, 11, 22, .98) 0%,
            rgba(5, 11, 22, .48) 24%,
            rgba(5, 11, 22, .07) 60%,
            rgba(5, 11, 22, .15) 100%);
}

.hero-pro-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 160px rgba(0,0,0,.30);
    background: radial-gradient(circle at 48% 38%, transparent 22%, rgba(2,8,18,.12) 72%, rgba(2,8,18,.38) 100%);
}

.hero-pro-stage {
    position: relative;
    z-index: 4;
}

.hero-pro-copy {
    color: #fff;
    direction: rtl;
    min-width: 0;
}

.hero-pro-topline {
    max-width: none;
}

.hero-pro .hero-index,
body.theme-light .hero-pro .hero-index {
    color: rgba(255,255,255,.62) !important;
}

.hero-pro-cinema-badge,
body.theme-light .hero-pro .hero-pro-cinema-badge {
    color: #fff !important;
    background: rgba(9, 18, 34, .68) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: 0 10px 34px rgba(0,0,0,.18) !important;
}

.hero-pro h1,
body.theme-light .hero-pro h1 {
    color: #fff !important;
    text-shadow: 0 9px 44px rgba(0,0,0,.40) !important;
}

.hero-pro-description,
body.theme-light .hero-pro .hero-pro-description {
    color: rgba(244,247,252,.84) !important;
    text-shadow: 0 4px 24px rgba(0,0,0,.22);
}

.hero-pro-features > span,
body.theme-light .hero-pro .hero-pro-features > span {
    color: #edf2f9 !important;
    background: rgba(6,14,27,.56) !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: none !important;
}

.hero-pro-features > span.is-accent,
body.theme-light .hero-pro .hero-pro-features > span.is-accent {
    color: #fff !important;
    background: rgba(211, 36, 79, .78) !important;
    border-color: rgba(255,255,255,.15) !important;
}

.hero-pro-features b,
body.theme-light .hero-pro .hero-pro-features b {
    color: #fff !important;
}

.hero-pro-showtimes {
    display: grid;
    gap: 9px;
    margin: 12px 0 24px;
}

.hero-pro-showtimes > strong {
    color: rgba(255,255,255,.78);
    font-size: .77rem;
    font-weight: 850;
}

.hero-pro-showtime-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pro-showtime-list a,
body.theme-light .hero-pro .hero-pro-showtime-list a {
    min-width: 66px;
    padding: 8px 12px;
    color: #fff !important;
    background: rgba(9,18,34,.72) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    backdrop-filter: blur(12px);
    text-align: center;
    font-size: .82rem;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.hero-pro-showtime-list a:hover {
    color: #fff !important;
    background: #d21f4d !important;
    border-color: #d21f4d !important;
    transform: translateY(-2px);
}

.hero-pro-actions .btn-glass,
body.theme-light .hero-pro .hero-pro-actions .btn-glass {
    color: #fff !important;
    background: rgba(9,18,34,.68) !important;
    border-color: rgba(255,255,255,.20) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.16) !important;
}

.hero-pro-actions .btn-glass:hover,
body.theme-light .hero-pro .hero-pro-actions .btn-glass:hover {
    background: rgba(20,35,57,.88) !important;
    border-color: rgba(255,255,255,.32) !important;
}

.hero-pro-poster {
    direction: rtl;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.hero-pro-poster:hover {
    transform: translateY(-5px) !important;
}

.hero-pro-poster-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 26px;
    background: #111c2c;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow:
        0 34px 90px rgba(0,0,0,.46),
        0 0 0 7px rgba(255,255,255,.07);
}

.hero-pro-poster-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-pro-poster-badge {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 999px;
    color: #a80e38;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.74);
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    font-size: .72rem;
    font-weight: 950;
}

.hero-pro-controls-wrap {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 14px;
    pointer-events: none;
}

.hero-pro-controls {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 50px minmax(0,1fr) 50px;
    grid-template-rows: 78px 30px;
    align-items: center;
    gap: 8px 12px;
    padding: 9px 10px 8px;
    direction: ltr;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(4, 11, 22, .70);
    box-shadow: 0 18px 60px rgba(0,0,0,.28);
    backdrop-filter: blur(20px) saturate(1.18);
}

.hero-pro-arrow,
body.theme-light .hero-pro .hero-pro-arrow {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: #fff !important;
    background: rgba(255,255,255,.09) !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: none !important;
}

.hero-pro-arrow:hover,
body.theme-light .hero-pro .hero-pro-arrow:hover {
    color: #fff !important;
    background: #d21f4d !important;
    border-color: #d21f4d !important;
}

.hero-pro-thumb-rail {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 78px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.hero-pro-thumb-rail::-webkit-scrollbar { display: none; }

.hero-pro-thumb,
body.theme-light .hero-pro .hero-pro-thumb {
    flex: 0 0 152px !important;
    height: 70px !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0,1fr) !important;
    align-items: center;
    gap: 8px;
    padding: 5px 7px !important;
    direction: rtl;
    text-align: right;
    color: rgba(255,255,255,.72) !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    scroll-snap-align: center;
    transition: .2s ease;
}

.hero-pro-thumb > img {
    width: 44px !important;
    height: 60px !important;
    border-radius: 8px !important;
    object-fit: cover;
    background: #162238;
}

.hero-pro-thumb-copy {
    min-width: 0;
    display: grid !important;
    gap: 2px;
}

.hero-pro-thumb-copy strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: inherit;
    font-size: .73rem;
    line-height: 1.55;
    font-weight: 900;
}

.hero-pro-thumb-copy small {
    color: rgba(255,255,255,.45);
    font-size: .59rem;
    font-weight: 750;
}

.hero-pro-thumb:hover,
.hero-pro-thumb.is-active,
body.theme-light .hero-pro .hero-pro-thumb:hover,
body.theme-light .hero-pro .hero-pro-thumb.is-active {
    color: #fff !important;
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.30) !important;
    transform: translateY(-1px);
}

.hero-pro-thumb.is-active {
    box-shadow: inset 0 0 0 1px rgba(225,29,72,.78) !important;
}

.hero-pro-toolbar {
    grid-column: 1 / -1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    direction: rtl;
    padding-inline: 3px;
}

.hero-pro .hero-slider-hint,
body.theme-light .hero-pro .hero-slider-hint {
    color: rgba(255,255,255,.54) !important;
}

.hero-pro-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.hero-pro-counter {
    min-width: 50px;
    text-align: center;
    color: rgba(255,255,255,.78);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
}

.hero-pro .hero-autoplay-toggle,
body.theme-light .hero-pro .hero-autoplay-toggle {
    color: rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.13) !important;
}

.hero-pro .hero-autoplay-toggle:hover,
body.theme-light .hero-pro .hero-autoplay-toggle:hover {
    color: #fff !important;
    background: rgba(255,255,255,.13) !important;
}

.hero-pro-progress {
    z-index: 25;
    height: 3px;
    background: rgba(255,255,255,.10) !important;
}

.hero-pro-progress span {
    background: linear-gradient(90deg,#e11d48,#ff758f) !important;
}

/* Desktop: every slide is exactly one viewport tall. Content positions never change. */
@media (min-width: 1025px) {
    .hero-pro,
    body.theme-light .hero-pro {
        height: 100dvh !important;
        min-height: 760px !important;
        max-height: none !important;
    }

    .hero-pro .hero-slides,
    .hero-pro .hero-pro-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100%;
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-pro .hero-pro-backdrop {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-position: center center !important;
    }

    .hero-pro-stage {
        height: 100%;
        min-height: 100%;
        display: grid;
        grid-template-columns: clamp(270px, 22vw, 330px) minmax(0, 1fr);
        grid-template-areas: "poster copy";
        align-items: center;
        gap: clamp(46px, 6vw, 94px);
        direction: ltr;
        padding-top: var(--hero-stage-top);
        padding-bottom: 154px;
    }

    .hero-pro-copy {
        grid-area: copy;
        width: 100%;
        max-width: 760px;
        justify-self: end;
    }

    .hero-pro-poster {
        grid-area: poster;
        width: clamp(260px, 21vw, 316px) !important;
        justify-self: start;
        align-self: center;
    }

    .hero-pro h1 {
        min-height: 1.9em;
        max-width: 760px;
        margin: 10px 0 12px;
        font-size: clamp(3.55rem, 5.2vw, 5.8rem) !important;
        line-height: .98 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-pro-description {
        max-width: 690px !important;
        min-height: 4.1em;
        margin: 0 0 17px !important;
        font-size: 1rem !important;
        line-height: 2 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-pro-features {
        min-height: 38px;
        margin-bottom: 9px;
    }

    .hero-pro-showtimes {
        min-height: 72px;
    }

    .hero-pro-actions {
        min-height: 50px;
    }

    .hero-pro-controls-wrap {
        bottom: 13px;
    }

    .hero-pro-controls {
        width: min(calc(100% - 44px), 1240px);
    }
}

/* Laptop-height screens stay full and compact without changing between movies. */
@media (min-width: 1025px) and (max-height: 780px) {
    .hero-pro,
    body.theme-light .hero-pro {
        height: 100dvh !important;
        min-height: 680px !important;
    }

    .hero-pro-stage {
        padding-top: 78px;
        padding-bottom: 136px;
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 42px;
    }

    .hero-pro-poster { width: 238px !important; }
    .hero-pro h1 { font-size: clamp(3rem,4.5vw,4.45rem) !important; margin-block: 7px 8px; }
    .hero-pro-description { font-size: .9rem !important; min-height: 3.7em; line-height: 1.85 !important; margin-bottom: 10px !important; }
    .hero-pro-showtimes { margin: 8px 0 12px; min-height: 64px; }
    .hero-pro-showtime-list a { padding: 6px 10px; }
    .hero-pro-controls { grid-template-rows: 68px 27px; }
    .hero-pro-thumb-rail { height: 68px; }
    .hero-pro-thumb { height: 61px !important; flex-basis: 142px !important; }
    .hero-pro-thumb > img { width: 38px !important; height: 52px !important; }
}

/* Tablet/mobile: active slide participates in layout; controls never cover purchase CTAs. */
@media (max-width: 1024px) {
    .hero-pro,
    body.theme-light .hero-pro {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden;
    }

    .hero-pro .hero-slides {
        position: relative !important;
        inset: auto !important;
        min-height: 0 !important;
    }

    .hero-pro .hero-pro-slide {
        position: absolute !important;
        inset: 0 !important;
        min-height: 100%;
    }

    .hero-pro .hero-pro-slide.is-active {
        position: relative !important;
        inset: auto !important;
        min-height: 0 !important;
    }

    .hero-pro .hero-pro-backdrop {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-position: center top !important;
        filter: saturate(.94) brightness(.62) !important;
    }

    .hero-pro-overlay {
        background:
            linear-gradient(0deg, rgba(5,11,22,.98) 0%, rgba(5,11,22,.91) 45%, rgba(5,11,22,.48) 75%, rgba(5,11,22,.24) 100%),
            linear-gradient(270deg, rgba(5,11,22,.70), rgba(5,11,22,.20));
    }

    .hero-pro-stage {
        width: min(calc(100% - 28px), var(--container));
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding-top: 94px;
        padding-bottom: 28px;
    }

    .hero-pro-poster {
        order: 0;
        width: min(170px, 43vw) !important;
        margin-inline: auto;
        align-self: center;
    }

    .hero-pro-copy {
        order: 1;
        width: 100%;
        max-width: none;
    }

    .hero-pro h1 {
        margin: 8px 0 10px;
        font-size: clamp(2.65rem, 10vw, 4.3rem) !important;
        line-height: 1.03 !important;
    }

    .hero-pro-description {
        margin-bottom: 14px !important;
        font-size: .91rem !important;
        line-height: 1.9 !important;
    }

    .hero-pro-controls-wrap {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 0 14px 14px;
        background: #07101d;
    }

    .hero-pro-controls {
        width: min(100%, 820px);
        grid-template-columns: 46px minmax(0,1fr) 46px;
        grid-template-rows: 72px 30px;
        gap: 7px 9px;
        padding: 8px;
        border-radius: 18px;
    }

    .hero-pro-arrow,
    body.theme-light .hero-pro .hero-pro-arrow { width: 46px; height: 46px; border-radius: 13px; }

    .hero-pro-thumb-rail { height: 72px; }
    .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb { flex-basis: 128px !important; height: 64px !important; grid-template-columns: 38px minmax(0,1fr) !important; }
    .hero-pro-thumb > img { width: 38px !important; height: 53px !important; }
    .hero-pro-thumb-copy strong { font-size: .67rem; }
    .hero-pro-thumb-copy small { display: none; }
    .hero-pro .hero-slider-hint { display: none; }
    .hero-pro-toolbar { justify-content: flex-end; }
    .hero-pro-progress { position: absolute; bottom: 0; }
}

@media (max-width: 560px) {
    .hero-pro-stage { padding-top: 88px; gap: 17px; }
    .hero-pro-poster { width: min(148px, 41vw) !important; }
    .hero-pro h1 { font-size: clamp(2.35rem, 12vw, 3.65rem) !important; }
    .hero-pro-topline { gap: 8px; }
    .hero-pro-cinema-badge { max-width: calc(100% - 58px); font-size: .66rem; }
    .hero-pro-cinema-badge > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .hero-pro-description { font-size: .86rem !important; }
    .hero-pro-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-pro-actions > * { width: 100%; min-width: 0; }
    .hero-pro-actions > .hero-main-action { grid-column: 1 / -1; }
    .hero-pro-showtime-list { gap: 6px; }
    .hero-pro-showtime-list a { min-width: 56px; padding: 6px 8px; font-size: .75rem; }
    .hero-pro-controls-wrap { padding-inline: 8px; }
    .hero-pro-controls { grid-template-columns: 42px minmax(0,1fr) 42px; }
    .hero-pro-arrow,
    body.theme-light .hero-pro .hero-pro-arrow { width: 42px; height: 42px; }
    .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb { flex-basis: 104px !important; grid-template-columns: 34px minmax(0,1fr) !important; padding-inline: 5px !important; }
    .hero-pro-thumb > img { width: 34px !important; height: 49px !important; }
    .hero-pro-thumb-copy strong { font-size: .61rem; }
    .hero-pro .hero-autoplay-toggle [data-slider-toggle-label] { display: none; }
    .hero-pro .hero-autoplay-toggle { width: 36px; min-height: 32px; padding: 4px; }
}

/* /movies — cleaner, larger catalogue cards. */
@media (min-width: 1100px) {
    .movie-grid-page { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px 20px; }
    .movie-grid-page .movie-card-body h3 { max-width: 240px; }
}

@media (min-width: 720px) and (max-width: 1099px) {
    .movie-grid-page { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 719px) {
    .movie-grid-page { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
}

@media (max-width: 430px) {
    .movie-grid-page { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 10px; }
    .movie-grid-page .movie-card-body h3 { font-size: .86rem; }
}
.hero-pro-showtimes-empty {
    align-content: center;
    min-height: 72px;
    margin: 12px 0 24px;
    color: rgba(255,255,255,.68);
}
.hero-pro-showtimes-empty strong { color: rgba(255,255,255,.82); font-size: .77rem; }
.hero-pro-showtimes-empty span { font-size: .76rem; line-height: 1.7; }

/* =========================================================
   DELIVERY PASS — rich movie metadata, cast portraits, SEO UI polish
   ========================================================= */
.arkoa-credit {
    text-decoration: none;
    border-radius: 12px;
    padding: 5px 8px;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.arkoa-credit:hover {
    color: #0f172a;
    background: #f2f4f7;
    transform: translateY(-1px);
}
.arkoa-credit:focus-visible {
    outline: 3px solid rgba(225,29,72,.2);
    outline-offset: 2px;
}

.hero-film-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 2px 0 10px;
}
.hero-film-fact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: rgba(7,16,29,.54);
    backdrop-filter: blur(12px);
    font-size: .77rem;
    line-height: 1;
}
.hero-film-fact svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: currentColor;
    opacity: .78;
}
.hero-film-fact b { color: #fff; font-weight: 900; }
.hero-film-director { color: rgba(255,255,255,.76); }

.hero-cast-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    margin: 0 0 10px;
}
.hero-cast-label {
    flex: 0 0 auto;
    color: rgba(255,255,255,.62);
    font-size: .72rem;
    font-weight: 850;
}
.hero-cast-list {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    overflow: hidden;
}
.hero-cast-person {
    width: 58px;
    min-width: 58px;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: rgba(255,255,255,.86);
    text-decoration: none;
    text-align: center;
}
.hero-cast-person:hover { color: #fff; }
.hero-cast-avatar {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg,#233044,#111b2b);
    border: 2px solid rgba(255,255,255,.72);
    box-shadow: 0 9px 24px rgba(0,0,0,.24);
    font-size: .72rem;
    font-weight: 950;
}
.hero-cast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-cast-avatar.is-fallback { background: linear-gradient(145deg,#e11d48,#9f1239); }
.hero-cast-person small {
    width: 64px;
    overflow: hidden;
    color: inherit;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hero-cast-person.is-loading { pointer-events: none; }
.hero-cast-person.is-loading .hero-cast-avatar,
.hero-cast-person.is-loading small {
    color: transparent;
    border-color: rgba(255,255,255,.10);
    background: linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.16),rgba(255,255,255,.07));
    background-size: 220% 100%;
    animation: heroCastPulse 1.25s ease-in-out infinite;
}
.hero-cast-person.is-loading small { width: 48px; height: 8px; border-radius: 999px; }
@keyframes heroCastPulse { to { background-position: -120% 0; } }

/* Keep the desktop hero spatially stable even after rich metadata arrives. */
@media (min-width: 1025px) {
    .hero-pro-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
        max-height: calc(100dvh - 245px);
    }
    .hero-pro h1 {
        min-height: 1.02em !important;
        margin: 6px 0 8px !important;
        font-size: clamp(3.25rem, 4.7vw, 5.25rem) !important;
    }
    .hero-pro-description {
        min-height: 3.7em !important;
        margin-bottom: 10px !important;
        -webkit-line-clamp: 2;
    }
    .hero-pro-features { margin-bottom: 4px; }
    .hero-pro-showtimes { margin: 7px 0 12px; min-height: 60px; }
    .hero-pro-actions { min-height: 46px; }
    .hero-pro-stage { padding-top: 82px; padding-bottom: 146px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .hero-pro-stage { padding-top: 72px; padding-bottom: 132px; }
    .hero-pro h1 { font-size: clamp(2.75rem,4.2vw,4.2rem) !important; }
    .hero-film-facts { margin-bottom: 6px; }
    .hero-cast-strip { min-height: 54px; margin-bottom: 5px; }
    .hero-cast-avatar { width: 38px; height: 38px; }
    .hero-cast-person { width: 52px; min-width: 52px; }
    .hero-cast-person small { width: 54px; font-size: .57rem; }
    .hero-pro-description { min-height: 1.9em !important; -webkit-line-clamp: 1; font-size: .86rem !important; }
    .hero-pro-showtimes { min-height: 52px; margin-block: 5px 8px; }
}

@media (max-width: 1024px) {
    .hero-film-facts { justify-content: center; margin-bottom: 12px; }
    .hero-cast-strip { justify-content: center; align-items: flex-start; }
    .hero-cast-list { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .hero-cast-list::-webkit-scrollbar { display: none; }
    .hero-cast-label { padding-top: 13px; }
}

@media (max-width: 560px) {
    .hero-film-facts { gap: 6px; }
    .hero-film-fact { min-height: 31px; padding: 5px 8px; font-size: .68rem; }
    .hero-film-fact svg { width: 14px; height: 14px; flex-basis: 14px; }
    .hero-cast-strip { gap: 7px; margin-bottom: 8px; }
    .hero-cast-label { display: none; }
    .hero-cast-person { width: 52px; min-width: 52px; }
    .hero-cast-avatar { width: 40px; height: 40px; }
    .hero-cast-person small { width: 54px; font-size: .56rem; }
}

/* Movie detail cast cards: iTicket-like portrait-first presentation. */
.cast-block-rich { margin-top: 20px; }
.cast-list-rich {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 2px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.cast-person-card {
    flex: 0 0 104px;
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 10px 8px;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    color: #344054;
    background: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cast-person-card:hover {
    color: #101828;
    transform: translateY(-3px);
    border-color: #d0d5dd;
    box-shadow: 0 14px 32px rgba(16,24,40,.08);
}
.cast-person-avatar {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg,#e11d48,#9f1239);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
    font-weight: 950;
}
.cast-person-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cast-person-card > strong {
    max-width: 92px;
    overflow: hidden;
    font-size: .72rem;
    line-height: 1.65;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Improve image stability / Core Web Vitals. */
.hero-pro-backdrop,
.hero-pro-poster-frame > img,
.hero-pro-thumb > img,
.movie-card-poster img,
.detail-poster,
.movie-gallery-slide img,
.cast-person-avatar img { content-visibility: auto; }

@media (prefers-reduced-motion: reduce) {
    .hero-cast-person.is-loading .hero-cast-avatar,
    .hero-cast-person.is-loading small { animation: none; }
}

.friendly-error-shell { min-height: 72vh; display: grid; place-items: center; padding: 120px 20px 70px; background: radial-gradient(circle at 50% 15%,#fff1f4,transparent 34rem),#f8fafc; }
.friendly-error-wrap { max-width: 720px; text-align: center; }
.friendly-error-mark { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(145deg,#e11d48,#9f1239); box-shadow: 0 18px 45px rgba(225,29,72,.22); font: 950 2rem/1 sans-serif; }
.friendly-error-wrap h1 { margin: 7px 0 12px; color: #101828; font-size: clamp(2rem,5vw,3.4rem); }
.friendly-error-wrap p { max-width: 600px; margin: 0 auto; color: #667085; line-height: 2; }
.friendly-error-wrap small { display: block; margin-top: 12px; color: #98a2b3; }
.friendly-error-actions { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }


/* =========================================================
   FINAL PRODUCTION POLISH — delivery / SEO / performance
   ========================================================= */
.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 12px;
    color: #fff;
    background: #101828;
    box-shadow: 0 12px 28px rgba(16,24,40,.18);
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.btn-primary-cinema,
.btn-outline-cinema,
.btn-glass,
.movie-card-showtime-link,
.home-movie-quick-buy,
.nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Film metadata in the hero, inspired by ticketing/movie catalogues but kept native to this site. */
.hero-film-fact small {
    color: rgba(255,255,255,.58);
    font-size: .58rem;
    font-weight: 800;
}
.hero-film-fact.is-pending b {
    width: 42px;
    height: 9px;
    overflow: hidden;
    color: transparent;
    border-radius: 999px;
    background: linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.20),rgba(255,255,255,.08));
    background-size: 220% 100%;
    animation: heroCastPulse 1.25s ease-in-out infinite;
}
.hero-film-fact:not(.is-pending) b { width: auto; height: auto; }

@media (min-width: 1025px) {
    /* One deterministic desktop canvas for every movie. No content-driven height changes. */
    .hero-pro,
    body.theme-light .hero-pro {
        height: 100svh !important;
        min-height: 700px !important;
        max-height: 1080px !important;
    }

    .hero-pro .hero-slides,
    .hero-pro .hero-pro-slide {
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-pro-stage {
        width: min(calc(100% - 64px), 1320px) !important;
        height: 100% !important;
        grid-template-columns: clamp(260px, 21vw, 320px) minmax(0, 760px) !important;
        justify-content: space-between;
        gap: clamp(44px, 5.5vw, 96px) !important;
        padding-top: 92px !important;
        padding-bottom: 154px !important;
    }

    .hero-pro-copy {
        position: relative;
        max-width: 760px !important;
        max-height: none !important;
        padding: 24px 26px 22px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 28px;
        background:
            linear-gradient(100deg, rgba(4,10,21,.68), rgba(4,10,21,.36) 68%, rgba(4,10,21,.10));
        box-shadow: 0 28px 80px rgba(0,0,0,.14);
        backdrop-filter: blur(5px);
    }

    .hero-pro h1 {
        min-height: auto !important;
        max-height: 2.02em;
        margin: 9px 0 11px !important;
        font-size: clamp(3.25rem, 4.7vw, 5.3rem) !important;
        line-height: 1.01 !important;
    }

    .hero-film-facts { margin-bottom: 9px; }
    .hero-cast-strip { min-height: 66px; margin-bottom: 7px; }
    .hero-cast-avatar { width: 48px; height: 48px; }
    .hero-cast-person { width: 62px; min-width: 62px; }
    .hero-cast-person small { width: 64px; font-size: .61rem; }

    .hero-pro-description {
        max-width: 680px !important;
        min-height: 3.9em !important;
        margin-bottom: 10px !important;
    }

    .hero-pro-poster {
        width: clamp(260px, 20.5vw, 310px) !important;
        align-self: center !important;
    }
    .hero-pro-poster-frame {
        border-radius: 28px;
        box-shadow:
            0 36px 95px rgba(0,0,0,.50),
            0 0 0 1px rgba(255,255,255,.25),
            0 0 0 8px rgba(255,255,255,.055);
    }

    .hero-pro-controls {
        width: min(calc(100% - 64px), 1320px) !important;
        grid-template-columns: 52px minmax(0,1fr) 52px;
        grid-template-rows: 82px 30px;
        padding: 9px 12px 8px;
    }
    .hero-pro-thumb-rail { height: 82px; gap: 9px; }
    .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb {
        flex-basis: 164px !important;
        height: 73px !important;
        grid-template-columns: 46px minmax(0,1fr) !important;
    }
    .hero-pro-thumb > img {
        width: 46px !important;
        height: 62px !important;
    }
}

/* Short laptop screens stay full-screen, but metadata remains visible. */
@media (min-width: 1025px) and (max-height: 790px) {
    .hero-pro,
    body.theme-light .hero-pro {
        min-height: 650px !important;
        max-height: none !important;
    }
    .hero-pro-stage {
        grid-template-columns: 230px minmax(0, 700px) !important;
        gap: 34px !important;
        padding-top: 72px !important;
        padding-bottom: 132px !important;
    }
    .hero-pro-poster { width: 226px !important; }
    .hero-pro-copy { padding: 16px 20px 15px; border-radius: 24px; }
    .hero-pro h1 { font-size: clamp(2.7rem, 4vw, 4rem) !important; margin-block: 5px 6px !important; }
    .hero-film-facts { margin-bottom: 4px; }
    .hero-film-fact { min-height: 30px; padding: 5px 8px; font-size: .68rem; }
    .hero-cast-strip { min-height: 49px; margin-bottom: 3px; }
    .hero-cast-avatar { width: 36px; height: 36px; }
    .hero-cast-person { width: 48px; min-width: 48px; gap: 3px; }
    .hero-cast-person small { width: 50px; font-size: .53rem; }
    .hero-pro-description { min-height: 1.8em !important; -webkit-line-clamp: 1; margin-bottom: 5px !important; }
    .hero-pro-features { min-height: 32px; }
    .hero-pro-showtimes { min-height: 49px; margin-block: 4px 7px; }
    .hero-pro-actions { min-height: 42px; }
    .hero-pro-controls { grid-template-rows: 66px 26px; }
    .hero-pro-thumb-rail { height: 66px; }
    .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb { height: 59px !important; }
    .hero-pro-thumb > img { width: 36px !important; height: 49px !important; }
}

@media (max-width: 1024px) {
    .hero-pro-copy {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }
    .hero-film-fact small { display: none; }
}

/* Cleaner catalogue cards without adding more network requests. */
.movie-grid-page .movie-card,
.movie-grid-v2 .movie-card {
    border-color: #e7eaf0;
    box-shadow: 0 12px 34px rgba(16,24,40,.055);
}
.movie-grid-page .movie-card:hover,
.movie-grid-v2 .movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(16,24,40,.10);
}
.movie-card-poster {
    background: #f2f4f7;
}
.movie-card-body h3 a { text-underline-offset: 4px; }

/* Detail page cards use the same visual language as the home page. */
.movie-facts-grid > article,
.movie-story-card,
.premium-showtime-panel,
.movie-trailer-section,
.movie-gallery-section {
    border-color: #e7eaf0;
    box-shadow: 0 14px 42px rgba(16,24,40,.055);
}

/* Lower-page rendering is deferred until needed (supported browsers only). */
.now-showing-section,
.cinema-feature,
.movie-story-card,
.movie-trailer-section,
.movie-gallery-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 650px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-film-fact.is-pending b { animation: none; }
}

/* =========================================================
   2026-09-17 — responsive stability hotfix
   - real IRANSansX weights (no synthetic heavy glyphs)
   - compact, collision-safe hero movie title
   - real poster thumbnails on mobile hero controls
   - stable /movies poster geometry
   - always-visible mobile primary navigation
   ========================================================= */

@font-face {
    font-family: 'IRANSansX';
    src: url('/Fonts/IranSans/IRANSansX-Regular.woff2') format('woff2'),
         url('/Fonts/IranSans/IRANSansX-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('/Fonts/IranSans/IRANSansX-Medium.woff2') format('woff2'),
         url('/Fonts/IranSans/IRANSansX-Medium.woff') format('woff');
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('/Fonts/IranSans/IRANSansX-ExtraBold.woff2') format('woff2'),
         url('/Fonts/IranSans/IRANSansX-ExtraBold.woff') format('woff');
    font-weight: 700 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('/Fonts/IranSans/IRANSansX-Heavy.woff2') format('woff2'),
         url('/Fonts/IranSans/IRANSansX-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html,
body,
button,
input,
textarea,
select {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif;
}

/* Hero title: preserve Persian words and reserve predictable space. */
.hero-pro h1,
body.theme-light .hero-pro h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 4.15vw, 4.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    text-wrap: balance;
    overflow-wrap: normal !important;
    word-break: normal;
}
.hero-pro h1.is-long-title,
body.theme-light .hero-pro h1.is-long-title {
    font-size: clamp(2.35rem, 3.55vw, 3.95rem) !important;
    line-height: 1.12 !important;
}

/* /movies: the card itself owns the geometry; the remote image can never stretch it. */
.movie-grid-page .movie-poster-wrap,
.movie-grid-page .movie-poster-wrap-v2 {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden;
}
.movie-grid-page .movie-poster-wrap .movie-poster,
.movie-grid-page .movie-poster-wrap-v2 .movie-poster {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top;
}

@media (max-width: 1024px) {
    .hero-pro h1,
    body.theme-light .hero-pro h1 {
        margin: 7px 0 13px !important;
        font-size: clamp(2.05rem, 6.6vw, 3.25rem) !important;
        line-height: 1.12 !important;
    }
    .hero-pro h1.is-long-title,
    body.theme-light .hero-pro h1.is-long-title {
        font-size: clamp(1.85rem, 5.8vw, 2.8rem) !important;
        line-height: 1.16 !important;
    }
}

/* Primary navigation stays visible on phones/tablets: no hamburger interaction needed. */
@media (max-width: 900px) {
    body.nav-open { overflow: auto !important; }

    .site-header,
    .site-header.is-scrolled,
    body.theme-light .site-header,
    body.theme-light .site-header.is-scrolled {
        padding: 7px 0 8px;
        background: rgba(255,255,255,.96) !important;
        border-bottom: 1px solid #e6eaf0 !important;
        box-shadow: 0 8px 24px rgba(15,23,42,.07) !important;
        backdrop-filter: blur(18px) saturate(1.12);
    }

    .site-nav {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0,1fr);
        align-items: center;
        gap: 6px;
    }

    .site-nav > .brand {
        width: max-content;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-panel,
    .nav-panel.is-open,
    body.theme-light .nav-panel,
    body.theme-light .nav-panel.is-open {
        position: static !important;
        inset: auto !important;
        width: 100%;
        min-width: 0;
        display: block !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .nav-links {
        display: flex !important;
        align-items: center;
        gap: 5px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 0 2px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links > li { flex: 0 0 auto; scroll-snap-align: start; }
    .nav-links a,
    body.theme-light .nav-links a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border: 1px solid #e7ebf0;
        border-radius: 10px;
        color: #475467;
        background: #f8fafc;
        font-size: .76rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .nav-links a::after { display: none !important; }
    .nav-links a:hover,
    body.theme-light .nav-links a:hover {
        color: #b91543;
        border-color: #efc0cd;
        background: #fff4f7;
    }

    .nav-cta { display: none !important; }

    /* Fixed two-row header is taller than the old hamburger header. */
    .hero-pro-stage { padding-top: 142px !important; }
    .page-hero { padding-top: 154px; }
    .movie-detail-content { padding-top: 154px; }
}

@media (max-width: 680px) {
    /* Older generic mobile rules turned every .hero-thumb into a dot and hid its image.
       Restore the professional thumbnail cards only for the current hero. */
    .hero-pro .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb {
        display: grid !important;
        width: auto !important;
        min-width: 104px !important;
        height: 62px !important;
        min-height: 62px !important;
        grid-template-columns: 34px minmax(0,1fr) !important;
        gap: 7px !important;
        padding: 5px !important;
        overflow: hidden !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 12px !important;
        color: rgba(255,255,255,.76) !important;
        background: rgba(255,255,255,.065) !important;
    }
    .hero-pro .hero-pro-thumb > img {
        display: block !important;
        width: 34px !important;
        height: 50px !important;
        border-radius: 7px !important;
        object-fit: cover;
    }
    .hero-pro .hero-pro-thumb > .hero-pro-thumb-copy {
        display: grid !important;
        min-width: 0;
    }
    .hero-pro .hero-pro-thumb-copy strong {
        display: block !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: .61rem;
        line-height: 1.55;
    }
    .hero-pro .hero-pro-thumb:hover,
    .hero-pro .hero-pro-thumb.is-active,
    body.theme-light .hero-pro .hero-pro-thumb:hover,
    body.theme-light .hero-pro .hero-pro-thumb.is-active {
        width: auto !important;
        color: #fff !important;
        background: rgba(255,255,255,.13) !important;
        border-color: rgba(255,255,255,.30) !important;
        transform: none !important;
    }

    .hero-pro-thumb-rail {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .hero-pro h1,
    body.theme-light .hero-pro h1 {
        font-size: clamp(1.95rem, 9.2vw, 2.75rem) !important;
    }
    .hero-pro h1.is-long-title,
    body.theme-light .hero-pro h1.is-long-title {
        font-size: clamp(1.72rem, 8.1vw, 2.35rem) !important;
    }

    .hero-pro-stage { padding-top: 136px !important; }
}

@media (max-width: 430px) {
    .hero-pro .hero-pro-thumb,
    body.theme-light .hero-pro .hero-pro-thumb {
        min-width: 92px !important;
        flex-basis: 92px !important;
        grid-template-columns: 31px minmax(0,1fr) !important;
    }
    .hero-pro .hero-pro-thumb > img {
        width: 31px !important;
        height: 47px !important;
    }
    .hero-pro .hero-pro-thumb-copy strong { font-size: .57rem; }

    .hero-pro h1,
    body.theme-light .hero-pro h1 {
        font-size: clamp(1.82rem, 9.6vw, 2.45rem) !important;
    }
    .hero-pro h1.is-long-title,
    body.theme-light .hero-pro h1.is-long-title {
        font-size: clamp(1.62rem, 8.5vw, 2.12rem) !important;
    }
}

/* =========================================================
   2026-09-17 — homepage card + detail poster + hero title fix
   This block intentionally lives at the end of site.css so the
   legacy responsive rules cannot re-introduce overflow/stretching.
   ========================================================= */

/* Hero movie title: regular IRANSansX, compact and collision-safe. */
.hero-pro h1,
body.theme-light .hero-pro h1 {
    max-width: min(100%, 820px) !important;
    margin: 8px 0 14px !important;
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(2.45rem, 3.7vw, 4rem) !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    text-wrap: balance;
    overflow-wrap: normal !important;
    word-break: normal !important;
}
.hero-pro h1.is-long-title,
body.theme-light .hero-pro h1.is-long-title {
    font-size: clamp(2.1rem, 3.15vw, 3.35rem) !important;
    line-height: 1.3 !important;
}

/* Homepage movie cards: keep every element inside its own card. */
.movie-grid-v2 {
    align-items: stretch;
}
.home-movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 10px !important;
    overflow: hidden;
    border-radius: 22px !important;
}
.home-movie-card .movie-poster-wrap-v2 {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px;
}
.home-movie-card .movie-poster-wrap-v2 .movie-poster {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top;
}
.home-movie-card .movie-card-top-badge {
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-movie-card .home-movie-card-body,
.home-movie-card .movie-card-body-v2 {
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: 13px 3px 0 !important;
}
.home-movie-card .movie-card-copy {
    width: 100%;
    min-width: 0;
}
.home-movie-card .movie-card-body h3 {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 0 9px !important;
    overflow: hidden;
    color: #101828;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.home-movie-card .movie-card-body h3 a {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.home-movie-card .icon-link {
    display: none !important;
}
.home-movie-next-showtime {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label time"
        "date  time";
    align-items: center;
    gap: 1px 8px;
    min-width: 0;
    min-height: 58px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid #edf0f3;
    border-radius: 13px;
    background: #f8fafc;
}
.home-movie-next-label {
    grid-area: label;
    min-width: 0;
    color: #667085;
    font-size: .72rem;
    line-height: 1.55;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-movie-next-showtime > strong {
    grid-area: time;
    align-self: center;
    color: #101828;
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.home-movie-next-showtime > small {
    grid-area: date;
    min-width: 0;
    color: #98a2b3;
    font-size: .67rem;
    line-height: 1.55;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.home-movie-next-showtime.is-upcoming {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "date";
}
.home-movie-next-showtime.is-upcoming > small {
    white-space: normal;
}
.home-movie-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    align-items: stretch;
    gap: 8px !important;
    width: 100%;
    min-width: 0;
    margin-top: auto;
    padding-top: 10px;
}
.home-movie-card-actions > a {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}
.home-movie-card .movie-card-cta-v2,
.home-movie-card .movie-card-showtime-link {
    width: 100%;
    min-height: 46px;
    padding: 7px 8px;
    overflow: hidden;
    color: #475467 !important;
    background: #f8fafc !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 12px;
    font-size: .70rem !important;
    font-weight: 700;
    line-height: 1.55 !important;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
}
.home-movie-card .home-movie-quick-buy {
    width: 104px;
    min-width: 104px !important;
    min-height: 46px;
    padding: 7px 8px;
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap !important;
}

/* Details page: poster remains a normal poster instead of dominating the hero. */
.movie-detail-hero-premium {
    min-height: 620px;
}
.movie-detail-hero-premium .movie-detail-content {
    min-height: 620px;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(30px, 4vw, 52px);
    padding-top: 126px;
    padding-bottom: 48px;
}
.movie-detail-hero-premium .detail-poster-col {
    width: 100%;
    max-width: 230px;
    min-width: 0;
    justify-self: start;
}
.movie-detail-hero-premium .detail-poster-frame {
    position: relative;
    width: 100%;
    max-width: 230px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 20px;
}
.movie-detail-hero-premium .detail-poster-frame .detail-poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top;
    border-radius: inherit;
}

@media (max-width: 1100px) {
    .home-movie-card-actions {
        grid-template-columns: 1fr !important;
    }
    .home-movie-card .home-movie-quick-buy {
        width: 100%;
        min-width: 0 !important;
    }
}

@media (max-width: 900px) {
    .hero-pro h1,
    body.theme-light .hero-pro h1 {
        font-size: clamp(2rem, 6vw, 3rem) !important;
        line-height: 1.3 !important;
    }
    .hero-pro h1.is-long-title,
    body.theme-light .hero-pro h1.is-long-title {
        font-size: clamp(1.82rem, 5.4vw, 2.65rem) !important;
    }

    .movie-detail-hero-premium .movie-detail-content {
        grid-template-columns: 185px minmax(0, 1fr);
        gap: 28px;
        min-height: 590px;
    }
    .movie-detail-hero-premium .detail-poster-col,
    .movie-detail-hero-premium .detail-poster-frame {
        max-width: 185px;
    }
}

@media (max-width: 680px) {
    .home-movie-card {
        padding: 8px !important;
        border-radius: 18px !important;
    }
    .home-movie-card .movie-poster-wrap-v2 {
        border-radius: 14px;
    }
    .home-movie-card .home-movie-card-body,
    .home-movie-card .movie-card-body-v2 {
        padding: 10px 2px 0 !important;
    }
    .home-movie-card .movie-card-body h3 {
        margin-bottom: 7px !important;
        font-size: .86rem;
    }
    .home-movie-next-showtime {
        grid-template-columns: 1fr;
        grid-template-areas: "label" "time" "date";
        min-height: 74px;
        gap: 0;
        padding: 7px 8px;
    }
    .home-movie-next-showtime > strong {
        justify-self: start;
        font-size: .9rem;
    }
    .home-movie-next-label { font-size: .65rem; }
    .home-movie-next-showtime > small {
        font-size: .62rem;
        white-space: nowrap;
    }
    .home-movie-card-actions {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        padding-top: 8px;
    }
    .home-movie-card .movie-card-cta-v2,
    .home-movie-card .movie-card-showtime-link,
    .home-movie-card .home-movie-quick-buy {
        width: 100%;
        min-width: 0 !important;
        min-height: 40px;
        font-size: .67rem !important;
    }

    .hero-pro h1,
    body.theme-light .hero-pro h1 {
        font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
        line-height: 1.35 !important;
    }
    .hero-pro h1.is-long-title,
    body.theme-light .hero-pro h1.is-long-title {
        font-size: clamp(1.58rem, 7.1vw, 2.08rem) !important;
    }

    .movie-detail-hero-premium {
        min-height: auto;
    }
    .movie-detail-hero-premium .movie-detail-content {
        min-height: auto;
        padding-top: 142px;
        padding-bottom: 42px;
        gap: 20px;
    }
    .movie-detail-hero-premium .detail-poster-col,
    .movie-detail-hero-premium .detail-poster-frame {
        width: 142px;
        max-width: 142px;
    }
    .movie-detail-hero-premium .detail-copy h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
        line-height: 1.3;
    }
}

/* =========================================================
   2026-09-17 — trailer + poster composition inside home hero
   - cinematic 16:9 trailer stage
   - poster remains visible beside/over the trailer
   - regular IRANSansX title weight
   ========================================================= */
.hero-pro h1,
body.theme-light .hero-pro h1 {
    font-family: 'IRANSansX', 'IRANSans', sans-serif !important;
    font-weight: 400 !important;
}

.hero-pro-media-wrap {
    overflow: visible !important;
}

.hero-pro-media-composition {
    position: relative;
    width: 100%;
}

.hero-pro-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    border: 1px solid rgba(255,255,255,.20);
    box-shadow:
        0 34px 90px rgba(0,0,0,.44),
        0 0 0 1px rgba(255,255,255,.12),
        0 0 0 8px rgba(255,255,255,.04);
}

.hero-pro-media-frame:not(.is-trailer-active)::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(5,11,22,0) 0%, rgba(5,11,22,.12) 52%, rgba(5,11,22,.58) 100%);
    pointer-events: none;
}

.hero-pro-media-fallback,
.hero-pro-media-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-pro-media-fallback {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hero-pro-media-image,
.hero-pro-media-player {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}

.hero-pro-media-image {
    object-fit: cover;
}

video.hero-pro-media-player {
    object-fit: contain;
    background: #000;
}

iframe.hero-pro-media-player {
    object-fit: contain;
    background: #000;
}

.hero-pro-mini-poster {
    position: absolute;
    z-index: 6;
    right: 14px;
    bottom: 14px;
    width: 104px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
    border: 1px solid rgba(255,255,255,.34);
    box-shadow:
        0 18px 44px rgba(0,0,0,.42),
        0 0 0 5px rgba(255,255,255,.055);
    transition: transform .18s ease, box-shadow .18s ease;
}

.hero-pro-mini-poster:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 52px rgba(0,0,0,.48),
        0 0 0 5px rgba(255,255,255,.075);
}

.hero-pro-mini-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1025px) {
    .hero-pro-stage {
        grid-template-columns: minmax(430px, 45%) minmax(0, 1fr) !important;
        gap: clamp(30px, 4.2vw, 70px) !important;
    }

    .hero-pro-poster {
        width: min(100%, 570px) !important;
    }
}

@media (min-width: 1280px) {
    .hero-pro-stage {
        grid-template-columns: minmax(560px, 48%) minmax(0, 1fr) !important;
        gap: clamp(36px, 4.3vw, 78px) !important;
    }

    .hero-pro-poster {
        width: min(100%, 650px) !important;
    }

    .hero-pro-media-composition {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 15px;
        align-items: end;
    }

    .hero-pro-mini-poster {
        position: relative;
        right: auto;
        bottom: auto;
        width: 112px;
        align-self: end;
    }
}

@media (min-width: 1025px) and (max-height: 790px) {
    .hero-pro-stage {
        grid-template-columns: minmax(390px, 43%) minmax(0, 1fr) !important;
        gap: 28px !important;
    }

    .hero-pro-poster {
        width: min(100%, 510px) !important;
    }

    .hero-pro-media-frame {
        border-radius: 24px;
    }

    .hero-pro-mini-poster {
        width: 92px;
        border-radius: 15px;
    }
}

@media (max-width: 1024px) {
    .hero-pro-poster {
        width: min(100%, 600px) !important;
    }

    .hero-pro-media-frame {
        border-radius: 24px;
    }

    .hero-pro-mini-poster {
        width: clamp(76px, 18vw, 104px);
        right: 12px;
        bottom: 12px;
        border-radius: 15px;
    }
}

@media (max-width: 560px) {
    .hero-pro-media-frame {
        border-radius: 20px;
    }

    .hero-pro-mini-poster {
        width: 72px;
        right: 10px;
        bottom: 10px;
        border-radius: 13px;
        box-shadow:
            0 14px 34px rgba(0,0,0,.40),
            0 0 0 3px rgba(255,255,255,.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-pro-mini-poster {
        transition: none !important;
    }
}

/* Keep the video stage steady while the user interacts with player controls. */
.hero-pro-poster:hover,
.hero-pro-media-wrap:hover {
    transform: none !important;
}

/* =========================================================
   2026-09-17 — v5 hero media layout polish
   - desktop: larger teaser + poster placed below teaser
   - mobile: teaser full width + poster below, no overlay
   ========================================================= */
.hero-pro-media-composition {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 16px !important;
}

.hero-pro-media-frame {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
}

.hero-pro-mini-poster {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 150px !important;
    justify-self: start !important;
    align-self: start !important;
    margin: 0 !important;
}

@media (min-width: 1025px) {
    .hero-pro-stage {
        grid-template-columns: minmax(620px, 56%) minmax(0, 1fr) !important;
        gap: clamp(28px, 3.4vw, 56px) !important;
        align-items: center !important;
    }

    .hero-pro-poster {
        width: 100% !important;
        max-width: 760px !important;
        justify-self: start !important;
    }

    .hero-pro-media-composition {
        gap: 18px !important;
    }

    .hero-pro-mini-poster {
        width: 156px !important;
        border-radius: 20px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1320px) {
    .hero-pro-stage {
        grid-template-columns: minmax(520px, 53%) minmax(0, 1fr) !important;
    }

    .hero-pro-mini-poster {
        width: 132px !important;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .hero-pro-stage {
        grid-template-columns: minmax(480px, 52%) minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .hero-pro-mini-poster {
        width: 118px !important;
    }
}

@media (max-width: 1024px) {
    .hero-pro-poster {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-pro-media-composition {
        width: 100% !important;
        gap: 14px !important;
    }

    .hero-pro-media-frame {
        border-radius: 22px !important;
    }

    .hero-pro-mini-poster {
        width: clamp(86px, 24vw, 112px) !important;
        justify-self: end !important;
        border-radius: 16px !important;
        box-shadow:
            0 16px 34px rgba(0,0,0,.34),
            0 0 0 4px rgba(255,255,255,.05) !important;
    }
}

@media (max-width: 640px) {
    .hero-pro-stage {
        gap: 14px !important;
    }

    .hero-pro-media-frame {
        border-radius: 18px !important;
    }

    .hero-pro-mini-poster {
        width: 92px !important;
        border-radius: 14px !important;
    }
}

/* =========================================================
   2026-09-17 — v6 move hero poster beside purchase actions
   ========================================================= */
.hero-pro-cta-layout {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 10px;
}

.hero-pro-cta-layout .hero-pro-actions {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.hero-pro-inline-poster {
    flex: 0 0 auto;
}

.hero-pro-cta-layout .hero-pro-mini-poster {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 112px !important;
    margin: 0 !important;
    justify-self: auto !important;
    align-self: flex-end !important;
    border-radius: 18px !important;
}

.hero-pro-media-composition {
    display: block !important;
}

@media (min-width: 1025px) {
    .hero-pro-cta-layout {
        gap: 18px;
        max-width: 560px;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        width: 122px !important;
    }
}

@media (max-width: 900px) {
    .hero-pro-cta-layout {
        align-items: stretch;
        gap: 14px;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        width: 98px !important;
    }
}

@media (max-width: 640px) {
    .hero-pro-cta-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-pro-cta-layout .hero-pro-actions {
        width: 100%;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        width: 88px !important;
        align-self: flex-end !important;
    }
}

/* =========================================================
   2026-09-17 — v7 desktop hero poster stabilization
   - keep poster near CTA without increasing card height
   ========================================================= */
@media (min-width: 1025px) {
    .hero-pro-cta-layout {
        position: relative !important;
        display: block !important;
        max-width: 560px !important;
        min-height: 96px !important;
        padding-left: 108px !important;
        margin-top: 8px !important;
    }

    .hero-pro-cta-layout .hero-pro-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 0 !important;
    }

    .hero-pro-cta-layout .hero-pro-actions > .hero-main-action {
        flex: 1 1 240px;
    }

    .hero-pro-cta-layout .hero-pro-actions > .hero-buy-action,
    .hero-pro-cta-layout .hero-pro-actions > .btn-glass {
        flex: 0 0 auto;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 88px !important;
        align-self: auto !important;
        border-radius: 16px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .hero-pro-cta-layout {
        min-height: 86px !important;
        padding-left: 96px !important;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        width: 78px !important;
    }
}

@media (min-width: 1025px) and (max-height: 800px) {
    .hero-pro-cta-layout {
        min-height: 78px !important;
        padding-left: 88px !important;
    }

    .hero-pro-cta-layout .hero-pro-mini-poster {
        width: 72px !important;
        border-radius: 14px !important;
    }
}

/* =========================================================
   2026-09-18 — v8 desktop/TV showtime readability
   - stronger nearest-showtime hierarchy
   - larger, higher-contrast secondary showtimes
   - tuned for desktop monitors and large TVs
   ========================================================= */
@media (min-width: 1025px) {
    .hero-pro-features {
        gap: 10px !important;
        min-height: 56px !important;
        margin: 2px 0 10px !important;
        align-items: center !important;
    }

    .hero-pro-features > span,
    body.theme-light .hero-pro .hero-pro-features > span {
        min-height: 46px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 15px !important;
        border-radius: 14px !important;
        color: #f8fafc !important;
        background: linear-gradient(180deg, rgba(18, 33, 54, .94), rgba(9, 20, 36, .90)) !important;
        border: 1px solid rgba(148, 163, 184, .34) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.05) !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
        line-height: 1.45 !important;
        white-space: nowrap;
    }

    .hero-pro-features > .hero-nearest-showtime,
    body.theme-light .hero-pro .hero-pro-features > .hero-nearest-showtime {
        min-height: 58px !important;
        gap: 10px !important;
        padding: 9px 18px !important;
        border-radius: 17px !important;
        color: #fff !important;
        background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
        border-color: rgba(255,255,255,.22) !important;
        box-shadow: 0 14px 34px rgba(190,18,60,.30), inset 0 1px 0 rgba(255,255,255,.16) !important;
    }

    .hero-nearest-showtime small {
        display: inline-block;
        color: rgba(255,255,255,.92);
        font-size: .82rem;
        font-weight: 850;
        line-height: 1.2;
    }

    .hero-nearest-showtime b,
    body.theme-light .hero-pro .hero-nearest-showtime b {
        color: #fff !important;
        font-size: 1.28rem !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        letter-spacing: .01em;
    }

    .hero-pro-features > .hero-show-price,
    body.theme-light .hero-pro .hero-pro-features > .hero-show-price {
        color: #fde68a !important;
        border-color: rgba(251,191,36,.32) !important;
        background: linear-gradient(180deg, rgba(55,42,13,.82), rgba(32,27,14,.82)) !important;
    }

    .hero-pro-features > .hero-show-date,
    body.theme-light .hero-pro .hero-pro-features > .hero-show-date {
        color: #e2e8f0 !important;
        border-color: rgba(125,211,252,.24) !important;
    }

    .hero-pro-showtimes {
        gap: 10px !important;
        min-height: 78px !important;
        margin: 8px 0 16px !important;
    }

    .hero-pro-showtimes > strong {
        color: #f1f5f9 !important;
        font-size: .94rem !important;
        font-weight: 900 !important;
        line-height: 1.5;
    }

    .hero-pro-showtime-list {
        gap: 10px !important;
    }

    .hero-pro-showtime-list .hero-showtime-link,
    body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link {
        min-width: 88px !important;
        min-height: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 16px !important;
        border-radius: 14px !important;
        color: #f8fafc !important;
        background: linear-gradient(180deg, rgba(24,42,67,.96), rgba(12,27,47,.96)) !important;
        border: 1px solid rgba(125,151,184,.48) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06) !important;
        font-size: 1.04rem !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        letter-spacing: .02em;
    }

    .hero-pro-showtime-list .hero-showtime-link:hover,
    body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link:hover {
        color: #fff !important;
        background: linear-gradient(135deg, #d61f4b, #b7153e) !important;
        border-color: rgba(255,255,255,.28) !important;
        box-shadow: 0 14px 34px rgba(190,18,60,.27) !important;
        transform: translateY(-2px);
    }

    .hero-pro-showtime-list .hero-showtime-link.is-next,
    body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link.is-next {
        color: #fff !important;
        background: linear-gradient(180deg, rgba(190,18,60,.38), rgba(136,19,55,.38)) !important;
        border-color: rgba(251,113,133,.68) !important;
        box-shadow: 0 10px 30px rgba(190,18,60,.18), inset 0 0 0 1px rgba(255,255,255,.04) !important;
    }
}

@media (min-width: 1600px) {
    .hero-pro-features {
        gap: 12px !important;
        min-height: 64px !important;
    }

    .hero-pro-features > span,
    body.theme-light .hero-pro .hero-pro-features > span {
        min-height: 52px !important;
        padding: 10px 17px !important;
        border-radius: 16px !important;
        font-size: 1rem !important;
    }

    .hero-pro-features > .hero-nearest-showtime,
    body.theme-light .hero-pro .hero-pro-features > .hero-nearest-showtime {
        min-height: 64px !important;
        padding: 10px 21px !important;
        border-radius: 18px !important;
    }

    .hero-nearest-showtime small {
        font-size: .94rem !important;
    }

    .hero-nearest-showtime b,
    body.theme-light .hero-pro .hero-nearest-showtime b {
        font-size: 1.48rem !important;
    }

    .hero-pro-showtimes {
        min-height: 88px !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
    }

    .hero-pro-showtimes > strong {
        font-size: 1.04rem !important;
    }

    .hero-pro-showtime-list {
        gap: 12px !important;
    }

    .hero-pro-showtime-list .hero-showtime-link,
    body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link {
        min-width: 100px !important;
        min-height: 58px !important;
        padding: 11px 19px !important;
        border-radius: 16px !important;
        font-size: 1.16rem !important;
    }
}

@media (min-width: 2200px) {
    .hero-pro-features > .hero-nearest-showtime,
    body.theme-light .hero-pro .hero-pro-features > .hero-nearest-showtime {
        min-height: 70px !important;
        padding-inline: 24px !important;
    }

    .hero-nearest-showtime small { font-size: 1.02rem !important; }
    .hero-nearest-showtime b,
    body.theme-light .hero-pro .hero-nearest-showtime b { font-size: 1.62rem !important; }

    .hero-pro-showtime-list .hero-showtime-link,
    body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link {
        min-width: 112px !important;
        min-height: 64px !important;
        font-size: 1.28rem !important;
    }
}

/* =========================================================
   2026-09-18 — v9 cleaner clock typography in home hero
   Keep Persian labels in IRANSansX; render only clock digits with a
   neutral screen-optimized Latin sans so times stay crisp on TVs.
   ========================================================= */
.hero-nearest-showtime b,
body.theme-light .hero-pro .hero-nearest-showtime b,
.hero-pro-showtime-list .hero-showtime-link,
body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link,
.hero-buy-action [dir="ltr"] {
    font-family: Arial, Helvetica, "Segoe UI", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    letter-spacing: 0 !important;
    direction: ltr;
    unicode-bidi: isolate;
    text-rendering: geometricPrecision;
}

.hero-nearest-showtime b,
body.theme-light .hero-pro .hero-nearest-showtime b {
    line-height: 1.05 !important;
}

.hero-pro-showtime-list .hero-showtime-link,
body.theme-light .hero-pro .hero-pro-showtime-list .hero-showtime-link {
    line-height: 1.1 !important;
}

/* =========================================================
   2026-09-18 — v13 schedule/details stability
   - desktop detail showtime cards never collide when many sessions exist
   - hero purchase CTA stays readable beside dense showtime rows
   ========================================================= */
@media (min-width: 901px) {
    .premium-showtime-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 14px !important;
    }

    .premium-showtime {
        min-width: 0 !important;
        min-height: 124px !important;
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        grid-template-areas:
            "time meta"
            "time action" !important;
        align-items: center !important;
        column-gap: 16px !important;
        row-gap: 9px !important;
        padding: 18px 20px !important;
        overflow: hidden !important;
    }

    .premium-showtime .showtime-time {
        grid-area: time !important;
        min-width: 0 !important;
        align-self: stretch !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
    }

    .premium-showtime .showtime-meta {
        grid-area: meta !important;
        min-width: 0 !important;
        display: grid !important;
        gap: 4px !important;
        overflow: hidden !important;
    }

    .premium-showtime .showtime-meta strong,
    .premium-showtime .showtime-meta small {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .premium-showtime .showtime-action {
        grid-area: action !important;
        justify-self: start !important;
        align-self: center !important;
        max-width: 100% !important;
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 7px 12px !important;
        line-height: 1.35 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero-pro-actions .hero-buy-action,
    body.theme-light .hero-pro .hero-pro-actions .hero-buy-action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-width: max-content !important;
        white-space: nowrap !important;
        line-height: 1.35 !important;
    }
}

@media (min-width: 1600px) {
    .premium-showtime-list {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
        gap: 16px !important;
    }

    .premium-showtime {
        min-height: 134px !important;
        grid-template-columns: 94px minmax(0, 1fr) !important;
        padding: 20px 22px !important;
    }

    .premium-showtime .showtime-time {
        font-size: 1.7rem !important;
    }

    .premium-showtime .showtime-action {
        min-height: 38px !important;
        padding-inline: 14px !important;
        font-size: .78rem !important;
    }
}

/* ===== Management platform / SQL sync ===== */
.admin-nav { display:flex; flex-wrap:wrap; gap:8px; padding:8px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.025); }
.admin-nav a { padding:9px 14px; border-radius:11px; color:var(--muted); font-size:.76rem; font-weight:800; }
.admin-nav a:hover { color:#fff; background:rgba(255,255,255,.055); }
.admin-flash { padding:13px 16px; border:1px solid rgba(34,197,94,.25); border-radius:14px; background:rgba(34,197,94,.07); color:#c8f6d6; }
.admin-module-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.admin-module-grid > a { display:block; padding:20px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,#15151d,#101016); }
.admin-module-grid strong,.admin-module-grid span { display:block; }
.admin-module-grid strong { color:#fff; font-size:1rem; margin-bottom:6px; }
.admin-module-grid span { color:var(--muted); font-size:.73rem; line-height:1.9; }
.admin-section-title { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-top:8px; }
.admin-section-title h2 { margin:3px 0 0; font-size:1.5rem; }
.admin-stats-secondary article { background:#101016; }
.admin-cinema-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.admin-cinema-card { padding:18px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,#15151d,#101016); }
.admin-cinema-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.admin-cinema-card-head strong,.admin-cinema-card-head small { display:block; }
.admin-cinema-card-head small,.admin-cinema-card p { color:var(--muted); font-size:.7rem; }
.admin-cinema-metrics { display:flex; gap:8px; margin:14px 0; }
.admin-cinema-metrics span { flex:1; padding:8px 10px; border-radius:10px; background:rgba(255,255,255,.035); color:var(--muted); font-size:.7rem; }
.admin-cinema-metrics b { color:#fff; font-size:1rem; margin-right:4px; }
.admin-cinema-card form button { width:100%; border:0; border-radius:11px; padding:9px 12px; background:var(--red); color:#fff; font-weight:800; cursor:pointer; }
.admin-cinema-card form button:disabled { opacity:.45; cursor:not-allowed; }
.admin-inline-error { padding:8px 10px; margin:10px 0; border-radius:10px; background:rgba(239,68,68,.08); color:#f1b1b1; font-size:.68rem; overflow-wrap:anywhere; }
.admin-inline-note { padding:8px 10px; margin:10px 0; border-radius:10px; background:rgba(34,197,94,.07); color:#b9e7c7; font-size:.68rem; overflow-wrap:anywhere; border:1px solid rgba(34,197,94,.12); }
.admin-editor-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(320px,.75fr); gap:16px; align-items:start; }
.admin-editor-card { display:grid; gap:10px; padding:20px; border:1px solid var(--line); border-radius:20px; background:var(--panel); position:sticky; top:105px; }
.admin-editor-card h2 { margin:0 0 4px; font-size:1.25rem; }
.admin-editor-card label { display:grid; gap:5px; color:var(--muted); font-size:.72rem; }
.admin-editor-card input,.admin-editor-card textarea { width:100%; border:1px solid var(--line); border-radius:10px; background:#0b0b10; color:#fff; padding:9px 10px; outline:0; }
.admin-editor-card input:focus,.admin-editor-card textarea:focus { border-color:rgba(242,39,91,.45); }
.admin-editor-card hr { width:100%; border:0; border-top:1px solid var(--line); }
.admin-two { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.admin-checks { display:flex; flex-wrap:wrap; gap:12px; }
.admin-checks label { display:flex; align-items:center; gap:6px; }
.admin-checks input { width:auto; }
@media (max-width: 990px) { .admin-module-grid,.admin-cinema-grid { grid-template-columns:1fr 1fr; } .admin-editor-grid { grid-template-columns:1fr; } .admin-editor-card { position:static; } }
@media (max-width: 650px) { .admin-module-grid,.admin-cinema-grid { grid-template-columns:1fr; } .admin-two { grid-template-columns:1fr; } .admin-section-title { align-items:flex-start; flex-direction:column; } }
body.theme-light .admin-nav,body.theme-light .admin-module-grid>a,body.theme-light .admin-cinema-card,body.theme-light .admin-editor-card { background:#fff; border-color:#e4e9ef; }
body.theme-light .admin-editor-card input,body.theme-light .admin-editor-card textarea { background:#f8fafc; color:#111827; border-color:#dbe1e8; }
body.theme-light .admin-module-grid strong,body.theme-light .admin-cinema-metrics b { color:#101828; }
