:root {
  --black: #030404;
  --panel: #0b0b0a;
  --panel-2: #11100d;
  --gold: #f0c46b;
  --gold-2: #b8832f;
  --cream: #fff0c7;
  --muted: #b8aa8b;
  --line: rgba(240, 196, 107, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family:
    "Noto Kufi Arabic", "Noto Sans Arabic", "SF Pro Display", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 22% 0%, rgba(240, 196, 107, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(184, 131, 47, 0.2), transparent 34%),
    linear-gradient(180deg, #050505, #090807 38%, #030404);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(240, 196, 107, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 196, 107, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(240, 196, 107, 0.14);
  background: rgba(3, 4, 4, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.crown {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(240, 196, 107, 0.18), rgba(255, 255, 255, 0.02));
}

.brand strong {
  display: block;
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.nav-actions button {
  height: 38px;
  padding: 0 14px;
  color: var(--cream);
  border: 1px solid rgba(240, 196, 107, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 44px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 740px;
  padding: 64px 0 84px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 9% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 107, 0.18), transparent 66%);
  filter: blur(12px);
}

.hero-copy,
.hero-art,
.feature-panel,
.showcase-card,
.rules,
.reward-grid article {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.feature-panel h2,
.section-title h2,
.showcase-card h2,
.rules h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead,
.feature-panel p,
.section-title p,
.showcase-card p,
.rules li,
.footer p {
  color: var(--muted);
  line-height: 1.85;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #100b02;
  border: 1px solid rgba(255, 241, 190, 0.6);
  background: linear-gradient(135deg, #fff1b7 0%, #d89a36 48%, #f2c56a 100%);
  box-shadow: 0 16px 38px rgba(216, 154, 54, 0.25);
}

.btn.ghost {
  color: var(--cream);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn.ghost.dark {
  background: rgba(0, 0, 0, 0.32);
}

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

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--cream);
  border: 1px solid rgba(240, 196, 107, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-art {
  justify-self: center;
  max-width: 520px;
  transform: rotate(-1.5deg);
}

.hero-art img {
  display: block;
  width: 100%;
  border: 1px solid rgba(240, 196, 107, 0.28);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1240px, calc(100% - 48px));
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
}

.steps article,
.reward-grid article,
.rules,
.feature-panel,
.showcase-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(11, 11, 10, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.steps article {
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #0a0802;
  background: linear-gradient(135deg, #ffe7a3, #c98b2d);
}

.steps h2,
.reward-grid h3 {
  margin: 18px 0 8px;
  color: var(--cream);
  font-size: 22px;
}

.steps p,
.reward-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 82px auto 0;
  padding: 34px;
  overflow: hidden;
}

.feature-panel h2,
.section-title h2,
.showcase-card h2,
.rules h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.feature-panel img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(240, 196, 107, 0.18);
}

.rewards {
  width: min(1240px, calc(100% - 48px));
  margin: 84px auto 0;
}

.section-title {
  max-width: 720px;
  margin-bottom: 26px;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reward-grid article {
  padding: 26px;
}

.reward-grid span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid rgba(240, 196, 107, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(240, 196, 107, 0.08);
  font-weight: 800;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 84px auto 0;
}

.showcase > img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(240, 196, 107, 0.22);
}

.showcase-card {
  padding: 34px;
}

.rules {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 30px;
  width: min(1240px, calc(100% - 48px));
  margin: 84px auto 0;
  padding: 34px;
}

.rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li {
  position: relative;
  padding: 14px 32px 14px 0;
  border-bottom: 1px solid rgba(240, 196, 107, 0.12);
}

.rules li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--gold);
}

.footer {
  padding: 56px 24px 112px;
  text-align: center;
}

.footer div {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  display: none;
  grid-template-columns: 0.82fr 1.15fr;
  gap: 10px;
  width: min(430px, calc(100% - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 4, 4, 0.82);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

@media (max-width: 860px) {
  .topbar {
    min-height: 62px;
    padding: 0 16px;
  }

  .nav-actions button:first-child {
    display: none;
  }

  .hero,
  .feature-panel,
  .showcase,
  .rules,
  .steps,
  .reward-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 430px);
    min-height: auto;
    gap: 28px;
    padding: 48px 0 80px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .split-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 390px;
    transform: none;
  }

  .steps,
  .feature-panel,
  .rewards,
  .showcase,
  .rules {
    width: min(100% - 28px, 430px);
    margin-top: 28px;
  }

  .feature-panel,
  .showcase-card,
  .rules {
    padding: 22px;
  }

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

  .showcase > img {
    order: 2;
  }

  .showcase-card {
    order: 1;
  }

  .sticky-cta {
    left: 14px;
    right: 14px;
    display: grid;
    width: auto;
    max-width: 430px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 40px;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
  }
}
