/* =========================================================
   MAD DESIGN 2026 — Madrasters
   ========================================================= */

:root {
  --bg: #0a0806;
  --bg-panel: #100d0a;
  --card: #161310;
  --card-alt: #1c1712;
  --border-soft: rgba(201, 162, 75, 0.16);
  --gold: #c9a24b;
  --gold-light: #e3c176;
  --orange: #e8871e;
  --orange-light: #ffb454;
  --cream: #f3ede0;
  --text-muted: #a79f8f;
  --text-dim: #756d5f;

  --font-display: 'Playfair Display', serif;
  --font-marquee: 'Anton', sans-serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

a { text-decoration: none; }

/* ---------- Ambient sparkles ---------- */
.sparkle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 8% 12%, rgba(201,162,75,.6), transparent),
    radial-gradient(2px 2px at 22% 30%, rgba(201,162,75,.4), transparent),
    radial-gradient(1.5px 1.5px at 68% 8%, rgba(232,135,30,.5), transparent),
    radial-gradient(2px 2px at 90% 22%, rgba(201,162,75,.5), transparent),
    radial-gradient(1.5px 1.5px at 12% 60%, rgba(201,162,75,.35), transparent),
    radial-gradient(2px 2px at 78% 55%, rgba(232,135,30,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(201,162,75,.4), transparent),
    radial-gradient(2px 2px at 95% 80%, rgba(201,162,75,.35), transparent);
  background-size: 100% 1400px;
  animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

section, header, footer { position: relative; z-index: 1; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow, .eyebrow-script {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  /* margin-bottom: .9rem; */
}
.eyebrow-script {
  letter-spacing: .5em;
  font-size: .68rem;
  color: var(--text-muted);
  /* margin-bottom: 1.2rem; */
}

.section-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--cream);
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.gold-italic { color: var(--gold-light); font-style: italic; }
.gold-strong { color: var(--gold); font-weight: 600; }

.section-block { padding: 3rem 0; }

/* ---------- Buttons ---------- */
.btn-gold-solid {
  background: linear-gradient(180deg, #d9b463, var(--gold));
  color: #1a1408;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .8rem 1.9rem;
  border-radius: 3px;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold-solid:hover {
  color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,75,.35);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .8rem 1.9rem;
  border-radius: 3px;
  border: 1px solid rgba(243,237,224,.35);
  transition: all .2s ease;
}
.btn-outline-cream:hover {
  color: var(--bg);
  background: var(--cream);
  border-color: var(--cream);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  background: rgba(10, 8, 6, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.custom-navbar { padding: 1.1rem 0; }
.navbar-brand {
  font-family: var(--font-body);
  color: var(--cream);
  letter-spacing: .18em;
  font-size: .85rem;
  font-weight: 600;
}
.nav-links .nav-link {
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .4rem .2rem;
  transition: color .2s ease;
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active { color: var(--cream); }
.navbar-toggler { border-color: var(--border-soft); }

/* ============================================================
   HERO
   ============================================================ */
/* .hero { padding: 4.5rem 1rem 3.5rem; } */

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}
.hero-logo-text {
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--cream);
  font-weight: 500;
}

.marquee-title {
  font-family: var(--font-marquee);
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: .95;
  letter-spacing: .02em;
  margin: 1rem 0 1.5rem;
  background: linear-gradient(180deg, #ffd27a 0%, var(--orange) 55%, #b5590c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(232,135,30,.35));
  position: relative;
}
.marquee-title::before {
  content: 'MAD DESIGN';
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 210, 122, .25);
  z-index: -1;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: .55em;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-desc {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.hero-btns { margin-bottom: 2.5rem; }

.hero-premiere {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--text-dim);
}

/* ============================================================
   REGISTER / COUNTDOWN
   ============================================================ */
.register-section { padding: 2rem 1rem 6rem; }

.register-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.register-left {
  padding: 1rem 0 1rem 1.2rem;
}
.register-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.register-copy {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.countdown-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--gold-light);
}
.countdown-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  color: var(--text-dim);
  margin-top: .2rem;
}

.register-right {
  background: linear-gradient(160deg, #1c1710, #100d0a);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed var(--border-soft);
  padding: 2.5rem;
  min-height: 100%;
}
.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}
.ticket-admit {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .62rem;
  color: var(--text-dim);
}
.ticket-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
}
.ticket-sub {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
  color: var(--text-dim);
}

/* ============================================================
   WHAT IS MAD DESIGN
   ============================================================ */
.mad-card {
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 3.2rem 2.5rem;
}
.mad-word {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mad-letter {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 700;
  margin-right: .1rem;
}
.mad-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--cream);
  margin: 1.8rem 0 1.4rem;
  line-height: 1.4;
}
.mad-copy {
  max-width: 620px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.85;
}

/* ============================================================
   HOW THE CHALLENGE WORKS — scenes
   ============================================================ */
.scenes-row { margin-top: 1rem; }
.scene-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1.6rem 1.3rem;
  height: 100%;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease;
}
.scene-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.scene-num {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  color: var(--gold);
  margin-bottom: .8rem;
}
.scene-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: .6rem;
}
.scene-copy {
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   THE STREAK
   ============================================================ */
.streak-section { background: var(--bg-panel); }
.streak-copy {
  max-width: 480px;
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 3.5rem;
}
.streak-track {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 5.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.streak-line {
  position: absolute;
  top: 26px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--border-soft);
  z-index: 0;
}
.streak-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.streak-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--bg-panel);
  margin-bottom: 1rem;
}
.streak-step h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem;
  color: var(--cream);
  margin-bottom: .3rem;
}
.streak-step span {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ============================================================
   DESIGN PROMPTS
   ============================================================ */
.level-block { margin-bottom: 2.8rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.level-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .65rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: .35rem .8rem;
  margin-bottom: .5rem;
}

.day-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease;
}
.day-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.day-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.day-tag {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  color: var(--gold);
  font-weight: 600;
}
.day-icon {
  color: var(--gold-light);
  font-size: 1.4rem;
  opacity: .85;
}
.day-card h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: .4rem;
}
.day-meta {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
  color: var(--text-dim);
  margin-bottom: .8rem;
}
.day-copy {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.day-card-featured {
  background: linear-gradient(160deg, #4a3d1f, #201a0d);
  border-color: rgba(201,162,75,.4);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 4rem 1rem;
  background: radial-gradient(ellipse at center, rgba(201,162,75,.06), transparent 65%);
}
.cta-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 2.2rem;
}

/* ============================================================
   SUBMISSION GUIDELINES
   ============================================================ */
.guidelines-row {
  max-width: 1050px;
  margin: 0 auto;
}

.guidelines-card {
  position: relative;
  background: var(--card);
  border: 2px solid #222;
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
}

.guidelines-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0 12px,
    #111 12px 24px
  );
  border-bottom: 2px solid #222;
}
.guideline-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size:1.2rem;
  color: var(--text-muted);
  padding: .55rem 0;
  border-bottom: 1px dashed var(--border-soft);
}
.guideline-list li:last-child { border-bottom: none; }
.guideline-list i { color: var(--gold); font-size: .95rem; flex-shrink: 0; }

.perk-list { padding-top: .5rem; }
.perk-item { margin-bottom: 2.1rem; }
.perk-item h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: .4rem;
}
.perk-item p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 4rem 1rem 5rem; }
.contact-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--cream);
  margin-bottom: .6rem;
}
.contact-sub {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.6rem;
}
.contact-phone {
  font-size: 1.1rem;
  color: var(--cream);
}
.contact-phone a {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.6rem 0;
}
.footer-brand {
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--cream);
  font-weight: 600;
}
.footer-tags {
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .register-right {
    border-left: none;
    border-top: 1px dashed var(--border-soft);
  }
  .streak-track { gap: 2.5rem; }
  .register-left { padding: 2.2rem; }
}

@media (max-width: 767.98px) {
  .section-block { padding: 4rem 0; }
  .hero { padding: 1rem 1rem 2.5rem; }
  .streak-track { gap: 1.4rem; }
  .streak-line { left: 10%; right: 10%; }
  .register-left { padding: 2rem 1.5rem; }
  .countdown { justify-content: center; }
  .day-card-top { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle-field { animation: none; }
  .scene-card, .day-card, .btn-gold-solid { transition: none; }
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.marquee-logo {
  width: 920px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .marquee-logo {
    width: 180px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .marquee-logo {
    width: 240px;
  }
}
/* .marquee-logo {
  max-width: 100%;
  width: 920px;
  height: auto;
  display: block;
}

/* Tablet */
/* @media (max-width: 991px) {
  .marquee-logo {
    width: 180px;
  }
} */

/* Mobile */
/* @media (max-width: 767px) {
  .marquee-logo {
    width: 240px;
  }
} */ */
/* .day-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.day-icon-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .day-icon {
    width: 50px;
    height: 50px;
  }

  .day-icon-img {
    width: 26px;
    height: 26px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .day-icon {
    width: 44px;
    height: 44px;
  }

  .day-icon-img {
    width: 42px;
    height: 42px;
  }
}
.hero-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-logo img {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .hero-logo img {
    width: 110px;
  }
}