:root {
  --bg: #090d18;
  --panel: #101729;
  --panel-2: #171f34;
  --text: #f7f5ef;
  --muted: #9aa5bb;
  --accent: #ff5f46;
  --accent-2: #ffd166;
  --line: rgba(255,255,255,.13);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: white; color: black; }
.skip-link:focus { top: 1rem; }
.demo-notice { padding: .65rem 1rem; text-align: center; background: var(--accent); color: #160706; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 78px; padding: 0 clamp(1rem, 4vw, 4.5rem); background: rgba(9,13,24,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; font-weight: 950; letter-spacing: -.07em; }
.brand span { font-size: 1.3rem; }
.brand strong { color: var(--accent); font-size: 1.3rem; }
.main-nav { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); font-size: .9rem; font-weight: 750; }
.main-nav a { padding: .75rem 0; color: #d8dce6; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.menu-toggle { display: none; min-height: 42px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }

.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 58px; min-height: 42px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 900; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary b { color: var(--muted); font-size: .8rem; transition: transform .2s ease; }
.language-menu[open] summary b { transform: rotate(180deg); }
.language-menu__popover { position: absolute; top: calc(100% + .55rem); right: 0; z-index: 70; width: 190px; padding: .45rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.language-menu__popover button { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: .55rem; width: 100%; min-height: 42px; padding: .5rem .65rem; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; }
.language-menu__popover button:hover, .language-menu__popover button:focus-visible { background: var(--panel-2); }
.language-menu__popover button span { color: var(--accent-2); font-size: .72rem; font-weight: 900; }
.language-menu__popover button em { color: var(--text); font-style: normal; }
.language-menu__popover button i { visibility: hidden; color: var(--accent); font-style: normal; }
.language-menu__popover button[aria-checked="true"] i { visibility: visible; }

.hero { position: relative; min-height: min(800px, calc(100vh - 108px)); display: flex; align-items: flex-end; overflow: hidden; }
.hero__image, .hero__veil { position: absolute; inset: 0; height: 100%; }
.hero__image { object-fit: cover; }
.hero__veil { background: linear-gradient(90deg, rgba(4,7,15,.95) 0%, rgba(4,7,15,.76) 48%, rgba(4,7,15,.18) 84%), linear-gradient(0deg, rgba(4,7,15,.92), transparent 54%); }
.hero__content { position: relative; z-index: 2; width: min(900px, 92vw); padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1rem; color: var(--accent-2); font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero h1, .section-heading h2, .offer h2, .about h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.hero__content > p:not(.eyebrow) { max-width: 620px; margin: 1.5rem 0; color: #d3d8e3; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.hero__meta { display: flex; gap: .65rem; margin-bottom: 1.5rem; }
.hero__meta span { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: #d8dce6; font-size: .78rem; font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 52px; padding: 0 1.35rem; border-radius: 999px; cursor: pointer; font-weight: 850; }
.button--primary { border: 1px solid var(--accent); background: var(--accent); color: #160706; }
.button--ghost { border: 1px solid rgba(255,255,255,.35); background: rgba(9,13,24,.3); }
.hero__number { position: absolute; right: 3vw; bottom: -3vw; z-index: 2; color: rgba(255,255,255,.08); font-size: clamp(10rem, 28vw, 28rem); font-weight: 950; line-height: .8; }

.date-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.date-strip button { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 86px; justify-content: center; border: 0; border-right: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.date-strip button:last-child { border-right: 0; }
.date-strip button span { color: var(--muted); font-size: .7rem; font-weight: 850; }
.date-strip button strong { font-size: .95rem; }
.date-strip button.is-active { background: var(--accent); color: #180806; }
.date-strip button.is-active span { color: #5c1a12; }

.section { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3.3rem, 7vw, 7.5rem); }
.section-heading > p { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.7; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.filters button { min-height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.filters button.is-active { border-color: var(--accent); background: var(--accent); color: #1b0907; }

.movie-list { display: grid; gap: 1rem; }
.movie-card { display: grid; grid-template-columns: minmax(230px, .34fr) 1fr; min-height: 360px; border: 1px solid var(--line); background: var(--panel); }
.movie-card[hidden] { display: none; }
.movie-card__poster { position: relative; min-height: 360px; overflow: hidden; }
.movie-card__poster img { height: 100%; object-fit: cover; }
.movie-card__poster > span { position: absolute; top: 1rem; left: 1rem; padding: .5rem .7rem; border-radius: 999px; background: var(--accent); color: #1a0806; font-size: .7rem; font-weight: 900; }
.movie-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.movie-card__top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.movie-card__top p { margin: 0 0 .45rem; color: var(--accent-2); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.movie-card h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.04em; }
.age { display: grid; place-items: center; min-width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.movie-card__description { max-width: 760px; color: var(--muted); line-height: 1.7; }
.movie-card__details { display: flex; gap: .55rem; margin-bottom: 1.2rem; }
.movie-card__details span { padding: .4rem .65rem; border-radius: 999px; background: var(--panel-2); color: #c6cedc; font-size: .75rem; }
.showtimes { display: flex; flex-wrap: wrap; gap: .55rem; }
.showtimes button { min-width: 112px; min-height: 52px; padding: .4rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: transparent; cursor: pointer; font-weight: 850; }
.showtimes button:hover, .showtimes button:focus-visible { border-color: var(--accent); background: var(--accent); color: #1a0806; }
.showtimes small { display: block; margin-top: .2rem; color: var(--muted); font-size: .68rem; }
.showtimes button:hover small, .showtimes button:focus-visible small { color: #631b12; }

.events { background: #efe9dc; color: #171820; }
.events .eyebrow { color: #a53828; }
.events .section-heading > p { color: #62626a; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.event-grid article { padding: 2rem; border: 1px solid rgba(23,24,32,.17); background: #f9f5ed; }
.event-grid span { color: #a53828; font-weight: 900; }
.event-grid h3 { margin: 2rem 0 .75rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.event-grid p { color: #62626a; line-height: 1.6; }
.event-grid button, .about button { padding: .7rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-weight: 850; }

.offer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; background: var(--panel); }
.offer h2 { font-size: clamp(3.2rem, 6vw, 6.5rem); }
.offer-list { border-top: 1px solid var(--line); }
.offer-list article { display: grid; grid-template-columns: 52px .7fr 1fr; gap: 1rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.offer-list span { color: var(--accent); font-weight: 900; }
.offer-list h3, .offer-list p { margin: 0; }
.offer-list p { color: var(--muted); line-height: 1.6; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; padding: 0; }
.about__image img { height: 100%; min-height: 620px; object-fit: cover; }
.about__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); background: var(--accent); color: #1b0907; }
.about__copy .eyebrow { color: #6b1f15; }
.about h2 { font-size: clamp(3rem, 6vw, 6rem); }
.about p:not(.eyebrow) { line-height: 1.7; }
.about button { align-self: flex-start; }

.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.footer p { margin: 0; color: var(--muted); text-align: center; }
.footer nav { display: flex; gap: 1.25rem; font-weight: 750; }
.footer-controls { display: flex; align-items: center; gap: 1rem; }

.modal-layer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.modal-layer.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.76); backdrop-filter: blur(10px); }
.booking-modal, .trailer-modal { position: relative; z-index: 1; width: min(760px, 100%); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.booking-modal > header, .trailer-modal > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.booking-modal h2, .trailer-modal h2 { margin: 0; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.booking-modal header button, .trailer-modal header button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.4rem; }
.booking-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; color: var(--muted); }
.booking-meta strong { color: white; }
.screen { width: 70%; margin: 1.4rem auto 2.2rem; padding: .45rem; text-align: center; border-top: 4px solid var(--accent-2); color: var(--muted); font-size: .7rem; letter-spacing: .16em; }
.seat-map { display: grid; grid-template-columns: repeat(8, 34px); justify-content: center; gap: .55rem; padding: 0 1rem 1.5rem; }
.seat { width: 34px; height: 30px; border: 1px solid #64708b; border-radius: 9px 9px 5px 5px; background: transparent; cursor: pointer; font-size: .62rem; }
.seat.is-selected { border-color: var(--accent); background: var(--accent); color: #1c0907; }
.seat.is-taken { border-color: #333c52; background: #333c52; color: #758098; cursor: not-allowed; }
.seat-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding: 0 1rem 1.2rem; color: var(--muted); font-size: .75rem; }
.seat-legend span { display: flex; align-items: center; gap: .4rem; }
.seat-legend b { font-weight: 500; }
.seat-demo { display: inline-block; width: 18px; height: 16px; border: 1px solid #64708b; border-radius: 5px 5px 3px 3px; }
.seat-demo.is-selected { border-color: var(--accent); background: var(--accent); }
.seat-demo.is-taken { border-color: #333c52; background: #333c52; }
.booking-modal > footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 1.5rem; border-top: 1px solid var(--line); }
.booking-modal footer > div { display: flex; flex-direction: column; gap: .25rem; }
.booking-modal footer span { color: var(--muted); font-size: .72rem; }
.booking-modal footer button { min-height: 48px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--accent); color: #1b0907; cursor: pointer; font-weight: 900; }
.booking-modal footer button:disabled { opacity: .35; cursor: not-allowed; }
.booking-modal footer small { grid-column: 1 / -1; color: var(--muted); }
.trailer-modal { width: min(960px, 100%); }
.trailer-frame { aspect-ratio: 16 / 9; overflow: hidden; background: black; }
.demo-trailer { position: relative; width: 100%; height: 100%; overflow: hidden; }
.demo-trailer img { width: 100%; height: 100%; object-fit: cover; animation: demo-trailer-drift 8s ease-in-out infinite alternate; }
.demo-trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(2,8,19,.56), transparent 58%), radial-gradient(circle at center, transparent 0 45%, rgba(2,8,19,.5)); }
.demo-trailer span { position: absolute; z-index: 1; left: 50%; top: 50%; width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(4,10,22,.5); color: white; transform: translate(-50%,-50%); font-size: 1.5rem; }
@keyframes demo-trailer-drift { from { transform: scale(1.01); } to { transform: scale(1.08); } }
.trailer-modal > p { margin: 0; padding: 1rem 1.5rem 1.5rem; color: var(--muted); line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; transform: translate(-50%, 120px); max-width: calc(100vw - 2rem); padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: white; color: #171820; box-shadow: 0 20px 60px rgba(0,0,0,.35); opacity: 0; transition: .25s ease; font-weight: 800; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1080px) {
  .site-header { gap: 1rem; }
  .main-nav { gap: 1rem; }
}

@media (max-width: 980px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; padding: 1rem; background: var(--panel); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .site-header { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .section-heading, .offer { grid-template-columns: 1fr; }
  .movie-card { grid-template-columns: 260px 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__image img { min-height: 420px; }
  .footer { grid-template-columns: 1fr; justify-items: start; }
  .footer p { text-align: left; }
}

@media (max-width: 700px) {
  .demo-notice { font-size: .58rem; letter-spacing: .055em; }
  .site-header { min-height: 68px; padding: 0 .85rem; }
  .hero { min-height: 680px; }
  .hero__content { width: 100%; padding: 4rem 1rem; }
  .date-strip { overflow-x: auto; grid-template-columns: repeat(5, minmax(100px, 1fr)); }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .filters { justify-content: flex-start; }
  .movie-card { grid-template-columns: 1fr; }
  .movie-card__poster { min-height: 280px; }
  .offer-list article { grid-template-columns: 38px 1fr; }
  .offer-list p { grid-column: 2; }
  .footer { align-items: flex-start; }
  .footer nav { flex-wrap: wrap; }
  .seat-map { grid-template-columns: repeat(8, minmax(24px, 32px)); gap: .35rem; }
  .seat { width: 100%; height: 28px; }
  .booking-modal > footer { grid-template-columns: 1fr 1fr; }
  .booking-modal footer button { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .brand span, .brand strong { font-size: 1rem; }
  .language-menu summary { min-width: 52px; padding-inline: .6rem; }
  .language-menu__popover { right: -58px; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .movie-card__body { padding: 1.2rem; }
  .showtimes button { flex: 1 1 100px; }
  .seat-map { grid-template-columns: repeat(8, minmax(22px, 28px)); }
  .seat { font-size: .52rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .demo-trailer img { animation: none; }
}
