/* ============================================
   THE CLUB — Marketing Site
   Hosted on theclubgolf.co (GoDaddy)
   ============================================ */

:root {
  --green-deep: #0F2818;
  --green-mid: #1B3A2A;
  --green-accent: #2A5A3E;
  --gold: #C9A961;
  --gold-bright: #E4C77E;
  --cream: #F3F0E8;
  --paper: #FBF9F4;
  --ink: #1A1F1B;
  --muted: #6B7268;
  --line: rgba(26, 31, 27, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 40, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 40, 24, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 40, 24, 0.18);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--green-deep); color: var(--cream); }
.btn-primary:hover { background: var(--green-mid); opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-bright); opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(243, 240, 232, 0.5); }
.btn-outline-light:hover { background: rgba(243, 240, 232, 0.1); opacity: 1; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 40, 24, 0.92) 0%, rgba(15, 40, 24, 0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
.hero-tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
}
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(243, 240, 232, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== MARQUEE ===== */
.marquee-bar {
  background: var(--green-deep);
  color: var(--gold);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
}
.marquee-track span::after {
  content: '•';
  margin-left: 3rem;
  color: rgba(201, 169, 97, 0.3);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--green-deep); color: var(--cream); }
.section-green { background: var(--green-mid); color: var(--cream); }

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 1rem;
}
.section-tag.gold { color: var(--gold); }
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--cream); }
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-dark .section-sub,
.section-green .section-sub { color: rgba(243, 240, 232, 0.7); }
.section-sub.light { color: rgba(243, 240, 232, 0.7); }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--green-deep);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== BENTO GAMES ===== */
.games-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 1rem;
  margin-top: 3rem;
}
.bento-large, .bento-sm, .bento-wide {
  background: rgba(243, 240, 232, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color .25s, background .25s;
}
.bento-large:hover, .bento-sm:hover, .bento-wide:hover {
  border-color: rgba(201, 169, 97, 0.4);
  background: rgba(243, 240, 232, 0.07);
}
.bento-large { grid-column: span 2; grid-row: span 2; padding: 2.5rem; }
.bento-wide { grid-column: span 4; }
.bento-icon {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.bento-large .bento-icon { font-size: 3.5rem; }
.bento-large h3 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.bento-sm h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.bento-wide h3 { font-size: 1.1rem; color: rgba(243, 240, 232, 0.85); text-align: center; font-style: italic; font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.02em;}
.bento-sm p, .bento-large p { color: rgba(243, 240, 232, 0.65); font-size: 0.9rem; }
.bento-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bento-tags span {
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  text-align: left;
  padding: 1rem 0;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

/* ===== STORE BADGES ===== */
.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-deep);
  color: rgba(243, 240, 232, 0.7);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand { max-width: 280px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 0.75rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(243, 240, 232, 0.08);
  font-size: 0.8rem;
  color: rgba(243, 240, 232, 0.4);
}

/* ===== LEGAL PAGE (Privacy / Terms) ===== */
.legal {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--paper);
  min-height: 100vh;
}
.legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.legal-header .section-tag { color: var(--gold); }
.legal-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}
.legal-header .updated {
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-body h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--green-deep);
}
.legal-body h3 {
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}
.legal-body p, .legal-body li {
  color: #3a3f3b;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body strong { color: var(--green-deep); font-weight: 600; }
.legal-body a {
  color: var(--green-accent);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.legal-notice {
  background: rgba(201, 169, 97, 0.08);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}
.legal-notice p { margin-bottom: 0; font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .games-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
  .bento-wide { grid-column: span 2; }
  .footer-inner { flex-direction: column; }
}
