:root {
  --brand: #d62828;
  --brand-dark: #a61f1f;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] {
  --bg: #0b1018;
  --bg-alt: #0e141f;
  --surface: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: #1f2937;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 16px/1.65 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  display: flex;               /* make sticky footer layout */
  flex-direction: column;
  min-height: 100vh;
}
/* Text selection (brand accent) */
::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }
input::selection, textarea::selection { background: var(--brand); color: #fff; }
html[data-theme="light"] ::selection { background: color-mix(in srgb, var(--brand) 85%, #ffffff 15%); color: #fff; }
html[data-theme="dark"] ::selection { background: color-mix(in srgb, var(--brand) 92%, #000000 8%); color: #fff; }
/* Soft animated background accent */
body::before {
  content: "";
  position: fixed;
  inset: -15% -15% auto -15%;
  height: 55vh;
  background: radial-gradient(600px 240px at 80% -10%, rgba(214,40,40,.25), transparent 60%);
  pointer-events: none;
  filter: blur(8px);
  opacity: .6;
  transition: opacity .3s ease;
}
html.scrolled body::before { opacity: .2; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Ensure the footer stays at the bottom even with small content */
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { height: 36px; width: auto; display: block; }
.brand-text { white-space: nowrap; }
/* Headings: Space Grotesk for distinctive feel */
h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: 'Space Grotesk', 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
  letter-spacing: .01em;
}
.hero-title { font-weight: 800; }

.nav { display: flex; gap: 16px; align-items: center; }
.nav a { padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--bg-alt); }
.nav a { position: relative; transition: color .2s ease, background .2s ease; }
.nav a::after { content:""; position:absolute; left:10px; right:10px; bottom:4px; height:2px; background:var(--brand); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav a:hover::after { transform:scaleX(1); }
.nav a.active { color: #fff; font-weight: 800; }
.nav a.active::after { transform: scaleX(1); }
.nav .nav-info { color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; margin: 0 8px; opacity: .7; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: transparent; border-radius: 10px;
}
.nav-toggle .bar { display:block; width:22px; height:2px; margin:5px auto; background: var(--text); }

.btn { cursor: pointer; user-select: none; border-radius: 10px; border:1px solid transparent; padding: 10px 14px; font-weight: 600; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); }

.hero {
  background: linear-gradient(135deg, var(--bg-alt), #ffffff00 60%),
              radial-gradient(1000px 400px at 80% -100px, rgba(214,40,40,0.2), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-landing { position: relative; overflow: hidden; background-image: var(--hero-bg); background-size: cover; background-repeat: no-repeat; background-position: var(--hero-pos, center); transition: background-position .6s ease; }
.hero-landing .bg-stack { position:absolute; inset:0; z-index:0; }
.hero-landing .bg-layer { position:absolute; inset:0; background-size:cover; background-repeat:no-repeat; background-position: var(--hero-pos, center); filter: saturate(1.05); opacity:0; transform: scale(1.06); will-change: opacity, transform; transition: opacity 2.6s ease, transform 7s ease; }
.hero-landing .bg-layer.show { opacity:1; transform: scale(1.00); }
.hero-landing::before { content:""; position:absolute; inset:0; background:
  linear-gradient(0deg, rgba(2,6,12, var(--hero-dim, .35)), rgba(2,6,12, var(--hero-dim, .35))),
  radial-gradient(1200px 420px at 20% 10%, rgba(255,255,255,.08), transparent 60%),
  linear-gradient(180deg, rgba(15,23,42,.66), rgba(15,23,42,.28)); pointer-events:none; }
.hero-landing-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center; padding: 56px 0; position: relative; z-index: 1; }
.glass-panel {
  position: relative;
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(15,23,42,.56), rgba(15,23,42,.38));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 38px rgba(15,23,42,.22);
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
}
html[data-theme="light"] .glass-panel { color: #fff; }
.kicker { letter-spacing: .06em; text-transform: uppercase; opacity: .85; font-weight: 700; margin-bottom: 8px; }
.hero-title { font-size: clamp(26px, 4.6vw, 44px); line-height: 1.18; margin: 0 0 12px; letter-spacing: .02em; }
.lead { color: rgba(255,255,255,.85); margin: 0 0 16px; }
.cta-row { display: flex; align-items: center; gap: 18px; }
.btn-cta { font-size: 16px; padding: 12px 18px; }
.slide-ind { color: rgba(255,255,255,.8); font-weight: 700; letter-spacing: .04em; }
.landing-art { filter: drop-shadow(var(--shadow)); }
.landing-art svg { width: 100%; height: auto; opacity: .9; }

/* Hero slider */
.hero-slider { position: relative; }
.slides { position: relative; min-height: 180px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.slider-ui { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.slider-ui .count { color: rgba(255,255,255,.9); font-weight: 800; letter-spacing: .06em; }
.hero-prev, .hero-next { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color:#fff; cursor:pointer; backdrop-filter: blur(6px); }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.12); }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
  padding: 56px 0;
  position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.2; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 18px; }
.hero-art { filter: drop-shadow(var(--shadow)); }
.hero-art svg { width: 100%; height: auto; }

.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { margin: 0 0 18px; font-size: 24px; }

/* Booking dark strip */
.booking-dark { position: relative; overflow: hidden; }
.booking-dark {
  background:
    radial-gradient(600px 320px at 18% 28%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
    radial-gradient(800px 360px at 80% -10%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    linear-gradient(135deg, var(--bg-alt), var(--bg) 40%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.booking-dark::before { content:""; position:absolute; inset:0; pointer-events:none; background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,0)); opacity: .25; }
html[data-theme="dark"] .booking-dark::before { opacity: .35; }
html[data-theme="light"] .booking-dark::before { opacity: .15; }
.booking-title { color: #fff; font-size: 28px; margin-bottom: 14px; }
.booking-card { margin-top: 8px; }
.booking-results { margin-top: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.glass-card, .card.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: saturate(160%) blur(12px);
}
.note { color: var(--muted); }

.grid.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.form-grid label { display: grid; gap: 6px; font-weight: 600; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea {
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color: var(--text); backdrop-filter: blur(8px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #94a3b8; opacity: .8; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: rgba(214,40,40,.5);
  box-shadow: 0 0 0 3px rgba(214,40,40,.25);
}
.form-grid .actions { display: flex; gap: 8px; align-items: center; }
.form-grid .full { grid-column: 1/-1; }

.results { margin-top: 16px; display: grid; gap: 12px; min-height: 48px; }
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; position: relative; overflow: hidden; }
.ticket::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: linear-gradient(180deg, var(--brand), var(--brand-dark)); opacity:.9; }
.ticket .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); }
.ticket .title { font-weight: 700; font-size: 18px; }
.ticket:hover { border-color: rgba(214,40,40,.35); box-shadow: 0 16px 34px rgba(15,23,42,.24); }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: var(--surface); }
.footer-inner { display:flex; align-items:center; justify-content: space-between; gap: 16px; }
.copy { color: var(--muted); }
.icon-link { color: var(--muted); padding: 8px; border-radius: 8px; }
.icon-link:hover { color: var(--text); background: var(--bg-alt); }

/* Features bar */
.features { background: transparent; border-top: 0; }
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; }
.feature {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
  transform: translateY(4px); opacity: .98;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.feature::after { content:""; position:absolute; inset:0; background: radial-gradient(400px 120px at -10% -40%, rgba(214,40,40,.18), transparent 60%); opacity: .7; pointer-events: none; }
.feature:hover { transform: translateY(0); box-shadow: 0 18px 38px rgba(15,23,42,.28); border-color: rgba(214,40,40,.35); }
.feature .icon { width: 28px; height: 28px; color: var(--brand); flex: 0 0 auto; }
.feature .icon svg { width: 100%; height: 100%; display: block; }
.feature .label { font-weight: 800; letter-spacing: .01em; }

/* Staggered appearance */
@media (prefers-reduced-motion: no-preference) {
  .feature { opacity: 0; transform: translateY(10px); }
  .feature:nth-child(1) { animation: feat-in .5s .05s ease forwards; }
  .feature:nth-child(2) { animation: feat-in .5s .15s ease forwards; }
  .feature:nth-child(3) { animation: feat-in .5s .25s ease forwards; }
  .feature:nth-child(4) { animation: feat-in .5s .35s ease forwards; }
}
@keyframes feat-in { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }

/* Cookie banner */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cookie-inner { width: min(1120px, 92%); margin: 0 auto; padding: 12px 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cookie-text { color: var(--muted); }
.cookie-actions { display:flex; gap: 8px; }

/* Back to top button */
#toTop { position: fixed; right: 18px; bottom: 18px; z-index: 120; background: var(--brand); color:#fff; border-radius: 999px; padding: 10px 12px; box-shadow: 0 8px 20px rgba(214,40,40,.35); text-decoration:none; font-weight:800; opacity:0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
#toTop.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-inner, .hero-landing-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; inset: 64px 0 auto 0; display: none; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px; gap: 6px; }
  .nav a, .nav .btn { padding: 10px 12px; }
  .nav.open { display: grid; grid-auto-rows: min-content; grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .nav.open { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr 1fr; }
}

/* Enhancements: subtle page and UI transitions */
@media (prefers-reduced-motion: no-preference) {
  body { opacity: 0; animation: nra-fade-in .5s ease-out forwards; }
}
@keyframes nra-fade-in { from { opacity: 0 } to { opacity: 1 } }

.nav a { position: relative; transition: color .2s ease, background .2s ease; }
.nav a::after { content:""; position:absolute; left:10px; right:10px; bottom:4px; height:2px; background:var(--brand); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav a:hover::after { transform:scaleX(1); }

.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,23,42,.12); border-color: rgba(214,40,40,.25); }

.btn { transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.hero .hero-copy { animation: nra-slide-up .5s ease both; }
.hero .hero-art { animation: nra-float-in .7s .1s ease both; }
@keyframes nra-slide-up { from { transform: translateY(10px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
@keyframes nra-float-in { from { transform: translateY(8px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* Scroll gradient overlay */
.scroll-gradient { position: fixed; inset: 0 0 auto 0; height: 120px; pointer-events: none; opacity: 0; z-index: 9;
  background: linear-gradient(180deg, rgba(214,40,40,.14), rgba(214,40,40,0) 60%);
  transition: opacity .25s ease; }
html.scrolled .scroll-gradient { opacity: 1; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Neo dark hero variant (SpaceAge inspiration) */
.hero-neo {
  background:
    radial-gradient(600px 320px at var(--hx1,18%) var(--hy1,28%), rgba(255,255,255,.08), transparent 60%),
    radial-gradient(800px 360px at var(--hx2,80%) var(--hy2,-10%), rgba(214,40,40,.22), transparent 60%),
    linear-gradient(135deg, #0f172a, #0b1018 50%, #0a0f18);
  color: #fff;
  border: 0;
  position: relative; overflow: hidden;
}
.hero-neo .hero-bg { position:absolute; inset:0; background-image: var(--hero-neo-bg); background-size: cover; background-position: var(--hero-neo-pos, center); background-repeat:no-repeat; filter: saturate(1.05); opacity: .9; z-index: 0; }
.hero-neo .hero-title { color: #fff; }
.chipbar { display:flex; gap: 18px; align-items:center; margin-top: 10px; }
.chipbar a { color: rgba(255,255,255,.78); padding-bottom: 6px; position: relative; }
.chipbar a.active { color: #fff; }
.chipbar a.active::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--brand); }
.rating { display:flex; align-items:center; gap: 6px; color: #fbbf24; font-weight: 700; }
.rating .muted { color: rgba(255,255,255,.7); font-weight: 600; }

/* Page transition overlay */
.page-overlay { position: fixed; inset: 0; background: radial-gradient(1000px 600px at 80% -10%, rgba(214,40,40,.25), rgba(15,23,42,.9)); pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .5s ease; z-index: 100; }
.page-overlay.show { opacity: 1; transform: scale(1); }

/* Scroll progress bar */
.scroll-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); z-index: 99; box-shadow: 0 0 10px rgba(214,40,40,.4); }

/* Magnetic buttons + tilt cards */
.tilt { position: relative; transform-style: preserve-3d; perspective: 800px; }
.tilt::before { content:""; position:absolute; inset:-1px; border-radius: inherit; background: radial-gradient(180px 80px at var(--mx,50%) var(--my,50%), rgba(255,255,255,.25), transparent 60%); opacity: .0; transition: opacity .2s ease; pointer-events: none; }
.tilt:hover::before { opacity: .45; }

/* Animated glares on glass */
.glass-panel::after { content:""; position:absolute; top:-30%; left:-10%; width: 40%; height: 160%; transform: rotate(18deg); background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.35), rgba(255,255,255,.0)); filter: blur(10px); opacity: .18; animation: glare-move 6s linear infinite; }
@keyframes glare-move { from { transform: translateX(-20%) rotate(18deg);} to { transform: translateX(220%) rotate(18deg);} }

/* Noise overlay for depth */
body::after { content:""; position: fixed; inset:0; pointer-events:none; opacity:.05; z-index:1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.9'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

/* Skeleton loading */
.skeleton { display:block; overflow:hidden; background: linear-gradient(90deg, rgba(148,163,184,.18), rgba(148,163,184,.28), rgba(148,163,184,.18)); background-size: 200% 100%; animation: shimmer 1.1s infinite linear; border-radius: 12px; }
.skeleton-line { height: 14px; border-radius: 8px; }
.skeleton-lg { height: 24px; }
@keyframes shimmer { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* Custom cursor */
.cursor { position: fixed; top:0; left:0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); transform: translate(-50%,-50%) scale(.9); pointer-events: none; z-index: 200; opacity: .85; transition: transform .12s ease, width .12s ease, height .12s ease, opacity .2s ease; mix-blend-mode: difference; }
.cursor.active { width: 36px; height: 36px; transform: translate(-50%,-50%) scale(1.05); }

/* Brand color picker */
#brandPicker { display: none !important; }
/* Load custom fonts (Outfit + Space Grotesk) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;600;700&display=swap');
