:root {
  --ink: #f8fafc;
  --muted: #b9c6d6;
  --bg: #07120e;
  --panel: #10221d;
  --panel-strong: #142d25;
  --green: #22c55e;
  --green-dark: #15803d;
  --amber: #f8b84e;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 18, 14, 0.2), var(--bg) 620px),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 18, 14, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.stats-band,
.contact-band,
.tournament-preview,
.terms-preview,
.responsible-preview {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--amber));
  color: #06100c;
  font-size: 13px;
}

.nav-links {
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.primary-button {
  background: var(--green);
  color: #06100c;
}

.header-cta {
  padding: 0 18px;
  font-size: 14px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 7vw, 110px) 96px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 14, 0.94) 0%, rgba(7, 18, 14, 0.72) 42%, rgba(7, 18, 14, 0.18) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 18, 14, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.panel-text p,
.feature-card p,
.step p,
.faq-list p,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 34px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 7vw, 110px) 78px;
  background:
    linear-gradient(90deg, rgba(7, 18, 14, 0.96), rgba(7, 18, 14, 0.74)),
    linear-gradient(0deg, var(--bg), rgba(7, 18, 14, 0.24)),
    url("assets/cricket-hero.png") center / cover;
  overflow: hidden;
}

.page-hero-copy {
  width: min(780px, 100%);
}

.page-hero-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.stats-band {
  width: min(1120px, calc(100% - 40px));
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 34, 29, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stats-band div {
  flex: 1;
  min-width: 150px;
  padding: 10px 18px;
}

.stats-band div + div {
  border-left: 1px solid var(--line);
}

.stats-band strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.section,
.split-section,
.contact-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 112px 0 72px;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

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

.feature-grid,
.contact-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(16, 34, 29, 0.72));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.13);
  color: var(--green);
  font-weight: 800;
}

.keyword-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
}

.keyword-section h2 {
  width: min(820px, 100%);
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 44px);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.tournament-preview {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(248, 184, 78, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.tournament-preview-copy {
  max-width: 760px;
}

.tournament-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.tournament-preview-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tournament-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-preview {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(248, 184, 78, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.about-preview-copy {
  max-width: 760px;
}

.about-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.about-preview-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.responsible-preview {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 54px;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(248, 184, 78, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 184, 78, 0.14), rgba(34, 197, 94, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.responsible-preview-copy {
  max-width: 760px;
}

.responsible-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.responsible-preview-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.terms-preview {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 54px;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(34, 197, 94, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.terms-preview-copy {
  max-width: 760px;
}

.terms-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.terms-preview-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.panel-text {
  padding-right: 22px;
}

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

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--amber);
  color: #140f04;
  font-weight: 800;
}

.step p {
  margin: 0;
}

.faq-section {
  padding-top: 58px;
}

.about-story {
  padding-bottom: 42px;
}

.contact-details-section {
  padding-bottom: 42px;
}

.responsible-section {
  padding-bottom: 42px;
}

.tournament-section {
  padding-bottom: 42px;
}

.terms-section {
  padding-bottom: 42px;
}

.warning-section {
  padding-top: 58px;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .primary-button {
  width: fit-content;
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 800;
  list-style-position: outside;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.notice-panel {
  padding: 34px;
  border: 1px solid rgba(248, 184, 78, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 184, 78, 0.13), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.notice-panel h2 {
  max-width: 820px;
}

.safety-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.terms-list {
  display: grid;
  gap: 16px;
}

.terms-list .notice-panel h3 {
  margin-bottom: 12px;
}

.terms-list .notice-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-band {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(248, 184, 78, 0.12)),
    var(--panel);
  border: 1px solid var(--line);
}

.contact-band p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--green);
  color: #06100c;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.28);
}

.floating-go-live {
  position: fixed;
  right: 92px;
  bottom: 22px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--amber);
  color: #140f04;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(248, 184, 78, 0.24);
}

.whatsapp-prompt {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(11, 24, 19, 0.97);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.whatsapp-prompt-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.whatsapp-prompt-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.whatsapp-prompt-action {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green);
  color: #06100c;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.whatsapp-prompt-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.whatsapp-prompt-close:hover {
  color: var(--ink);
}

@media (max-width: 1120px) {
  .site-header {
    gap: 12px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .header-cta {
    padding: 0 12px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 86px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 18, 14, 0.94) 0%, rgba(7, 18, 14, 0.76) 58%, rgba(7, 18, 14, 0.34) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 18, 14, 0) 34%);
  }

  .stats-band,
  .tournament-preview,
  .about-preview,
  .terms-preview,
  .responsible-preview,
  .contact-band,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-band {
    margin-top: -28px;
  }

  .stats-band div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-grid,
  .contact-grid,
  .safety-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .keyword-section {
    padding-top: 34px;
  }

  .page-hero {
    min-height: 64vh;
    padding: 132px 20px 62px;
  }

  .section {
    padding-top: 82px;
  }

  .split-section {
    padding: 54px 0;
  }

  .panel-text {
    padding-right: 0;
  }

  .contact-band .primary-button,
  .contact-band .secondary-button,
  .contact-actions,
  .tournament-actions,
  .legal-actions,
  .contact-card .primary-button {
    width: 100%;
  }

  .about-preview .secondary-button {
    width: 100%;
  }

  .tournament-preview .secondary-button {
    width: 100%;
  }

  .terms-preview .secondary-button {
    width: 100%;
  }

  .responsible-preview .secondary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-width: 112px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .floating-go-live {
    right: 80px;
    bottom: 16px;
    min-width: 92px;
    height: 52px;
    padding: 0 14px;
    font-size: 13px;
  }

  .whatsapp-prompt {
    right: 16px;
    bottom: 82px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 46px 18px 18px;
  }

  .whatsapp-prompt-action {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .feature-card,
  .notice-panel,
  .tournament-preview,
  .terms-preview,
  .responsible-preview,
  .contact-band {
    padding: 24px;
  }

  .keyword-list span {
    width: 100%;
  }

  .faq-list summary {
    padding: 18px;
    font-size: 16px;
  }

  .faq-list p {
    padding: 0 18px 18px;
  }
}
