/* Core app theme — light, friendly palette for the landing page */

:root {
  /* Colors */
  --bg: #f5f8ff;
  --bg-gradient: radial-gradient(1200px 600px at 100% -10%, rgba(135, 196, 255, 0.35), transparent 60%), linear-gradient(135deg, #eff5ff, #fefcff);
  --card: rgba(255, 255, 255, 0.85);
  --text: #1f2937;
  --muted: #4b5b6c;
  --primary: #1d9bf0;
  --primary-hover: #1276c1;
  --chip: rgba(29, 155, 240, 0.08);
  --chip-border: rgba(29, 155, 240, 0.22);
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.12);

  /* Spacing */
  --nav-height: 90px;
  --radius: 18px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --container: 1160px;
  --section-y: 72px;
  --section-y-sm: 48px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-padding-top: calc(var(--nav-height) + 12px); scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-gradient);
  opacity: 1;
}

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

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

h2 {
  text-align: center;
  margin: 0 0 28px;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  color: #0f172a;
  text-shadow: none;
  position: relative;
}

h2::after {
  content:"";
  display:block;
  width: 64px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(135deg, var(--primary), #ffb74d);
  border-radius: 999px;
  opacity: .75;
}

h3 {
  margin: 0 0 12px;
  color: #0f172a;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 18px rgba(15, 23, 42, 0.08);
}

.nav-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(29, 155, 240, 0.1);
  padding: 4px;
  border: 1px solid rgba(29, 155, 240, 0.3);
  box-shadow: 0 4px 10px rgba(29, 155, 240, 0.2);
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: #334155;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  background: rgba(29, 155, 240, 0.12);
  color: #0f172a;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.6rem;
  cursor: pointer;
}

.section {
  padding: var(--section-y) 0;
}

.section .section-inner {
  position: relative;
  padding-bottom: 28px;
}

.section-bg {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.hero {
  padding-top: clamp(32px, 6vw, 68px);
  padding-bottom: clamp(40px, 7vw, 68px);
  position: relative;
}

.hero-shape {
  position: absolute;
  inset: auto 0 -160px;
  height: 320px;
  background:
    radial-gradient(420px 220px at 20% 10%, rgba(29, 155, 240, 0.18), transparent 70%),
    radial-gradient(360px 260px at 75% 20%, rgba(255, 183, 77, 0.22), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 30% 50% -25% -10%;
  background: radial-gradient(420px 320px at 20% 40%, rgba(29, 155, 240, 0.18), transparent 70%), radial-gradient(320px 260px at 80% 20%, rgba(255, 183, 77, 0.25), transparent 75%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
  margin-top: -220px;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: #ff7426;
}

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

.subtitle {
  font-size: 1.05rem;
}

.hero-note {
  margin: 0;
  padding: 12px 18px;
  background: rgba(29, 155, 240, 0.14);
  border-radius: 14px;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(29, 155, 240, 0.12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  box-shadow: 0 12px 24px rgba(56, 128, 255, 0.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.button.primary.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  filter: saturate(0.6);
  box-shadow: none;
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(29, 155, 240, 0.3);
}

.button.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  border: 2px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  transition: background .18s ease, border .18s ease;
}

.button.ghost:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.18);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.launch-countdown {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(29, 155, 240, 0.08);
  color: #0f172a;
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.launch-countdown .countdown-value {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-size: 1.05em;
  letter-spacing: 0.04em;
}

.stat {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
}

.mockup.main {
  width: min(100%, 520px);
  border-radius: 32px;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.18);
}

.mockup.alt {
  position: absolute;
  bottom: -12%;
  right: -10%;
  width: 240px;
  border-radius: 22px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
}

.hero-media.inline {
  display: block;
  order: 0;
  margin: 8px auto 12px;
  position: relative;
  width: fit-content;
}

.hero-media.inline .mockup {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.hero-media.inline .mockup.main {
  max-width: 200px;
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
}

.hero-media.inline .mockup.alt {
  display: block;
  position: absolute;
  right: -20px;
  bottom: -14px;
  max-width: 130px;
  transform: rotate(4deg);
  opacity: .96;
  z-index: 1;
}

.feature-grid,
.info-grid,
.rules-grid,
.news-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-content,
.rules-content {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.card,
.feature-card,
.info-card,
.rule-card,
.news-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}

.card p,
.feature-card p,
.info-card p,
.rule-card p {
  color: #475569;
}

.list-dot {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #475569;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--chip-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
}

.season-content {
  display: grid;
  gap: clamp(24px, 5vw, 40px);
}

.season-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.stat-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #475569;
}

.stat-emphasis {
  margin-top: 12px;
  font-weight: 600;
  color: #0f172a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6ch;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 24px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 0;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid rgba(29, 155, 240, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 155, 240, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(29, 155, 240, 0.32);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.05);
}

.btn-link {
  background: transparent;
  color: var(--primary);
  padding: 0;
  border: 0;
  text-decoration: underline;
}

.rules-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.rules-table-trigger-wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.rules-table-trigger {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  color: var(--primary);
}

.rules-table-trigger:hover,
.rules-table-trigger:focus-visible {
  border-color: var(--primary);
  text-decoration: none;
}

.rules-modal {
  border: none;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  color: #0f172a;
  padding: 0;
  width: min(92vw, 720px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.rules-modal::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.rules-modal .modal-inner {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 6vw, 44px);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(241, 245, 249, 0.9);
  color: #0f172a;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(226, 232, 240, 0.95);
}

.modal-close:focus-visible {
  outline: 3px solid rgba(29, 155, 240, 0.35);
  outline-offset: 2px;
}

.modal-lead {
  margin: 0;
  color: #475569;
}

.modal-footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

.rules-table-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
}

.rules-table thead {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.9), rgba(191, 219, 254, 0.9));
  color: #0f172a;
}

.rules-table th {
  padding: 14px 18px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  border-bottom: 2px solid rgba(148, 163, 184, 0.4);
}

.rules-table td {
  padding: 12px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.rules-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #0f172a;
}

.rules-table tbody tr:nth-child(even) {
  background: rgba(226, 232, 240, 0.35);
}

.rules-table tbody tr:nth-child(-n+3) td {
  font-weight: 700;
  color: var(--primary);
  background: rgba(29, 155, 240, 0.08);
}

.rules-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 540px) {
  .rules-table th,
  .rules-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

.news-card .news-date {
  color: #64748b;
  font-size: .9rem;
}

.contact-grid {
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-weight: 600;
  color: #0f172a;
}

.input,
.textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: rgba(29, 155, 240, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.12);
  outline: none;
}

.textarea {
  min-height: 160px;
}

.hint {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.contact-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.footer {
  margin-top: var(--section-y);
  padding: 26px 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-inner {
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  color: #475569;
  font-size: .95rem;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.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;
}

@media (max-width: 1020px) {
  .hero { padding-top: clamp(28px, 6vw, 56px); padding-bottom: clamp(32px, 7vw, 56px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { margin-top: 0; }
  .hero-media { order: 1; }
  .mockup.main { max-width: 480px; }
  .mockup.alt { display:none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display:none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .nav-links.active { display:flex; }
}

@media (max-width: 640px) {
  .section { padding: var(--section-y-sm) 0; }
  .hero { padding-top: clamp(28px, 12vw, 44px); padding-bottom: clamp(32px, 14vw, 52px); }
  .hero-copy { margin-top: 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .stat { padding: 16px; }
  .hero-media { display: none; }
  .hero-media.inline { display: block; }
}

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