* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg0: #110b05;
  --bg1: #1d1308;
  --bg2: #2b1b0b;
  --sand: #d8b16c;
  --gold: #f2c14f;
  --amber: #ff9d2e;
  --ruby: #b24b33;
  --jade: #3b7f73;
  --ink: #f8f3e8;
  --muted: rgba(248,243,232,0.78);
  --card: rgba(255, 241, 214, 0.06);
  --stroke: rgba(242, 193, 79, 0.16);
  --shadow: 0 24px 60px rgba(0,0,0,0.42);
  --radius: 18px;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(242, 193, 79, 0.16), transparent 60%),
    radial-gradient(700px 420px at 88% 16%, rgba(178, 75, 51, 0.18), transparent 60%),
    radial-gradient(900px 520px at 50% 100%, rgba(59, 127, 115, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 42%, var(--bg2));
  width: 100%;
  overflow-x: hidden;
}

a { color: inherit; }

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}

h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin: 12px 0;
}

h3 {
  font-size: 1.25rem;
  margin: 16px 0 8px;
}

p {
  font-size: 16px;
  line-height: 29px;
  margin: 10px 0;
  color: var(--muted);
}

::selection {
  background: rgba(242,193,79,0.30);
}

.menu {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(17,11,5,0.82);
  border-bottom: 1px solid rgba(242,193,79,0.12);
  backdrop-filter: blur(12px);
}

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

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff6cf, rgba(255,255,255,0.15) 36%), linear-gradient(135deg, var(--gold), var(--amber), var(--ruby));
  box-shadow: 0 0 0 5px rgba(242,193,79,0.10), 0 12px 24px rgba(242,157,46,0.20);
}

.brand-text { color: var(--ink); }

.brand-badge {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(242,193,79,0.10);
  border: 1px solid rgba(242,193,79,0.18);
  color: var(--gold);
}

.menu-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.menu-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(248,243,232,0.86);
  transition: background 0.2s ease, transform 0.2s ease;
}

.menu-links a:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.hero {
  padding: 72px 18px 38px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(760px 320px at 18% 18%, rgba(242,193,79,0.18), transparent 60%),
    radial-gradient(640px 300px at 84% 16%, rgba(178,75,51,0.16), transparent 62%),
    radial-gradient(700px 320px at 60% 92%, rgba(59,127,115,0.14), transparent 60%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,243,232,0.82);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.lead {
  font-size: 18px;
  line-height: 31px;
  color: rgba(248,243,232,0.82);
  max-width: 760px;
}

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

.cta-button,
.ghost-button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.cta-button {
  color: #241404;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 18px 35px rgba(242,157,46,0.24);
}

.cta-button:hover { transform: translateY(-2px); filter: brightness(1.04); }

.ghost-button {
  color: rgba(248,243,232,0.94);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.ghost-button:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }

.micro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(248,243,232,0.9);
}

.hero-card {
  border-radius: var(--radius);
  background:
    radial-gradient(700px 320px at 30% 20%, rgba(242,193,79,0.10), transparent 60%),
    radial-gradient(700px 320px at 80% 40%, rgba(178,75,51,0.10), transparent 60%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-stage {
  padding: 18px;
}

.reel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reel-header span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,243,232,0.72);
}

.reel-header strong {
  font-size: 1rem;
  color: var(--gold);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.tile {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,247,230,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(242,193,79,0.14);
  font-size: 0.84rem;
  font-weight: 900;
  color: rgba(248,243,232,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.tile.rare {
  color: #2c1500;
  background: linear-gradient(180deg, #f6d071, #d89a2c);
}

.tile.explorer {
  color: #fef3d5;
  background: linear-gradient(180deg, rgba(178,75,51,0.70), rgba(83,35,23,0.95));
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.meter {
  display: grid;
  gap: 8px;
  width: 70%;
}

.meter span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,243,232,0.72);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--amber), var(--ruby));
  box-shadow: 0 10px 20px rgba(242,157,46,0.18);
}

.chip {
  font-weight: 900;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(242,193,79,0.12);
  border: 1px solid rgba(242,193,79,0.22);
  color: rgba(242,193,79,0.98);
}

.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 30px auto 10px;
  max-width: 1200px;
  padding: 0 16px;
}

.game-card {
  flex: 1;
  min-width: 260px;
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(255,248,231,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(242,193,79,0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-card h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: rgba(248,243,232,0.96);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.34);
  border-color: rgba(242,193,79,0.22);
}

.category-section {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 30px 20px;
  text-align: center;
  line-height: 1.85;
  background: rgba(255,248,231,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(0,0,0,0.22);
}

.category-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
}

.category-section ul li {
  margin: 8px 0;
  color: var(--muted);
}

.p-table, .table {
  width: min(920px, 100%);
  margin: 1.8rem auto;
  background: rgba(19, 12, 6, 0.72);
  border-radius: 14px;
  border: 1px solid rgba(242,193,79,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  text-align: left;
  border-collapse: collapse;
}

.p-table thead th,
.table thead th {
  background: linear-gradient(135deg, rgba(242,193,79,0.14), rgba(178,75,51,0.10));
  padding: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.p-table tbody td,
.table tbody td {
  padding: 12px 16px;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(248,243,232,0.84);
}

.p-table tbody tr:hover,
.table tbody tr:hover {
  background: rgba(242,193,79,0.05);
}

.p-table tbody tr:last-child td,
.table tbody tr:last-child td {
  border-bottom: none;
}

footer {
  margin-top: 34px;
  padding: 14px 10px 18px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(17,11,5,0.55);
}

footer p {
  color: rgba(248,243,232,0.58);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-links {
    width: 100%;
    justify-content: flex-start;
  }

  .reels-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .meter { width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding-top: 58px; }
  .p-table thead,
  .table thead { display: none; }
  .p-table tbody td,
  .table tbody td {
    display: block;
    padding: 10px 14px;
  }
  .p-table tbody td:first-child,
  .table tbody td:first-child {
    margin-top: 10px;
    font-weight: 900;
    color: var(--gold);
  }
}
