/* Party Spin Zone — enchanted social casino */
:root {
  --bg-deep: #070b14;
  --bg: #0c1220;
  --bg-elev: #121a2c;
  --bg-card: #152036;
  --line: rgba(232, 184, 74, 0.18);
  --text: #eef2f8;
  --muted: #9aa8c0;
  --gold: #e8b84a;
  --gold-soft: #f0d878;
  --teal: #5ec4b0;
  --teal-deep: #2a8f7e;
  --danger: #e07a7a;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}
a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.btn,
.menu-toggle,
.modal-close,
.auth-tabs button,
.game-card {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.game-card:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

.container {
  width: min(100% - clamp(2rem, 5vw, 4rem), var(--max));
  margin-inline: auto;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(94, 196, 176, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(232, 184, 74, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(42, 80, 140, 0.25), transparent 55%),
    linear-gradient(165deg, #070b14 0%, #0e1630 45%, #0a1a22 100%);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(240,216,120,0.12)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link .site-logo {
  width: clamp(124px, 13vw, 150px);
  height: auto;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin-left: 1rem;
  flex: 1;
}

.nav-main a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
}

.user-chip {
  font-size: 0.8rem;
  color: var(--teal);
  background: rgba(94, 196, 176, 0.12);
  border: 1px solid rgba(94, 196, 176, 0.28);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-badge {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(232, 184, 74, 0.2), rgba(94, 196, 176, 0.12));
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.coin-badge.visible {
  display: inline-flex;
}
.coin-badge.compact {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}
.coin-icon {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  color: #0b1220;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--teal));
  box-shadow: 0 8px 24px rgba(232, 184, 74, 0.25);
}
.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.55) 48%, rgba(7, 11, 20, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.95) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  max-width: 620px;
  animation: riseIn 0.9s ease both;
  text-wrap: balance;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: 0.12em;
  margin: 0 0 0.4rem;
  background: linear-gradient(120deg, #fff 10%, var(--gold-soft) 45%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 0.75rem;
  max-width: 34rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pulse-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(18, 26, 44, 0.7);
  padding: 0.7rem 0;
}
.pulse-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold-soft);
  text-transform: uppercase;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-head {
  margin-bottom: 1.75rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
}
.section-sub {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.trust-bar {
  padding: 1.5rem 0 0;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.trust-logo {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  animation: riseIn 0.7s ease both;
}
.step-card:nth-child(2) {
  animation-delay: 0.1s;
}
.step-card:nth-child(3) {
  animation-delay: 0.2s;
}
.step-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
}
.step-card h3 {
  margin: 0.4rem 0;
  font-size: 1.15rem;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 74, 0.45);
  box-shadow: var(--shadow);
  outline: none;
}

.game-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a1020;
  overflow: hidden;
}
.game-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-card:hover .game-card-cover {
  transform: scale(1.05);
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 20, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.game-card:hover .game-card-overlay {
  opacity: 1;
}
.play-btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--teal));
  color: #0b1220;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.game-card-body {
  padding: 0.95rem 1rem 1.1rem;
}
.game-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.game-card-body p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  border: 1px solid rgba(94, 196, 176, 0.3);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.provider-logo {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(1.05);
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
}

/* Content pages */
.page-hero {
  padding: 3rem 0 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 40rem;
}

.content-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
  margin-top: 0;
}
.content-block p,
.content-block li {
  color: var(--muted);
}
.content-block ul {
  padding-left: 1.2rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 16, 0.85);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--text);
}
.rg-logos {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rg-logos a {
  display: inline-block;
  background: #000;
  border-radius: 8px;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rg-logos img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.disclaimer {
  font-size: 0.72rem;
  line-height: 1.5;
  color: #7f8aa0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.25);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Modals */
.modal-overlay,
.game-modal-overlay,
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px);
}
.modal-overlay.open,
.game-modal-overlay.open,
.age-gate {
  display: flex;
}

.modal,
.age-gate-card {
  width: min(100%, 420px);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: linear-gradient(165deg, #162038, #0f1728);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: riseIn 0.35s ease both;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.modal-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.auth-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
.auth-tabs button.active {
  color: #0b1220;
  background: linear-gradient(135deg, var(--gold-soft), var(--teal));
  border-color: transparent;
}

.welcome-bonus {
  background: rgba(94, 196, 176, 0.1);
  border: 1px solid rgba(94, 196, 176, 0.25);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.welcome-bonus strong {
  color: var(--gold-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
}
.form-group input.error {
  border-color: var(--danger);
}
.form-error {
  display: none;
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}
.form-error.visible {
  display: block;
}
.form-checkbox .checkbox-label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
}
.form-checkbox input {
  margin-top: 0.2rem;
}

/* Game window */
.game-modal {
  width: min(100%, 1100px);
  height: min(92vh, 760px);
  height: min(92dvh, 760px);
  display: flex;
  flex-direction: column;
  background: #0a1020;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: riseIn 0.3s ease both;
}
.game-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(18, 26, 44, 0.95);
  border-bottom: 1px solid var(--line);
}
.game-modal-title-wrap h2 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.game-modal-provider {
  font-size: 0.75rem;
  color: var(--teal);
}
.game-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.game-modal-note {
  margin: 0;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(232, 184, 74, 0.08);
  border-bottom: 1px solid var(--line);
}
.game-frame-wrap {
  position: relative;
  flex: 1;
  background: #000;
  min-height: 0;
}
.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.frame-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  color: var(--muted);
  background: #0a1020;
  z-index: 2;
}
.frame-loading.hidden {
  display: none;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(232, 184, 74, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.age-gate-card {
  text-align: center;
}
.age-gate-card h2 {
  font-family: var(--font-display);
  margin: 1rem 0 0.5rem;
}
.age-gate-card p {
  color: var(--muted);
}
.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  background: #162038;
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  max-width: min(92vw, 480px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 0.92rem;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #121a2c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}
.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}

.cta-band {
  margin: 2rem 0;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 184, 74, 0.15), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(94, 196, 176, 0.12), transparent 40%),
    var(--bg-card);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 1rem;
}

@media (max-width: 1080px) {
  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 16, 32, 0.98);
    padding: 0.75rem max(1rem, env(safe-area-inset-left)) 1rem;
    border-bottom: 1px solid var(--line);
    margin: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-main.open {
    display: flex;
  }
  .nav-main a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.55rem 0.25rem;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header-inner {
    gap: 0.65rem;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: min(780px, calc(100dvh - var(--header-h)));
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: 720px;
    min-height: min(780px, calc(100dvh - var(--header-h)));
    align-items: end;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(7, 11, 20, 0.98) 0%, rgba(7, 11, 20, 0.76) 42%, rgba(7, 11, 20, 0.18) 76%),
      linear-gradient(90deg, rgba(7, 11, 20, 0.35), transparent 55%);
  }

  .hero-content {
    padding: 7rem 0 2rem;
    max-width: 34rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .game-card-body {
    padding: 0.85rem;
  }

  .game-card-body h3 {
    font-size: 0.98rem;
  }

  .provider-logo {
    max-width: 120px;
  }

  .game-modal-overlay,
  .modal-overlay,
  .age-gate {
    padding: 0.75rem;
  }

  .game-modal {
    height: calc(100dvh - 1.5rem);
  }

  .game-modal-note {
    font-size: 0.72rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions #btn-open-login,
  .header-actions #btn-open-register,
  .header-actions .user-chip {
    display: none;
  }

  .header-actions #btn-logout {
    min-width: 44px;
    padding-inline: 0.75rem;
  }

  .coin-badge {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  .hero-brand {
    font-size: clamp(2.55rem, 15vw, 3.5rem);
  }

  .hero h1 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .trust-logos {
    justify-content: flex-start;
  }

  .trust-logo {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
    padding-inline: 0.6rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card-thumb {
    aspect-ratio: 16 / 9;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
  }

  .game-modal {
    height: calc(100dvh - 1rem);
    border-radius: 10px;
  }

  .game-modal-bar {
    padding: 0.6rem 0.75rem;
  }

  .game-modal-actions .coin-badge {
    display: none;
  }

  .game-modal-note {
    padding-inline: 0.75rem;
  }

  .age-gate-actions {
    display: grid;
  }

  .age-gate-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .logo-link .site-logo {
    width: 112px;
  }

  .header-inner {
    gap: 0.35rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .content-block,
  .modal,
  .age-gate-card {
    padding: 1.1rem;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 4rem 0 1.5rem;
  }

  .game-modal {
    height: calc(100dvh - 0.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   PARTY SPIN ZONE — sunset editorial / soft glass identity
   ========================================================= */
body.brand-zone {
  --bg-deep: #181328;
  --bg: #241a38;
  --bg-elev: rgba(62, 43, 84, 0.78);
  --bg-card: rgba(73, 50, 98, 0.84);
  --line: rgba(255, 211, 165, 0.24);
  --text: #fff8ef;
  --muted: #d8c9d8;
  --gold: #ff9f43;
  --gold-soft: #ffd3a5;
  --teal: #c4a7ff;
  --teal-deep: #8b5cf6;
  --radius: 20px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

.brand-zone .bg-layer {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,159,67,.26), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(139,92,246,.25), transparent 34%),
    linear-gradient(160deg, #191127 0%, #3a2047 52%, #161427 100%);
}

.brand-zone .site-header {
  background: rgba(25, 17, 39, .76);
  border-bottom-color: rgba(255, 211, 165, .22);
}

.brand-zone .logo-link .site-logo {
  width: clamp(175px, 18vw, 230px);
}

.brand-zone .nav-main a {
  letter-spacing: .03em;
}

.brand-zone .btn-primary {
  background: linear-gradient(135deg, #ffd3a5, #ff9f43 46%, #8b5cf6);
  box-shadow: 0 12px 35px rgba(255,159,67,.25);
}

.brand-zone .hero {
  min-height: min(860px, calc(100dvh - var(--header-h)));
}

.brand-zone .hero-media img {
  filter: saturate(.9) sepia(.12) hue-rotate(338deg);
}

.brand-zone .hero-media::after {
  background:
    linear-gradient(90deg, rgba(30,18,44,.9), rgba(68,37,75,.35) 58%, rgba(34,21,49,.25)),
    linear-gradient(0deg, #241a38 0%, transparent 55%);
}

.brand-zone .hero-content {
  max-width: 750px;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.brand-zone .hero-brand {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .78;
  max-width: 8ch;
  background: linear-gradient(130deg, #fff8ef, #ffd3a5 48%, #c4a7ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-zone .hero h1 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(.95rem, 2vw, 1.25rem);
  color: #ffd3a5;
  margin-top: 1.5rem;
}

.brand-zone .hero-lead {
  font-size: 1rem;
  max-width: 58ch;
}

.brand-zone .pulse-marquee {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}

.brand-zone .pulse-marquee-track {
  color: #ffd3a5;
}

.brand-zone .section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.brand-zone .section-label {
  color: #ffb66f;
}

.brand-zone .section-title,
.brand-zone .page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
}

.brand-zone .step-card,
.brand-zone .game-card,
.brand-zone .content-block,
.brand-zone .cta-band {
  background: rgba(70, 47, 92, .66);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(11,7,23,.3);
}

.brand-zone .step-card {
  text-align: center;
  padding-block: 2rem;
}

.brand-zone .step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  color: #2a183a;
  background: linear-gradient(135deg, #ffd3a5, #c4a7ff);
  font-family: var(--font-body);
}

.brand-zone .game-card {
  border-radius: 22px;
}

.brand-zone .game-card-thumb {
  border-radius: 18px;
  margin: 7px;
}

.brand-zone .tag {
  border-color: rgba(255,211,165,.3);
  color: #ffd3a5;
}

.brand-zone .provider-logo {
  background: rgba(255,255,255,.06);
  border-radius: 999px;
}

.brand-zone .page-hero {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255,159,67,.16), transparent 65%);
}

.brand-zone .page-hero p {
  margin-inline: auto;
}

.brand-zone .operator-line {
  text-align: center;
  color: #ffd3a5;
  font-family: var(--font-display);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .brand-zone .logo-link .site-logo {
    width: 162px;
  }

  .brand-zone .hero-brand {
    font-size: clamp(3.4rem, 19vw, 5.4rem);
  }

  .brand-zone .hero-content {
    text-align: center;
  }

  .brand-zone .hero-cta {
    justify-content: center;
  }

  .brand-zone .hero-disclaimer {
    text-align: left;
  }
}

/* =========================================================
   REGION GATE — Canada-only access
   ========================================================= */
html.geo-pending body {
  visibility: hidden;
}

html.geo-blocked,
html.geo-blocked body {
  overflow: hidden;
}

html.geo-blocked body > *:not(.geo-block) {
  display: none !important;
}

.geo-block {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--bg-deep);
}

.geo-block-inner {
  max-width: 640px;
}

.geo-block-brand {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.geo-block h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.12;
  color: var(--text);
  text-wrap: balance;
}

.geo-block-text {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}