/* ═══════════════════════════════════════════════
   E-FUTEBOL.NET — LANDING PAGE
   Clean editorial style (Arena-inspired)
   ═══════════════════════════════════════════════ */

@import "rules.css";

.landing-body {
  --font-display: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;

  /* Greens — the pitch */
  --green-deep: #1B4332;
  --green-primary: #2D6A4F;
  --green-mid: #40916C;
  --green-light: #52B788;
  --green-pale: #D8F3DC;
  --green-wash: #F0F7F2;

  /* Surfaces */
  --bg-deep: #F4F6F5;
  --bg-surface: #ffffff;
  --bg-card: #F8FAF9;
  --bg-card-hover: #EFF3F1;

  /* Accent — the orange dot */
  --accent: #E8621A;
  --accent-glow: #F47B35;
  --accent-dark: #C44E0E;

  /* Neutral borders */
  --border: #E2E8E4;
  --border-hover: #CBD5CE;

  /* Status */
  --red-warning: #DC2626;
  --gold: #D4A017;

  /* Text */
  --text-primary: #1A2A1E;
  --text-secondary: #4A5D50;
  --text-muted: #8A9B8F;

  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image: url("/assets/ebol-bg-light-77849d85.svg");
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 1100px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── DARK THEME ── */

[data-theme="dark"] .landing-body {
  --green-deep: #A7D5B8;
  --green-primary: #6BBF8A;
  --green-mid: #52B788;
  --green-light: #40916C;
  --green-pale: #1E3A2B;
  --green-wash: #1A2E22;

  --bg-deep: #141C18;
  --bg-surface: #1B251F;
  --bg-card: #1F2D24;
  --bg-card-hover: #253529;

  --accent: #F47B35;
  --accent-glow: #F9943E;
  --accent-dark: #E8621A;

  --border: #2A3B30;
  --border-hover: #3A4F40;

  --red-warning: #F87171;
  --gold: #FACC15;

  --text-primary: #E8EDE9;
  --text-secondary: #9AADA0;
  --text-muted: #5E7568;

  background-image: url("/ebol-bg-dark.svg");
}

/* ── NAV ── */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.landing-nav.nav-scrolled {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(27, 67, 50, 0.05);
  padding: 1rem 2.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  line-height: 1;
}

[data-theme="dark"] .logo-text {
  color: var(--text-primary);
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: text-bottom;
  position: relative;
  top: -7px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: var(--green-wash);
  border-color: var(--green-mid);
}

.nav-link-primary {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-deep);
  box-shadow: 0 2px 0 var(--green-deep);
}

.nav-link-primary:hover {
  background: var(--green-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--green-deep);
}

.nav-link-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--green-deep);
}

.nav-link-nostalgia {
  border-color: rgba(212, 160, 23, 0.3);
  color: var(--gold);
  background: rgba(212, 160, 23, 0.05);
}

.nav-link-nostalgia:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: var(--gold);
}

/* ── SECTION NAV (inside landing-nav) ── */

.section-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}

.section-nav-links.section-nav-visible {
  max-height: 50px;
  opacity: 1;
  pointer-events: auto;
}

.section-nav-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.section-nav-link:hover {
  color: var(--green-primary);
  background: var(--green-wash);
}

.section-nav-link.section-nav-active {
  color: var(--green-primary);
  background: var(--green-wash);
}

/* ── HERO ── */

.landing-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.05);
  animation: fadeInDown 0.8s ease both;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.badge-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Title */
.hero-title {
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.title-line-1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.2s;
}

.title-line-2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.35s;
}

.title-line-3 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.5s;
}

.title-accent {
  color: var(--green-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.65s;
}

/* Stats */
.hero-stats {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.8s;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.04);
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* CTA */
.hero-cta {
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.95s;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--green-primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--green-deep);
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--green-deep);
}

.cta-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--green-deep);
}

.cta-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 1.2s;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--green-primary), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── SECTIONS ── */

.landing-section {
  position: relative;
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-primary);
  background: var(--green-wash);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(45, 106, 79, 0.15);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
}

.text-accent {
  color: var(--green-primary);
}

.text-warning {
  color: var(--red-warning);
}

/* ── HOW IT WORKS ── */

.section-how {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.02);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-wash);
  line-height: 1;
  margin-bottom: 1rem;
  -webkit-text-stroke: 1px var(--green-primary);
}

[data-theme="dark"] .step-number {
  color: var(--bg-deep);
  -webkit-text-stroke: 1px var(--green-primary);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--bg-surface);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(27, 67, 50, 0.04);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ── MECHANICS ── */

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

.action-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--bg-surface);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.04);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 2rem;
  border: 2px solid;
  border-radius: 16px;
  background: var(--bg-deep);
  transition: all 0.3s ease;
  min-width: 140px;
}

.action-chutar {
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: 0 4px 0 var(--green-primary);
  animation: actionBounce 4s ease-in-out infinite;
}

.action-secar {
  border-color: var(--red-warning);
  color: var(--red-warning);
  box-shadow: 0 4px 0 var(--red-warning);
  animation: actionBounce 4s ease-in-out infinite;
  animation-delay: 2s;
}

.action-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.action-timer {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.action-vs {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-deep);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.action-hint {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.mechanic-text .section-tag {
  margin-bottom: 1rem;
}

.mechanic-text .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.mechanic-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.mechanic-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mechanic-timers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timer-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
}

.timer-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timer-free {
  color: var(--text-secondary);
  font-weight: 500;
}

.timer-paid {
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── SEASON ── */

.section-season {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.season-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.season-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.season-card {
  padding: 2rem 1.5rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.season-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.season-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.season-card:hover::after {
  transform: scaleX(1);
}

.season-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--bg-surface);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(27, 67, 50, 0.04);
}

.season-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.season-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.season-detail {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-primary);
  background: var(--green-wash);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
}

/* ── DIVISIONS RANKING ── */

.divisions-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.divisions-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

.text-copa {
  color: var(--gold);
  font-weight: 700;
}

.division-block {
  margin-bottom: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.02);
}

.division-block:last-child {
  margin-bottom: 0;
}

.division-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.division-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.division-serie-a {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.division-serie-b {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.division-serie-c {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.division-serie-d {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.division-acesso {
  background: var(--bg-deep);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.division-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.division-table {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.division-hidden {
  max-height: 0 !important;
  overflow: hidden;
}

.division-row {
  display: grid;
  grid-template-columns: 40px 1fr 2fr 80px 52px;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.division-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.div-pos {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.div-team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.div-bar-wrap {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.div-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.div-bar-serie-a { background: linear-gradient(90deg, #16a34a, #22c55e); }
.div-bar-serie-b { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.div-bar-serie-c { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.div-bar-serie-d { background: linear-gradient(90deg, #ea580c, #fb923c); }
.div-bar-acesso  { background: linear-gradient(90deg, #6b7280, #9ca3af); }

.div-fans {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-primary);
  text-align: right;
  white-space: nowrap;
}

.div-fans-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}

.div-copa-badge {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.25);
  padding: 0.25rem 0.5rem;
  text-align: center;
  border-radius: 6px;
  line-height: 1;
}

.div-copa-empty {
  visibility: hidden;
}

.division-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--bg-deep);
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.division-expand-btn:hover {
  background: var(--green-wash);
  color: var(--green-primary);
  border-color: rgba(45, 106, 79, 0.3);
}

.expand-arrow {
  transition: transform 0.3s ease;
}

.divisions-updated {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ── COMMUNITY ── */

.section-community {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.community-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.community-forum {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-deep);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.forum-header-row {
  display: grid;
  grid-template-columns: 40px 1fr 70px 160px;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.forum-row {
  display: grid;
  grid-template-columns: 40px 1fr 70px 160px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.forum-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.forum-icon {
  font-size: 1.5rem;
  text-align: center;
  background: var(--bg-deep);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.forum-topic {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.forum-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.forum-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forum-votes {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-primary);
  text-align: right;
}

.forum-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.forum-bar {
  flex: 1;
  height: 6px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 3px;
}

.forum-bar-pct {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 35px;
  text-align: right;
}

.community-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ── FINAL CTA ── */

.section-cta {
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}

.final-cta {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 4rem 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.04);
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.cta-counter {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-primary);
}

/* ── FOOTER ── */

.landing-footer {
  padding: 3rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
}

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

/* ── SCROLL REVEAL ── */

[data-scroll-reveal-target="item"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-reveal-target="item"].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ── */

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(45, 106, 79, 0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 40px; }
  50% { opacity: 1; height: 60px; }
}

@keyframes actionBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .forum-header-row { display: none; }
  .forum-row { grid-template-columns: 40px 1fr 60px; }
  .forum-bar-wrap { display: none; }
}

@media (max-width: 768px) {
  .landing-nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .landing-nav.nav-scrolled { padding: 1rem 1.5rem; }
  
  .section-nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    margin: 0.75rem -1.5rem -1rem;
    padding: 0.5rem 1.5rem;
  }
  
  .section-nav-links::-webkit-scrollbar { display: none; }
  .section-nav-links.section-nav-visible { max-height: 45px; }
  
  .landing-hero { padding: 7rem 1.5rem 4rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .mechanics-grid { grid-template-columns: 1fr; gap: 3rem; }
  .mechanic-visual { order: 2; }
  .mechanic-text { order: 1; text-align: center; }
  .mechanic-text .section-title { text-align: center; }
  
  .division-row {
    grid-template-columns: 30px 1fr 60px 44px;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .div-bar-wrap { display: none; }
  .division-header { flex-direction: column; gap: 0.5rem; }
  .season-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .landing-section { padding: 5rem 1.5rem; }
  .section-cta { padding: 5rem 1.5rem; }
  .final-cta { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .action-demo { gap: 1rem; padding: 2rem 1rem; }
  .action-btn { padding: 1.25rem; min-width: 120px; }
  .cta-button { padding: 0.875rem 1.5rem; font-size: 1rem; }
}

/* Theme Toggle */
.arena-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

.arena-pill-btn:hover {
  background: var(--green-wash);
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.arena-pill-btn .icon-sun,
.arena-pill-btn .icon-moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.arena-pill-btn .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.arena-pill-btn .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

[data-theme="light"] .arena-pill-btn .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

[data-theme="light"] .arena-pill-btn .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
