/* Crimson High — "The Rise" — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --purple-deep: #1c1030;
  --purple: #2e1a47;
  --purple-light: #4a2d6b;
  --gold: #b8933f;
  --gold-bright: #d9b567;
  --teal: #1f7a6c;
  --teal-light: #3ea691;
  --cream: #f4efe6;
  --ink: #17101f;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--purple-deep);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold-bright);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
}
.btn:hover { background: var(--gold); color: var(--purple-deep); }

.btn-solid {
  background: var(--gold);
  color: var(--purple-deep);
}
.btn-solid:hover { background: var(--gold-bright); }

/* ---------- Gate overlays ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(74,45,107,0.5), transparent 60%),
    linear-gradient(180deg, #100a1c 0%, #1c1030 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.gate-card {
  text-align: center;
  max-width: 420px;
  padding: 2.5rem 2rem;
  animation: fadeUp 1s ease both;
}

.gate-phoenix { width: 64px; margin: 0 auto 1.5rem; opacity: 0.9; }

.gate-card h2 {
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.gate-card p {
  font-size: 0.9rem;
  color: rgba(244,239,230,0.65);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gate-buttons { display: flex; gap: 1rem; justify-content: center; }

.gate-form input[type="text"],
.gate-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: rgba(244,239,230,0.06);
  border: 1px solid rgba(184,147,63,0.4);
  color: var(--cream);
  font-family: var(--font-body);
  border-radius: 2px;
}
.gate-form input::placeholder { color: rgba(244,239,230,0.4); }

.gate-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
  font-size: 0.75rem;
  color: rgba(244,239,230,0.6);
  margin-bottom: 1.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: linear-gradient(180deg, rgba(28,16,48,0.9), transparent);
}
.site-nav .brand { display: flex; align-items: center; gap: 0.6rem; }
.site-nav .brand img { width: 30px; }
.site-nav .brand span {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  color: var(--cream);
}
.site-nav .links { display: flex; gap: 1.8rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav .links a { color: rgba(244,239,230,0.7); transition: color 0.3s; }
.site-nav .links a:hover { color: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 720px) {
  .site-nav .links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Ascent sections ---------- */
.ascent-section {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
}

.ascent-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Sky gradient stops through the page — dusk (bottom of page / start) to gold dawn (top of payoff) */
.sky-dusk { background: linear-gradient(180deg, #100a1c, #1c1030); }
.sky-rise-1 { background: linear-gradient(180deg, #1c1030, #2e1a47); }
.sky-rise-2 { background: linear-gradient(180deg, #2e1a47, #3d2359); }
.sky-rise-3 { background: linear-gradient(180deg, #3d2359, #4a2d6b); }
.sky-dawn { background: linear-gradient(180deg, #4a2d6b 0%, #6b4a30 60%, #b8933f 100%); }

.container { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero-phoenix { width: 90px; margin-bottom: 1.5rem; animation: fadeUp 1.4s ease both; }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--cream);
  letter-spacing: 0.02em;
  animation: fadeUp 1.4s ease 0.2s both;
}
.hero .eyebrow { animation: fadeUp 1.4s ease 0.4s both; margin-bottom: 1.2rem; }
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.3rem;
  margin-top: 1rem;
  animation: fadeUp 1.4s ease 0.6s both;
}
.scroll-cue {
  margin-top: 4rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
  animation: fadeUp 1.4s ease 0.8s both, bob 2.5s ease-in-out 1.4s infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--cream); margin: 0.6rem 0 1rem; }
.section-head p { color: rgba(244,239,230,0.65); line-height: 1.7; font-size: 0.95rem; }

/* ---------- Product / brand strip ---------- */
.brand-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.brand-strip img { border-radius: 4px; }
.brand-strip .copy .eyebrow { margin-bottom: 1rem; }
.brand-strip .copy h2 { font-size: 2.4rem; margin-bottom: 1.2rem; }
.brand-strip .copy p { color: rgba(244,239,230,0.7); line-height: 1.8; margin-bottom: 1rem; }
.brand-strip .stat-row { display: flex; gap: 2rem; margin-top: 1.8rem; }
.brand-strip .stat { border-left: 2px solid var(--gold); padding-left: 0.9rem; }
.brand-strip .stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }
.brand-strip .stat span { font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(244,239,230,0.55); text-transform: uppercase; }

@media (max-width: 860px) {
  .brand-strip { grid-template-columns: 1fr; }
}

/* ---------- Vibe hub ---------- */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .vibe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vibe-grid { grid-template-columns: 1fr; } }

.vibe-tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.vibe-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: saturate(0.9) brightness(0.75);
}
.vibe-tile:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(0.9); }
.vibe-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16,10,28,0.92) 100%);
}
.vibe-tile .tile-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem;
}
.vibe-tile .tile-copy .eyebrow { color: var(--teal-light); }
.vibe-tile .tile-copy h3 {
  font-size: 1.6rem;
  color: var(--cream);
  margin-top: 0.3rem;
}
.vibe-tile .play-hint {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(244,239,230,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--cream);
  opacity: 0; transition: opacity 0.4s ease;
}
.vibe-tile:hover .play-hint { opacity: 1; }

/* ---------- Track player panel (used on index for inline playback) ---------- */
.player-panel {
  margin-top: 2.5rem;
  padding: 1.6rem 2rem;
  border: 1px solid rgba(184,147,63,0.35);
  border-radius: 6px;
  background: rgba(244,239,230,0.03);
  display: none;
}
.player-panel.active { display: block; animation: fadeUp 0.6s ease both; }
.player-panel .eyebrow { color: var(--teal-light); }
.player-panel h3 { font-size: 1.6rem; color: var(--cream); margin: 0.3rem 0 1rem; }
.player-panel audio { width: 100%; }

/* ---------- Recipe / survey cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.recipe-card {
  background: rgba(244,239,230,0.03);
  border: 1px solid rgba(184,147,63,0.25);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.recipe-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.recipe-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.recipe-card .rc-body { padding: 1.4rem; }
.recipe-card .eyebrow { color: var(--teal-light); }
.recipe-card h3 { font-size: 1.4rem; margin: 0.3rem 0 0.6rem; }
.recipe-card p { font-size: 0.85rem; color: rgba(244,239,230,0.6); line-height: 1.6; margin: 0; }

/* recipe detail page */
.recipe-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.recipe-detail img { border-radius: 6px; position: sticky; top: 6rem; }
@media (max-width: 860px) {
  .recipe-detail { grid-template-columns: 1fr; }
  .recipe-detail img { position: static; }
}
.spec-row { display: flex; gap: 2.2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; padding: 1.2rem 0; border-top: 1px solid rgba(184,147,63,0.25); border-bottom: 1px solid rgba(184,147,63,0.25); }
.spec-row div span.label { display: block; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.3rem; }
.spec-row div span.value { font-size: 0.95rem; color: var(--cream); }

.recipe-detail ul { padding-left: 1.1rem; color: rgba(244,239,230,0.8); line-height: 1.8; }
.recipe-detail ol { padding-left: 1.2rem; color: rgba(244,239,230,0.8); line-height: 1.9; }
.recipe-detail h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; color: var(--gold-bright); margin: 1.8rem 0 0.8rem; }

.warning-box {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(184,147,63,0.08);
  font-size: 0.78rem;
  color: rgba(244,239,230,0.7);
  line-height: 1.6;
}

/* ---------- Survey ---------- */
.survey-shell { max-width: 640px; margin: 0 auto; }
.survey-step { display: none; }
.survey-step.active { display: block; animation: fadeUp 0.5s ease both; }
.q-progress {
  display: flex; gap: 0.4rem; margin-bottom: 2.5rem; justify-content: center;
}
.q-progress span { width: 32px; height: 3px; background: rgba(244,239,230,0.2); border-radius: 2px; }
.q-progress span.done { background: var(--gold); }

.survey-step .eyebrow { color: var(--teal-light); margin-bottom: 0.8rem; display: block; }
.survey-step h3 { font-size: 1.7rem; margin-bottom: 1.8rem; line-height: 1.4; }

.option-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.option-list label {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(184,147,63,0.3);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
}
.option-list input { display: none; }
.option-list input:checked + span { color: var(--gold-bright); }
.option-list label:has(input:checked) { border-color: var(--gold); background: rgba(184,147,63,0.08); }
.option-list label:hover { border-color: var(--gold); }

.step-nav { display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Sweepstakes slot ---------- */
.slot-machine {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  border: 1px solid rgba(184,147,63,0.35);
  border-radius: 10px;
  background: rgba(244,239,230,0.03);
}
.slot-reel {
  height: 140px;
  border-radius: 6px;
  background: rgba(16,10,28,0.6);
  border: 1px solid rgba(184,147,63,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}
.slot-reel.spinning { animation: spin-flash 0.1s linear infinite; }
@keyframes spin-flash {
  0% { filter: blur(1px); }
  50% { filter: blur(2px); }
  100% { filter: blur(1px); }
}
.sweep-result { margin-top: 1.5rem; font-size: 1rem; color: var(--cream); min-height: 1.4rem; }

/* ---------- Footer ---------- */
footer {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(184,147,63,0.2);
}
footer img { width: 40px; margin: 0 auto 1rem; opacity: 0.85; }
footer .foot-links { display: flex; gap: 1.6rem; justify-content: center; margin: 1.2rem 0; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
footer .foot-links a { color: rgba(244,239,230,0.6); }
footer .foot-links a:hover { color: var(--gold-bright); }
footer .legal { font-size: 0.7rem; color: rgba(244,239,230,0.35); max-width: 560px; margin: 1rem auto 0; line-height: 1.6; }

/* ---------- Coming soon banner ---------- */
.event-banner {
  display: block;
  padding: 0.9rem 1.5rem;
  text-align: center;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: var(--purple-deep);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.event-banner:hover { filter: brightness(1.05); }

/* utility */
.center { text-align: center; }
.mt-lg { margin-top: 3rem; }

/* ---------- Discount badge ---------- */
.discount-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  background: rgba(184,147,63,0.12);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 0.7rem 1.2rem;
  margin: 1rem 0;
}
.discount-badge .price-now {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.discount-badge .price-was {
  font-size: 0.95rem;
  color: rgba(244,239,230,0.5);
  text-decoration: line-through;
}
.discount-badge .save-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 600;
}
.discount-note {
  font-size: 0.7rem;
  color: rgba(244,239,230,0.4);
  margin-top: 0.4rem;
}
/* light-background variant, used on sky-dawn / light sections */
.sky-dawn .discount-badge,
.sky-rise-1 .discount-badge {
  background: rgba(28,16,48,0.06);
}
.sky-dawn .discount-note,
.sky-rise-1 .discount-note { color: rgba(28,16,48,0.5); }

/* ---------- Sweepstakes prize card ---------- */
.prize-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(184,147,63,0.14), rgba(28,16,48,0.06));
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 1.8rem 2rem;
  margin: 2rem 0 2.5rem;
}
.prize-card img {
  width: 90px;
  flex-shrink: 0;
  border-radius: 3px;
}
.prize-card h3 {
  font-size: 1.5rem;
  color: #1c1030;
  margin: 0.2rem 0 0.5rem;
  line-height: 1.2;
}
.prize-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(28,16,48,0.65);
}
@media (max-width: 560px) {
  .prize-card { flex-direction: column; text-align: center; }
}

.sweep-result.win {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #9a6b12;
  background: rgba(184,147,63,0.15);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  display: block;
}

/* ---------- Post-survey guide hub ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 700px) {
  .guide-grid { grid-template-columns: 1fr; }
}
.guide-card {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(184,147,63,0.3);
}
.guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.guide-card:hover img { transform: scale(1.06); }
.guide-card .guide-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(0deg, rgba(16,10,28,0.92), transparent);
}
.guide-card .guide-copy .eyebrow { color: var(--gold-bright); }
.guide-card .guide-copy h3 { font-size: 1.3rem; margin: 0.2rem 0 0.2rem; color: var(--cream); }
.guide-card .guide-copy p { font-size: 0.8rem; color: rgba(244,239,230,0.65); margin: 0; }

.welcome-banner {
  text-align: center;
  background: rgba(184,147,63,0.1);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 1rem;
}
