/* ======================================================
   Just A Minute Festival – Cinematic Golden Hour Theme
   File: jam-cinematic.css
   ====================================================== */

/* =====================
   DESIGN TOKENS
   ===================== */

:root {
  /* Core Palette */
  --obsidian: #1A1A1D;     /* Primary background */
  --cinema-gold: #FFB400;  /* Primary accent / CTAs */
  --sunset-orange: #FF4D00;/* Urgency / deadlines */
  --soft-cloud: #F5F5F5;   /* Primary text on dark */

  /* Derived */
  --text-muted: rgba(245,245,245,0.75);
  --border-subtle: rgba(255,255,255,0.12);
  --shadow-soft: 0 20px 40px rgba(0,0,0,0.45);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* =====================
   RESET & BASE
   ===================== */

* {
  box-sizing: border-box;
}

/*
html, body {
  margin: 0;
  padding: 0;
}
*/

body {
  font-family: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif;
  background-color: var(--obsidian);
  color: var(--soft-cloud);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.08em;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.4rem;
}

p {
/*  max-width: 720px; */
  color: var(--text-muted);
}

strong {
  color: var(--soft-cloud);
}

/* =====================
   LINKS & BUTTONS
   ===================== */

a {
  color: var(--cinema-gold);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--cinema-gold);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,180,0,0.35);
}

.btn-outline {
  border: 2px solid var(--cinema-gold);
  color: var(--cinema-gold);
}

.btn-outline:hover {
  background: var(--cinema-gold);
  color: #000;
}

.btn-urgent {
  background: var(--sunset-orange);
  color: #000;
}

/* =====================
   LAYOUT HELPERS
   ===================== */

.container {
  max-width: 1200px;
  margin: auto;
/*  padding: 4rem 2rem; */
  padding: 1rem 2rem;
}

.section {
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =====================
   HERO / LANDING
   ===================== */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top, rgba(255,180,0,0.15), transparent 60%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.15rem;
}

/* =====================
   COUNTDOWN (TICK-TOCK)
   ===================== */

.countdown {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.countdown-unit {
  text-align: center;
}

.countdown-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--cinema-gold);
}

.countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================
   FEATURED WINNERS GRID
   ===================== */

.winner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.winner-card video,
.winner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cinema-gold);
  color: #000;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
}

/* =====================
   HOW IT WORKS
   ===================== */

.step {
  border-left: 3px solid var(--cinema-gold);
  padding-left: 1.5rem;
}

/* =====================
   GALLERY / ARCHIVE
   ===================== */

.gallery-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.gallery-thumb {
  min-width: 260px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

/* =====================
   SUBMISSION FORM
   ===================== */

.form-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-item.complete {
  color: var(--cinema-gold);
}

/* =====================
   FOOTER (60-SECOND EASTER EGG)
   ===================== */

footer {
  border-top: 1px solid var(--border-subtle);
/*  padding: 3rem 2rem; */
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.minute-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--cinema-gold);
  color: var(--cinema-gold);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .container {
    padding: 3rem 1.5rem;
  }

  .gallery-thumb {
    min-width: 220px;
  }
}
