/*
Theme Name: Spin.tv — Showtime
Theme URI: https://spin.tv/
Author: Spin.tv
Author URI: https://spin.tv/
Description: Retro game-show wheel-of-fortune theme for Spin.tv. Marquee header, bulb-lit wheel, ticker, and a celebratory winner takeover. Front page renders a fully-interactive random name picker with sound, history, saved wheels, and shareable URLs.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spin-tv
Tags: one-column, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: #2a1810;
  background: #1a0820;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #c92a37; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ─── Marquee header ─────────────────────────────────────────────── */
.spin-marquee {
  background: linear-gradient(180deg, #2a0815 0%, #1a050d 100%);
  color: #fff;
  position: relative;
  border-bottom: 4px solid #ffd93d;
  overflow: hidden;
}
.spin-marquee-bulbs {
  position: absolute; top: 6px; left: 0; right: 0;
  display: flex; justify-content: space-around; pointer-events: none;
  z-index: 1;
}
.spin-marquee-bulbs .bulb {
  width: 8px; height: 8px; border-radius: 50%;
  animation: bulb-blink 1.4s infinite;
}
@keyframes bulb-blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: .35 } }

.spin-marquee-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 28px 28px 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.spin-brand {
  font-family: Bungee, sans-serif;
  font-size: 36px; letter-spacing: 1px;
  color: #ffd93d; text-decoration: none;
  text-shadow: 3px 3px 0 #c92a37, 6px 6px 0 rgba(0,0,0,.5);
}
.spin-brand:hover { color: #ffd93d; text-decoration: none; }
.spin-brand .dot { color: #ff2e93; }

.spin-tagline {
  margin-left: auto; margin-right: 4px;
  font-family: Bungee, sans-serif; font-size: 13px; letter-spacing: 2px;
  color: #fff5d4; opacity: .85;
}

.spin-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.spin-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.spin-nav-list li { margin: 0; }
.spin-nav a {
  color: #fff5d4; font-family: Bungee, sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
}
.spin-nav a:hover { color: #ffd93d; text-decoration: none; }
.spin-nav .current-menu-item > a,
.spin-nav .current_page_item > a { color: #ffd93d; }

/* ─── Stage ─────────────────────────────────────────────────────── */
.spin-stage {
  position: relative;
  background: radial-gradient(ellipse at top, #4a1530 0%, #1a0820 60%, #0a0410 100%);
  color: #fff;
  padding: 40px 28px 0;
  overflow: hidden;
  isolation: isolate;
}
/* Stage curtain pleats */
.spin-stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(0,0,0,.25) 60px 62px),
    linear-gradient(90deg, rgba(120,20,40,.4) 0%, transparent 15%, transparent 85%, rgba(120,20,40,.4) 100%);
}
/* Spotlight glow */
.spin-stage::after {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse, rgba(255,217,61,.18) 0%, transparent 65%);
}

.spin-stage-inner {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px; align-items: start;
  position: relative; z-index: 1;
  min-height: calc(100vh - 200px);
}
@media (max-width: 980px) {
  .spin-stage-inner { grid-template-columns: 1fr; min-height: 0; }
}

.spin-wheel-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; padding-bottom: 24px;
  width: 100%;
}

.spin-wheel-name {
  display: block; width: 100%; max-width: 580px;
  background: rgba(0,0,0,.4);
  border: 2px solid #ffd93d;
  color: #ffd93d;
  padding: 12px 18px;
  font-family: Bungee, sans-serif;
  font-size: 22px; letter-spacing: 1px;
  border-radius: 8px;
  text-align: center; outline: none;
  text-shadow: 2px 2px 0 #2a0810;
}

/* Red velvet ring wrapping the wheel */
.spin-wheel-frame {
  position: relative;
  padding: 18px;
  background: radial-gradient(circle, #c92a37 0%, #6b0d1a 100%);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px #2a0810,
    0 20px 60px rgba(0,0,0,.6),
    inset 0 0 30px rgba(0,0,0,.4);
  width: min(78vh, 90%, 720px);
  aspect-ratio: 1 / 1;
}
.spin-wheel-wrap {
  position: relative; width: 100%; height: 100%;
}
@media (max-width: 980px) {
  .spin-wheel-frame { width: min(85vw, 560px); }
}
.spin-wheel-svg { width: 100%; height: 100%; display: block; }

.spin-pointer {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  z-index: 5; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6));
}
.spin-hub {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle, #ffd93d 0%, #c9a020 100%);
  border: 4px solid #2a0810;
  box-shadow: 0 4px 12px rgba(0,0,0,.6), inset 0 -4px 8px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: Bungee, sans-serif; font-size: 12px;
  color: #2a0810; letter-spacing: 1.5px;
  cursor: pointer; user-select: none;
  z-index: 4;
}
.spin-hub:active { transform: translate(-50%, -50%) scale(.95); }

.spin-button {
  margin-top: 6px;
  background: linear-gradient(180deg, #ffe566 0%, #ffd93d 50%, #e6b820 100%);
  color: #2a0810;
  border: 0;
  padding: 18px 48px;
  font-family: Bungee, sans-serif;
  font-size: 26px; letter-spacing: 3px;
  border-radius: 12px; cursor: pointer;
  box-shadow: 0 6px 0 #c9a020, 0 8px 20px rgba(0,0,0,.5);
  transition: transform .1s ease, box-shadow .1s ease;
}
.spin-button:hover { filter: brightness(1.05); }
.spin-button:active { transform: translateY(3px); box-shadow: 0 3px 0 #c9a020; }
.spin-button:disabled {
  background: #7a6655; color: #6b5544; cursor: not-allowed;
  box-shadow: inset 0 4px 8px rgba(0,0,0,.3);
  transform: translateY(4px);
}

.spin-status {
  font-family: Bungee, sans-serif;
  font-size: 12px; letter-spacing: 2px;
  color: #ffd93d; opacity: .75;
  text-transform: uppercase;
}

/* ─── Ticker ───────────────────────────────────────────────────── */
.spin-ticker {
  height: 38px;
  background: #ffd93d;
  color: #2a0810;
  border-top: 4px solid #2a0810;
  border-bottom: 4px solid #2a0810;
  overflow: hidden;
  position: relative;
}
.spin-ticker-track {
  display: flex; align-items: center; height: 100%;
  white-space: nowrap;
  animation: spin-ticker 35s linear infinite;
  font-family: Bungee, sans-serif; font-size: 14px; letter-spacing: 3px;
}
.spin-ticker-track span { padding-left: 60px; }
@keyframes spin-ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ─── Sidebar ───────────────────────────────────────────────────── */
.spin-sidebar {
  background: #fffaf0;
  color: #2a1810;
  border: 3px solid #2a1810;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 0 #2a1810, 0 12px 24px rgba(0,0,0,.4);
}
.spin-tabs {
  display: flex;
  background: repeating-linear-gradient(45deg, #e63946 0 14px, #c92a37 14px 28px);
  border-bottom: 3px solid #2a1810;
}
.spin-tab {
  flex: 1; background: transparent; border: 0;
  padding: 14px 8px; cursor: pointer;
  font-family: Bungee, sans-serif; font-size: 12px;
  color: rgba(255,255,255,.7); letter-spacing: 1.5px;
  text-transform: uppercase;
  border-right: 2px solid rgba(0,0,0,.2);
}
.spin-tab:last-child { border-right: 0; }
.spin-tab.is-active { background: #fffaf0; color: #2a1810; }
.spin-tab:hover:not(.is-active) { color: #fff; }
.spin-tab .count { opacity: .55; margin-left: 4px; }

.spin-panel { padding: 18px; }

.spin-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.spin-actions button {
  padding: 8px 6px;
  background: transparent; border: 1.5px solid #2a1810;
  color: #2a1810; font: 500 12px/1.2 "Space Grotesk", sans-serif;
  cursor: pointer; border-radius: 6px;
}
.spin-actions button:hover { background: #fff5d4; }
.spin-share-btn {
  display: block; width: 100%; margin-bottom: 12px;
  background: #1d3557; color: #fff; border: 0;
  padding: 12px; cursor: pointer; border-radius: 6px;
  font-family: Bungee, sans-serif; font-size: 13px; letter-spacing: 1.5px;
}
.spin-share-btn:hover { background: #2a4a73; }

.spin-actions-row2 { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.spin-image-btn, .spin-actions-row2 .spin-share-btn {
  width: 100%; margin: 0;
  padding: 12px; cursor: pointer; border-radius: 6px; border: 0;
  font-family: Bungee, sans-serif; font-size: 12px; letter-spacing: 1.2px;
}
.spin-image-btn { background: #06d6a0; color: #0a2540; }
.spin-image-btn:hover { background: #08e8af; }
.spin-actions-row2 .spin-share-btn { background: #1d3557; color: #fff; }
.spin-actions-row2 .spin-share-btn:hover { background: #2a4a7f; color: #fff; }

/* ─── Entry list (replaces old textarea) ──────────────────────────── */
.spin-entry-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 320px; overflow-y: auto;
  padding: 8px; margin-bottom: 8px;
  background: #fffefa;
  border: 2px solid #2a1810;
  border-radius: 6px;
  min-height: 60px;
}
.spin-entry-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1.5px solid #2a1810;
  border-radius: 6px;
  padding: 4px 6px;
}
.spin-entry-row.is-image { background: #fff8e1; }
.spin-entry-thumb {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #2a1810;
  flex-shrink: 0;
}
.spin-entry-text {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; color: #2a1810;
  padding: 4px 2px;
}
.spin-entry-label {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  color: #2a1810;
}
.spin-entry-del {
  width: 24px; height: 24px;
  border: 0; padding: 0;
  border-radius: 50%;
  background: #f0e8e0; color: #6b5544;
  font-size: 12px; cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.spin-entry-del:hover { background: #c92a37; color: #fff; }
.spin-entry-add {
  margin-bottom: 10px;
  display: flex; gap: 6px;
}
.spin-entry-add input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px dashed #6b5544;
  border-radius: 6px;
  background: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: #2a1810;
}
.spin-bulk-btn {
  width: 44px;
  border: 1.5px solid #2a1810;
  border-radius: 6px;
  background: #ffd93d;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 2px 2px 0 #2a1810;
}
.spin-bulk-btn:hover { background: #ffe566; transform: translate(-1px,-1px); box-shadow: 3px 3px 0 #2a1810; }
.spin-bulk-modal { max-width: 560px; padding: 28px; }
.spin-bulk-textarea {
  width: 100%; min-height: 320px;
  background: #fffefa;
  border: 2px solid #2a1810;
  border-radius: 6px;
  padding: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; color: #2a1810;
  resize: vertical; margin-bottom: 16px;
}
.spin-entry-add input:focus {
  outline: 0;
  border-style: solid;
  border-color: #2a1810;
  background: #fffefa;
}

/* ─── Speed slider ───────────────────────────────────────────────── */
.spin-speed-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px;
  margin-bottom: 6px;
  border-top: 1px dashed #6b5544;
}
.spin-speed-row label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #6b5544;
}
.spin-speed-row input[type="range"] {
  flex: 1; accent-color: #c92a37;
}
.spin-speed-row span {
  font-family: Bungee, sans-serif;
  font-size: 12px; color: #2a1810;
  min-width: 30px; text-align: right;
}

/* Image-entry chips above the textarea */
.spin-image-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px; margin-bottom: 10px;
  background: #fffefa;
  border: 2px dashed #2a1810;
  border-radius: 6px;
}
.spin-img-chip {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border: 1.5px solid #2a1810;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #2a1810;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #2a1810;
}
.spin-img-chip img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #2a1810;
}
.spin-img-chip .label { white-space: nowrap; }
.spin-img-chip .x {
  width: 20px; height: 20px;
  border: 0; padding: 0;
  border-radius: 50%;
  background: #2a1810; color: #fff;
  font-size: 11px; cursor: pointer;
  display: grid; place-items: center;
  margin-left: 2px;
}
.spin-img-chip .x:hover { background: #c92a37; }

.spin-img-menu {
  background: #fff; border: 2px solid #2a1810; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  padding: 6px; min-width: 220px;
  display: flex; flex-direction: column; gap: 2px;
  font-family: "Space Grotesk", sans-serif;
}
.spin-img-menu button {
  text-align: left; padding: 10px 12px; background: transparent;
  border: 0; cursor: pointer; border-radius: 4px;
  font-size: 13px; color: #2a1810;
}
.spin-img-menu button:hover { background: #fff5d4; }
.spin-img-menu button.danger { color: #c92a37; border-top: 1px solid #eee; margin-top: 4px; padding-top: 10px; }

.spin-textarea {
  width: 100%; min-height: 240px;
  background: #fffefa;
  border: 1.5px solid #2a1810;
  color: #2a1810; padding: 12px 14px;
  font: 400 15px/1.55 "Space Grotesk", sans-serif;
  border-radius: 6px; outline: none; resize: vertical;
}
.spin-count { margin-top: 6px; font-size: 12px; color: #6b5544; display: flex; justify-content: space-between; }

.spin-save-row { display: flex; gap: 6px; margin-bottom: 12px; }
.spin-save-row input {
  flex: 1; background: #fffefa; border: 1.5px solid #2a1810;
  padding: 8px 10px; font: 500 14px "Space Grotesk", sans-serif;
  color: #2a1810; border-radius: 6px; outline: none;
}
.spin-save-row button {
  background: #1d3557; color: #fff; border: 0;
  padding: 8px 14px; font: 700 12px Bungee, sans-serif;
  letter-spacing: 1px; cursor: pointer; border-radius: 6px;
}

.spin-list-item {
  background: #fff5d4; border: 1.5px solid #2a1810;
  border-radius: 6px; padding: 10px 12px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.spin-list-item-body { flex: 1; min-width: 0; }
.spin-list-item-title { font-weight: 600; font-size: 14px; word-break: break-word; }
.spin-list-item-meta { font-size: 11px; color: #6b5544; }
.spin-list-item button {
  background: transparent; border: 0; color: #6b5544;
  width: 28px; height: 28px; cursor: pointer; border-radius: 4px;
  font-size: 14px;
}
.spin-list-item button:hover { background: #fff; color: #2a1810; }
.spin-empty { padding: 28px 16px; text-align: center; color: #6b5544; font-style: italic; font-size: 13px; }

/* ─── Winner modal ──────────────────────────────────────────────── */
.spin-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: spin-fade-in .25s ease-out;
}
.spin-modal {
  position: relative;
  background: repeating-linear-gradient(45deg, #e63946 0 22px, #c92a37 22px 44px);
  border: 6px solid #ffd93d;
  border-radius: 16px;
  padding: 40px 60px 50px;
  text-align: center; max-width: 720px;
  box-shadow: 0 0 0 6px #2a1810, 0 30px 80px rgba(0,0,0,.6);
  animation: spin-pop-in .5s cubic-bezier(.34, 1.56, .64, 1);
}
.spin-modal-eyebrow {
  font-family: Bungee, sans-serif; font-size: 22px;
  color: #ffd93d; letter-spacing: 4px;  text-shadow: 2px 2px 0 #2a1810;
  text-transform: uppercase; margin-bottom: 16px;
}
.spin-modal-name {
  font-family: Bungee, sans-serif;
  font-size: clamp(40px, 7vw, 96px);
  color: #fff; line-height: 1.05; letter-spacing: 1px;
  text-shadow: 4px 4px 0 #2a1810, 8px 8px 0 rgba(0,0,0,.4);
  margin-bottom: 30px; word-break: break-word;
}
.spin-modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.spin-modal-actions button {
  padding: 14px 30px; border: 0;
  font-family: Bungee, sans-serif; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border-radius: 8px;
  box-shadow: 4px 4px 0 #2a1810;
}
.spin-modal-actions .secondary { background: #fff; color: #2a1810; }
.spin-modal-actions .primary { background: #ffd93d; color: #2a1810; }

/* Winner-modal photo (image entry won) */
.spin-modal-photo {
  width: clamp(140px, 22vw, 240px);
  height: clamp(140px, 22vw, 240px);
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #ffd93d;
  box-shadow: 0 0 0 4px #2a1810, 8px 8px 0 #2a1810;
  background: #fff;
}
.spin-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* History list thumbnails (image entries) */
.spin-list-thumb {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #2a1810;
  flex-shrink: 0;
}

@keyframes spin-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes spin-pop-in {
  from { transform: scale(.6) rotate(-6deg); opacity: 0 }
  to { transform: scale(1) rotate(0); opacity: 1 }
}

.spin-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 999; }

/* ─── SEO section ──────────────────────────────────────────────── */
.spin-seo {
  background: #fdf6e3;
  color: #2a1810;
  padding: 80px 28px 100px;
  border-top: 4px solid #2a1810;
}
.spin-seo-inner { max-width: 1080px; margin: 0 auto; }

.spin-seo-eyebrow {
  display: inline-block; padding: 4px 12px; margin-bottom: 16px;
  border: 1.5px solid #e63946; color: #e63946;
  font-family: Bungee, sans-serif; font-size: 11px; letter-spacing: 2px;
  border-radius: 4px;
}
.spin-seo h1 {
  font-family: Bungee, sans-serif;
  font-size: 48px; line-height: 1.05;
  margin: 0 0 18px; letter-spacing: .5px;
  color: #2a1810; max-width: 760px;
}
.spin-seo .spin-lead {
  font-size: 18px; line-height: 1.55; color: #6b5544;
  max-width: 680px; margin: 0; text-wrap: pretty;
}

.spin-seo h2 {
  font-family: Bungee, sans-serif;
  font-size: 26px; letter-spacing: .5px;
  margin: 60px 0 24px; color: #2a1810;
  display: flex; align-items: center; gap: 12px;
}
.spin-seo h2::before {
  content: ''; width: 8px; height: 8px; background: #e63946; border-radius: 50%;
  display: inline-block;
}
.spin-seo h3 {
  font-family: Bungee, sans-serif; font-size: 18px;
  color: #1d3557; margin: 24px 0 10px; letter-spacing: 1px;
}

.spin-usecases {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.spin-usecase {
  padding: 20px; background: #fffaf0;
  border: 1.5px solid #2a1810; border-radius: 8px;
  border-top: 4px solid var(--accent, #e63946);
}
.spin-usecase-title {
  font-family: Bungee, sans-serif; font-size: 15px;
  letter-spacing: 1px; margin-bottom: 8px; color: #2a1810;
}
.spin-usecase-body { font-size: 14px; line-height: 1.5; color: #6b5544; text-wrap: pretty; }

.spin-howto { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.spin-howto li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 18px; background: #fffaf0;
  border: 1px solid #2a1810; border-radius: 6px;
}
.spin-howto-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent, #e63946); color: #fff;
  font-family: Bungee, sans-serif; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #2a1810;
}
.spin-howto-body { font-size: 15px; line-height: 1.5; padding-top: 6px; color: #2a1810; text-wrap: pretty; }

.spin-faq { display: grid; gap: 10px; margin-bottom: 24px; }
.spin-faq details {
  background: #fffaf0; border: 1px solid #2a1810; border-radius: 6px;
  overflow: hidden;
}
.spin-faq summary {
  padding: 16px 20px; cursor: pointer;
  font: 600 16px "Space Grotesk", sans-serif; color: #2a1810;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.spin-faq summary::-webkit-details-marker { display: none; }
.spin-faq summary::after {
  content: '+'; font-family: Bungee, sans-serif; font-size: 14px; color: #e63946;
  transition: transform .2s;
}
.spin-faq details[open] summary::after { transform: rotate(45deg); }
.spin-faq .spin-faq-body {
  padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: #6b5544; text-wrap: pretty;
}

.spin-seo-copy {
  font-size: 15px; line-height: 1.7; color: #2a1810;
  max-width: 760px; margin-bottom: 24px; text-wrap: pretty;
}
.spin-seo-copy p { margin: 0 0 16px; }
.spin-seo-copy .placeholder {
  color: #6b5544; font-style: italic; font-size: 13px;
}

.spin-seo-footer {
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid #2a1810;
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: center;
  font-size: 13px; color: #6b5544;
}
.spin-seo-footer-brand {
  font-family: Bungee, sans-serif; font-size: 14px;
  letter-spacing: 2px; color: #2a1810;
}
.spin-seo-footer-brand .dot { color: #e63946; }
.spin-seo-footer-links { display: flex; gap: 20px; }
.spin-seo-footer-links a { color: #6b5544; }

/* ─── Page hero (non-front pages) ──────────────────────────────── */
.spin-page-hero {
  background: linear-gradient(180deg, #2a0820 0%, #4a1530 100%);
  color: #fff; padding: 60px 24px; text-align: center;
  border-bottom: 4px solid #2a1810;
}
.spin-page-hero h1 {
  font-family: Bungee, sans-serif; font-size: clamp(32px, 5vw, 56px);
  margin: 0; letter-spacing: 1px;
  text-shadow: 3px 3px 0 #2a1810;
}

.spin-content {
  max-width: 760px; margin: 0 auto; padding: 80px 24px;
  background: #fdf6e3; color: #2a1810;
}
.spin-content h1, .spin-content h2, .spin-content h3 {
  font-family: Bungee, sans-serif; letter-spacing: .5px;
  color: #2a1810; line-height: 1.2;
}
.spin-content h1 { font-size: 40px; margin: 0 0 16px; }
.spin-content h2 { font-size: 26px; margin: 40px 0 12px; }
.spin-content h3 { font-size: 18px; color: #1d3557; margin: 28px 0 10px; letter-spacing: 1px; }
.spin-content p { margin: 0 0 16px; text-wrap: pretty; }
.spin-content ul, .spin-content ol { margin: 0 0 16px; padding-left: 22px; }
.spin-content blockquote {
  margin: 20px 0; padding: 16px 20px;
  border-left: 4px solid #e63946; background: #fff5d4;
  font-style: italic;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.spin-footer {
  background: #2a1810; color: #fdf6e3;
  padding: 40px 24px; text-align: center;
  font-family: Bungee, sans-serif; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 4px solid #e63946;
}
.spin-footer a { color: #ffd93d; }
.spin-footer-list {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.spin-footer-list a { color: #ffd93d; }

/* ─── Toast ────────────────────────────────────────────────────── */
.spin-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #2a1810; color: #ffd93d;
  padding: 12px 22px; border-radius: 8px;
  font-family: Bungee, sans-serif; font-size: 13px; letter-spacing: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 1001; animation: spin-fade-in .2s ease-out;
}

/* ─── Mobile tweaks ────────────────────────────────────────────── */
@media (max-width: 720px) {
  .spin-marquee-inner { padding: 22px 16px 16px; }
  .spin-brand { font-size: 28px; }
  .spin-tagline { font-size: 11px; letter-spacing: 1px; margin-left: 0; flex: 1 100%; }
  .spin-nav { flex-basis: 100%; }
  .spin-stage { padding: 24px 16px 0; }
  .spin-stage-inner { gap: 24px; }
  .spin-wheel-name { font-size: 18px; padding: 10px 14px; }
  .spin-button { padding: 14px 36px; font-size: 22px; letter-spacing: 2px; }
  .spin-hub { width: 64px; height: 64px; font-size: 11px; }
  .spin-modal { padding: 28px 22px 32px; border-width: 4px; }
  .spin-modal-name { font-size: clamp(32px, 9vw, 56px); margin-bottom: 22px; }
  .spin-modal-eyebrow { font-size: 14px; letter-spacing: 3px; }
  .spin-seo { padding: 50px 18px 70px; }
  .spin-seo h1 { font-size: 32px; }
  .spin-seo h2 { font-size: 22px; }
  .spin-content { padding: 50px 18px; }
}
