:root {
  --ink: #e2e8f0;
  --navy: #0b1b24;
  --mint: #2dd4bf;
  --coral: #ff7a3d;
  --sun: #ffd166;
  --peach: #2b1d12;
  --card: #0f1824;
  --line: rgba(148, 163, 184, 0.2);
  --shadow: 0 18px 30px rgba(2, 6, 12, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #162231, #0b111b 45%, #070b12 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Bungee", "Trebuchet MS", sans-serif;
  margin: 0 0 12px;
}

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

.bg-blend {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 48px;
  opacity: 0.7;
  z-index: 0;
}

.bg-top {
  top: -120px;
  right: -120px;
  background: linear-gradient(140deg, #ffb84d, #ff7a3d);
  transform: rotate(18deg);
}

.bg-bottom {
  bottom: -140px;
  left: -120px;
  background: linear-gradient(140deg, #2dd4bf, #0ea5e9);
  transform: rotate(-12deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 8vw;
  background: rgba(9, 15, 24, 0.92);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0b111b;
  background: linear-gradient(140deg, #ffb84d, #ff7a3d);
  box-shadow: var(--shadow);
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.player-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 24, 36, 0.75);
  font-weight: 700;
}

.page {
  position: relative;
  z-index: 1;
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb84d;
  margin: 0 0 16px;
}

.hero-text {
  font-size: 1.05rem;
  color: #cbd5f5;
}

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

.panel {
  background: rgba(15, 24, 36, 0.92);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}

.callout {
  background: rgba(255, 184, 77, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 184, 77, 0.4);
  font-size: 0.9rem;
}

.catalog {
  margin-top: 50px;
  display: grid;
  gap: 18px;
}

.section-header p {
  color: #94a3b8;
  margin: 0;
}

.provider-group {
  background: rgba(15, 24, 36, 0.95);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.provider-title {
  font-family: "Bungee", sans-serif;
  font-size: 1.1rem;
}

.game-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.game-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  background: rgba(11, 17, 27, 0.9);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-2px);
}

.game-title {
  font-weight: 700;
}

.game-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.empty-state {
  font-size: 0.85rem;
  color: #94a3b8;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a3d, #ffb84d);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #0b1b24;
  color: white;
}

.btn-light {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn:hover {
  transform: translateY(-2px);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 15, 0.7);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  width: min(420px, 90vw);
  background: rgba(15, 24, 36, 0.96);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
  z-index: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  display: grid;
  gap: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 184, 77, 0.2);
  border-radius: 10px;
  padding: 4px 10px;
  font-weight: 700;
  cursor: pointer;
}

.field-group {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 700;
  font-size: 0.85rem;
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Nunito", sans-serif;
  background: rgba(11, 17, 27, 0.9);
  color: var(--ink);
}

.form-status {
  min-height: 18px;
  font-size: 0.85rem;
  color: #fca5a5;
}

.is-hidden {
  display: none !important;
}

.launch-page {
  display: grid;
  place-items: center;
}

.launch-panel {
  max-width: 520px;
  text-align: center;
}

.launch-token {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 17, 27, 0.9);
  display: grid;
  gap: 6px;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}

.info-value {
  font-weight: 700;
}

.site-footer {
  padding: 40px 8vw 60px;
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
  }

  .nav-actions {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }
}
