/* spinmaniazone.com — SpinMania Zone */

.form-group.form-checkbox {
  margin-bottom: 1.25rem;
}

.form-group.form-checkbox > .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.form-group.form-checkbox > .checkbox-label input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  align-self: center;
  accent-color: var(--accent-purple);
  cursor: pointer;
  vertical-align: middle;
}

.form-group.form-checkbox > .checkbox-label span {
  flex: 1;
  display: block;
  padding-top: 0.05rem;
  line-height: 1.35;
}

.form-group.form-checkbox > .checkbox-label strong {
  color: var(--accent-gold);
}

.auth-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(13, 6, 24, 0.94);
  text-align: center;
  padding: 2rem;
}

.auth-gate.hidden { display: none; }

.auth-gate h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.auth-gate p {
  color: var(--text-muted);
  max-width: 360px;
}

.auth-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
:root {
  --bg-deep: #0d0618;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(26, 10, 46, 0.75);
  --accent-gold: #ffd54f;
  --accent-pink: #ff6b9d;
  --accent-purple: #7c4dff;
  --accent-cyan: #40c4ff;
  --text: #f5f0ff;
  --text-muted: #b39ddb;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 40px rgba(124, 77, 255, 0.35);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-deep);
  overflow: hidden;
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 60%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora::before {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.aurora::after {
  bottom: -30%;
  right: -15%;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.1); }
}

/* Floating coins */
.coins-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.coin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #ff8f00);
  opacity: 0.25;
  animation: float-coin linear infinite;
}

@keyframes float-coin {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

a { color: var(--accent-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-gold); }

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(13, 6, 24, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img,
.logo-link .site-logo {
  height: 42px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-main a {
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text);
  background: rgba(124, 77, 255, 0.2);
}

.nav-info-compact {
  display: none;
  position: relative;
}

.nav-info-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 7.5rem;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 213, 79, 0.35);
  background: rgba(124, 77, 255, 0.25)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffd54f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.75rem center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.nav-info-select:hover,
.nav-info-select:focus {
  outline: none;
  border-color: rgba(255, 213, 79, 0.6);
  background-color: rgba(124, 77, 255, 0.35);
}

.nav-info-select option {
  background: #1a0a2e;
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coin-badge {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, rgba(255, 213, 79, 0.2), rgba(255, 107, 157, 0.15));
  border: 1px solid rgba(255, 213, 79, 0.35);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.coin-badge.visible { display: flex; }

.coin-badge .coin-icon { font-size: 1.1rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  color: inherit;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #ff8f00);
  color: #1a0a2e;
  box-shadow: 0 4px 24px rgba(255, 213, 79, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(255, 213, 79, 0.5);
  color: #1a0a2e;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(124, 77, 255, 0.25);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 77, 255, 0.25);
  border: 1px solid rgba(124, 77, 255, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(124, 77, 255, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.stat-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 79, 0.4);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-gold);
}

.stat-card span { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
section { padding: 4rem 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.game-card-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.game-card-thumb .gradient-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.game-card-thumb.treasure { background: linear-gradient(145deg, #1b5e20, #ffd54f); }
.game-card-thumb.alice { background: linear-gradient(145deg, #4a148c, #ff6b9d); }
.game-card-thumb.magiccauldron { background: linear-gradient(145deg, #311b92, #1a0a2e); }
.game-card-thumb.elvenprincesses { background: linear-gradient(145deg, #1b5e20, #81c784); }
.game-card-thumb.enchantedcrystals { background: linear-gradient(145deg, #0d1b2a, #4a148c); }

.game-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-thumb .gradient-bg {
  position: absolute;
  inset: 0;
}

/* CTA + cartoon slot machine */
.cta-spin-section {
  padding: 3rem 0 4rem;
}

.cta-spin-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 213, 79, 0.25);
  box-shadow: 0 12px 48px rgba(124, 77, 255, 0.15);
}

.cta-spin-content {
  flex: 1 1 280px;
  max-width: 420px;
}

.cta-spin-content .section-title {
  margin-bottom: 0.75rem;
}

.cta-spin-content .section-subtitle {
  margin-bottom: 1.5rem;
}

.cartoon-slot-machine {
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.slot-machine {
  position: relative;
  width: 200px;
  padding: 12px 14px 16px;
  background: linear-gradient(180deg, #ff6b9d 0%, #7c4dff 55%, #311b92 100%);
  border-radius: 20px 20px 16px 16px;
  border: 4px solid #ffd54f;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.25), inset 0 -6px 0 rgba(0, 0, 0, 0.2);
}

.slot-top-lights {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.slot-bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd54f;
  box-shadow: 0 0 8px #ffd54f;
  animation: slot-bulb-blink 1.2s ease-in-out infinite;
}

.slot-bulb:nth-child(2) { animation-delay: 0.2s; }
.slot-bulb:nth-child(3) { animation-delay: 0.4s; }
.slot-bulb:nth-child(4) { animation-delay: 0.6s; }
.slot-bulb:nth-child(5) { animation-delay: 0.8s; }

@keyframes slot-bulb-blink {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.slot-marquee {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #ffd54f;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 213, 79, 0.8);
  animation: slot-marquee-glow 2s ease-in-out infinite;
}

@keyframes slot-marquee-glow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.slot-window {
  background: #0d0618;
  border-radius: 10px;
  padding: 8px;
  border: 3px solid #212121;
  box-shadow: inset 0 0 16px rgba(124, 77, 255, 0.4);
}

.slot-reels {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.slot-reel {
  width: 48px;
  height: 52px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0a2e, #0d0618);
  border-radius: 6px;
  border: 2px solid rgba(255, 213, 79, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slot-reel-spin 2.8s linear infinite;
}

.slot-reel-delay { animation-delay: 0.35s; }
.slot-reel-delay-2 { animation-delay: 0.7s; }

.slot-reel span {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffd54f;
  font-family: var(--font-display);
}

@keyframes slot-reel-spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-104px); }
}

.slot-lever {
  position: absolute;
  right: -22px;
  top: 50%;
  width: 14px;
  height: 56px;
  background: linear-gradient(90deg, #bdbdbd, #eceff1);
  border-radius: 4px;
  transform-origin: top center;
  animation: slot-lever-pull 3.5s ease-in-out infinite;
}

.slot-lever::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8a80, #c62828);
  border: 3px solid #ffd54f;
}

@keyframes slot-lever-pull {
  0%, 70%, 100% { transform: rotate(0deg); }
  78% { transform: rotate(28deg); }
  86% { transform: rotate(-6deg); }
  92% { transform: rotate(0deg); }
}

.slot-coin-tray {
  margin: 10px auto 0;
  width: 70%;
  height: 10px;
  background: linear-gradient(180deg, #5d4037, #3e2723);
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .slot-reel,
  .slot-lever,
  .slot-bulb,
  .slot-marquee { animation: none; }
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 6, 24, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.play-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #1a0a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 30px rgba(255, 213, 79, 0.6);
  transform: scale(0.8);
  transition: transform 0.3s;
}

.game-card:hover .play-btn-circle { transform: scale(1); }

.game-card-body { padding: 1.25rem; }

.game-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.game-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.3);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}

.feature-card:hover { border-color: rgba(255, 107, 157, 0.4); }

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Trust logos */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar .container.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
  min-width: 6.5rem;
}

.trust-logo:hover { opacity: 1; transform: scale(1.05); }

.trust-logo .trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.trust-logo svg {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
}

.trust-logo span {
  display: block;
  width: 100%;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 900px;
  margin-top: 1.5rem;
  opacity: 0.8;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #1a0a2e 0%, #0d0618 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glow);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

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

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.modal-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,107,157,0.3); }

.modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(0,0,0,0.3);
  padding: 0.25rem;
  border-radius: 999px;
}

.modal-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}

.modal-tab.active {
  background: var(--accent-purple);
  color: #fff;
}

.form-group { margin-bottom: 1rem; }

.form-group > label:not(.checkbox-label) {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-group input:not([type="checkbox"]) {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:not([type="checkbox"]):focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.25);
}

.form-group input:not([type="checkbox"]).error { border-color: #ff5252; }


.form-error {
  font-size: 0.8rem;
  color: #ff5252;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible { display: block; }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-panel { display: none; }
.form-panel.active { display: block; }

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-footer button {
  background: none;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  font-weight: 600;
}

.welcome-bonus {
  text-align: center;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, rgba(255,213,79,0.15), rgba(255,107,157,0.15));
  border-radius: 12px;
  font-size: 0.9rem;
}

.welcome-bonus strong { color: var(--accent-gold); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}

.cookie-inner p {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Game player page */
.play-page { padding: 1rem 0 2rem; }

.play-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.play-header h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.game-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(124, 77, 255, 0.4);
  box-shadow: var(--shadow-glow);
  background: #000;
}

.game-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.frame-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #0d0618;
  z-index: 1;
  transition: opacity 0.3s;
}

.frame-loading.hidden { opacity: 0; pointer-events: none; }

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Legal pages */
.legal-page { padding: 3rem 0 4rem; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--accent-gold);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }

.legal-content ol.legal-ordered {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.legal-content ol.legal-ordered li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--accent-gold);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.legal-callout {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(255, 213, 79, 0.08));
  border: 1px solid rgba(255, 213, 79, 0.35);
  border-radius: var(--radius-lg);
}

.legal-callout p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.legal-callout-muted {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
}

.legal-callout a { color: var(--accent-gold); }

.help-cards,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.help-card,
.contact-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 213, 79, 0.15);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.help-card:hover,
.contact-card:hover {
  border-color: rgba(255, 213, 79, 0.35);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.15);
}

.help-card h3,
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.help-card p,
.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.help-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.help-card-phone,
.help-card-link,
.contact-card-email {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem !important;
}

.help-card-phone a,
.help-card-link a,
.contact-card-email a {
  color: var(--accent-gold);
  text-decoration: none;
}

.help-card-phone a:hover,
.help-card-link a:hover,
.contact-card-email a:hover {
  text-decoration: underline;
}

.contact-card-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-card-meta {
  font-size: 0.85rem !important;
  color: var(--text-muted);
  margin-top: 0.5rem !important;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 300;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Info ticker (homepage marquee) */
.info-ticker {
  width: 100%;
  height: 2.5rem;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.35), rgba(255, 107, 157, 0.25), rgba(124, 77, 255, 0.35));
  border-bottom: 1px solid rgba(255, 213, 79, 0.25);
  overflow: hidden;
  position: relative;
  z-index: 90;
}

.info-ticker::before,
.info-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 1;
  pointer-events: none;
}

.info-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent);
}

.info-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deep), transparent);
}

.info-ticker-inner {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.info-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: info-ticker-scroll 45s linear infinite;
  will-change: transform;
}

.info-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.info-ticker-icon {
  font-size: 1rem;
  line-height: 1;
}

@keyframes info-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .info-ticker-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* FAQ page */
.hero-compact {
  padding: 2.5rem 0 1.5rem;
}

.faq-section {
  padding-top: 0;
  padding-bottom: 4rem;
}

.faq-container {
  max-width: 720px;
}

.faq-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.25);
  color: var(--accent-gold);
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Responsive */
@media (max-width: 1250px) and (min-width: 901px) {
  .nav-info-compact { display: block; }

  .nav-main .nav-info-link { display: none; }

  .nav-main a,
  .nav-info-select {
    font-size: 0.88rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .nav-main a { padding-left: 0.75rem; padding-right: 0.75rem; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  .menu-toggle { display: block; }

  .nav-info-compact { display: none !important; }

  .nav-main .nav-info-link { display: block; }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(13, 6, 24, 0.98);
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-main.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-main a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo-link img,
  .logo-link .site-logo {
    height: 36px;
    max-width: 150px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .header-actions .btn-ghost { display: none; }

  .header-actions .btn-primary {
    padding: 0.5rem 0.75rem;
  }

  .coin-badge.visible {
    display: flex;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .container {
    width: min(1200px, 94vw);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .trust-bar .container.trust-logos {
    gap: 1.25rem 1.5rem;
  }

  .trust-logo {
    min-width: 5rem;
    flex: 0 1 calc(33% - 1rem);
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  section { padding: 2.5rem 0; }

  .modal {
    padding: 1.25rem;
    max-height: 85vh;
    margin: auto env(safe-area-inset-right, 0) auto env(safe-area-inset-left, 0);
  }

  .modal-header h2 { font-size: 1.25rem; }

  .form-group input {
    font-size: 16px;
    min-height: 2.75rem;
  }

  .game-frame-wrap { min-height: 60vh; aspect-ratio: auto; height: 70vh; }

  .info-ticker { height: 2.25rem; }

  .info-ticker-item {
    font-size: 0.75rem;
    padding: 0 1.25rem;
  }

  .faq-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-cta .btn { width: 100%; }

  .cta-spin-card {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .cartoon-slot-machine {
    order: -1;
  }

  .slot-machine {
    width: min(200px, 70vw);
  }

  .play-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    transform: translateY(100px);
    text-align: center;
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .header-actions .btn-primary {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
  }

  .trust-logo {
    flex: 0 1 calc(50% - 0.75rem);
  }

  .trust-logo span {
    font-size: 0.62rem;
  }

  .disclaimer {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .header-actions .btn-secondary { display: none; }
}
