/* ==========================================================
   earn²keep — landing site styles
   Brand: Variation F (Teal & Coral)
   Phase 6 / Slice 6.1.1 — header/footer polish + readability bumps
   ========================================================== */

:root {
  /* Brand colors */
  --e2k-bg:           #041418;
  --e2k-bg-2:         #082329;
  --e2k-bg-3:         #0c2f37;
  --e2k-coral:        #ff755f;
  --e2k-coral-2:      #ff8b78;
  --e2k-cyan:         #35d5df;
  --e2k-cyan-dim:     #1e8e95;

  /* Text */
  --e2k-text:         #e8f1f3;
  --e2k-text-dim:     #9bb1b6;
  --e2k-text-muted:   #7a939a;   /* brightened from #5e7a80 for better contrast on small text */

  /* Borders */
  --e2k-border:        rgba(53, 213, 223, 0.12);
  --e2k-border-strong: rgba(53, 213, 223, 0.28);

  /* Type */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:    1200px;
  --container-px: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--e2k-text);
  background: var(--e2k-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* Anchored sections — leave room for sticky header when jumping via nav links */
section[id] {
  scroll-margin-top: 90px;
}

/* ---------- Wordmark ---------- */
/* Slice 6.14 — bigger header logo with cyan tagline below, matching the
   app dashboard's header brand block. .logo (the link wrapper) becomes
   a vertical flex column so .logo-mark and .logo-tagline stack. */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.625rem;        /* Slice 6.16 — ~42px desktop, up from 2.125rem */
  letter-spacing: -0.025em;
  color: var(--e2k-text);
  line-height: 1;
}
.logo-mark sup {
  color: var(--e2k-coral);
  font-size: 0.62em;
  top: -0.6em;
  margin: 0 1px;
  font-weight: 800;
}
.logo-tagline {
  font-size: 0.8rem;          /* Slice 6.16 — ~13px desktop, up from 0.7rem */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e2k-cyan);
  margin-top: 0.55rem;        /* Slice 6.16 — bumped slightly for the bigger mark */
}

/* Don't show the tagline inside the FOOTER's logo (the footer already has
   its own .footer-tagline section). Belt-and-suspenders — the footer
   markup doesn't include .logo-tagline either, but this hides it just in
   case future edits add it accidentally. */
.site-footer .logo-tagline { display: none; }

/* ---------- Eyebrow (pill chip) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(53, 213, 223, 0.10);
  border: 1px solid rgba(53, 213, 223, 0.22);
  color: var(--e2k-cyan);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.95rem; }
.btn-lg { padding: 1.1rem 2rem;     font-size: 1.1rem;  }

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--e2k-coral);
  color: #1a0a05;
  box-shadow: 0 8px 24px -8px rgba(255, 117, 95, 0.55);
}
.btn-primary:hover {
  background: var(--e2k-coral-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(255, 117, 95, 0.7);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--e2k-text);
  border-color: var(--e2k-border-strong);
}
.btn-ghost:hover {
  background: rgba(53, 213, 223, 0.08);
  border-color: var(--e2k-cyan);
  color: var(--e2k-cyan);
}

/* ---------- Top ticker ---------- */
.ticker {
  background: linear-gradient(90deg, var(--e2k-cyan-dim), #0d4047);
  border-bottom: 1px solid rgba(53, 213, 223, 0.3);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  overflow: hidden;
}
.ticker-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.65rem var(--container-px);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #e9fbfd;
}
.ticker strong { color: #ffffff; font-weight: 700; }
.ticker-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--e2k-coral);
  box-shadow: 0 0 0 0 rgba(255, 117, 95, 0.75);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 117, 95, 0.75); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 117, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 117, 95, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 20, 24, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--e2k-border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 102px;            /* Slice 6.16 — up from 90px to fit bigger logo */
  gap: 1.5rem;
}
.header-nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  flex: 1 1 auto;
  justify-content: center;
}
.header-nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--e2k-text-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.header-nav-links a:hover { color: var(--e2k-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.header-signin {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--e2k-text-dim);
  transition: color 0.15s ease;
}
.header-signin:hover { color: var(--e2k-text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(53, 213, 223, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 18% 85%, rgba(255, 117, 95, 0.13), transparent 60%),
    var(--e2k-bg);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 213, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 213, 223, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, black, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1240px;
  position: relative;
}
.hero-text > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.15s; }
.hero-text > *:nth-child(3) { animation-delay: 0.25s; }
.hero-text > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 1.4rem 0 1.5rem;
  color: var(--e2k-text);
}
.hero-title .accent {
  color: var(--e2k-coral);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--e2k-text-dim);
  max-width: 560px;
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Hero bento grid ---------- */
.hero-bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: 175px;
  gap: 1rem;
  position: relative;
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
}
.bento-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--e2k-border);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -100px;
  top: -100px;
  background: rgba(53, 213, 223, 0.10);
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}
.bento-large {
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
}
.bento-label {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--e2k-cyan);
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 2;
}
.bento-number {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--e2k-text);
  line-height: 0.95;
  position: relative;
  z-index: 2;
}
.bento-text {
  font-size: 0.88rem;
  color: var(--e2k-text-dim);
  margin: 0.85rem 0 0;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}
.bento-progress {
  margin-top: auto;
  padding-top: 1.25rem;
  position: relative;
  z-index: 2;
}
.bento-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--e2k-text-dim);
}
.bento-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bento-progress-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, var(--e2k-cyan), var(--e2k-coral));
  border-radius: 999px;
}
.bento-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}
.bento-activity li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--e2k-text);
}
.bento-activity time {
  color: var(--e2k-text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Four-things "not just fundraising" identity section ---------- */
.four-things {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--e2k-bg);
  border-top: 1px solid var(--e2k-border);
}
.four-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.four-card {
  position: relative;
  padding: 2rem 1.6rem 1.85rem;
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.four-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--e2k-cyan), transparent);
  opacity: 0.55;
}
.four-card:hover {
  transform: translateY(-3px);
  border-color: var(--e2k-border-strong);
  background: #0e353e;
}
.four-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--e2k-cyan);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.four-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 0.65rem;
  color: var(--e2k-text);
  line-height: 1.25;
}
.four-text {
  font-size: 0.98rem;
  color: var(--e2k-text-dim);
  margin: 0;
  line-height: 1.55;
}
.four-closer {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 820px;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--e2k-text-dim);
  line-height: 1.45;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 117, 95, 0.06);
  border: 1px solid rgba(255, 117, 95, 0.22);
  border-radius: 14px;
}
.four-closer strong {
  color: var(--e2k-text);
  font-weight: 700;
}

/* ---------- Value prop section ---------- */
.value-prop {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, var(--e2k-bg) 0%, var(--e2k-bg-2) 100%);
  border-top: 1px solid var(--e2k-border);
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0.75rem 0 1rem;
  color: var(--e2k-text);
}
.section-lede {
  font-size: 1.15rem;
  color: var(--e2k-text-dim);
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.65;
  text-align: center;
}
/* Slice 6.17 — when two section-ledes stack (e.g., a two-paragraph
   "what is" explanation), give them proper breathing room. */
.section-lede + .section-lede {
  margin-top: 1rem;
}
.section-lede strong {
  color: var(--e2k-text);
  font-weight: 700;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.role-card {
  position: relative;
  padding: 2.5rem 2rem 2.25rem;
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--e2k-cyan), transparent);
  opacity: 0.55;
}
.role-card:hover {
  transform: translateY(-3px);
  border-color: var(--e2k-border-strong);
  background: #0e353e;
}
.role-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--e2k-cyan);
  line-height: 1;
  margin-bottom: 1rem;
}
.role-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 0.7rem;
  color: var(--e2k-text);
}
.role-text {
  font-size: 1.07rem;
  color: var(--e2k-text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Audience section (For Organizers, etc.) ---------- */
.audience-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--e2k-bg);
  border-top: 1px solid var(--e2k-border);
  position: relative;
}
.audience-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(53, 213, 223, 0.07), transparent 60%),
    radial-gradient(ellipse 45% 35% at 15% 80%, rgba(255, 117, 95, 0.06), transparent 60%);
  pointer-events: none;
}
.audience-section > .container { position: relative; z-index: 1; }

.audience-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.role-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  padding: 0;
}
.role-tile {
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.role-tile:hover {
  transform: translateY(-2px);
  border-color: var(--e2k-border-strong);
  background: #0e353e;
}
.role-tile-other {
  background: linear-gradient(135deg, #0c2f37, #103942);
  border-color: rgba(53, 213, 223, 0.2);
}
.role-tile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--e2k-text);
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.role-tile-context {
  font-size: 0.97rem;
  color: var(--e2k-text-dim);
  line-height: 1.45;
}

.flow-block {
  border-top: 1px solid var(--e2k-border);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.flow-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  color: var(--e2k-text);
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-step {
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 16px;
  padding: 1.85rem 1.6rem 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.flow-step:hover {
  transform: translateY(-2px);
  border-color: var(--e2k-border-strong);
}
.flow-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--e2k-cyan), #1d4a52);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--e2k-bg);
  margin-bottom: 1.25rem;
  line-height: 1;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 20px -8px rgba(53, 213, 223, 0.45);
}
.flow-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--e2k-text);
  letter-spacing: -0.01em;
}
.flow-step p {
  margin: 0;
  font-size: 1rem;
  color: var(--e2k-text-dim);
  line-height: 1.55;
}

/* Benefit grid (used in For Players: "What you earn") */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  padding: 0;
}
.benefit-card {
  position: relative;
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 18px;
  padding: 1.85rem 1.6rem 1.75rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--e2k-cyan), transparent);
  opacity: 0.55;
}
.benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--e2k-border-strong);
  background: #0e353e;
}
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 0.55rem;
  color: var(--e2k-text);
}
.benefit-text {
  font-size: 1rem;
  color: var(--e2k-text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ---------- How it works (Camp + Tournament) ---------- */
.how-it-works-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, var(--e2k-bg) 0%, var(--e2k-bg-2) 100%);
  border-top: 1px solid var(--e2k-border);
  position: relative;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}

.event-card {
  position: relative;
  background: var(--e2k-bg-3);
  border: 1px solid var(--e2k-border);
  border-radius: 20px;
  padding: 2.4rem 2rem 2.1rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.7;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--e2k-border-strong);
  background: #0e353e;
}

.event-camp::before {
  background: linear-gradient(90deg, transparent, var(--e2k-cyan), transparent);
}
.event-tournament::before {
  background: linear-gradient(90deg, transparent, var(--e2k-coral), transparent);
}

.event-type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.event-camp .event-type { color: var(--e2k-cyan); }
.event-tournament .event-type { color: var(--e2k-coral); }

.event-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 0.55rem;
  color: var(--e2k-text);
  line-height: 1.15;
}
.event-tagline {
  font-size: 1.05rem;
  color: var(--e2k-text);
  margin: 0 0 1.5rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.event-features {
  list-style: none;
  margin: 0 0 1.85rem;
  padding: 0;
  flex-grow: 1;
}
.event-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--e2k-text-dim);
  font-size: 1rem;
  line-height: 1.5;
}
.event-features li:last-child { margin-bottom: 0; }
.event-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.event-camp .event-features li::before       { background: var(--e2k-cyan); }
.event-tournament .event-features li::before { background: var(--e2k-coral); }
.event-features li strong {
  color: var(--e2k-text);
  font-weight: 700;
}

.event-best-for {
  border-top: 1px solid var(--e2k-border);
  padding-top: 1.35rem;
}
.event-best-for-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.event-camp .event-best-for-label       { color: var(--e2k-cyan); }
.event-tournament .event-best-for-label { color: var(--e2k-coral); }
.event-best-for p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--e2k-text-dim);
  line-height: 1.5;
}

/* ---------- Pricing ---------- */
.pricing-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--e2k-bg-2);
  border-top: 1px solid var(--e2k-border);
  position: relative;
}

/* Pricing cards reuse .event-card base; these add cyan/coral accents */
.pricing-camp::before {
  background: linear-gradient(90deg, transparent, var(--e2k-cyan), transparent);
}
.pricing-camp .event-type                  { color: var(--e2k-cyan); }
.pricing-camp .pricing-features li::before {
  background: rgba(53, 213, 223, 0.15);
  border-color: rgba(53, 213, 223, 0.45);
}
.pricing-camp .pricing-features li::after  { color: var(--e2k-cyan); }

.pricing-tournament::before {
  background: linear-gradient(90deg, transparent, var(--e2k-coral), transparent);
}
.pricing-tournament .event-type                  { color: var(--e2k-coral); }
.pricing-tournament .pricing-features li::before {
  background: rgba(255, 117, 95, 0.15);
  border-color: rgba(255, 117, 95, 0.45);
}
.pricing-tournament .pricing-features li::after  { color: var(--e2k-coral); }

/* Big price display */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.5rem 0 0.85rem;
  flex-wrap: wrap;
}
.pricing-price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--e2k-text);
  line-height: 1;
}
.pricing-price-period {
  font-size: 1rem;
  color: var(--e2k-text-dim);
  font-weight: 600;
}

/* Checkmark feature list (pricing-only — distinct from event-features dot bullets) */
.pricing-features {
  list-style: none;
  margin: 0 0 1.85rem;
  padding: 0;
  flex-grow: 1;
}
.pricing-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--e2k-text-dim);
  font-size: 1rem;
  line-height: 1.55;
}
.pricing-features li:last-child { margin-bottom: 0; }
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border: 1.5px solid;
  border-radius: 50%;
}
.pricing-features li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-note {
  margin: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--e2k-border);
  font-size: 0.92rem;
  color: var(--e2k-text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   PRICING — 3-column desktop layout + featured-tier emphasis
   ============================================================ */

/* Force exactly 3 columns at desktop (overrides .event-grid's auto-fit) */
@media (min-width: 960px) {
  .pricing-section .event-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Subtle radial gradient on every pricing card — atmosphere instead of flat dark */
.pricing-section .event-card {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(53, 213, 223, 0.05), transparent 70%),
    var(--e2k-bg-3);
}

.pricing-section .event-card.pricing-tournament {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 117, 95, 0.05), transparent 70%),
    var(--e2k-bg-3);
}

/* Featured tier (Camp) — cyan glow, lifted shadow, persistent emphasis */
.pricing-section .event-card.featured {
  border-color: rgba(53, 213, 223, 0.42);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(53, 213, 223, 0.13), transparent 70%),
    var(--e2k-bg-3);
  box-shadow:
    0 0 0 1px rgba(53, 213, 223, 0.18),
    0 24px 48px -28px rgba(53, 213, 223, 0.45);
}
.pricing-section .event-card.featured::before {
  height: 3px;
  opacity: 1;
}
.pricing-section .event-card.featured:hover {
  border-color: rgba(53, 213, 223, 0.58);
  box-shadow:
    0 0 0 1px rgba(53, 213, 223, 0.32),
    0 28px 56px -28px rgba(53, 213, 223, 0.6);
}

/* "Most Popular" pill badge in the featured card's top-right */
.pricing-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--e2k-cyan);
  color: var(--e2k-bg);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 14px -4px rgba(53, 213, 223, 0.45);
}

/* ---------- Inline CTA (mid-page conversion points) ---------- */
.inline-cta {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.inline-cta-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--e2k-text);
  line-height: 1.25;
}

/* ---------- Closing CTA box ---------- */
.cta-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  background: var(--e2k-bg);
  border-top: 1px solid var(--e2k-border);
}
.cta-box {
  text-align: center;
  border-radius: 32px;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 213, 223, 0.15), transparent 45%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid var(--e2k-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  max-width: 880px;
  margin: 0 auto;
}
.cta-box .eyebrow {
  margin-bottom: 1.4rem;
}
.cta-box-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.024em;
  margin: 0 0 1rem;
  color: var(--e2k-text);
  line-height: 1.05;
}
.cta-box-text {
  font-size: 1.1rem;
  color: var(--e2k-text-dim);
  margin: 0 auto 2rem;
  max-width: 580px;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--e2k-bg);
  border-top: 1px solid var(--e2k-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--e2k-border);
}

.footer-brand-col .logo-mark { margin-bottom: 1rem; }

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--e2k-cyan);
  text-transform: uppercase;
}

.footer-pitch {
  margin: 0;
  font-size: 1rem;
  color: var(--e2k-text-dim);
  line-height: 1.55;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e2k-text);
  margin: 0 0 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a {
  font-size: 1rem;
  color: var(--e2k-text-dim);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--e2k-cyan); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--e2k-text-muted);
}

/* Slice 6.13 — social icons (in footer brand column) */
.footer-social {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--e2k-border, rgba(255, 255, 255, 0.08));
  color: var(--e2k-text-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover {
  color: var(--e2k-cyan);
  background: rgba(53, 213, 223, 0.08);
  border-color: rgba(53, 213, 223, 0.4);
  transform: translateY(-1px);
}
.footer-social svg { display: block; }

/* Slice 6.13 — legal link row in footer bottom */
.footer-legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9rem;
}
.footer-legal-links a {
  color: var(--e2k-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-legal-links a:hover { color: var(--e2k-cyan); }

/* ============================================
   Slice 6.13 — Subpage layouts (about, help, sitemap, legal)
   ============================================ */

/* Main wrapper for subpages — uses same header/footer as index, but
   centers a single readable content column. */
.subpage-main {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 6rem);
}
.subpage-container {
  max-width: 820px;
  margin: 0 auto;
}
.subpage-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e2k-cyan);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.subpage-title {
  font-family: var(--e2k-display, "Sora", sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 1rem;
}
.subpage-lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--e2k-text-muted);
  margin: 0 0 2.5rem;
}
.subpage-section {
  margin-bottom: 2.5rem;
}
.subpage-section > h2 {
  font-family: var(--e2k-display, "Sora", sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 0.85rem;
}
.subpage-section > h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}
.subpage-section p,
.subpage-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--e2k-text);
}
.subpage-section p { margin: 0 0 1rem; }
.subpage-section ul,
.subpage-section ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.subpage-section li { margin-bottom: 0.5rem; }
.subpage-section strong { color: var(--e2k-text); font-weight: 700; }
.subpage-section a {
  color: var(--e2k-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Slice 6.13 — Big "LAWYER REVIEW REQUIRED" banner on every legal page */
.legal-banner {
  background: linear-gradient(135deg, rgba(255, 117, 95, 0.16), rgba(255, 117, 95, 0.08));
  border: 1.5px solid rgba(255, 117, 95, 0.5);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.legal-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.legal-banner-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--e2k-coral);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.legal-banner-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--e2k-text);
  margin: 0;
}

/* Slice 6.13 — Help/FAQ details + summary */
.faq-item {
  border: 1px solid var(--e2k-border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--e2k-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--e2k-cyan);
  font-weight: 400;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item > div {
  padding: 0 1.25rem 1rem;
  color: var(--e2k-text-muted);
  line-height: 1.65;
  font-size: 0.97rem;
}
.faq-group-title {
  font-family: var(--e2k-display, "Sora", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  color: var(--e2k-cyan);
}
.faq-group-title:first-child { margin-top: 0; }

/* Slice 6.13 — Sitemap layout */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.sitemap-section {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--e2k-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.sitemap-section h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--e2k-cyan);
}
.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-section li { margin-bottom: 0.4rem; }
.sitemap-section li a {
  color: var(--e2k-text);
  text-decoration: none;
  font-weight: 500;
}
.sitemap-section li a:hover { color: var(--e2k-cyan); }
.sitemap-section li .sitemap-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--e2k-text-muted);
  font-weight: 400;
  margin-top: 0.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header-nav-links { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }
  .hero-text {
    text-align: center;
  }
  .hero-text .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-bento { max-width: 600px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 2rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-signin { display: none; }
  .ticker-inner  { font-size: 0.82rem; }

  /* Slice 6.16 — scale the bigger logo down on mobile (still bigger than 6.14) */
  .header-row    { height: 86px; }            /* was 78px */
  .logo-mark     { font-size: 2rem; }         /* was 1.75rem */
  .logo-tagline  { font-size: 0.7rem; letter-spacing: 0.16em; margin-top: 0.4rem; }

  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .hero-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.85rem;
  }
  .bento-large { grid-row: auto; }
  .bento-wide  { grid-column: auto; }
  .bento-card  { padding: 1.25rem; min-height: 150px; }

  .cta-box .btn-lg { width: 100%; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
