* {
  box-sizing: border-box;
}

:root {
  --black: #000;
  --dark: #080808;
  --card: #111;
  --card-light: #171717;
  --line: #2a2a2a;
  --text: #fff;
  --muted: #b7b7b7;
  --soft: #efefef;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(135deg, #000, #0b0b0b 55%, #000);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .7;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 6%;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .2px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(255,255,255,.22);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a:hover {
  color: #fff;
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 900;
  padding: 13px 18px;
  transition: .2s;
  border: 0;
  cursor: pointer;
}

.nav-button,
.primary {
  background: #fff;
  color: #000;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: #fff;
}

.button:hover,
.nav-button:hover,
.card:hover,
.step:hover,
.feature-row:hover {
  transform: translateY(-4px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 70px 6%;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .94;
  letter-spacing: -4px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -1.8px;
}

h3 {
  margin: 0 0 10px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 680px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.stats,
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  gap: 14px;
}

.stats div,
.countdown-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.stats strong,
.countdown-grid strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.countdown-grid strong {
  font-size: clamp(34px, 5vw, 64px);
}

.stats span,
.countdown-grid span {
  color: var(--muted);
  font-size: 14px;
}

.game-card,
.card,
.step,
.feature-row,
.code-box,
.countdown-card,
details,
.cta,
.admin-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  transition: .25s;
}

.game-card {
  overflow: hidden;
  animation: floatCard 5s ease-in-out infinite;
}

.game-preview {
  height: 300px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #171717 58%, #000);
}

.hero-logo {
  width: 156px;
  height: 156px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}

.game-info {
  padding: 26px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #ddd;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 80px 6%;
}

.alt {
  background: rgba(255,255,255,.025);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.countdown-card {
  max-width: 900px;
  margin: auto;
  padding: 32px;
  text-align: center;
}

.countdown-grid {
  max-width: none;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-date {
  margin-bottom: 0;
}

.three-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.step {
  padding: 26px;
}

.card-icon {
  font-size: 32px;
  display: inline-block;
  margin-bottom: 16px;
}

.feature-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 34px auto 0;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
}

.feature-row span {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.code-box {
  max-width: 650px;
  margin: auto;
  padding: 32px;
  text-align: center;
}

.code-box span {
  display: block;
  font-family: monospace;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .08em;
}

.faq {
  max-width: 980px;
  margin: auto;
}

details {
  padding: 24px;
  margin-top: 14px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

.cta {
  margin: 60px 6% 80px;
  padding: 50px 28px;
  text-align: center;
}

footer {
  padding: 32px 6%;
  border-top: 1px solid var(--line);
  text-align: center;
}

.admin-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
}

.admin-card {
  width: min(720px, 100%);
  padding: 34px;
}

.admin-logo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 34px rgba(255,255,255,.22);
  margin-bottom: 20px;
}

label {
  display: block;
  color: #fff;
  font-weight: 800;
  margin-top: 18px;
}

input {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
}

.full {
  width: 100%;
  margin-top: 16px;
}

.error {
  color: #fff;
  font-weight: 800;
}

.hidden {
  display: none;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.note {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.05);
}

.preview-box {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .three-grid,
  .steps,
  .stats,
  .countdown-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -2px;
  }
}

@media (max-width: 560px) {
  .nav-button {
    display: none;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
