/* CSS Stylesheet for DinkLink Next-Gen Pickleball Platform */

:root {
  --background: #0B0E14;
  --bg-card: rgba(22, 27, 38, 0.7);
  --bg-card-hover: rgba(30, 38, 54, 0.85);
  --bg-glass: rgba(18, 24, 38, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(163, 230, 53, 0.4);
  
  --text: #F9FAFB;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --primary: #A3E635;
  --primary-dark: #8ACB2F;
  --primary-glow: rgba(163, 230, 53, 0.35);
  
  --accent-orange: #F97316;
  --accent-cyan: #38BDF8;
  --accent-purple: #A855F7;
  --accent-gold: #FBBF24;
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Glowing Background Elements */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  top: -150px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 70%);
}

.glow-middle {
  top: 900px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--primary);
  text-shadow: 0 0 16px var(--primary-glow);
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.cta-button {
  background-color: var(--primary);
  color: #0B0E14 !important;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(163, 230, 53, 0.6);
}

/* Hero Section */
.hero {
  padding-top: 155px;
  padding-bottom: 70px;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--primary);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 1.8rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 14px var(--primary); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 24px var(--primary-glow);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.22rem;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #0B0E14 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(163, 230, 53, 0.7);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Metrics Strip */
.metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.2rem 2.5rem;
  width: 100%;
  max-width: 960px;
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Section Header Shared */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header, .showcase-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sub-badge {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  background: rgba(163, 230, 53, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(163, 230, 53, 0.2);
}

.section-header h2, .showcase-header h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.8px;
}

.section-header p, .showcase-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Interactive Showcase */
.showcase-section {
  padding: 70px 0 90px;
  position: relative;
  z-index: 1;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: rgba(163, 230, 53, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.25);
}

.demo-viewport {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.demo-glow {
  position: absolute;
  top: -20px;
  left: 10%;
  right: 10%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(163, 230, 53, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.demo-card-pane {
  display: none;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

.demo-card-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
}

.pane-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.8px;
}

.pane-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

.live-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: rgba(163, 230, 53, 0.15);
  color: var(--primary);
  border: 1px solid var(--primary);
  letter-spacing: 0.5px;
}

.live-pill.orange {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.live-pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-color: #10B981;
}

/* 1. KOTC Grid */
.kotc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.ladder-table-card {
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.2rem;
}

.table-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.player-row.leader {
  background: rgba(163, 230, 53, 0.08);
  border-color: rgba(163, 230, 53, 0.3);
}

.player-row .rank {
  font-weight: 700;
  width: 45px;
  font-size: 0.9rem;
}

.player-row .name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}

.dupr-chip {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 12px;
  color: var(--text-secondary);
}

.score-tag {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
}

.ladder-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ladder-feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.score-rule-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.rule-col {
  padding: 0.8rem;
  border-radius: 10px;
  text-align: center;
}

.rule-col.win {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.rule-col.win strong {
  display: block;
  color: #10B981;
  font-size: 0.85rem;
}

.rule-col.loss {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.rule-col.loss strong {
  display: block;
  color: #F59E0B;
  font-size: 0.85rem;
}

.rule-col span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

.feature-footnote {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 2. MLP Bracket Demo */
.bracket-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1.2rem;
  align-items: stretch;
}

.bracket-match-card {
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bracket-match-card.champ-card {
  background: rgba(251, 191, 36, 0.05);
  border-color: rgba(251, 191, 36, 0.35);
}

.match-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.match-meta.gold {
  color: var(--accent-gold);
}

.team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

.team-line.winner {
  border-left: 3px solid var(--primary);
  font-weight: 600;
}

.team-line .seed {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-right: 6px;
}

.team-line .score {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
}

.bracket-arrow {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: right;
}

.live-badge {
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent-orange);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.dreambreaker-alert {
  margin-top: 1rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px dashed var(--accent-orange);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  color: var(--accent-orange);
  line-height: 1.4;
  font-weight: 600;
}

/* 3. Voice Scoreboard Demo */
.scoreboard-demo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

.scoreboard-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.team-score-box {
  background: rgba(11, 14, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  min-width: 170px;
}

.box-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.big-digit {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0.2rem 0;
}

.server-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.server-tag.active {
  background: rgba(163, 230, 53, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.score-dash {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--text-muted);
  font-weight: 800;
}

.callout-pill-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.callout-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.callout-chip ion-icon {
  color: var(--primary);
  font-size: 1.1rem;
}

.voice-test-strip {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.voice-speak-btn {
  background: rgba(163, 230, 53, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.2);
  transition: all 0.2s ease;
}

.voice-speak-btn:hover {
  background: var(--primary);
  color: #0B0E14;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(163, 230, 53, 0.5);
}

.voice-status-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* The 4 Engine Pillars (Bento Grid) */
.pillars-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.card-icon-wrap.lime {
  background: rgba(163, 230, 53, 0.12);
  color: var(--primary);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.card-icon-wrap.orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.card-icon-wrap.cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.card-icon-wrap.purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

/* Host Controls Section */
.host-controls-section {
  padding: 80px 0;
  background: rgba(18, 24, 38, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.host-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.host-text-col h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.host-text-col > p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.bullet-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(163, 230, 53, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bullet-item strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.bullet-item span {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.host-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.seed-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.partner-pair-preview {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

.player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.player-chip ion-icon {
  font-size: 1.4rem;
}

.swap-action-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.8rem 0 0.8rem 1.8rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.sub-alert-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.sub-alert-box ion-icon {
  color: #10B981;
  font-size: 1.1rem;
}

/* Community Section */
.community-highlight-section {
  padding: 90px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.community-photo-wrap {
  position: relative;
}

.community-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  display: block;
}

.photo-overlay-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.2rem 1.8rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.stat-big {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.stat-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.community-content h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.community-content > p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.perk-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.perk-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-row strong {
  color: #FFFFFF;
}

/* High Converting CTA Banner */
.cta-banner-section {
  padding: 50px 0 90px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(22, 27, 38, 0.9) 0%, rgba(18, 24, 38, 0.95) 100%);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 0 50px rgba(163, 230, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-card-content h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.cta-card-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-button-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary-large {
  background-color: var(--primary);
  color: #0B0E14 !important;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 1rem 2.4rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 0 30px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(163, 230, 53, 0.7);
}

.btn-secondary-large {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
  background: #080A0F;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.footer-left p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.col-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bracket-preview-grid {
    grid-template-columns: 1fr;
  }
  .community-grid, .host-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .photo-overlay-card {
    right: 20px;
    bottom: -15px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .metrics-strip {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .metric-divider {
    display: none;
  }
  .kotc-grid {
    grid-template-columns: 1fr;
  }
  .scoreboard-display {
    gap: 1rem;
  }
  .team-score-box {
    padding: 1rem;
    min-width: 120px;
  }
  .big-digit {
    font-size: 3.2rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
