/* Betsson Juega: vitrina de juegos con luces de neón y naranja Betsson */
:root {
  --ink: #0d0b16;
  --ink-2: #140f22;
  --deck: #1b1530;
  --deck-hi: #261d42;
  --line: rgba(255, 255, 255, 0.1);
  --line-hot: rgba(255, 133, 51, 0.55);
  --paper: #fbf8ff;
  --mute: #b3aacb;
  --flame: #ff6600;
  --flame-hi: #ff8a2a;
  --gold: #ffc43d;
  --volt: #8b5cff;
  --volt-hi: #b18cff;
  --mint: #34e89e;
  --pink: #ff4fa3;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 26px;
  --glow: 0 10px 38px rgba(255, 102, 0, 0.45);
  --glow-volt: 0 0 0 1px rgba(139, 92, 255, 0.35), 0 18px 50px rgba(139, 92, 255, 0.28);
  --f-head: "Rubik", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 600px at 8% -5%, rgba(139, 92, 255, 0.28), transparent 60%),
    radial-gradient(800px 520px at 100% 12%, rgba(255, 102, 0, 0.2), transparent 60%),
    radial-gradient(700px 700px at 50% 110%, rgba(255, 79, 163, 0.12), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  width: 100%;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open .pocket {
  display: none !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--flame-hi); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.14; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 700; margin-top: 0.2em; }
h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--flame), var(--gold), var(--volt)); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* ---------- container ---------- */
.container, .wrap, .wrap.prose {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  box-sizing: border-box;
}

/* ---------- header ---------- */
.marquee {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 11, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.marquee-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; position: relative;
}
.wordmark {
  display: flex; align-items: center; gap: 10px; color: var(--paper);
  text-decoration: none; font-family: var(--f-head); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.01em; flex-shrink: 0;
}
.wordmark img {
  width: 36px; height: 36px;
  filter: drop-shadow(0 0 12px rgba(255, 102, 0, 0.55));
}
.wordmark span b {
  background: linear-gradient(90deg, var(--flame), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800;
}

.marquee nav {
  display: flex; align-items: center;
}
.rack {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.rack-item {
  position: relative; list-style: none; margin: 0;
}
.nav-link {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 9999px;
  color: #e4ddf5; text-decoration: none; font-size: 0.94rem; font-weight: 600;
  font-family: var(--f-body); background: transparent; border: none; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.08); color: #fff;
}
.nav-link[aria-current="page"],
.rack-dropdown.is-active > .dropdown-toggle {
  background: linear-gradient(90deg, rgba(255, 102, 0, 0.22), rgba(139, 92, 255, 0.22));
  color: #fff; box-shadow: inset 0 0 0 1px var(--line-hot);
}
.nav-arrow {
  display: inline-block; font-size: 0.72rem; transition: transform 0.2s ease; margin-left: 2px;
}
.rack-dropdown:hover .nav-arrow,
.rack-dropdown.active .nav-arrow {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 580px; max-width: calc(100vw - 32px);
  background: rgba(18, 14, 32, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 133, 51, 0.4);
  border-radius: var(--r-m);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 102, 0, 0.15);
  padding: 18px 20px; z-index: 100;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.12s;
}
/* Invisible hover bridge to eliminate gap between button and dropdown */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}
.rack-dropdown:hover .dropdown-menu,
.rack-dropdown:focus-within .dropdown-menu,
.rack-dropdown.active .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dropdown-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.dropdown-group {
  display: flex; flex-direction: column; gap: 4px;
}
.dropdown-label {
  display: block; font-family: var(--f-head); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
  padding: 0 8px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
}
.dropdown-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px;
}
.dropdown-list li {
  list-style: none; margin: 0; padding: 0;
}
.dropdown-item {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 10px;
  border-radius: var(--r-s); text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07); transform: translateX(2px);
}
.dropdown-item strong {
  color: #fff; font-size: 0.92rem; font-weight: 600;
}
.dropdown-item span {
  color: var(--mute); font-size: 0.8rem; line-height: 1.25;
}
.dropdown-item[aria-current="page"] {
  background: rgba(255, 102, 0, 0.15);
  box-shadow: inset 3px 0 0 var(--flame);
}
.rack-mob-cta {
  display: none;
}

/* Nav toggle burger button */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-s);
  background: var(--deck-hi); color: var(--paper); border: 1px solid var(--line);
  cursor: pointer; position: relative; padding: 0;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--paper); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-icon::before { transform: translateY(-7px); }
.nav-toggle-icon::after { transform: translateY(5px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(0) rotate(45deg); background: var(--gold);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-2px) rotate(-45deg); background: var(--gold);
}

/* ---------- buttons ---------- */
.coin-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 9999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--flame-hi) 45%, var(--flame) 100%);
  color: #1d0c00; font-family: var(--f-head); font-weight: 800; letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glow), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.coin-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.coin-btn:hover { transform: translateY(-2px) scale(1.02); color: #1d0c00; box-shadow: 0 16px 46px rgba(255, 102, 0, 0.6); }
.coin-btn.ghost { background: rgba(139, 92, 255, 0.12); color: var(--paper); border: 2px solid var(--volt); box-shadow: none; }
.coin-btn.ghost::after { display: none; }
.coin-btn.ghost:hover { background: rgba(139, 92, 255, 0.28); color: #fff; }
.marquee .coin-btn.head { min-height: 44px; padding: 0 20px; font-size: 0.94rem; flex-shrink: 0; }

/* ---------- heroes ---------- */
.isle-hero, .solo-hero { position: relative; overflow: hidden; isolation: isolate; }
.isle-hero::before, .solo-hero::before {
  content: ""; position: absolute; inset: -40px; z-index: -2;
  background-image: var(--art); background-size: cover; background-position: center 30%;
  filter: blur(34px) saturate(1.5); opacity: 0.5; transform: scale(1.1);
}
.isle-hero::after, .solo-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 11, 22, 0.35) 0%, rgba(13, 11, 22, 0.78) 65%, var(--ink) 100%),
              radial-gradient(60% 80% at 25% 40%, rgba(13, 11, 22, 0.7), transparent 70%);
}
.isle-hero { padding: 64px 0 52px; }
.isle-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); background: rgba(255, 196, 61, 0.1); border: 1px solid rgba(255, 196, 61, 0.35); border-radius: 9999px; padding: 6px 14px; margin-bottom: 16px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.lede { font-size: 1.12rem; color: #ece6fb; max-width: 62ch; }
.isle-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.isle-card {
  position: relative; background: linear-gradient(160deg, rgba(38, 29, 66, 0.88), rgba(20, 15, 34, 0.92));
  border: 1px solid var(--line-hot); border-radius: var(--r-l); padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 102, 0, 0.18); backdrop-filter: blur(8px);
}
.isle-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 6px 6px 0; background: linear-gradient(180deg, var(--gold), var(--flame)); }
.isle-card .posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.isle-card .posters img { border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.isle-card .posters img:nth-child(1) { transform: rotate(-5deg) translateY(6px); }
.isle-card .posters img:nth-child(2) { transform: translateY(-12px) scale(1.06); box-shadow: 0 18px 40px rgba(255, 102, 0, 0.4); z-index: 1; position: relative; }
.isle-card .posters img:nth-child(3) { transform: rotate(5deg) translateY(6px); }
.offer-tag { font-family: var(--f-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.offer-sum { font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; line-height: 1.15; margin: 6px 0 8px; color: #fff3e0; }
.offer-fine { font-size: 0.92rem; color: var(--mute); margin: 0; }
.checked { display: inline-flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--mute); margin-top: 16px; }
.checked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.solo-hero { padding: 56px 0 40px; }
.solo-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.solo-grid .cover { border-radius: var(--r-l); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.12), 0 0 70px rgba(255, 102, 0, 0.3); transform: rotate(2deg); }
.solo-grid .cover.wide { aspect-ratio: 476 / 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; padding: 0; list-style: none; }
.chips li { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 9999px; padding: 5px 14px; font-size: 0.9rem; font-weight: 600; }
.chips li b { color: var(--gold); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.stats li { background: linear-gradient(160deg, rgba(38, 29, 66, 0.9), rgba(20, 15, 34, 0.9)); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.stats b { display: block; font-family: var(--f-head); font-size: 1.7rem; font-weight: 800; color: var(--gold); text-shadow: 0 0 18px rgba(255, 196, 61, 0.35); }
.stats span { color: var(--mute); font-size: 0.92rem; }

/* ---------- sections ---------- */
.band { padding: 48px 0; }
.band.alt { background: linear-gradient(180deg, rgba(27, 21, 48, 0.75), rgba(20, 15, 34, 0.75)); border-block: 1px solid var(--line); }
.prose {
  box-sizing: border-box;
}
.prose > p, .prose > ul, .prose > ol, .prose > dl, .prose > .lead-answer { max-width: 76ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--flame-hi); }
.lead-answer { font-size: 1.12rem; background: linear-gradient(90deg, rgba(255, 102, 0, 0.14), transparent); border-left: 4px solid var(--flame); border-radius: 0 var(--r-s) var(--r-s) 0; padding: 12px 16px 12px 18px; margin-bottom: 1.2em; }

/* ---------- games grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin: 22px 0 8px; }
.game-card { position: relative; background: linear-gradient(180deg, var(--deck-hi), var(--deck)); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.game-card:hover { transform: translateY(-6px); border-color: var(--line-hot); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 34px rgba(255, 102, 0, 0.3); }
.game-card .poster { display: block; position: relative; overflow: hidden; }
.game-card .poster img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.35s ease, filter 0.35s ease; }
.game-card:hover .poster img { transform: scale(1.07); filter: brightness(0.55); }
.game-card .poster::after {
  content: "Jugar ahora"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%);
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 10px 18px; border-radius: 9999px; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold), var(--flame)); color: #1d0c00; font-family: var(--f-head); font-weight: 800; font-size: 0.9rem;
  box-shadow: var(--glow);
}
.game-card:hover .poster::after { opacity: 1; transform: translate(-50%, -50%); }
.game-card .rtp-chip { position: absolute; left: 10px; top: 10px; z-index: 1; background: rgba(13, 11, 22, 0.85); border: 1px solid rgba(52, 232, 158, 0.5); border-radius: 9999px; padding: 3px 11px; font-size: 0.78rem; font-weight: 800; color: var(--mint); }
.game-card .meta { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card .name { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; margin: 0; }
.game-card .note { font-size: 0.88rem; color: var(--mute); line-height: 1.45; margin: 0; }
.game-card .go { margin-top: auto; font-weight: 700; font-size: 0.92rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.game-card .go::after { content: "→"; transition: transform 0.15s; }
.game-card .go:hover::after { transform: translateX(4px); }

/* ---------- tables ---------- */
.scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-m); margin: 18px 0 24px; background: rgba(20, 15, 34, 0.7); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: 0.97rem; }
caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 0.85rem; color: var(--mute); }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: linear-gradient(90deg, rgba(255, 102, 0, 0.3), rgba(139, 92, 255, 0.3)); font-family: var(--f-head); font-size: 0.9rem; letter-spacing: 0.02em; color: #fff; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
tbody tr:hover { background: rgba(255, 196, 61, 0.06); }
td b { color: var(--gold); }

/* ---------- media strip ---------- */
.strip { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; background: linear-gradient(160deg, rgba(38, 29, 66, 0.85), rgba(20, 15, 34, 0.85)); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; margin: 20px 0; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
.strip img { border-radius: var(--r-m); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }
.strip img.wide { aspect-ratio: 476 / 400; }
.strip.duo { grid-template-columns: 1fr 1fr 1.4fr; }

/* ---------- steps / pros ---------- */
.stepper { counter-reset: st; list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.stepper li { counter-increment: st; position: relative; padding: 16px 18px 16px 66px; background: linear-gradient(160deg, rgba(38, 29, 66, 0.8), rgba(20, 15, 34, 0.8)); border: 1px solid var(--line); border-radius: var(--r-m); }
.stepper li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--volt-hi), var(--volt)); color: #fff; font-family: var(--f-head); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 18px rgba(139, 92, 255, 0.55); }
.scales { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.scales > div { background: linear-gradient(160deg, rgba(38, 29, 66, 0.85), rgba(20, 15, 34, 0.85)); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; }
.scales .up { border-top: 4px solid var(--mint); }
.scales .down { border-top: 4px solid var(--pink); }
.scales ul { margin: 0; padding-left: 1.1em; }
.lexicon { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 18px 0; }
.lexicon div { background: linear-gradient(160deg, rgba(38, 29, 66, 0.85), rgba(20, 15, 34, 0.85)); border: 1px solid var(--line); border-radius: var(--r-m); padding: 15px 17px; }
.lexicon dt { font-family: var(--f-head); font-weight: 700; color: var(--gold); }
.lexicon dd { margin: 4px 0 0; font-size: 0.95rem; }

/* ---------- calculator ---------- */
.calc { background: linear-gradient(160deg, rgba(38, 29, 66, 0.95), rgba(20, 15, 34, 0.95)); border: 1px solid rgba(139, 92, 255, 0.45); border-radius: var(--r-l); padding: 24px; margin: 20px 0; box-shadow: var(--glow-volt); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.93rem; }
.calc input, .calc select { min-height: 50px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--ink); color: var(--paper); padding: 0 12px; font: inherit; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.calc output { display: block; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-m); background: rgba(13, 11, 22, 0.85); border: 1px dashed var(--gold); font-size: 1.02rem; }
.calc output b { color: var(--gold); }

/* ---------- cta ticket ---------- */
.ticket { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(120deg, #3a1604 0%, #2a1350 60%, #1b1530 100%); border: 1px solid var(--line-hot); border-radius: var(--r-l); padding: 26px 28px; margin: 26px 0; box-shadow: 0 0 60px rgba(255, 102, 0, 0.22); }
.ticket::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 61, 0.35), transparent 70%); }
.ticket p { margin: 0; position: relative; }
.ticket .ticket-sum { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; }
.ticket .ticket-fine { color: #d8cdee; font-size: 0.92rem; margin-top: 4px; }

/* ---------- faq ---------- */
.qa { display: grid; gap: 10px; margin: 18px 0; }
.qa details { background: linear-gradient(160deg, rgba(38, 29, 66, 0.85), rgba(20, 15, 34, 0.85)); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 20px; transition: border-color 0.15s; }
.qa details[open] { border-color: var(--line-hot); }
.qa summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-family: var(--f-head); font-weight: 600; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; padding-left: 12px; color: var(--gold); font-size: 1.5rem; }
.qa details[open] summary::after { content: "−"; }
.qa details p { color: #e2dbf3; }

/* ---------- link dock ---------- */
.dock { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 18px 0; }
.dock a { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px; border-radius: var(--r-m); background: linear-gradient(160deg, rgba(38, 29, 66, 0.85), rgba(20, 15, 34, 0.85)); border: 1px solid var(--line); color: var(--paper); text-decoration: none; font-weight: 600; transition: border-color 0.15s, transform 0.15s; }
.dock a:hover { border-color: var(--volt); color: #fff; transform: translateY(-2px); }
.dock img { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; aspect-ratio: 3 / 4; }

/* ---------- footer ---------- */
.basement { margin-top: 36px; background: #08070e; border-top: 1px solid var(--line); padding: 38px 0 110px; font-size: 0.95rem; color: #c9c2dc; }
.basement-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.basement .foot-title { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--paper); margin-bottom: 10px; }
.basement ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.basement li { margin-bottom: 6px; }
.basement a { color: #c9c2dc; }
/* ---------- legal bar disclaimer ---------- */
.legal-bar {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(18, 14, 32, 0.92);
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-left: 4px solid var(--flame);
  border-radius: var(--r-m);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.legal-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  color: var(--pink);
  font-weight: 800;
  font-family: var(--f-head);
  font-size: 0.95rem;
  flex-shrink: 0;
  background: rgba(255, 77, 106, 0.1);
}
.legal-pill {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255, 196, 61, 0.12);
  border: 1px solid rgba(255, 196, 61, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
}
.legal-content {
  font-size: 0.91rem;
  line-height: 1.65;
  color: #dcd5ee;
}
.legal-content p {
  margin: 0 0 12px;
}
.legal-content p:last-child {
  margin-bottom: 0;
}
.legal-content strong {
  color: #fff;
  font-weight: 600;
}
.legal-warning {
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  color: #bfaedc;
  font-size: 0.86rem;
}
.disclosure { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(27, 21, 48, 0.7); font-size: 0.97rem; line-height: 1.6; color: #ece6fb; }
.age { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--pink); color: var(--pink); font-weight: 800; font-family: var(--f-head); margin-right: 12px; float: left; }

/* ---------- mobile bottom bar ---------- */
.pocket { display: none; }

/* ---------- mobile & tablet styles (max-width: 900px) ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--r-s);
    background: var(--deck-hi);
    color: var(--paper);
    border: 1px solid var(--line);
    cursor: pointer;
  }
  .marquee nav {
    margin-left: auto;
  }
  .marquee .coin-btn.head {
    display: none;
  }

  nav .rack {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: rgba(13, 11, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line-hot);
    padding: 16px 20px calc(85px + env(safe-area-inset-bottom, 20px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 80;
    gap: 10px;
  }
  nav .rack.open {
    display: flex;
    animation: menuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .rack-item {
    width: 100%;
  }
  .rack-item > a.nav-link {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 1.02rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    box-sizing: border-box;
  }

  /* Flatten dropdown inside mobile drawer */
  .rack-dropdown .dropdown-toggle {
    display: none;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: none;
  }
  .dropdown-menu::before {
    display: none;
  }
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 4px;
  }
  .dropdown-group {
    background: rgba(27, 21, 48, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    padding: 12px 10px;
  }
  .dropdown-label {
    padding: 0 6px 8px;
    font-size: 0.8rem;
  }
  .dropdown-list {
    gap: 6px;
  }
  .dropdown-item {
    min-height: 48px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--r-s);
  }
  .dropdown-item strong {
    font-size: 0.94rem;
  }

  .rack-mob-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding-bottom: 24px;
  }
  .rack-mob-cta .mob-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1.05rem;
  }

  .isle-grid, .solo-grid, .basement-grid { grid-template-columns: 1fr; }
  .isle-hero { padding: 40px 0 32px; }
  .solo-hero { padding: 36px 0 28px; }
  .solo-grid .cover { max-width: 240px; transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .strip, .strip.duo { grid-template-columns: 1fr; }
  .strip img { max-width: 100%; aspect-ratio: 16 / 10; }
  .scales { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; padding: 22px 20px; }
  .ticket .coin-btn { width: 100%; min-height: 48px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
  .basement ul { columns: 1; }
  .coin-btn, .rack a, .qa summary, .game-card .go { min-height: 48px; }

  .pocket {
    display: flex; position: fixed; left: 12px; right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    z-index: 50;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 10px 8px 18px; border-radius: 9999px;
    background: linear-gradient(90deg, rgba(42, 19, 80, 0.97), rgba(27, 21, 48, 0.97));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line-hot);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 102, 0, 0.25);
  }
  .pocket span { font-size: 0.8rem; line-height: 1.25; min-width: 0; }
  .pocket span b { color: var(--gold); display: block; font-family: var(--f-head); font-size: 0.92rem; }
  .pocket .coin-btn { min-height: 48px; padding: 0 18px; white-space: nowrap; flex-shrink: 0; font-size: 0.9rem; }
}

/* ---------- compact mobile (<= 640px) ---------- */
@media (max-width: 640px) {
  .container, .wrap, .wrap.prose { width: 100%; padding-inline: 16px; }
  h1 { font-size: clamp(1.7rem, 6.5vw, 2.5rem); }
  h2 { font-size: clamp(1.35rem, 5vw, 1.8rem); }
  .band { padding: 36px 0; }
  .isle-actions { flex-direction: column; width: 100%; }
  .isle-actions .coin-btn { width: 100%; min-height: 48px; }
  .isle-card { padding: 18px 16px; border-radius: var(--r-m); }
  .isle-card .posters { gap: 8px; margin-bottom: 14px; }
  .isle-card .posters img:nth-child(1) { transform: rotate(-3deg) translateY(4px); }
  .isle-card .posters img:nth-child(2) { transform: translateY(-8px) scale(1.05); }
  .isle-card .posters img:nth-child(3) { transform: rotate(3deg) translateY(4px); }
  .offer-sum { font-size: 1.45rem; }
  .stats li { padding: 12px 14px; }
  .stats b { font-size: 1.4rem; }
  .stats span { font-size: 0.82rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-card .meta { padding: 10px 10px 12px; gap: 4px; }
  .game-card .name { font-size: 0.95rem; }
  .game-card .note { font-size: 0.82rem; line-height: 1.35; }
  .game-card .go { min-height: 48px; font-size: 0.88rem; }
  .calc { padding: 18px 16px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc input, .calc select { font-size: 16px; }
  .dock { grid-template-columns: 1fr; }
  .basement { padding: 32px 0 calc(90px + env(safe-area-inset-bottom, 12px)); }
}

@media (prefers-reduced-motion: reduce) {
  .coin-btn::after { animation: none; }
  .game-card, .game-card .poster img { transition: none; }
}

/* Responsive Sticky CTA */
@media (min-width: 769px) {
  .sticky-cta, [data-block="sticky_cta"] { display: none !important; }
}

/* Responsive Burger Menu */
@media (max-width: 768px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  nav { display: none; flex-direction: column; }
  nav[data-open="true"] { display: flex; }
}
