:root {
  --stage-bg-a: #1a0a2e;
  --stage-bg-b: #12071f;
  --stage-card: #1f1035;
  --stage-line: rgba(255, 215, 0, 0.15);
  --stage-gold-a: #f59e0b;
  --stage-gold-b: #fbbf24;
  --stage-violet: #7c3aed;
  --stage-text: #faf5ff;
  --stage-dim: #d9cce8;
  --stage-max: 1160px;
  --stage-radius: 16px;
  --stage-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--stage-text);
  background: radial-gradient(circle at 20% 15%, rgba(124, 58, 237, 0.35), transparent 42%),
    linear-gradient(160deg, var(--stage-bg-a), var(--stage-bg-b));
  min-height: 100vh;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.stage-shell {
  width: min(var(--stage-max), calc(100% - 2.25rem));
  margin: 0 auto;
}

.stage-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.stage-topbar.stage-solid {
  background: rgba(24, 10, 43, 0.95);
  border-bottom-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.stage-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.stage-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.2px;
}

.stage-crown {
  color: var(--stage-gold-b);
  font-size: 1.4rem;
}

.stage-logo-casino {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--stage-gold-b);
}

.stage-logo-top {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--stage-dim);
}

.stage-menu-button {
  display: none;
  border: 1px solid var(--stage-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--stage-text);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.stage-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: var(--stage-gold-b);
}

.stage-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.stage-nav a {
  text-decoration: none;
  color: var(--stage-dim);
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.stage-nav a:hover,
.stage-nav a:focus-visible {
  color: var(--stage-gold-b);
  border-bottom-color: var(--stage-gold-b);
}

.stage-hero {
  position: relative;
  padding: 5.7rem 0 4.9rem;
  text-align: center;
}

.stage-hero::before {
  content: '';
  position: absolute;
  inset: 10% 15% auto;
  height: 280px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 68%);
  filter: blur(4px);
  z-index: -1;
}

.stage-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  color: var(--stage-gold-b);
  line-height: 1.12;
  position: relative;
}

.stage-hero h1::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.85), transparent);
  animation: stageShimmer 2.8s infinite linear;
}

@keyframes stageShimmer {
  0% {
    opacity: 0.25;
    transform: scaleX(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.25;
    transform: scaleX(0.55);
  }
}

.stage-hero p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--stage-dim);
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.stage-prime-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  text-decoration: none;
  color: #241104;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(90deg, var(--stage-gold-a), var(--stage-gold-b));
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stage-prime-btn:hover,
.stage-prime-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(251, 191, 36, 0.5);
  filter: brightness(1.06);
}

.stage-block {
  padding: 3.4rem 0;
}

.stage-block-heading {
  margin: 0 0 0.8rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--stage-gold-b);
}

.stage-block-copy {
  margin: 0 0 1.6rem;
  color: var(--stage-dim);
  max-width: 790px;
}

.stage-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stage-rate-tile {
  background: linear-gradient(170deg, rgba(31, 16, 53, 0.9), rgba(28, 14, 48, 0.95));
  border: 1px solid var(--stage-line);
  border-left: 3px solid var(--stage-gold-a);
  border-radius: 14px;
  padding: 1.1rem 1rem;
}

.stage-rate-tile h3 {
  margin: 0 0 0.55rem;
  color: var(--stage-gold-b);
  font-size: 1.08rem;
}

.stage-rate-tile p {
  margin: 0;
  color: #f0e6fb;
  line-height: 1.58;
}

.stage-casino-zone {
  display: grid;
  gap: 1.2rem;
}

.stage-entry {
  background: var(--stage-card);
  border: 1px solid var(--stage-line);
  border-left: 3px solid var(--stage-gold-a);
  border-radius: var(--stage-radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(120px, 136px) minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
  box-shadow: var(--stage-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stage-entry.stage-hovered {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(124, 58, 237, 0.25);
}

.stage-logo-vault {
  width: 124px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.stage-logo-vault img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stage-brand-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.22rem;
}

.stage-starline {
  color: var(--stage-gold-b);
  letter-spacing: 1.2px;
  font-size: 0.9rem;
}

.stage-score {
  color: var(--stage-dim);
  margin-left: 0.45rem;
}

.stage-bonus-wrap {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.6);
  border-radius: 12px;
  padding: 0.72rem 0.82rem;
}

.stage-bonus-wrap a {
  color: var(--stage-text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  font-size: 1.02rem;
}

.stage-pillbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.stage-pill {
  font-size: 0.76rem;
  color: #f7eccc;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
}

.stage-action-col {
  text-align: right;
}

.stage-go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  text-decoration: none;
  color: #2b1202;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--stage-gold-a), var(--stage-gold-b));
  padding: 0.78rem 1rem;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.stage-go-btn:hover,
.stage-go-btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.stage-tiny-note {
  margin-top: 0.5rem;
  font-size: 0.73rem;
  color: #d8c7ea;
  max-width: 190px;
  margin-left: auto;
}

.stage-newsfeed {
  display: grid;
  gap: 0.85rem;
}

.stage-news-chip {
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  background: rgba(20, 9, 33, 0.55);
  overflow: hidden;
}

.stage-news-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--stage-text);
  text-align: left;
  font-family: inherit;
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

.stage-news-toggle span:last-child {
  color: var(--stage-gold-b);
}

.stage-news-body {
  display: none;
  padding: 0 1rem 0.95rem;
  color: var(--stage-dim);
  line-height: 1.55;
}

.stage-news-chip.stage-open .stage-news-body {
  display: block;
}

.stage-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stage-game-card {
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 14px;
  background: rgba(22, 10, 36, 0.6);
  padding: 1rem;
}

.stage-game-card h3 {
  margin: 0 0 0.45rem;
  color: var(--stage-gold-b);
}

.stage-game-card p {
  margin: 0;
  color: #f4ebfd;
  line-height: 1.6;
}

.stage-safety {
  background: rgba(16, 7, 28, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 16px;
  padding: 1.25rem;
}

.stage-alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.stage-alert {
  border: 1px solid rgba(251, 191, 36, 0.27);
  background: rgba(37, 16, 62, 0.7);
  border-radius: 12px;
  padding: 0.7rem;
  color: #f7ecff;
  font-size: 0.92rem;
}

.stage-help-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stage-help-links a {
  color: var(--stage-gold-b);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 191, 36, 0.5);
}

.stage-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stage-team-card {
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 13px;
  background: rgba(21, 8, 36, 0.62);
  padding: 1rem;
}

.stage-team-card h3 {
  margin: 0;
  color: var(--stage-gold-b);
}

.stage-team-role {
  margin: 0.2rem 0 0.6rem;
  color: #decdf0;
  font-size: 0.9rem;
}

.stage-team-card p {
  margin: 0;
  line-height: 1.6;
  color: #f1e8fb;
}

.stage-contact-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.stage-panel {
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(24, 10, 40, 0.7);
}

.stage-panel ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.7;
}

.stage-panel form {
  display: grid;
  gap: 0.72rem;
}

.stage-panel input,
.stage-panel textarea {
  width: 100%;
  font: inherit;
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  padding: 0.7rem;
}

.stage-panel textarea {
  min-height: 110px;
  resize: vertical;
}

.stage-foot {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  background: rgba(15, 5, 26, 0.88);
}

.stage-foot-grid {
  padding: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.stage-foot h4 {
  margin: 0 0 0.6rem;
  color: var(--stage-gold-b);
  font-family: 'Playfair Display', serif;
}

.stage-foot p,
.stage-foot li,
.stage-foot a {
  color: #eadcf9;
  font-size: 0.92rem;
  line-height: 1.55;
}

.stage-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.stage-foot a {
  text-decoration: none;
}

.stage-foot a:hover {
  color: var(--stage-gold-b);
}

.stage-foot-bar {
  border-top: 1px solid rgba(251, 191, 36, 0.17);
  padding: 0.88rem 0 1.3rem;
  color: #ddceec;
  font-size: 0.84rem;
  line-height: 1.65;
}

.stage-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(23, 10, 38, 0.98);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
  padding: 0.92rem;
  display: none;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stage-cookie.stage-show {
  display: flex;
}

.stage-cookie p {
  margin: 0;
  color: #f0e4ff;
}

.stage-cookie-row {
  display: flex;
  gap: 0.5rem;
}

.stage-lite-btn,
.stage-dark-btn {
  border: 0;
  padding: 0.5rem 0.82rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.stage-lite-btn {
  color: #271203;
  background: linear-gradient(90deg, var(--stage-gold-a), var(--stage-gold-b));
}

.stage-dark-btn {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.1);
}

.stage-age-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 2, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.stage-age-wrap.stage-show {
  display: flex;
}

.stage-age-box {
  width: min(540px, 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(160deg, #1f1035, #170c2a);
  border-radius: 16px;
  padding: 1.3rem;
  text-align: center;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.stage-age-box h2 {
  margin: 0 0 0.55rem;
  font-family: 'Playfair Display', serif;
  color: var(--stage-gold-b);
}

.stage-age-box p {
  margin: 0 0 1rem;
  color: #eadcf9;
}

.stage-age-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.stage-legal-page .stage-shell {
  padding-top: 2rem;
}

.stage-legal-head {
  margin-bottom: 1.2rem;
}

.stage-legal-head h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: var(--stage-gold-b);
}

.stage-legal-head p {
  margin: 0.35rem 0 0;
  color: var(--stage-dim);
}

.stage-legal-stack {
  display: grid;
  gap: 0.95rem;
}

.stage-legal-arc {
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  background: rgba(25, 10, 40, 0.66);
  padding: 1rem;
}

.stage-legal-arc h2 {
  margin: 0 0 0.5rem;
  color: var(--stage-gold-b);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.stage-legal-arc p,
.stage-legal-arc li {
  color: #f2e9fb;
  line-height: 1.64;
}

.stage-legal-arc ul {
  margin: 0;
  padding-left: 1rem;
}

@media (max-width: 1040px) {
  .stage-entry {
    grid-template-columns: minmax(120px, 136px) minmax(0, 1fr);
  }

  .stage-action-col {
    text-align: left;
    grid-column: 1 / -1;
  }

  .stage-tiny-note {
    margin-left: 0;
    max-width: unset;
  }

  .stage-team-grid,
  .stage-alert-grid,
  .stage-game-grid,
  .stage-contact-shell,
  .stage-foot-grid,
  .stage-rate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .stage-menu-button {
    display: inline-block;
  }

  .stage-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(22, 8, 37, 0.98);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding: 0.9rem 1rem 1rem;
  }

  .stage-nav.stage-open {
    display: flex;
  }

  .stage-entry {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stage-logo-vault {
    width: 132px;
  }
}
