:root {
  color-scheme: dark;
  --bg: #020604;
  --panel: rgba(10, 19, 14, 0.72);
  --panel-strong: rgba(16, 28, 20, 0.88);
  --line: rgba(255, 255, 255, 0.2);
  --text: #f7fff8;
  --muted: rgba(236, 248, 238, 0.72);
  --green: #9dffad;
  --green-strong: #54df6f;
  --red: #ff5a5a;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.44)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82)),
    url("todaymatches.png") center / cover fixed,
    var(--bg);
}

a {
  color: inherit;
}

.home-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.brand-link {
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
}

.nav-links,
.hero-actions,
.trust-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nav-links a,
.site-footer a {
  color: rgba(247, 255, 248, 0.84);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:focus-visible,
.site-footer a:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.trust-actions a:focus-visible {
  outline: 3px solid rgba(157, 255, 173, 0.72);
  outline-offset: 4px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.64fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  min-height: auto;
  padding: clamp(38px, 7vh, 72px) 0 clamp(32px, 7vh, 68px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(64px, 14vw, 152px);
  line-height: 0.86;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.hero-summary {
  max-width: 680px;
  color: rgba(247, 255, 248, 0.9);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.trust-actions a {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
}

.primary-action {
  color: #041007;
  background: var(--green);
  border-color: rgba(157, 255, 173, 0.8);
}

.secondary-action,
.trust-actions a {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.match-preview {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(84, 223, 111, 0.2), rgba(255, 90, 90, 0.1)),
    var(--panel);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.preview-header,
.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.preview-header span,
.preview-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.preview-header strong {
  color: var(--green);
  font-size: clamp(28px, 4vw, 42px);
}

.preview-row {
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row strong {
  color: var(--text);
  text-align: right;
}

.content-band,
.trust-section {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(1, 9, 5, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.content-band {
  padding: clamp(22px, 4vw, 42px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  background: var(--panel-strong);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 32px;
  margin-bottom: 22px;
  border: 1px solid rgba(157, 255, 173, 0.34);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.trust-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.trust-section h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 900px) {
  body {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.88)),
      url("todaymatches.png") center / cover fixed,
      var(--bg);
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 44px;
  }

  .match-preview {
    max-width: 560px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .site-nav,
  .trust-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .feature-card {
    min-height: 0;
  }
}
