/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] {
  display: none !important;
}

:root {
  --green: #17151f;
  --green-mid: #08070d;
  --green-dark: #020106;
  --ink: #020106;
  --gold: #5d4bff;
  --gold-light: #8f78ff;
  --amber: #b765ff;
  --red: #ff4f7b;
  --teal: #27d9e6;
  --white: #f8f7ff;
  --muted: #a9a5bb;
  --card-bg: rgba(255,255,255,0.045);
  --border: rgba(117,95,255,0.32);
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 70% 0%, rgba(93,75,255,0.16), transparent 32%),
    radial-gradient(circle at 10% 18%, rgba(39,217,230,0.08), transparent 28%),
    var(--green-dark);
  color: var(--white);
  line-height: 1.6;
  min-width: 320px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 31, 21, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.22);
}

.logo-text {
  color: inherit;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
}

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

.btn-nav {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

.btn-nav:hover { background: var(--gold-light) !important; }

.scroll-top-btn {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(143, 120, 255, 0.75);
  background: linear-gradient(135deg, #5d4bff, #8f42ff);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 32px rgba(93, 75, 255, 0.35);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  border-color: rgba(39, 217, 230, 0.95);
  box-shadow: 0 16px 40px rgba(93, 75, 255, 0.45);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid rgba(39, 217, 230, 0.95);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn {
    transition: none;
  }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  min-height: auto;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 88px 0 48px;
}

.hero > .hero-bg,
.hero > .hero-particles { /* keep absolute */ }

.hero-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-inner {
  width: 100%;
}

.hero-title-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 0;
}

.hero-title-panel h1 {
  width: 100%;
  max-width: none;
  margin-bottom: 20px;
}

.hero-title-panel .hero-sub {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.hero-title-panel .hero-sub:last-of-type {
  margin-bottom: 24px;
}

.hero-title-panel .hero-actions {
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}

.hero-title-panel .hero-eyebrow {
  align-self: center;
  margin-bottom: 18px;
}

.hero-cta {
  width: 100%;
  padding: 32px clamp(20px, 4vw, 48px) 0;
  text-align: center;
}

.hero-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--white);
}

.hero-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-cta .btn-large {
  margin-bottom: 8px;
}

.section-divider,
.hero-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 28px clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

.section-divider-line,
.hero-section-divider-line {
  flex: 1;
  height: 1px;
  min-width: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.2) 12%,
    rgba(201, 168, 76, 0.55) 50%,
    rgba(201, 168, 76, 0.2) 88%,
    transparent
  );
}

.section-divider-mark,
.hero-section-divider-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
  overflow: hidden;
}

.section-divider-mark img,
.hero-section-divider-mark img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-live {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 48px);
}

.hero-title-panel h1 {
  margin-bottom: 8px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(26,58,42,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0a1f15 0%, #0d2a1c 50%, #081810 100%);
}

/* felt texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Gold particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Staggered fade-in for hero content */
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s ease forwards;
}
.hero-eyebrow    { animation-delay: 0.2s; }
.hero h1         { animation-delay: 0.4s; }
.hero-sub        { animation-delay: 0.6s; }
.hero-sub + .hero-sub { animation-delay: 0.7s; }
.hero-actions    { animation-delay: 0.8s; }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  align-self: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--white);
}

/* Gold shimmer sweep on "The Felt" */
.gold-shimmer {
  color: var(--gold);
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) 35%,
    #fff8e0 50%,
    var(--gold) 65%,
    var(--gold) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% center; }
  50% { background-position: -200% center; }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(39, 217, 230, 0.5);
  background: linear-gradient(135deg, rgba(39, 217, 230, 0.16), rgba(93, 75, 255, 0.14));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(39, 217, 230, 0.14);
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(39, 217, 230, 0.85);
  background: linear-gradient(135deg, rgba(39, 217, 230, 0.24), rgba(93, 75, 255, 0.2));
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(39, 217, 230, 0.22);
}

.live-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4f7b;
  box-shadow: 0 0 0 0 rgba(255, 79, 123, 0.55);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 79, 123, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 79, 123, 0); }
}

/* ── Hero venue grid ── */
.hero-venue-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.hero-venue-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

.hero-venue-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.venue-fixture-featured {
  margin: 0 clamp(8px, 1.5vw, 16px);
  width: calc(100% - clamp(16px, 3vw, 32px));
}

.next-match-header,
.venue-preview-header {
  margin-bottom: 14px;
}

.next-match-header .section-label,
.venue-preview-header .section-label {
  margin-bottom: 10px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(93, 75, 255, 0.12);
}

.venue-preview-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.venue-preview-photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.venue-preview-copy {
  min-width: 0;
}

.next-match-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--white);
}

.next-match-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.venue-strip-label {
  margin: 18px clamp(8px, 1.5vw, 16px) 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.venue-fixture {
  display: grid;
  grid-template-columns: 25% 75%;
  width: 100%;
  min-height: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.venue-fixture:hover:not(.active) {
  border-color: rgba(143,120,255,0.55);
  background: rgba(255,255,255,0.06);
  transform: translateX(2px);
}

.venue-fixture.active {
  border-color: rgba(143,120,255,0.85);
  background: linear-gradient(90deg, rgba(93,75,255,0.18), rgba(255,255,255,0.05));
  box-shadow: 0 0 0 1px rgba(93,75,255,0.25), 0 8px 24px rgba(0,0,0,0.35);
}

.venue-fixture.is-featured .venue-fixture-name {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
}

.venue-fixture-thumb {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d0b14;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.venue-fixture-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-fixture-body {
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-width: 0;
}

.venue-fixture-name {
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-width: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.venue-fixture.active .venue-fixture-name {
  color: #fff;
}

.venue-fixture-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 10px;
  min-width: 0;
  overflow: hidden;
}

.fixture-chip {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(248,247,255,0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.fixture-day {
  color: var(--gold-light);
  border-color: rgba(143,120,255,0.35);
  background: rgba(93,75,255,0.14);
}

.fixture-town {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.fixture-time {
  color: var(--teal);
  border-color: rgba(39,217,230,0.25);
  background: rgba(39,217,230,0.08);
}

.fixture-chip-live {
  color: #ffb4c8;
  border-color: rgba(255,79,123,0.4);
  background: rgba(255,79,123,0.14);
}

.hero-preview-shell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero-venues-map {
  margin: 14px clamp(20px, 4vw, 48px) 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8e4df;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-stack .section-divider {
  margin: 8px 0 4px;
}

.hero .hero-venue-grid {
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

/* ── Live venues (bottom of page) ── */
.venues-section {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, rgba(13, 11, 20, 0.35) 0%, var(--bg) 48%);
}

.venues-section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.venues-section .hero-venue-grid {
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

.hero-leaflet-map {
  width: 100%;
  height: 260px;
  min-height: 220px;
}

.hero-preview-shell .preview-bar {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(0,0,0,0.5);
  gap: 6px;
  font-size: 0.72rem;
}

.hero-preview-shell .preview-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.hero-preview-shell .preview-dot.red { background: #ff5f56; }
.hero-preview-shell .preview-dot.yellow { background: #ffbd2e; }
.hero-preview-shell .preview-dot.green { background: #27c93f; }

.hero-preview-shell .preview-url {
  flex: 1;
  color: var(--muted);
  font-family: monospace;
  font-size: 0.68rem;
  margin-left: 8px;
}

.hero-preview-shell .preview-open {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.68rem;
}

.hero-preview-shell .preview-frame-wrap {
  position: relative;
  padding-top: 31%;
  background: #0a0a0a;
  transition: padding-top 0.35s ease;
}

.hero-preview-shell .preview-frame-wrap.is-collapsed {
  padding-top: 10%;
  min-height: 96px;
}

.hero-preview-shell .preview-frame-wrap.is-expanded {
  padding-top: 31%;
}

.hero-preview-shell .preview-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-preview-shell .preview-loading {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: #0a0a0a;
}

.preview-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 12, 10, 0.92), rgba(8, 12, 10, 0.84)),
    radial-gradient(circle at center, rgba(201, 168, 76, 0.12), transparent 60%);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.preview-start-overlay.visible {
  display: flex;
}

.preview-start-overlay:hover,
.preview-start-overlay:focus-visible {
  background:
    linear-gradient(180deg, rgba(12, 18, 14, 0.96), rgba(12, 18, 14, 0.88)),
    radial-gradient(circle at center, rgba(201, 168, 76, 0.18), transparent 60%);
  outline: 2px solid rgba(201, 168, 76, 0.45);
  outline-offset: -2px;
}

.preview-start-venue {
  display: block;
  max-width: 100%;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-start-cta {
  display: block;
  max-width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}

.hero-preview-shell .preview-spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.hero-preview-shell .preview-blocked {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  gap: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Section shared ── */
section { padding: 100px 0; }

.section-label,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 11px 28px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 20px;
  background: rgba(6, 5, 12, 0.78);
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 36px rgba(93, 75, 255, 0.22),
    0 8px 28px rgba(0, 0, 0, 0.28);
}

.section-label::before,
.hero-eyebrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(93, 75, 255, 0.95) 0%,
    rgba(143, 120, 255, 0.65) 28%,
    rgba(201, 196, 220, 0.35) 72%,
    rgba(255, 255, 255, 0.28) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 48px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 48px;
  margin-top: -32px;
}

/* ── Features ── */
.hero + .features {
  padding-top: 48px;
}

.features {
  background: var(--green-mid);
}

.features > .container {
  text-align: center;
}

.features-heading {
  margin-bottom: 40px;
}

.section-title-panel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto 56px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title-panel .section-label {
  margin-bottom: 18px;
}

.showcase-carousel-copy .section-label {
  align-self: flex-start;
}

.venue-preview-header .section-label {
  align-self: flex-start;
}

.section-title-panel h2 {
  width: 100%;
  max-width: none;
  margin-bottom: 24px;
  text-align: center;
}

.section-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 48px;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.features .section-title-panel h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  line-height: 1.1;
}

/* ── Platforms (legacy — section removed from index) ── */
.platforms {
  background: var(--green-dark);
  text-align: center;
}

.platforms h2, .platforms .section-label { text-align: center; }

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.platform-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.platform-item:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Leagues ── */
.leagues {
  background: var(--green-mid);
}

.leagues-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.leagues-text h2 { margin-bottom: 20px; }

.leagues-text p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.leagues-text strong { color: var(--white); }

.sync-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.sync-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}

.sync-row:last-of-type { border-bottom: none; }

.sync-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #1a3a2a 0%, #0a1f15 100%);
  text-align: center;
}

.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* ── Footer ── */
.footer {
  background: var(--green-dark);
  padding: 48px 0;
  text-align: center;
}

.footer-inner .logo { margin-bottom: 8px; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(160,152,128,0.5);
}

/* ── Download ── */
.download-section {
  background: var(--green-dark);
  padding: 88px 0;
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.download-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 20px;
}

.download-copy .section-label {
  margin-bottom: 16px;
}

.download-intro {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
}

.download-note {
  margin-top: 18px;
  padding: 14px 16px;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.download-note strong {
  color: var(--white);
}

.download-note a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-note a:hover {
  color: var(--gold);
}

.download-badges-panel {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 36px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.download-badges-heading {
  margin: 0 0 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.download-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(117, 95, 255, 0.45);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-badge-card:hover {
  border-color: var(--gold);
  background: rgba(93, 75, 255, 0.08);
  transform: translateY(-2px);
}

.store-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-badge {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-badge-card:hover .store-badge,
.store-badge:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-copy .section-label {
    align-self: center;
  }

  .download-intro,
  .download-note {
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .download-badges {
    grid-template-columns: 1fr;
  }
}

/* ── Live Tournament Preview ── */
/* ── Showcase Sections ── */
.showcase {
  background: var(--green-mid);
  padding: 88px 0;
  overflow: hidden;
}

.showcase-intro {
  padding: 100px 0 56px;
}

.showcase-intro .section-title-panel {
  margin-bottom: 0;
}

.showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.showcase-reverse .showcase-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.showcase-reverse .showcase-text {
  order: 2;
}

.showcase-reverse .showcase-visual {
  order: 1;
}

.showcase-text h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 20px;
}

.showcase-text .section-label {
  align-self: flex-start;
  margin-bottom: 16px;
}

.showcase-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-media {
  margin: 0;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-list li {
  color: var(--white);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ── App showcase carousel ── */
.showcase-carousel-section {
  background: var(--green-mid);
  padding: 100px 0;
  overflow: hidden;
}

.showcase-carousel-section .section-title-panel {
  margin-bottom: 56px;
}

.showcase-carousel-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.showcase-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.showcase-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.showcase-carousel-panel {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.showcase-carousel-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 22px;
}

.showcase-carousel-copy .section-label {
  margin-bottom: 16px;
}

.showcase-carousel-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-carousel-media {
  position: relative;
  min-width: 0;
}

.showcase-carousel-slide {
  margin: 0;
}

.showcase-device-frame {
  overflow: hidden;
}

.showcase-shot-wrap {
  padding: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10;
  background: #050505;
}

.device-frame-landscape .showcase-shot-wrap {
  aspect-ratio: 16 / 9;
}

.showcase-shot-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-venue-console {
  width: 100%;
  margin: 0;
}

.showcase-voice-samples-wrap {
  padding: 0 !important;
  min-height: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

.showcase-voice-samples {
  width: 100%;
  color-scheme: dark;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.1), rgba(56, 191, 164, 0.04)),
    rgba(8, 12, 10, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.voice-samples-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}

.voice-samples-header span {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.voice-samples-header .voice-wave {
  margin: 0;
  min-height: 42px;
}

.voice-sample-list {
  list-style: none;
  margin: 0;
  padding: 14px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-color: rgba(201, 168, 76, 0.45) transparent;
}

.voice-sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 40%);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
}

.voice-sample-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.voice-sample-meta strong {
  color: var(--white);
  font-size: 0.92rem;
}

.voice-sample-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

.voice-sample audio {
  width: 100%;
  height: 36px;
}

.voice-samples-note {
  margin: 0;
  padding: 10px 18px 16px;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
}

@media (max-width: 640px) {
  .voice-sample {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.showcase-rail-mock {
  width: 100%;
  border: 1px solid rgba(117, 95, 255, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 7, 14, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.rail-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(117, 95, 255, 0.28);
  font-size: 0.82rem;
}

.rail-mock-header span {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-mock-header strong {
  color: var(--white);
  font-size: 0.88rem;
}

.rail-mock-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.rail-msg {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(117, 95, 255, 0.22);
  font-size: 0.88rem;
  color: var(--muted);
}

.rail-msg strong {
  color: var(--white);
  font-size: 0.82rem;
}

.rail-msg-alt {
  margin-left: 18px;
}

.rail-msg-you {
  margin-right: 18px;
  border-color: rgba(39, 217, 230, 0.35);
  background: rgba(39, 217, 230, 0.08);
}

.rail-mock-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(117, 95, 255, 0.2);
  color: rgba(245, 240, 232, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showcase-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.showcase-carousel-btn {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 2px solid rgba(143, 120, 255, 0.75);
  background:
    linear-gradient(180deg, rgba(93, 75, 255, 0.34), rgba(39, 217, 230, 0.16)),
    rgba(8, 7, 14, 0.92);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow:
    0 12px 32px rgba(93, 75, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.showcase-carousel-arrow {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 300;
  transform: translateY(-2px);
}

.showcase-carousel-btn:hover {
  border-color: rgba(39, 217, 230, 0.95);
  background:
    linear-gradient(180deg, rgba(93, 75, 255, 0.48), rgba(39, 217, 230, 0.24)),
    rgba(8, 7, 14, 0.96);
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(93, 75, 255, 0.38),
    0 0 24px rgba(39, 217, 230, 0.18);
}

.showcase-carousel-btn:focus-visible {
  outline: 2px solid rgba(39, 217, 230, 0.95);
  outline-offset: 3px;
}

.showcase-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.showcase-carousel-dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, #5d4bff, #27d9e6);
}

/* Mobile: stacked showcase rows with alternating media placement */
.showcase-carousel.is-stack-mode .showcase-carousel-stage {
  grid-template-columns: 1fr;
  gap: 0;
}

.showcase-carousel.is-stack-mode .showcase-carousel-viewport {
  overflow: visible;
}

.showcase-carousel.is-stack-mode .showcase-carousel-track {
  flex-direction: column;
  transform: none !important;
  transition: none !important;
  width: 100%;
}

.showcase-carousel.is-stack-mode .showcase-carousel-panel {
  flex: none;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-carousel.is-stack-mode .showcase-carousel-panel:first-child {
  padding-top: 0;
}

.showcase-carousel.is-stack-mode .showcase-carousel-panel:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.showcase-carousel.is-stack-mode .showcase-carousel-panel:nth-child(even) .showcase-carousel-copy {
  order: 2;
}

.showcase-carousel.is-stack-mode .showcase-carousel-panel:nth-child(even) .showcase-carousel-media {
  order: 1;
}

.showcase-carousel.is-stack-mode .showcase-carousel-controls,
.showcase-carousel.is-stack-mode .showcase-carousel-btn {
  display: none;
}

.showcase-carousel.is-stack-mode .showcase-carousel-copy h2 {
  font-size: clamp(1.85rem, 7vw, 2.35rem);
}

.showcase-carousel.is-stack-mode .showcase-carousel-copy .section-label {
  align-self: flex-start;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.venue-noscript-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  display: grid;
  gap: 0.5rem;
}
  border: 0;
}

.showcase-visual {
  position: relative;
}

/* Device Frame */
.device-frame {
  background: #0d0d0d;
  border-radius: 16px;
  padding: 12px 12px 0 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.device-frame-landscape {
  padding-bottom: 0;
}

.device-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.device-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.device-bar .dot:nth-child(1) { background: #ff5f56; }
.device-bar .dot:nth-child(2) { background: #ffbd2e; }
.device-bar .dot:nth-child(3) { background: #27c93f; }

.device-content {
  background: #1a1a1a;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-frame-landscape .device-content {
  aspect-ratio: 16/9;
  border-radius: 8px;
}

.device-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-placeholder {
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
}

.mock-tournament,
.mock-timer,
.mock-voice {
  padding: 24px;
  align-items: stretch;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.14), rgba(56,191,164,0.06)),
    #101512;
}

.mock-screen-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.mock-clock {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 18px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}

.mock-row strong {
  color: var(--gold);
}

.mock-timer {
  text-align: center;
  align-items: center;
}

.mock-level {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

.mock-blinds {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
}

.mock-next {
  color: var(--muted);
}

.mock-voice {
  text-align: center;
  align-items: center;
}

.voice-wave {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  margin: 8px 0 16px;
}

.voice-wave span {
  width: 9px;
  height: 34px;
  border-radius: 999px;
  background: var(--gold);
  animation: voicePulse 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(2) { height: 58px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 78px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 48px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 64px; animation-delay: 0.4s; }

.mock-voice p {
  color: var(--muted);
  max-width: 320px;
}

@keyframes voicePulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── Live Tournament Preview ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-reverse .showcase-inner {
    grid-template-columns: 1fr;
  }

  .showcase-reverse .showcase-text,
  .showcase-reverse .showcase-visual {
    order: 0;
  }

  .showcase {
    padding: 64px 0;
  }

  .showcase-intro {
    padding: 80px 0 40px;
  }

  .leagues-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--green-dark);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .hamburger { display: block; }

  .hero-live {
    padding: 0 clamp(12px, 4vw, 20px);
  }

  .hero-preview-shell .preview-frame-wrap.is-expanded {
    padding-top: 38%;
  }

  .hero-preview-shell .preview-frame-wrap.is-collapsed {
    padding-top: 12%;
    min-height: 88px;
  }

  .hero { padding-top: 120px; }
}

/* ── Registration Page ── */
.reg-hero {
  min-height: 100vh;
  padding: 100px 0 80px;
  position: relative;
}

.reg-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a1f15 0%, #0d2a1c 50%, #081810 100%);
  z-index: 0;
}

.reg-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 40px;
}

.reg-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.reg-intro .hero-sub {
  margin-bottom: 32px;
}

.reg-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-perks li {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding-left: 22px;
}

.reg-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
}

/* Form card */
.reg-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.reg-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.reg-form-sub {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 600;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(160,152,128,0.5); }

.form-group textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.55;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group.required-soft label::after {
  content: ' required';
  color: var(--gold);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input.valid,
.form-group textarea.valid { border-color: #28c840; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #ff5f57; }

.form-group select option { background: #0d2a1c; color: var(--white); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 95, 87, 0.45);
  background: rgba(255, 95, 87, 0.1);
  color: #ffb4ae;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gold-link {
  color: var(--gold);
  text-decoration: none;
}
.gold-link:hover { text-decoration: underline; }

.btn-full {
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 1rem;
}

.btn-full:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.reg-login {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.reg-success {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.success-icon { font-size: 3rem; }

.reg-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.reg-success p { color: var(--muted); }

@media (max-width: 768px) {
  .reg-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .reg-form-card {
    padding: 28px 20px;
  }
}

/* ── Consolidated HB Website polish ── */
.container,
.nav-inner {
  max-width: 1180px;
}

.logo {
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  gap: 24px;
}

.hero {
  padding: 96px 0 56px;
}

.hero-title-panel {
  padding: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(7,18,13,0.9) 0%, rgba(7,18,13,0.62) 43%, rgba(7,18,13,0.2) 100%),
    linear-gradient(160deg, #0a1f15 0%, #143424 50%, #081810 100%);
}

.hero h1 {
  font-size: clamp(3rem, 6.8vw, 6rem);
  letter-spacing: 0;
}

.hero-sub {
  color: rgba(245,240,232,0.78);
}

.hero-actions {
  margin-bottom: 28px;
}

.hero-stats {
  gap: 16px;
  padding-top: 24px;
}

.hero-stat {
  min-width: 150px;
}

.hero-stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.hero-stat-label {
  color: rgba(245,240,232,0.64);
}

.hero-live {
  max-width: none;
  margin-left: 0;
}

.hero-preview-shell {
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-preview-shell .preview-loading.visible {
  display: flex;
}

.platform-item {
  border-radius: 999px;
}

.btn-primary,
.btn-nav {
  box-shadow: 0 10px 26px rgba(201,168,76,0.18);
}

.section-sub-left {
  text-align: left;
  margin-top: -28px;
  margin-bottom: 44px;
}

.features {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    var(--green-mid);
}

.feature-card,
.sync-card,
.device-frame,
.reg-form-card {
  border-radius: 8px;
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.venues {
  background: var(--green-dark);
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 72px;
  align-items: center;
}

.split-copy h2,
.player-inner h2 {
  margin-bottom: 20px;
}

.split-copy > p {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}

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

.timeline-step {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

.timeline-step span {
  display: block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 3px;
}

.timeline-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.venue-console {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  overflow: hidden;
}

.console-header,
.console-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.console-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.85rem;
}

.console-header strong,
.console-list strong {
  color: var(--gold);
}

.console-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56,191,164,0.12), transparent 55%),
    linear-gradient(180deg, rgba(245,240,232,0.06), rgba(245,240,232,0.015));
}

.console-map::before {
  content: '';
  position: absolute;
  inset: 32px 64px 36px;
  transform: skew(-13deg) rotate(-5deg);
  border: 1px solid rgba(245,240,232,0.18);
  background:
    linear-gradient(90deg, rgba(245,240,232,0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245,240,232,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-ring,
.map-pin {
  position: absolute;
  display: block;
}

.map-ring {
  border: 1px solid rgba(201,168,76,0.72);
  border-radius: 50%;
  transform: rotateX(58deg) rotateZ(-18deg);
}

.ring-one {
  width: 180px;
  height: 180px;
  left: 116px;
  top: 74px;
}

.ring-two {
  width: 278px;
  height: 278px;
  left: 68px;
  top: 22px;
  opacity: 0.42;
}

.map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,168,76,0.14), 0 10px 20px rgba(0,0,0,0.4);
}

.pin-a { left: 200px; top: 154px; }
.pin-b { left: 155px; top: 112px; background: var(--teal); }
.pin-c { left: 260px; top: 205px; background: var(--red); }

.map-label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: var(--white);
  font-weight: 700;
}

.console-list {
  padding: 16px 18px 18px;
}

.console-list div {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

.console-list div:last-child {
  border-bottom: 0;
}

.map-intelligence {
  background:
    linear-gradient(180deg, rgba(201,168,76,0.08), rgba(201,168,76,0)),
    #07120d;
  overflow: hidden;
}

/* Staged off-page: remove class + hidden/aria-hidden from #map to re-enable */
.map-intelligence.map-section-staged-hidden {
  display: none !important;
}

.map-heading h2 {
  margin-bottom: 18px;
}

.map-product {
  display: grid;
  grid-template-columns: 260px minmax(380px, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}

.map-filters,
.venue-detail-card,
.uk-map-stage {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.map-filters,
.venue-detail-card {
  padding: 20px;
}

.filter-header,
.map-toolbar,
.venue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.filter-header span,
.map-toolbar span {
  color: var(--muted);
  font-size: 0.85rem;
}

.filter-header strong,
.map-toolbar strong {
  color: var(--gold);
  font-size: 0.9rem;
}

.filter-group {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-group label {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.postcode-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  color: var(--white);
  padding: 11px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  outline: none;
  text-transform: uppercase;
}

.postcode-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.postcode-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.postcode-row .postcode-input {
  flex: 1;
  min-width: 0;
}

.btn-location {
  flex-shrink: 0;
  border: 1px solid rgba(117,95,255,0.45);
  border-radius: 8px;
  background: rgba(93,75,255,0.14);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.btn-location:hover:not(:disabled) {
  background: rgba(93,75,255,0.26);
  border-color: var(--gold-light);
}

.btn-location:disabled {
  opacity: 0.55;
  cursor: wait;
}

.filter-scale,
.venue-meta {
  color: var(--muted);
  font-size: 0.76rem;
}

.filter-scale {
  display: flex;
  justify-content: space-between;
}

.category-key,
.sort-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-option {
  display: grid;
  grid-template-columns: 18px 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.category-option strong {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  text-align: center;
  font-size: 0.74rem;
}

.filter-group .category-option {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.category-option::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 1px solid rgba(245,240,232,0.36);
  border-radius: 50%;
  background: transparent;
}

.category-option.is-on::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 3px var(--green-dark);
}

.category-swatch {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #07120d;
  font-weight: 900;
  font-size: 0.74rem;
}

.category-option.nuts .category-swatch,
.nuts-pin,
.nuts-rank { background: var(--gold); color: var(--green-dark); }

.category-option.redtooth .category-swatch,
.redtooth-pin,
.redtooth-rank { background: var(--red); color: var(--white); }

.category-option.casino .category-swatch,
.casino-pin,
.casino-rank { background: var(--teal); color: var(--green-dark); }

.category-option.tour .category-swatch,
.tour-pin,
.tour-rank { background: #8f78ff; color: var(--white); }

.category-option.irish .category-swatch,
.irish-pin,
.irish-rank { background: #56c271; color: var(--green-dark); }

.category-option.private .category-swatch,
.private-pin,
.private-rank { background: #f18f4c; color: var(--green-dark); }

.category-option:not(.is-on) {
  opacity: 0.48;
}

.category-option.is-on {
  border-color: rgba(201,168,76,0.44);
  color: var(--white);
}

.sort-stack button {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
}

.sort-stack button {
  width: 100%;
  border-radius: 8px;
  text-align: left;
}

.sort-stack button.active {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  font-weight: 800;
}

.uk-map-stage {
  min-height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.map-toolbar {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.isles-board {
  position: relative;
  min-height: 500px;
  perspective: 900px;
  background:
    radial-gradient(circle at 52% 47%, rgba(56,191,164,0.18), transparent 26%),
    linear-gradient(135deg, rgba(245,240,232,0.05), transparent 62%),
    #091811;
}

.discovery-map {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(circle at 49% 52%, rgba(201,168,76,0.18), transparent 18%),
    radial-gradient(circle at 67% 62%, rgba(56,191,164,0.13), transparent 22%),
    linear-gradient(135deg, rgba(245,240,232,0.06), transparent 62%),
    #091811;
}

.discovery-map::before {
  content: '';
  position: absolute;
  inset: 34px 40px;
  transform: rotateX(58deg) rotateZ(-8deg);
  border: 1px solid rgba(245,240,232,0.14);
  background:
    linear-gradient(90deg, rgba(245,240,232,0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245,240,232,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow: inset 0 0 70px rgba(0,0,0,0.34);
}

.road {
  position: absolute;
  z-index: 4;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245,240,232,0.42), transparent);
  transform-origin: center;
}

.road-a { width: 360px; left: 18%; top: 52%; transform: rotate(-18deg); }
.road-b { width: 260px; left: 39%; top: 62%; transform: rotate(24deg); }
.road-c { width: 230px; left: 28%; top: 38%; transform: rotate(10deg); opacity: 0.7; }

.discovery-map .radius-disc {
  left: 49%;
  top: 52%;
  z-index: 5;
}

.discovery-map .radius-inner {
  width: 136px;
  height: 136px;
}

.discovery-map .radius-outer {
  width: 258px;
  height: 258px;
}

.discovery-map .event-pin {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid rgba(7,18,13,0.8);
}

.discovery-map .event-pin.active {
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.16), 0 18px 30px rgba(0,0,0,0.42);
}

.leaflet-map {
  width: 100%;
  min-height: 340px;
  height: 100%;
  z-index: 1;
  border-radius: 0;
}

.discovery-map {
  min-height: 340px;
  padding: 0 !important;
  overflow: hidden;
  background: #e8e4df;
}

.discovery-map::before {
  display: none;
}

.leaflet-container {
  font-family: 'Inter', sans-serif;
  background: #d8d4cf;
}

.leaflet-control-zoom a {
  background: rgba(14,13,20,0.92) !important;
  color: var(--white) !important;
  border-color: rgba(117,95,255,0.35) !important;
}

.leaflet-control-attribution {
  font-size: 0.65rem !important;
  background: rgba(14,13,20,0.72) !important;
  color: var(--muted) !important;
}

.leaflet-control-attribution a {
  color: var(--gold-light) !important;
}

.leaflet-venue-pin {
  background: transparent;
  border: none;
}

.leaflet-venue-pin span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(7,18,13,0.85);
  color: #07120d;
  font-weight: 900;
  font-size: 0.8rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.36);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.leaflet-venue-pin.active span {
  transform: scale(1.14);
  box-shadow: 0 0 0 8px rgba(93,75,255,0.2), 0 18px 30px rgba(0,0,0,0.42);
}

.leaflet-venue-pin.nuts-pin span { background: var(--gold); color: #fff; }
.leaflet-venue-pin.redtooth-pin span { background: var(--red); color: #fff; }
.leaflet-venue-pin.casino-pin span { background: var(--teal); color: var(--green-dark); }
.leaflet-venue-pin.tour-pin span { background: #8f78ff; color: #fff; }
.leaflet-venue-pin.irish-pin span { background: #56c271; color: var(--green-dark); }
.leaflet-venue-pin.private-pin span { background: #f18f4c; color: var(--green-dark); }

.leaflet-origin-pin {
  background: transparent;
  border: none;
}

.leaflet-origin-pin span {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 50%;
  background: #5d4bff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(93,75,255,0.28), 0 8px 18px rgba(0,0,0,0.35);
}

.leaflet-popup-content-wrapper {
  background: rgba(14,13,20,0.94);
  color: var(--white);
  border: 1px solid rgba(117,95,255,0.35);
  border-radius: 8px;
}

.leaflet-popup-tip {
  background: rgba(14,13,20,0.94);
}

.map-status {
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.2em;
}

.map-status.is-error {
  color: var(--red);
}

#radiusValuePreview {
  color: var(--gold-light);
  font-weight: 700;
}

.map-area-label {
  position: absolute;
  z-index: 6;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(7,18,13,0.76);
  border: 1px solid rgba(245,240,232,0.13);
  color: rgba(245,240,232,0.76);
  font-size: 0.7rem;
  font-weight: 700;
}

.label-home { left: 42%; top: 58%; color: var(--gold); }
.label-city { left: 60%; top: 34%; }
.label-ring { left: 31%; top: 21%; }

.ordered-results {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(7,18,13,0.54);
}

.results-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.results-header strong {
  color: var(--gold);
}

.result-row {
  width: calc(100% - 24px);
  margin: 8px 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  text-align: left;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.result-row.active {
  border-color: rgba(201,168,76,0.68);
  background: rgba(201,168,76,0.11);
}

.result-rank {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 900;
}

.result-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.result-main strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-main small {
  color: var(--muted);
}

.result-distance {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.isles-board::before {
  content: '';
  position: absolute;
  inset: 54px 52px;
  transform: rotateX(56deg) rotateZ(-11deg);
  border: 1px solid rgba(245,240,232,0.14);
  background:
    linear-gradient(90deg, rgba(245,240,232,0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245,240,232,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  box-shadow: inset 0 0 70px rgba(0,0,0,0.34);
}

.uk-land {
  position: absolute;
  display: block;
  transform: rotateX(52deg) rotateZ(-12deg);
  background:
    linear-gradient(145deg, rgba(232,201,106,0.78), rgba(26,58,42,0.9));
  border: 1px solid rgba(245,240,232,0.26);
  box-shadow: 0 28px 30px rgba(0,0,0,0.34);
}

.scotland {
  width: 145px;
  height: 160px;
  left: 48%;
  top: 18%;
  border-radius: 52% 48% 45% 55% / 42% 58% 44% 56%;
}

.england {
  width: 166px;
  height: 235px;
  left: 53%;
  top: 38%;
  border-radius: 44% 56% 38% 62% / 34% 48% 52% 66%;
}

.wales {
  width: 78px;
  height: 90px;
  left: 45%;
  top: 56%;
  border-radius: 54% 46% 58% 42% / 46% 42% 58% 54%;
}

.ireland {
  width: 122px;
  height: 182px;
  left: 27%;
  top: 41%;
  border-radius: 52% 48% 46% 54% / 36% 58% 42% 64%;
  opacity: 0.88;
}

.radius-disc {
  position: absolute;
  left: 56%;
  top: 51%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-12deg);
  border: 1px solid rgba(201,168,76,0.72);
  background: rgba(201,168,76,0.055);
  z-index: 5;
}

.radius-inner {
  width: 150px;
  height: 150px;
}

.radius-outer {
  width: 280px;
  height: 280px;
  opacity: 0.55;
}

.event-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 8;
  transform: translate(-50%, -50%);
  padding: 6px 9px;
  border-radius: 999px;
  color: #07120d;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,0.36);
}

.city,
.route,
.mountain {
  position: absolute;
  z-index: 7;
}

.city {
  color: rgba(245,240,232,0.74);
  font-size: 0.72rem;
  font-weight: 700;
}

.city-manchester { left: 63%; top: 48%; }
.city-london { left: 68%; top: 68%; }
.city-dublin { left: 31%; top: 54%; }

.route {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,240,232,0.38), transparent);
  transform: rotate(-21deg);
}

.route-one { width: 260px; left: 41%; top: 57%; }
.route-two { width: 200px; left: 35%; top: 43%; transform: rotate(18deg); }

.mountain {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 24px solid rgba(245,240,232,0.28);
}

.mountain-a { left: 51%; top: 31%; }
.mountain-b { left: 57%; top: 34%; transform: scale(0.78); }

.venue-photo-preview {
  height: 150px;
  border-radius: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background:
    linear-gradient(180deg, transparent, rgba(7,18,13,0.88)),
    linear-gradient(135deg, rgba(201,168,76,0.5), rgba(56,191,164,0.22)),
    #15281f;
}

.venue-photo-preview span {
  color: var(--white);
  font-weight: 800;
}

.venue-detail-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.venue-detail-card p {
  color: var(--muted);
}

.venue-meta {
  margin: 16px 0;
  flex-wrap: wrap;
}

.venue-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.venue-detail-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.venue-detail-card li {
  position: relative;
  padding-left: 18px;
}

.venue-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.players {
  background: var(--green-mid);
}

.player-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 48px;
  align-items: start;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.player-card {
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-card strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.player-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(10,31,21,0) 55%),
    linear-gradient(135deg, #183d2b 0%, #0a1f15 100%);
}


@media (max-width: 768px) {
  .hero {
    padding: 112px 0 64px;
    min-height: auto;
  }

  .hero-venue-cols {
    grid-template-columns: 1fr;
  }

  .venue-fixture-featured {
    margin: 0 clamp(12px, 4vw, 20px);
    width: calc(100% - clamp(24px, 8vw, 40px));
  }

  .venue-fixture {
    min-height: 76px;
    height: 76px;
  }

  .hero-stats,
  .split-inner,
  .player-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .split-inner,
  .player-inner {
    display: grid;
    gap: 42px;
  }

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

  .map-product {
    grid-template-columns: 1fr;
  }

  .uk-map-stage {
    min-height: 430px;
  }

  .isles-board {
    min-height: 380px;
  }

  .console-map {
    min-height: 260px;
  }

  .ring-one { left: 86px; top: 68px; }
  .ring-two { left: 36px; top: 16px; }
  .pin-a { left: 168px; top: 142px; }
  .pin-b { left: 128px; top: 106px; }
  .pin-c { left: 220px; top: 190px; }
}

/* ── Theme refinements ── */
.nav {
  background: rgba(2,1,6,0.86);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-inner {
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.footer-inner .logo-mark {
  width: 36px;
  height: 36px;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.btn-nav,
.btn-primary {
  background: linear-gradient(135deg, #5d4bff, #8f42ff) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(93,75,255,0.28);
}

.btn-nav:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #7566ff, #b765ff) !important;
}

.btn-ghost {
  border-color: rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--white);
  background: rgba(93,75,255,0.12);
}

.btn-secondary {
  border-color: rgba(39, 217, 230, 0.5);
  background: linear-gradient(135deg, rgba(39, 217, 230, 0.16), rgba(93, 75, 255, 0.14));
  box-shadow: 0 10px 28px rgba(39, 217, 230, 0.14);
}

.btn-secondary:hover {
  border-color: rgba(39, 217, 230, 0.85);
  background: linear-gradient(135deg, rgba(39, 217, 230, 0.24), rgba(93, 75, 255, 0.2));
  box-shadow: 0 14px 32px rgba(39, 217, 230, 0.22);
}

.hero {
  padding-top: 136px;
  background:
    linear-gradient(180deg, rgba(93,75,255,0.08), rgba(2,1,6,0)),
    #020106;
}

.hero-bg {
  background:
    radial-gradient(circle at 80% 18%, rgba(93,75,255,0.24), transparent 34%),
    radial-gradient(circle at 18% 56%, rgba(39,217,230,0.09), transparent 30%),
    linear-gradient(180deg, #05030c 0%, #020106 100%);
}


.hero h1,
section h2,
.cta-inner h2,
.reg-intro h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.06;
}

.hero-title-panel .hero-title-copy h1,
.hero-title-panel h1 {
  max-width: none;
}

.gold-shimmer {
  background: linear-gradient(90deg, #fff 0%, #8f78ff 35%, #27d9e6 68%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  color: #c8c3d8;
}

.hero-stats,
.feature-card,
.sync-card,
.player-card,
.venue-console,
.map-filters,
.venue-detail-card,
.uk-map-stage,
.reg-form-card,
.device-frame {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),
    rgba(14,13,20,0.86);
  border-color: rgba(117,95,255,0.28);
  box-shadow: 0 24px 70px rgba(0,0,0,0.46);
}

.hero-preview-shell {
  border-color: rgba(117,95,255,0.58);
  border-radius: 18px;
  background: #09080f;
  box-shadow: 0 30px 90px rgba(0,0,0,0.62), 0 0 0 1px rgba(255,255,255,0.08);
}

.preview-bar {
  background: rgba(255,255,255,0.055) !important;
}

.venue-fixture {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
}

.venue-fixture.active,
.filter-chips button.active,
.sort-stack button.active {
  background: linear-gradient(90deg, rgba(93,75,255,0.22), rgba(255,255,255,0.06));
  border-color: rgba(143,120,255,0.75);
}

.features,
.players,
.leagues,
.showcase {
  background: #05040b;
}

.venues,
.platforms,
.map-intelligence,
.footer {
  background:
    radial-gradient(circle at 80% 10%, rgba(93,75,255,0.12), transparent 30%),
    #020106;
}

.feature-icon,
.result-rank,
.category-swatch {
  box-shadow: 0 0 24px rgba(93,75,255,0.2);
}

.platform-item {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.12);
}

.platform-item:hover {
  color: var(--white);
  border-color: rgba(117,95,255,0.62);
  background: rgba(93,75,255,0.12);
}

.map-product {
  grid-template-columns: 280px minmax(420px, 1fr) 320px;
}

.uk-map-stage .discovery-map {
  background: #e8e4df;
}

.result-row,
.category-option {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.1);
}

.result-row.active,
.category-option.is-on {
  border-color: rgba(117,95,255,0.68);
  background: rgba(93,75,255,0.12);
}

.postcode-input,
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
}

.mock-tournament,
.mock-timer,
.mock-voice {
  background:
    linear-gradient(135deg, rgba(93,75,255,0.18), rgba(39,217,230,0.06)),
    #09080f;
}

.cta-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(93,75,255,0.24), transparent 38%),
    linear-gradient(180deg, #080711, #020106);
}

@media (max-width: 768px) {
  .nav-inner {
    height: 68px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .map-product {
    grid-template-columns: 1fr;
  }
}
