:root {
  --ink: #111817;
  --muted: #5c6762;
  --paper: #f7f3ea;
  --pearl: #fffdf7;
  --emerald: #073f37;
  --emerald-2: #0e6a57;
  --gold: #c89b45;
  --clay: #a85d43;
  --line: rgba(17, 24, 23, 0.14);
  --shadow: 0 22px 70px rgba(3, 22, 19, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--pearl);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 234, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(17, 24, 23, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--pearl);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 24, 21, 0.9) 0%, rgba(3, 24, 21, 0.66) 42%, rgba(3, 24, 21, 0.16) 100%),
    linear-gradient(0deg, rgba(3, 24, 21, 0.78) 0%, rgba(3, 24, 21, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(64px, 10vh, 110px) clamp(18px, 7vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 253, 247, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  color: #10211d;
  background: var(--gold);
}

.pending-button {
  cursor: default;
}

.secondary-button {
  color: inherit;
  background: rgba(255, 253, 247, 0.12);
  border: 1px solid rgba(255, 253, 247, 0.38);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 253, 247, 0.26);
  border-radius: 999px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.notice-band {
  background: var(--emerald);
  color: var(--pearl);
  padding: 18px clamp(18px, 5vw, 72px);
  text-align: center;
}

.notice-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}

.section,
.features,
.rules,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section {
  padding-top: clamp(74px, 10vw, 124px);
  padding-bottom: clamp(44px, 8vw, 82px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 7vw, 92px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: clamp(72px, 9vw, 116px);
}

.feature-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--pearl);
  box-shadow: 0 18px 44px rgba(17, 24, 23, 0.05);
}

.feature-card {
  min-height: 248px;
  padding: 26px;
}

.feature-number {
  color: var(--clay);
  font-weight: 800;
}

.feature-card h3,
.step h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.feature-card p,
.step p,
.rules-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.access {
  background:
    linear-gradient(135deg, rgba(14, 106, 87, 0.12), rgba(200, 155, 69, 0.1)),
    var(--pearl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding: 24px;
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--pearl);
  background: var(--emerald-2);
  font-weight: 800;
}

.rules {
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: clamp(72px, 10vw, 118px);
}

.rules-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  color: var(--pearl);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.rules-panel p,
.rules-list {
  color: rgba(255, 253, 247, 0.76);
}

.rules-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  padding-left: 28px;
  position: relative;
  line-height: 1.65;
}

.rules-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 23, 0.66);
  backdrop-filter: blur(10px);
}

.age-modal[hidden] {
  display: none;
}

.age-dialog {
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 8px;
  background: var(--pearl);
  box-shadow: var(--shadow);
}

.age-dialog h2 {
  font-size: clamp(28px, 5vw, 42px);
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(7, 63, 55, 0.92), rgba(17, 24, 23, 0.86)),
    url("assets/uae-poker-lounge-hero.png") center / cover;
}

.thanks-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.thanks-wrap h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.thanks-wrap .secondary-button {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--emerald-2);
}

.age-dialog .secondary-button {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 9px 13px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 24, 21, 0.9), rgba(3, 24, 21, 0.58)),
      linear-gradient(0deg, rgba(3, 24, 21, 0.74), rgba(3, 24, 21, 0.04));
  }

  .hero-content {
    margin-left: 18px;
    margin-bottom: 54px;
  }

  .section-grid,
  .features,
  .steps,
  .rules-panel {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 116px;
    line-height: 1.05;
  }

  .header-cta {
    font-size: 12px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
    text-align: center;
  }
}
