/* ==========================================================================
   TTHC NEIGHBORHOOD GAMES — STYLES v6 (v4 visual layer + V1 color intel)
   Brand kit: Vegas Blue (LOCKED — NO GOLD/YELLOW ANYWHERE) — matches javaquote
   Palette:
     #040818  black-navy (page bg)
     #0C2B8A  deep navy (panels)
     #3377F0  Vegas Blue (primary CTA, leader-lane accent)
     #4f8eff  Vegas Blue bright (highlights, leader-lane elements)
     #73E1FF  ice blue (accents, glow)
     #FFFFFF → #7E89A5  chrome gradient (NEIGHBORHOOD GAMES headline, hero line 1)
   Fonts: Anton (display) / Archivo (subhead) / Inter (body) / DM Mono (data)
   v4 — kills v3's gold (#FFD700) entirely. Leader lane differentiated by ice-blue
   border + Vegas Blue glow + box-shadow. Brand DO-NOT compliance restored.
   v6 (this watch) — DEFECT-COLORS fix:
     - .lane-progress-fill now paints per-school gradient via --school-primary +
       --school-accent CSS vars (injected inline on .lane by games.js)
     - .lane-medallion border picks up --school-primary (was flat var(--line))
     - .lane gets a 4px left-edge accent stripe in --school-primary
     - .lane-name ALL-CAPS letter-spacing 0.06em (V1 visual intel)
     - medallion 56→64px
   ========================================================================== */

:root {
  --bg:             #040818;
  --bg-deep:        #02040c;
  --navy:           #0C2B8A;
  --navy-soft:      #122a72;
  --vegas:          #3377F0;
  --vegas-bright:   #4f8eff;
  --ice:            #73E1FF;
  --chrome-1:       #FFFFFF;
  --chrome-2:       #7E89A5;
  --text:           #E8ECF8;
  --text-dim:       #8A93B4;
  --text-faint:     #4A5375;
  --line:           rgba(115, 225, 255, 0.18);
  --line-strong:    rgba(115, 225, 255, 0.45);
  --lane-bg:        rgba(12, 43, 138, 0.35);
  --lane-leader:    rgba(115, 225, 255, 0.10);
  --r:              10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ AMBIENT BACKDROP ============ */
.bg-felt {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(51, 119, 240, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(12, 43, 138, 0.25), transparent 70%),
    var(--bg);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle 600px at 20% 20%, rgba(115, 225, 255, 0.06), transparent 60%),
    radial-gradient(circle 700px at 80% 70%, rgba(51, 119, 240, 0.08), transparent 60%);
  pointer-events: none;
}

/* ============ HERO ============ */
.hero {
  padding: 64px 20px 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-inner { max-width: 880px; margin: 0 auto; }

/* Line 1: chrome silver/blue gradient — "THE FIRST QUARTERLY TTHC" */
.hero-line1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--chrome-2) 0%, var(--chrome-1) 50%, var(--vegas) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px;
  display: inline-block;
  width: 100%;
}

/* Line 2: chrome-silver Hunger-Games-style headline — "NEIGHBORHOOD GAMES"
   v4: NO GOLD. Chrome-silver gradient + Vegas Blue glow. Matches v2_silver.png. */
.hero-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 11vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9D2E8 45%, #7E89A5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 32px rgba(51, 119, 240, 0.35));
  margin: 0 0 24px;
}

/* Subline */
.hero-subline {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text);
  margin: 0 0 8px;
}

/* Odds line */
.hero-odds {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
  margin: 0 0 32px;
}

/* ============ CTA BUTTONS ============ */
.cta {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  border: none;
  outline: none;
}
.cta:hover  { opacity: 0.88; transform: translateY(-1px); }
.cta:active { opacity: 1;    transform: translateY(0); }

/* Chrome outlined — primary enter CTA */
.cta-primary {
  background: transparent;
  color: var(--chrome-1);
  border: 2px solid var(--vegas);
  box-shadow: 0 0 20px rgba(51, 119, 240, 0.3), inset 0 0 12px rgba(51, 119, 240, 0.05);
}
.cta-primary:hover {
  background: rgba(51, 119, 240, 0.15);
  box-shadow: 0 0 28px rgba(51, 119, 240, 0.5), inset 0 0 14px rgba(51, 119, 240, 0.1);
}

.cta-secondary {
  background: rgba(12, 43, 138, 0.45);
  color: var(--ice);
  border: 1px solid var(--line-strong);
}
.cta-secondary:hover { background: rgba(12, 43, 138, 0.7); }

.cta-enter {
  font-size: clamp(13px, 1.8vw, 15px);
  padding: 16px 36px;
}

/* ============ QC CHROME BANNER ============ */
.qc-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(90deg,
    rgba(12, 43, 138, 0) 0%,
    rgba(51, 119, 240, 0.18) 20%,
    rgba(115, 225, 255, 0.10) 50%,
    rgba(51, 119, 240, 0.18) 80%,
    rgba(12, 43, 138, 0) 100%
  );
  border-top: 1px solid rgba(115, 225, 255, 0.20);
  border-bottom: 1px solid rgba(115, 225, 255, 0.20);
  text-align: center;
}
.qc-banner span {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}
.qc-static  { color: var(--chrome-1); }
.qc-dot     { color: var(--ice); }
.qc-quarter {
  color: var(--vegas-bright);
  background: rgba(51, 119, 240, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(79, 142, 255, 0.35);
}
.qc-dash    { color: var(--text-dim); }
.qc-label   { color: var(--text-dim); }

/* ============ SHARED SECTION SCAFFOLDING ============ */
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px;
}
.section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

/* ============ LEADERBOARD ============ */
.leaderboard-section {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lb-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.lb-empty-hint {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 8px;
}
.lb-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 20px;
}

/* Lane — V6: per-school accent via --school-primary/--school-accent CSS vars
   injected inline by games.js. Fallbacks ensure the lane still paints if missing. */
.lane {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 18px;
  background: var(--lane-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--school-primary, var(--vegas));
  border-radius: var(--r);
  position: relative;
  transition: box-shadow 0.3s ease;
}
.lane.is-leader {
  background: var(--lane-leader);
  border-color: rgba(115, 225, 255, 0.55);
  border-left-color: var(--school-primary, var(--vegas-bright));
  box-shadow: 0 0 24px rgba(51, 119, 240, 0.35), inset 0 0 12px rgba(115, 225, 255, 0.08);
}

/* Rank */
.lane-rank {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  min-width: 24px;
  text-align: right;
}
.lane.is-leader .lane-rank { color: var(--ice); }

/* Medallion — V12: 60px circle inside a pill frame that picks up --school-primary tint */
.lane-medallion {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--school-primary, var(--line));
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  background: #0b1326;
}
/* Fallback if PNG missing */
.lane-medallion-fallback {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: #040818;
  border: 2px solid var(--school-primary, var(--line));
  background: var(--school-primary, var(--vegas));
}

/* Name + progress */
.lane-info {
  flex: 1;
  min-width: 0;
}
/* V12 — District prefix above the school name. Small, uppercase, school-primary tint. */
.lane-district {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--school-primary, var(--vegas-bright));
  opacity: 1;
  margin-bottom: 3px;
  line-height: 1;
  font-weight: 700;
}
.lane-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.9vw, 16px);
  letter-spacing: 0.01em;
  /* text-transform removed 2026-06-25 W-CONN-3 — Commander locked title case for school short names */
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lane.is-leader .lane-name {
  color: var(--chrome-1);
}
/* V12 — mascot reads as a tag inline with school name.
   2026-06-25 update: switched to --school-primary (which is now contrast-audited)
   because some secondaries are near-black and unreadable on the dark page bg
   (e.g. Helen Hunt Jackson secondary #001030). */
.lane-mascot {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.78em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--school-primary, var(--text-faint));
  margin-left: 8px;
  opacity: 0.95;
}
.lane-progress {
  margin-top: 8px;
  height: 18px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--school-primary, var(--vegas)) 12%, rgba(115,225,255,0.06)) 0%,
    rgba(115, 225, 255, 0.08) 100%);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35),
              inset 0 0 0 1px rgba(255,255,255,0.04);
}
/* V7 (DEFECT-COLORS-INTENSITY): per-school gradient on bar fill — richer.
   Three-stop gradient holds primary color through ~55% width before easing
   into the secondary, so saturated color reads at a glance even on short bars.
   --school-primary / --school-accent come from inline style on .lane (games.js).
   Fallback chain ensures the bar still paints if vars are missing. */
.lane-progress-fill {
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg,
    var(--school-primary, var(--vegas)) 0%,
    var(--school-primary, var(--vegas)) 55%,
    var(--school-accent, var(--ice)) 100%);
  transition: width 0.6s ease;
  min-width: 8px;
  box-shadow: 0 0 10px -2px var(--school-primary, var(--vegas)),
              inset 0 1px 0 rgba(255,255,255,0.22);
}
.lane.is-leader .lane-progress-fill {
  box-shadow: 0 0 14px rgba(115, 225, 255, 0.70),
              0 0 10px -2px var(--school-primary, var(--vegas)),
              inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Count */
.lane-count {
  font-family: 'DM Mono', monospace;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}
.lane.is-leader .lane-count { color: var(--ice); }

/* Leader / winner marker — Vegas Blue + ice, NEVER gold */
.lane-marker {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-left: 6px;
}
.lane-marker--leader {
  color: var(--ice);
  background: rgba(115, 225, 255, 0.12);
  box-shadow: 0 0 12px rgba(115, 225, 255, 0.45), inset 0 0 4px rgba(115, 225, 255, 0.6);
}
.lane-marker--winner {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--vegas), var(--ice));
  box-shadow: 0 0 16px rgba(51, 127, 240, 0.7), inset 0 0 6px rgba(255, 255, 255, 0.4);
}

/* ============ STORY SECTION ============ */
.story-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(12, 43, 138, 0.15), transparent 70%);
}
.story-inner { max-width: 720px; }
.story-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--ice) 0%, var(--chrome-1) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 32px;
}
.story-body p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.75;
}
.story-body p:last-child { margin-bottom: 0; }
.story-body strong { color: var(--chrome-1); }
.story-body em { font-style: italic; color: var(--ice); }
.story-close {
  margin-top: 28px !important;
  font-family: 'Archivo', sans-serif;
  font-size: 18px !important;
  color: var(--ice) !important;
}

/* ============ RULES SECTION ============ */
.rules-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.rule-card {
  background: var(--lane-bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.2s ease;
}
.rule-card:hover { border-color: var(--line-strong); }
.rule-card--accent {
  border-color: rgba(51, 119, 240, 0.45);
  background: rgba(51, 119, 240, 0.08);
}
.rule-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--vegas);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.rule-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chrome-1);
  margin: 0 0 10px;
}
.rule-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}
.rule-body strong { color: var(--text); }
.rule-body em { font-style: italic; }

/* ============ ENTRY FORM ============ */
.form-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(51, 119, 240, 0.06), transparent 70%);
}
.form-inner { max-width: 640px; }

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 20px; }
.form-row--2col { flex-direction: row; gap: 16px; }
.form-row--2col .form-field { flex: 1; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.req { color: var(--vegas); }

.form-input,
.form-select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: rgba(12, 43, 138, 0.35);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-input::placeholder { color: var(--text-faint); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A93B4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.form-select option { background: #0c1a4a; color: var(--text); }

.form-input:focus,
.form-select:focus {
  border-color: var(--vegas);
  box-shadow: 0 0 0 3px rgba(51, 119, 240, 0.18);
}
.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not([value=""]) {
  border-color: rgba(255, 80, 80, 0.5);
}
.form-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
}

.form-actions { padding-top: 8px; }
.cta-submit {
  width: 100%;
  font-size: 15px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.form-success {
  text-align: center;
  padding: 36px 24px;
  background: rgba(12, 43, 138, 0.30);
  border: 1px solid rgba(115, 225, 255, 0.30);
  border-radius: var(--r);
}
.success-icon {
  font-size: 40px;
  color: var(--ice);
  margin-bottom: 12px;
}
.success-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9D2E8 50%, #7E89A5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.success-body {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 12px;
}

/* Junk mail notice */
.junk-notice {
  background: rgba(255,200,50,0.08);
  border: 1px solid rgba(255,200,50,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0;
}
.junk-notice-text {
  font-size: 14px;
  color: #d4b84a;
  margin: 0;
  line-height: 1.6;
}
.junk-notice-text strong {
  color: #f0d060;
}

/* Share panel — v9 inline share code display */
.share-panel {
  margin: 20px auto 16px;
  padding: 20px 18px;
  background: linear-gradient(135deg, rgba(51, 119, 240, 0.18) 0%, rgba(115, 225, 255, 0.12) 100%);
  border: 1px solid rgba(115, 225, 255, 0.45);
  border-radius: var(--r);
  max-width: 480px;
}
.share-panel-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ice);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.share-panel-code {
  display: block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  background: rgba(4, 8, 24, 0.55);
  border: 1px solid rgba(115, 225, 255, 0.35);
  border-radius: 8px;
  padding: 14px 12px;
  margin: 0 0 14px;
  user-select: all;
}
.share-panel-sublabel {
  font-size: 13px;
  color: var(--text);
  opacity: 0.85;
  margin: 0 0 6px;
}
.share-panel-link {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--vegas);
  word-break: break-all;
  text-decoration: underline;
  margin: 0 0 12px;
}
.share-panel-link:hover { color: var(--ice); }
.share-panel-note {
  font-size: 12px;
  color: var(--text);
  opacity: 0.65;
  margin: 16px 0 0;
  font-style: normal;
}

/* v10 — paste-ready Facebook block */
.share-fb-block {
  margin: 18px 0 4px;
  padding: 16px 14px;
  background: rgba(4, 8, 24, 0.45);
  border: 1px solid rgba(115, 225, 255, 0.25);
  border-radius: 10px;
  text-align: left;
}
.share-fb-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ice);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.share-fb-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #FFFFFF;
  background: rgba(4, 8, 24, 0.65);
  border: 1px solid rgba(115, 225, 255, 0.30);
  border-radius: 8px;
  padding: 12px 12px;
  margin: 0 0 12px;
  resize: vertical;
  min-height: 180px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
.share-fb-textarea:focus {
  border-color: var(--ice);
  box-shadow: 0 0 0 2px rgba(115, 225, 255, 0.18);
}
.share-fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
}
.share-fb-actions .cta {
  flex: 1 1 160px;
  text-align: center;
  font-size: 14px;
  padding: 12px 14px;
}
.share-fb-copy.is-copied {
  background: var(--ice);
  color: #040818;
}
.share-fb-hint {
  font-size: 12px;
  color: var(--text);
  opacity: 0.70;
  margin: 0;
}
@media (max-width: 480px) {
  .share-fb-actions .cta { flex: 1 1 100%; }
}

/* Error */
.form-error {
  padding: 16px 20px;
  background: rgba(180, 40, 40, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.30);
  border-radius: var(--r);
  font-size: 14px;
  color: #ff9999;
}

/* ============ BOTTOM CTA ============ */
.bottom-cta-section {
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.bottom-cta-inner { max-width: 960px; }
.bottom-cta-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text);
  margin: 0;
}
.bottom-cta-link {
  color: var(--vegas-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bottom-cta-link:hover { color: var(--ice); }

/* ============ FOOTER ============ */
.page-foot {
  padding: 36px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.foot-disclaimer {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.7;
  margin: 0 0 16px;
}
.foot-brand {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}
.foot-link {
  color: var(--ice);
  text-decoration: none;
}
.foot-link:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
  .hero { padding: 44px 16px 36px; }
  .form-row--2col { flex-direction: column; }
  .rules-grid { grid-template-columns: 1fr; }
  .qc-banner { gap: 4px; }
  .section-inner { padding: 0 16px; }
}

/* ==========================================================================
   V12 NEW SECTIONS (W-2026-06-24-A CONN-3, 2026-06-25)
   - .hero-cta-row : dual CTA row (game entry + bin quote)
   - .steps-section / .step-bar : new STEPS TO ENTER block above the rules
   ========================================================================== */

/* Hero dual CTA row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.hero-cta-row .cta {
  flex: 0 1 auto;
}
.cta-quote {
  /* Secondary CTA — outlined, less weight than primary */
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(115, 225, 255, 0.55);
}
.cta-quote:hover {
  border-color: var(--vegas-bright);
  color: var(--vegas-bright);
  background: rgba(115, 225, 255, 0.06);
}

/* STEPS TO ENTER section */
.steps-section {
  padding: 56px 0 24px;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  background: var(--lane-bg, rgba(8, 18, 38, 0.85));
  border: 1px solid rgba(115, 225, 255, 0.20);
  border-left: 4px solid var(--vegas-bright);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.step-bar:hover {
  border-left-color: #ffd24a;
  transform: translateX(2px);
}
.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vegas) 0%, var(--vegas-bright) 100%);
  color: #040818;
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px -4px var(--vegas-bright);
}
.step-body {
  flex: 1;
  min-width: 0;
}
.step-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.step-text {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15px, 2vw, 16px);
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  opacity: 0.92;
}
.step-cta {
  flex-shrink: 0;
  font-size: 13px;
  padding: 10px 18px;
  letter-spacing: 0.06em;
}

/* Mobile stacking */
@media (max-width: 640px) {
  .step-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
  .step-cta {
    align-self: stretch;
    text-align: center;
  }
}
