:root {
  --forest-900: #0a1f14;
  --forest-800: #122a1c;
  --forest-700: #1a3d28;
  --forest-600: #2d5a3d;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --cream: #f5f0e1;
  --navy: #1a2d5a;
  --fire: #c45c2a;
  --mist: rgba(245, 240, 225, 0.08);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--forest-900);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Blurred football hero background — ~40% image visibility */
.page-hero-bg {
  position: fixed;
  inset: -48px;
  background: url("../assets/hero-bg.png") center 22% / cover no-repeat;
  filter: blur(12px) saturate(1.25) brightness(0.9) contrast(1.05);
  transform: scale(1.05);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 0.60 overlay ≈ 40% photo visibility in hero area */
  background:
    linear-gradient(180deg,
      rgba(10, 31, 20, 0.52) 0%,
      rgba(10, 31, 20, 0.58) 28%,
      rgba(10, 31, 20, 0.68) 55%,
      rgba(10, 31, 20, 0.82) 78%,
      rgba(10, 31, 20, 0.92) 100%),
    radial-gradient(ellipse at 48% 18%, rgba(26, 45, 90, 0.12) 0%, transparent 50%);
}

/* subtle forest texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 90, 61, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(26, 45, 90, 0.15) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 31, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

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

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.72rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  font-size: 0.85rem;
}

.nav-links a {
  color: var(--cream);
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold-light);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tag {
  background: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8892a);
  color: var(--forest-900);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 225, 0.3);
}

/* ── Pricing strip ── */
.pricing-strip {
  background: linear-gradient(90deg, var(--forest-700), var(--navy));
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  padding: 2rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.price-card {
  padding: 1.25rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.price-card .label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.price-card.highlight {
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 12px;
}

.seats-badge {
  display: inline-block;
  background: var(--fire);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

/* ── Section titles ── */
section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  opacity: 0.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ── Date picker nav ── */
.date-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.date-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.78rem;
  transition: background 0.2s, border-color 0.2s;
  min-width: 90px;
}

.date-pill:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--gold);
  text-decoration: none;
}

.date-pill .day-date {
  font-weight: 700;
  font-size: 0.82rem;
}

.date-pill .day-round {
  opacity: 0.6;
  font-size: 0.68rem;
  margin-top: 2px;
}

.date-pill.featured-day {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.12);
}

/* ── Day cards ── */
.day-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 80px;
}

.day-card.final-day {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.12), rgba(26, 45, 90, 0.2));
}

.day-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.day-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.day-meta {
  font-size: 0.82rem;
  opacity: 0.65;
}

.day-highlight {
  display: inline-block;
  background: rgba(212, 168, 67, 0.2);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.35rem;
}

.match-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.match-item {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
}

.match-item.featured {
  border-left: 3px solid var(--gold);
}

.match-time {
  font-size: 0.78rem;
  opacity: 0.65;
}

.match-teams {
  font-weight: 600;
}

.match-result {
  font-size: 0.78rem;
  color: var(--gold-light);
  opacity: 0.85;
}

.day-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seats-left {
  font-size: 0.85rem;
  opacity: 0.75;
}

.seats-left strong {
  color: var(--gold-light);
}

.btn-book {
  background: #25d366;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-book:hover {
  background: #1fb855;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Referral ── */
.referral-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--forest-800) 100%);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.referral-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.referral-highlight {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.referral-steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.referral-steps li {
  counter-increment: steps;
  padding-left: 2.5rem;
  position: relative;
  font-size: 0.92rem;
}

.referral-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--gold);
  color: var(--forest-900);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-code-box {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.referral-code-box input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  color: var(--cream);
  font-size: 0.95rem;
  font-family: monospace;
}

.referral-code-box button {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--forest-900);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.referral-share {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-card h4 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.contact-card a.phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.contact-card a.phone:hover {
  color: var(--gold-light);
}

.note-box {
  background: rgba(196, 92, 42, 0.12);
  border: 1px solid rgba(196, 92, 42, 0.3);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  margin-top: 2rem;
}

.note-box strong {
  color: var(--fire);
}

/* ── Footer ── */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Mobile nav ── */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--forest-800);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .match-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .referral-box {
    grid-template-columns: 1fr;
  }

  .referral-highlight {
    font-size: 2.2rem;
  }

  .sound-toggle .sound-label {
    display: none;
  }
}

/* ── Floating footballs ── */
.floating-footballs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
}

.floating-ball {
  position: absolute;
  width: var(--ball-size, 36px);
  height: var(--ball-size, 36px);
  opacity: var(--ball-opacity, 0.35);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  animation: floatBall var(--ball-duration, 18s) linear infinite;
  animation-delay: var(--ball-delay, 0s);
  will-change: transform;
}

.floating-ball img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spinBall var(--spin-duration, 2.4s) linear infinite;
  animation-direction: var(--spin-direction, 1);
}

@keyframes floatBall {
  0% {
    transform: translate(-10vw, 110vh) rotate(0deg);
  }
  25% {
    transform: translate(25vw, 70vh) rotate(90deg);
  }
  50% {
    transform: translate(55vw, 35vh) rotate(180deg);
  }
  75% {
    transform: translate(80vw, 10vh) rotate(270deg);
  }
  100% {
    transform: translate(110vw, -15vh) rotate(360deg);
  }
}

@keyframes spinBall {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating-ball.path-2 {
  animation-name: floatBall2;
}

.floating-ball.path-3 {
  animation-name: floatBall3;
}

.floating-ball.path-4 {
  animation-name: floatBall4;
}

.floating-ball.path-5 {
  animation-name: floatBall5;
}

.floating-ball.path-6 {
  animation-name: floatBall6;
}

@keyframes floatBall2 {
  0% { transform: translate(110vw, 80vh) rotate(0deg); }
  33% { transform: translate(60vw, 50vh) rotate(120deg); }
  66% { transform: translate(20vw, 20vh) rotate(240deg); }
  100% { transform: translate(-15vw, -10vh) rotate(360deg); }
}

@keyframes floatBall3 {
  0% { transform: translate(-12vw, 40vh) rotate(0deg); }
  50% { transform: translate(48vw, 15vh) rotate(180deg); }
  100% { transform: translate(108vw, 55vh) rotate(360deg); }
}

@keyframes floatBall4 {
  0% { transform: translate(50vw, 115vh) rotate(0deg) scale(0.85); }
  40% { transform: translate(15vw, 60vh) rotate(160deg) scale(1); }
  70% { transform: translate(75vw, 25vh) rotate(280deg) scale(0.95); }
  100% { transform: translate(95vw, -12vh) rotate(360deg) scale(0.9); }
}

@keyframes floatBall5 {
  0% { transform: translate(-15vw, 15vh) rotate(0deg); }
  25% { transform: translate(30vw, 45vh) rotate(90deg); }
  55% { transform: translate(65vw, 75vh) rotate(200deg); }
  100% { transform: translate(115vw, 30vh) rotate(360deg); }
}

@keyframes floatBall6 {
  0% { transform: translate(20vw, -15vh) rotate(0deg); }
  35% { transform: translate(55vw, 40vh) rotate(140deg); }
  65% { transform: translate(35vw, 85vh) rotate(260deg); }
  100% { transform: translate(80vw, 110vh) rotate(360deg); }
}

/* ── Gallery sound toggle ── */
.sound-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(10, 31, 20, 0.92);
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.sound-toggle:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sound-toggle.is-playing {
  background: rgba(212, 168, 67, 0.18);
  border-color: var(--gold-light);
}

.sound-toggle .sound-on {
  display: none;
}

.sound-toggle.is-playing .sound-off {
  display: none;
}

.sound-toggle.is-playing .sound-on {
  display: inline;
}

.youtube-audio-player {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

@media (prefers-reduced-motion: reduce) {
  .floating-footballs {
    display: none;
  }
}
