/* ============================================================
   slotsfortots.com — v1 static site
   Clean modern SaaS, purple accent. One deliberate exception:
   the Spin-to-Win section goes full casino.
   ============================================================ */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #18181b;
  --muted: #55555e;
  --line: #e8e8ec;
  --purple: #7c3aed;
  --purple-deep: #6d28d9;
  --purple-soft: #f1ebfe;
  --amber: #f59e0b;
  --radius: 20px;
  --shadow-soft: 0 2px 8px rgba(24, 24, 27, 0.05), 0 12px 32px rgba(24, 24, 27, 0.07);
  --shadow-lift: 0 4px 12px rgba(124, 58, 237, 0.10), 0 20px 44px rgba(24, 24, 27, 0.12);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.32);
}
.btn-primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-ghost:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark-coin {
  width: 26px;
  height: 26px;
  color: var(--purple);
}

.nav-links {
  display: none;
  gap: 1.6rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--purple); }

.nav-inner > .btn { margin-left: auto; }

@media (min-width: 800px) {
  .nav-links { display: flex; }
  .nav-inner > .btn { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 5rem 4.5rem;
  background:
    radial-gradient(52rem 30rem at 85% -12%, rgba(124, 58, 237, 0.14), transparent 62%),
    radial-gradient(40rem 26rem at -8% 22%, rgba(139, 92, 246, 0.10), transparent 60%),
    var(--bg);
}

.hero-inner {
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.pill {
  display: inline-block;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 1.25rem;
}

.grad-text {
  background: linear-gradient(100deg, var(--purple) 10%, #a78bfa 55%, var(--amber) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 3.5rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem;
  box-shadow: var(--shadow-soft);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--purple);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding-block: 5.5rem; }

.section-tint {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.015) 30%, transparent),
    var(--bg);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin-bottom: 0.9rem;
}

.section-head p { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.step-card { padding: 2rem 1.75rem; }

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.icon-wrap svg { width: 28px; height: 28px; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

.step-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Cabinet lineup ---------- */
.cabinet-grid { margin-bottom: 3rem; }

.cabinet-card { overflow: hidden; display: flex; flex-direction: column; }

.cabinet-art {
  height: 150px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.cabinet-art svg { width: 56px; height: 56px; }

.art-1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.art-2 { background: linear-gradient(135deg, #6d28d9, #ec4899); }
.art-3 { background: linear-gradient(135deg, #8b5cf6, #f59e0b); }
.art-4 { background: linear-gradient(135deg, #5b21b6, #7c3aed); }
.art-5 { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.art-6 { background: linear-gradient(135deg, #7c3aed, #fb7185); }

.cabinet-body { padding: 1.5rem 1.5rem 1.75rem; }

.cabinet-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.cabinet-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cabinet-body p { color: var(--muted); font-size: 0.9rem; }

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ============================================================
   SLOT MACHINE — the deliberate theme break. Casino time.
   ============================================================ */
.slot-section {
  padding-block: 5.5rem;
  background:
    radial-gradient(60rem 34rem at 50% 0%, rgba(124, 58, 237, 0.35), transparent 65%),
    linear-gradient(180deg, #1c1030, #0d0618);
}

.slot-panel {
  max-width: 640px;
  margin-inline: auto;
  background: linear-gradient(170deg, #2a1650, #150a2b 70%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 28px;
  padding: 3rem 1.5rem 2.25rem;
  text-align: center;
  color: #f5f0ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px rgba(124, 58, 237, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.slot-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.slot-head h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #fff;
  text-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
  margin-bottom: 0.75rem;
}

.slot-head p {
  color: #c9bce6;
  max-width: 440px;
  margin: 0 auto 2.25rem;
  font-size: 0.95rem;
}

.slot-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.slot-reels {
  display: flex;
  gap: 0.75rem;
  background: linear-gradient(180deg, #0a0514, #1a0f30);
  border: 2px solid rgba(245, 158, 11, 0.55);
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow:
    0 0 30px rgba(245, 158, 11, 0.18),
    inset 0 4px 18px rgba(0, 0, 0, 0.7);
}

.reel {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7f3ff, #ddd2f5);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.22), inset 0 -6px 12px rgba(0, 0, 0, 0.22);
}

.reel-strip { will-change: transform; }

.reel-strip.spinning {
  transition: transform 0.2s;
}

.symbol {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.symbol svg { width: 52px; height: 52px; }

/* Jackpot flash */
.slot-panel.jackpot .slot-reels {
  animation: glow-flash 0.6s ease-in-out 4;
}

@keyframes glow-flash {
  0%, 100% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.18), inset 0 4px 18px rgba(0, 0, 0, 0.7); }
  50% { box-shadow: 0 0 60px rgba(245, 158, 11, 0.85), 0 0 110px rgba(245, 158, 11, 0.4), inset 0 4px 18px rgba(0, 0, 0, 0.7); }
}

/* House-wins shake */
.slot-machine.shake {
  animation: shake 0.45s ease-in-out 2;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px) rotate(-0.4deg); }
  40% { transform: translateX(6px) rotate(0.4deg); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}

/* Spin button — the glowing "lever" */
.spin-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: #2a1205;
  background: linear-gradient(180deg, #fcd34d, #f59e0b 55%, #d97706);
  border: none;
  border-radius: 999px;
  padding: 1rem 3.25rem;
  cursor: pointer;
  box-shadow:
    0 0 24px rgba(245, 158, 11, 0.55),
    0 6px 0 #92400e,
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
  animation: lever-pulse 2.4s ease-in-out infinite;
}

@keyframes lever-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(245, 158, 11, 0.45), 0 6px 0 #92400e, inset 0 2px 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 0 38px rgba(245, 158, 11, 0.8), 0 6px 0 #92400e, inset 0 2px 0 rgba(255, 255, 255, 0.55); }
}

.spin-btn:hover:not(:disabled) { filter: brightness(1.08); }

.spin-btn:active:not(:disabled) {
  transform: translateY(5px);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.55), 0 1px 0 #92400e, inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

.spin-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55) brightness(0.75);
  animation: none;
  box-shadow: 0 3px 0 #57534e;
}

/* Result area */
.slot-result {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
}

.result-title {
  font-size: 1.4rem;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.result-copy {
  color: #d8ccef;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.result-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.promo-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(124, 58, 237, 0.45);
  border: 1px dashed rgba(245, 158, 11, 0.7);
  border-radius: 10px;
  padding: 0.5rem 1.1rem;
}

.copy-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #1c1030;
  background: var(--amber);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.copy-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.use-link {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.use-link:hover { text-decoration: underline; }

.slot-egg {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(201, 188, 230, 0.5);
  font-style: italic;
}

/* Confetti */
.confetti {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0.4;
  }
}

/* ---------- Contact CTA ---------- */
.cta-panel {
  text-align: center;
  background:
    radial-gradient(30rem 16rem at 50% -30%, rgba(124, 58, 237, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 4rem 1.5rem;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.5rem);
  margin-bottom: 0.9rem;
}

.cta-panel p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-brand a { color: var(--purple); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--purple); }

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 440px;
}

@media (min-width: 800px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
  .footer-brand { align-items: flex-start; }
  .footer-disclaimer { text-align: right; }
}

/* ---------- Contact placeholder page ---------- */
.contact-hero {
  min-height: 55vh;
  display: grid;
  place-items: center;
  padding-block: 5rem;
  text-align: center;
}

.contact-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.contact-hero p { color: var(--muted); max-width: 460px; margin-inline: auto; }
.contact-hero .btn { margin-top: 2rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
