:root {
  --glow: #4EE0C2;
  --base: #121820;
  --box: #18222C;
  --chip: #1B2633;
  --edge: #2C3A4A;
  --ink: #EEF3F7;
  --dim: #9AADB8;
  --on-glow: #0A1216;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --max: 1120px;
  --font-display: "Sora", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(78, 224, 194, 0.14), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(40, 90, 140, 0.22), transparent 50%),
    linear-gradient(180deg, #0E141A 0%, var(--base) 40%, #101820 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--glow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.a11y-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--glow);
  color: var(--on-glow);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.a11y-skip:focus {
  left: 1rem;
  top: 1rem;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(18, 24, 32, 0.84);
  border-bottom: 1px solid rgba(44, 58, 74, 0.85);
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.mark img {
  width: min(168px, 42vw);
  height: auto;
}

.nav-list {
  display: none;
  gap: 1.25rem;
}

.nav-list a {
  color: var(--dim);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--glow);
}

.masthead-acts {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.cta--solid {
  background: var(--glow);
  color: var(--on-glow);
  box-shadow: 0 8px 28px rgba(78, 224, 194, 0.28);
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.cta--solid:hover {
  animation: none;
  box-shadow: 0 12px 34px rgba(78, 224, 194, 0.42);
}

.cta--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--edge);
}

.cta--outline:hover {
  border-color: var(--glow);
  color: var(--glow);
}

.cta--lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 6px 22px rgba(78, 224, 194, 0.22);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 10px 36px rgba(78, 224, 194, 0.5);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta--solid {
    animation: none;
  }
}

.intro {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 24, 32, 0.96) 28%, rgba(18, 24, 32, 0.72) 55%, rgba(18, 24, 32, 0.35) 100%),
    url("../images/hero.webp") center/cover no-repeat;
  z-index: -1;
}

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--chip);
  border: 1px solid var(--edge);
  color: var(--dim);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.intro-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 12px var(--glow);
  animation: softPulse 1.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 0.8rem;
  letter-spacing: -0.03em;
}

.intro h1 .highlight {
  color: var(--glow);
}

.intro-lead {
  color: var(--dim);
  font-size: 1.08rem;
  max-width: 48ch;
  margin: 0 0 1.5rem;
}

.promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.promo-tags strong {
  background: linear-gradient(135deg, rgba(78, 224, 194, 0.2), rgba(78, 224, 194, 0.05));
  border: 1px solid rgba(78, 224, 194, 0.38);
  color: var(--glow);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.intro-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--dim);
  font-size: 0.88rem;
}

.trust-chips span {
  background: var(--chip);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.intro-media {
  position: relative;
  justify-self: center;
  max-width: 420px;
  animation: driftY 5.5s ease-in-out infinite;
}

.intro-media img {
  width: 100%;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.45));
}

@keyframes driftY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

section {
  padding: 3.2rem 0;
}

.heading {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.copy {
  color: var(--dim);
  max-width: 72ch;
  margin: 0 0 1.75rem;
}

.box {
  background: var(--box);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.notice-strip {
  border-left: 3px solid var(--glow);
  background: rgba(78, 224, 194, 0.07);
  padding: 1rem 1.15rem;
  border-radius: 0 12px 12px 0;
  color: var(--dim);
  margin: 1.5rem 0;
}

.notice-strip strong {
  color: var(--ink);
}

.flow-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--glow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.flow-line span {
  background: var(--chip);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
}

.flow-line i {
  font-style: normal;
  color: var(--glow);
  opacity: 0.7;
}

.formula {
  background: var(--chip);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--glow);
  margin: 0 0 1.5rem;
}

.checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--dim);
}

.checklist li {
  margin-bottom: 0.45rem;
}

.table-box {
  overflow-x: auto;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--box);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--edge);
  vertical-align: top;
}

th {
  background: var(--chip);
  color: var(--glow);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

td:first-child {
  color: var(--dim);
  width: 34%;
}

.promo-table {
  min-width: 760px;
}

.promo-table td:first-child {
  width: 18%;
  color: var(--ink);
  background: rgba(27, 38, 51, 0.7);
  vertical-align: middle;
}

.games-row {
  padding: 1.25rem 0 2.5rem;
}

.games-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.game-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--edge);
  background: var(--chip);
  aspect-ratio: 1;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-tile:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(78, 224, 194, 0.65);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.game-tile:hover img {
  transform: scale(1.08);
  filter: brightness(0.72);
}

.game-tile .game-veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 18, 22, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-tile:hover .game-veil,
.game-tile:focus-visible .game-veil {
  opacity: 1;
}

.game-tile .game-play {
  background: var(--glow);
  color: var(--on-glow);
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  transform: translateY(10px) scale(0.92);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 24px rgba(78, 224, 194, 0.35);
}

.game-tile:hover .game-play,
.game-tile:focus-visible .game-play {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.join-zone {
  position: relative;
}

.join-zone::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(circle at 50% 50%, rgba(78, 224, 194, 0.09), transparent 60%);
  pointer-events: none;
}

.join-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.join-form {
  display: grid;
  gap: 0.9rem;
}

.input-row {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--dim);
}

input,
select {
  width: 100%;
  background: var(--chip);
  border: 1px solid var(--edge);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(78, 224, 194, 0.16);
}

.tick-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--dim);
}

.tick-row input {
  width: auto;
  margin-top: 0.2rem;
}

.join-perks {
  display: grid;
  gap: 0.8rem;
}

.perk-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--chip);
  border: 1px solid var(--edge);
}

.perk-item i {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--glow);
  flex-shrink: 0;
}

.pay-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pay-chip {
  background: var(--chip);
  border: 1px solid var(--edge);
  border-radius: 12px;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.pay-chip img {
  max-height: 36px;
  width: auto;
}

.vendor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.vendor-chip {
  background: var(--chip);
  border: 1px solid var(--edge);
  color: var(--dim);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.vendor-chip:hover {
  color: var(--glow);
  border-color: rgba(78, 224, 194, 0.45);
}

.step-row {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--box);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--glow);
  color: var(--on-glow);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
}

.step-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.step-card p {
  margin: 0;
  color: var(--dim);
}

.faq-list details {
  background: var(--box);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-display);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--glow);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  color: var(--dim);
  margin: 0.8rem 0 0;
}

.finale {
  background:
    linear-gradient(135deg, rgba(78, 224, 194, 0.12), transparent 45%),
    var(--box);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 1.6rem;
}

.finale-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--chip);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
  color: var(--glow);
  font-weight: 700;
}

.site-end {
  margin-top: 2rem;
  border-top: 1px solid var(--edge);
  background: #0E141A;
  padding: 2.5rem 0 1.5rem;
}

.end-grid {
  display: grid;
  gap: 1.5rem;
}

.end-brand p {
  color: var(--dim);
  font-size: 0.92rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.badge-row a,
.badge-row span {
  display: inline-flex;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-row a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.badge-row img {
  height: 36px;
  width: auto;
}

.end-meta {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--edge);
  color: var(--dim);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.age-tag {
  color: var(--glow);
  font-weight: 700;
}

.mid-cta {
  text-align: center;
  padding: 2.2rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(78, 224, 194, 0.3);
  background:
    linear-gradient(180deg, rgba(78, 224, 194, 0.1), transparent),
    var(--box);
}

.mid-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.mid-cta p {
  margin: 0 0 1.2rem;
  color: var(--dim);
}

@media (min-width: 720px) {
  .nav-list { display: flex; }
  .games-list { grid-template-columns: repeat(3, 1fr); }
  .pay-row { grid-template-columns: repeat(6, 1fr); }
  .input-row { grid-template-columns: 1fr 1fr; }
  .join-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .end-grid { grid-template-columns: 1.1fr 1fr; }
  .step-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .intro-grid { grid-template-columns: 1.1fr 0.9fr; }
  .games-list { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 719px) {
  .cta { padding: 0.7rem 1rem; font-size: 0.88rem; }
  .pay-row { grid-template-columns: repeat(3, 1fr); }
}
