/* ============================================================
   CineRewardz Redemption Site — static stylesheet
   Plain CSS (no Tailwind, no build step)
   ============================================================ */

:root {
  --background: #09090b;
  --foreground: #f2f2f2;
  --card: #141416;
  --card-soft: rgba(20, 20, 22, 0.6);
  --muted: #26262a;
  --muted-foreground: #a1a1aa;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-foreground: #ffffff;
  --accent: #eab308;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  --container: 1120px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, legend { font-family: var(--font-display); line-height: 1.2; margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: var(--foreground); text-decoration: none; }
a:hover { color: var(--primary); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.center { text-align: center; }
.mt-6 { margin-top: 24px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo img { height: 38px; width: auto; }

.nav-desktop { display: none; gap: 28px; }
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 6px 0;
  position: relative;
}
.nav-desktop a:hover { color: var(--foreground); }
.nav-desktop a.active { color: var(--foreground); }
.nav-desktop a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.98);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a.active { color: var(--primary); }

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile, .nav-mobile.open { display: none; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 15px; padding: 14px 26px; }
.btn-block { width: 100%; }

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

.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(220, 38, 38, 0.08); }

.link-arrow { color: var(--accent); font-weight: 600; font-size: 14px; }
.link-arrow:hover { color: var(--accent); text-decoration: underline; }

/* ---------------- Spotlights ---------------- */
.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.15) 0%, transparent 62%);
}
.spotlight-gold {
  background: radial-gradient(ellipse at 50% 0%, rgba(234, 179, 8, 0.09) 0%, transparent 62%);
}

/* ---------------- Carousel ---------------- */
.carousel {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #000;
}
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide { min-width: 100%; }
.carousel-slide img {
  width: 100%;
  height: clamp(180px, 34vw, 420px);
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.6);
  color: var(--foreground);
  cursor: pointer;
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.carousel-btn:hover { background: rgba(220, 38, 38, 0.75); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.carousel-dots button.active { background: var(--primary); width: 22px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 56px 0 40px; }
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero-title {
  margin-top: 14px;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
}
.hero-sub {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 16px;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------------- Sections ---------------- */
.section { position: relative; padding: 44px 0; }
.section-alt { background: rgba(20, 20, 22, 0.45); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; text-align: center; }
.section-title.sm { font-size: clamp(20px, 2.6vw, 26px); text-align: left; }
.section > .container { position: relative; }

.grid-2 { display: grid; gap: 20px; }
.grid-2.tight { gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------------- Cards ---------------- */
.card {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
}
.card-title { font-size: 20px; font-weight: 600; }
.card-title.sm { font-size: 17px; font-weight: 600; }
.card-text { margin-top: 10px; color: var(--muted-foreground); font-size: 14px; }
.action-card { display: flex; flex-direction: column; align-items: flex-start; }
.action-card .btn { margin-top: 18px; }

.steps-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.12);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  flex: none;
}
.step-card { padding: 22px; }

.support-callout { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.support-callout .btn { margin-top: 16px; }
.support-callout .hero-actions { margin-top: 18px; }

/* ---------------- Page shell ---------------- */
.page-shell { position: relative; padding: 48px 0 64px; }
.page-shell > .container { position: relative; }
.page-title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 700; text-align: center; }
.page-intro {
  margin: 14px auto 32px;
  max-width: 680px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 15px;
}
.page-intro.sm { margin: 8px 0 0; text-align: left; font-size: 14px; }

.narrow { max-width: 760px; margin: 0 auto; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* ---------------- Forms ---------------- */
.form-card { max-width: 560px; margin: 0 auto; }
.form-card.wide { max-width: 820px; }
.form-hint { font-size: 12px; color: var(--muted-foreground); margin-bottom: 18px; }
.req { color: var(--primary); margin-left: 2px; }

.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--foreground); }

.form-input {
  width: 100%;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 10px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.form-input::placeholder { color: #71717a; }
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}
.form-input:disabled { opacity: 0.55; cursor: not-allowed; }
.form-input[aria-invalid="true"] { border-color: var(--primary); }

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-error { font-size: 12px; color: var(--primary); min-height: 0; }
.form-error:empty { display: none; }
.form-foot { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted-foreground); }
.form-foot a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }

.booking-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.booking-wrap form { display: flex; flex-direction: column; gap: 22px; }
.choice-card { border: 1px solid var(--border); }
.choice-card legend { padding: 0 6px; }
.choice-card .grid-2 { margin-top: 18px; }
.timings-line { font-size: 14px; color: var(--muted-foreground); }
.timings-line .link-arrow { margin-left: 6px; }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted-foreground); cursor: pointer; }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-row a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.form-card .btn-block { margin-top: 20px; }

/* ---------------- Notes ---------------- */
.note {
  border-radius: var(--radius);
  padding: 15px 17px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.note-accent { border: 1px solid rgba(234, 179, 8, 0.3); background: rgba(234, 179, 8, 0.06); }

/* ---------------- Contact cards ---------------- */
.contact-card { padding: 20px; }
.contact-label { font-size: 14px; font-weight: 600; color: var(--foreground); }
.contact-card a { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--muted-foreground); word-break: break-word; }
.contact-card a:hover { color: var(--foreground); }

/* ---------------- Accordion ---------------- */
.accordion { margin-top: 22px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 17px 2px;
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-trigger .chev { transition: transform 0.2s ease; color: var(--muted-foreground); }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-panel { padding: 0 2px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted-foreground); }

/* ---------------- Steps list / terms ---------------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.step-row { display: flex; gap: 16px; align-items: flex-start; }
.step-row .step-num { margin-bottom: 0; }

.terms-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.terms-list li { color: var(--muted-foreground); font-size: 14px; line-height: 1.65; padding-left: 4px; }
.terms-list li::marker { color: var(--accent); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(20, 20, 22, 0.4); margin-top: 20px; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 0 22px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.footer-nav a { font-size: 14px; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }
.footer-bottom { padding: 16px 20px 26px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: var(--muted-foreground); }

@media (min-width: 860px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 0 26px; }
}

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .carousel-track, .btn { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* `hidden` must win over the panel's flex display */
.accordion-panel[hidden] { display: none; }
