@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --ink: #1c2321;
  --sand: #f2ede4;
  --sunset: #f1c7a2;
  --coral: #b5654a;
  --teal: #2a5f68;
  --mint: #d8ebe4;
  --gold: #d5a253;
  --pine: #2e4a3d;
  --wine: #6d3a3a;
  --shadow: 0 20px 50px rgba(28, 35, 33, 0.16);
  --radius-lg: 28px;
  --radius-sm: 14px;
  --paper: rgba(255, 255, 255, 0.88);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(42, 95, 104, 0.25), transparent 50%),
    radial-gradient(circle at 85% 5%, rgba(213, 162, 83, 0.25), transparent 55%),
    radial-gradient(circle at 70% 85%, rgba(109, 58, 58, 0.2), transparent 50%),
    linear-gradient(160deg, #eef3f2 0%, #f2ede4 55%, #f4e3d4 100%);
  min-height: 100vh;
}

.game-body {
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 74, 61, 0.18), transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(109, 58, 58, 0.2), transparent 50%),
    linear-gradient(160deg, #eef3f2 0%, #f6efe7 60%, #f4e3d4 100%);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(242, 237, 228, 0.86);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(31, 26, 23, 0.15);
  background: #f7efe5;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 28px 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.game-shell {
  display: grid;
  gap: 28px;
}

.game-hero {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.game-panel {
  display: grid;
  gap: 14px;
}

.game-label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.game-label input,
.game-label textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(46, 74, 61, 0.2);
  font-family: inherit;
  font-size: 1rem;
}

.game-options {
  display: grid;
  gap: 8px;
}

.game-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(46, 74, 61, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.game-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.timer {
  min-width: 48px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(109, 58, 58, 0.12);
  color: var(--wine);
  font-variant-numeric: tabular-nums;
}

.game-room-code {
  font-size: 1.2rem;
  letter-spacing: 0.3rem;
}

.game-status {
  font-size: 0.95rem;
  color: rgba(28, 35, 33, 0.75);
}

.game-question {
  display: grid;
  gap: 12px;
}

.answer-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.answer {
  min-height: 44px;
}

.answer-correct {
  background: var(--gold);
  border-color: rgba(28, 35, 33, 0.2);
}

.board-body {
  background:
    radial-gradient(circle at 20% 20%, rgba(42, 95, 104, 0.2), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(213, 162, 83, 0.2), transparent 50%),
    linear-gradient(160deg, #eff4f2 0%, #f6efe7 55%, #f2e2d3 100%);
}

.board-shell {
  display: grid;
  gap: 24px;
}

.board-stage {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.board-question {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.board-option {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(46, 74, 61, 0.18);
  font-weight: 600;
}

.board-correct {
  background: var(--gold);
}

.board-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bingo-shell {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.bingo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bingo-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46, 74, 61, 0.12);
  font-weight: 600;
}

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.bingo-cell {
  border: 1px solid rgba(46, 74, 61, 0.2);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 90px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bingo-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(28, 35, 33, 0.12);
}

.bingo-cell.marked {
  background: rgba(213, 162, 83, 0.35);
  border-color: rgba(213, 162, 83, 0.7);
}

.host-boards {
  display: grid;
  gap: 16px;
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.host-board {
  border: 1px solid rgba(46, 74, 61, 0.15);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.host-board-header {
  font-weight: 600;
  margin-bottom: 10px;
}

.host-board-header.winner {
  color: var(--wine);
}

.host-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 6px;
}

.host-cell {
  font-size: 0.7rem;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(46, 74, 61, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.host-cell.marked {
  background: rgba(213, 162, 83, 0.4);
  border-color: rgba(213, 162, 83, 0.6);
}

@media (max-width: 900px) {
  .bingo-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

.fireworks {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 50;
}

.firework {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  animation: firework 2.4s ease-out forwards;
}

@keyframes firework {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--fx), var(--fy)) scale(1.6);
    opacity: 0;
  }
}

.bingo-flash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.08em;
  color: #f7d27a;
  text-shadow: 0 10px 30px rgba(109, 58, 58, 0.35);
  opacity: 0;
  transform: scale(0.9);
  z-index: 60;
  pointer-events: none;
}

.bingo-flash.active {
  animation: bingoFlash 1.6s ease-out forwards;
}

@keyframes bingoFlash {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  20% {
    opacity: 1;
    transform: scale(1.05);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(46, 74, 61, 0.12);
}

.hero-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
  background: linear-gradient(140deg, rgba(42, 95, 104, 0.18), rgba(109, 58, 58, 0.18));
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28, 35, 33, 0.45), rgba(28, 35, 33, 0.05));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: white;
}

.hero-overlay p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(46, 74, 61, 0.12);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--pine);
  color: white;
  box-shadow: 0 12px 30px rgba(46, 74, 61, 0.35);
}

.btn-secondary {
  background: white;
  border-color: rgba(46, 74, 61, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 28px 40px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pill {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 16px 30px rgba(31, 26, 23, 0.08);
  border: 1px solid rgba(46, 74, 61, 0.08);
}

.pill h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px;
}

.section--coast {
  position: relative;
  padding-top: 70px;
}

.section--coast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(circle at 20% 20%, rgba(42, 95, 104, 0.2), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(213, 162, 83, 0.2), transparent 50%);
}

.section--mountain {
  background: linear-gradient(180deg, rgba(46, 74, 61, 0.08), rgba(242, 237, 228, 0));
  border-radius: 32px;
}

.section--vineyard {
  background: linear-gradient(180deg, rgba(109, 58, 58, 0.08), rgba(242, 237, 228, 0));
  border-radius: 32px;
}

.section h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.section p {
  margin-top: 0;
  line-height: 1.6;
}

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

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

.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-caption {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
}

.card {
  padding: 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 74, 61, 0.12);
}

.card h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.timeline {
  display: grid;
  gap: 22px;
}

.trail {
  position: relative;
  padding-left: 14px;
}

.trail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(46, 74, 61, 0.6), rgba(109, 58, 58, 0.2));
}

.day-block {
  position: relative;
}

.day-block::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 6px rgba(46, 74, 61, 0.15);
}

.day-block {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.day-block h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.event {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(31, 26, 23, 0.12);
}

.event:last-child {
  border-bottom: none;
}

.event time {
  font-weight: 600;
  color: var(--wine);
}

.experience {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.experience .card {
  position: relative;
  overflow: hidden;
}

.experience .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(46, 74, 61, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience .card:hover::after {
  opacity: 1;
}

.note {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #f5ece5;
  border: 1px solid rgba(109, 58, 58, 0.12);
}

.footer {
  padding: 40px 28px 60px;
  text-align: center;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.parallax {
  transform: translateY(0);
  transition: transform 0.6s ease;
}

.loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .event {
    grid-template-columns: 1fr;
  }

  .trail::before {
    left: 2px;
  }

  .day-block::before {
    left: -18px;
  }
}
