/* Bubble Pinball · "backglass at night": indigo lacquer, soap-film iridescence, WPC brass, DMD amber.
   Deliberately single-theme (an arcade cabinet does not have a light mode). */
@font-face { font-family: "Chakra Petch"; src: url("/fonts/chakra-petch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/fonts/chakra-petch-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/noto-sans-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-024F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/noto-sans-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --lacquer: #0B0F2E; --lacquer-2: #111641; --indigo: #1B1F6B; --panel: #151A4A;
  --ink: #F1F2FF; --muted: #AEB3E0; --dim: #7A80B8; --line: rgba(173, 182, 255, .16);
  --magenta: #FF3FA4; --cyan: #3FE0F0; --gold: #FFC23D; --amber: #FF9E2C; --violet: #B58CFF; --lime: #7CFFB2;
  --display: "Chakra Petch", "Noto Sans", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px; --wrap: 1180px;
  --s-1: .875rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.375rem; --s3: 1.75rem; --s4: 2.25rem; --s5: clamp(2.4rem, 5vw, 3.4rem); --s6: clamp(2.8rem, 7.2vw, 5.6rem);
}
.lang-ja { --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; --display: "Chakra Petch", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; }
.lang-ko { --body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --display: "Chakra Petch", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--lacquer); color: var(--ink); font: 400 var(--s0)/1.65 var(--body);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(255, 63, 164, .16), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(63, 224, 240, .09), transparent 60%);
  background-repeat: no-repeat; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--s5); font-weight: 700; }
h3 { font-size: var(--s2); font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a0f3d; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 600 var(--s-1)/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.lead { font-size: var(--s2); line-height: 1.5; color: #DADDFF; max-width: 60ch; }
.note { color: var(--dim); font-size: var(--s-1); }
.prose { color: var(--muted); max-width: 68ch; }

/* ---------- buttons ---------- */
.btn { --btn-edge: #9A5A00; display: inline-flex; align-items: center; gap: .55em; font: 700 var(--s1)/1 var(--display); letter-spacing: .02em;
  text-decoration: none; border-radius: 14px; padding: .95em 1.4em; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-play { color: #2A1600; background: linear-gradient(180deg, #FFE27A 0%, var(--gold) 45%, var(--amber) 100%);
  box-shadow: 0 5px 0 var(--btn-edge), 0 12px 30px rgba(255, 158, 44, .35), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-play:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 0 var(--btn-edge), 0 16px 36px rgba(255, 158, 44, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-edge), 0 6px 16px rgba(255, 158, 44, .3); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { font-size: var(--s-1); padding: .7em 1em; border-radius: 11px; box-shadow: 0 3px 0 var(--btn-edge), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-xl { font-size: var(--s2); padding: 1em 1.5em; }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font: 700 var(--s1) var(--display); color: var(--cyan); text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 46, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand img { width: 150px; height: auto; filter: drop-shadow(0 4px 12px rgba(63, 224, 240, .18)); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font: 600 var(--s-1) var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); font: 600 var(--s-1) var(--display); padding: 8px 10px; border-radius: 10px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang[open] summary, .lang summary:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 2px; min-width: 280px; }
.lang a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: var(--s-1); }
.lang a:hover { background: rgba(255, 255, 255, .08); }
.lang a[aria-current] { color: var(--gold); }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 420px) { .btn-sm span { display: none; } .brand img { width: 112px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: center; padding-block: 64px 72px; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 15, 46, .94) 0%, rgba(11, 15, 46, .72) 38%, rgba(11, 15, 46, .05) 70%),
    linear-gradient(0deg, var(--lacquer) 0%, transparent 22%); }
.hero-toy { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: end; }
.hero-copy { display: grid; gap: 20px; justify-items: start; max-width: 640px; }
.hero h1 { font-size: var(--s6); font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.hero h1 span { display: block; }
/* Brand + main keyword of the locale live inside the H1, styled as the small amber line above the claim. */
.hero h1 .h1-kw { font: 600 var(--s-1)/1.35 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.shine { background: linear-gradient(100deg, var(--cyan) 0%, #9EF3FF 18%, var(--magenta) 44%, var(--gold) 72%, var(--cyan) 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: film 9s ease-in-out infinite alternate; filter: drop-shadow(0 4px 24px rgba(255, 63, 164, .35)); }
@keyframes film { to { background-position: 100% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.dmd { justify-self: end; align-self: end; width: min(100%, 330px); padding: 16px 18px 14px; border-radius: 14px; background-color: #120900;
  background-image: radial-gradient(rgba(255, 158, 44, .09) 1px, transparent 1.3px); background-size: 4px 4px;
  box-shadow: inset 0 0 0 2px #3A2200, inset 0 0 30px rgba(0, 0, 0, .8), 0 20px 50px rgba(0, 0, 0, .5); color: var(--amber); font-family: var(--display); }
.dmd-score { display: block; text-align: right; font-size: 2.2rem; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(255, 158, 44, .7); line-height: 1; }
.dmd ul { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed rgba(255, 158, 44, .3); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dmd li { display: grid; justify-items: center; }
.dmd b { font-size: 1.5rem; line-height: 1; text-shadow: 0 0 10px rgba(255, 158, 44, .6); font-variant-numeric: tabular-nums; }
.dmd li span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #C98A3E; text-align: center; line-height: 1.2; margin-top: 4px; }
.dmd-hint { margin-top: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: #C98A3E; animation: blink 2.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 760px) {
  /* Phone: the tall art keeps its proportions at the top; the copy starts under Burbu's face. */
  .hero { min-height: 0; align-items: flex-end; padding-block: min(118vw, 560px) 40px; }
  .hero-art { inset: 0 0 auto 0; }
  .hero-art img { height: auto; aspect-ratio: 768 / 1344; object-position: 50% 0%; }
  .hero::after { background: linear-gradient(0deg, var(--lacquer) 0%, var(--lacquer) calc(100% - min(150vw, 700px)), rgba(11, 15, 46, .55) calc(100% - min(92vw, 440px)), rgba(11, 15, 46, 0) calc(100% - min(62vw, 300px))); }
  .hero-in { grid-template-columns: 1fr; }
  .dmd { justify-self: stretch; width: 100%; }
  .hero-actions .btn-xl { width: 100%; justify-content: center; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(56px, 9vw, 110px); position: relative; }
.band-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.band-lead { color: var(--muted); font-size: var(--s1); max-width: 64ch; }

.pitch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pitch li { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(27, 31, 107, .7), rgba(17, 22, 65, .6)); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.pitch-icon { width: 52px; height: 52px; color: var(--cyan); }
.pitch li:nth-child(2) .pitch-icon { color: var(--magenta); }
.pitch li:nth-child(3) .pitch-icon { color: var(--gold); }
.pitch p { color: var(--muted); }
@media (max-width: 900px) { .pitch { grid-template-columns: 1fr; } }

.band-how { background: linear-gradient(180deg, transparent, rgba(27, 31, 107, .35) 30%, transparent); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.how-copy { display: grid; gap: 20px; justify-items: start; }
.steps { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.steps p { color: var(--muted); }
.step-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem var(--display); color: #fff;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--cyan) 22%, #0A7C9C 80%); box-shadow: 0 0 0 3px rgba(63, 224, 240, .25), 0 10px 24px rgba(63, 224, 240, .25); text-shadow: 0 1px 2px #06304a; }
.steps li:nth-child(2) .step-n { background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--magenta) 22%, #8E1B55 80%); box-shadow: 0 0 0 3px rgba(255, 63, 164, .25), 0 10px 24px rgba(255, 63, 164, .25); }
.steps li:nth-child(3) .step-n { background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--gold) 22%, #A86A00 80%); box-shadow: 0 0 0 3px rgba(255, 194, 61, .25), 0 10px 24px rgba(255, 194, 61, .25); color: #2A1600; text-shadow: none; }
.how-visual { position: relative; padding-bottom: 40px; }
.how-smash img { border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.phone-float { position: absolute; right: 4%; bottom: -10px; width: 34%; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

.phone { margin: 0; border-radius: 26px; padding: 7px; background: linear-gradient(160deg, #3A3F8F, #0D1036 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .55); }
.phone img { border-radius: 20px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.phone figcaption { font: 600 var(--s-1) var(--display); text-align: center; color: var(--muted); padding: 10px 4px 4px; }

.worlds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.world-card a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .35); transition: transform .25s ease, box-shadow .25s ease; }
.world-card img { aspect-ratio: 4 / 5.6; object-fit: cover; width: 100%; transition: transform .6s ease; }
.world-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 34, .96) 8%, rgba(8, 10, 34, .35) 52%, transparent 70%); }
.world-meta { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 16px; display: grid; gap: 4px; }
.world-n { font: 600 .72rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.world-card strong { font: 700 var(--s2)/1.05 var(--display); }
.world-tag { color: var(--muted); font-size: var(--s-1); line-height: 1.35; }
.world-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 700 var(--s-1) var(--display); color: var(--accent); }
.world-go svg { width: 16px; height: 16px; }
.world-card a:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--accent), 0 26px 60px rgba(0, 0, 0, .45); }
.world-card a:hover img { transform: scale(1.05); }
@media (max-width: 1000px) { .worlds { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(230px, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .world-card { scroll-snap-align: start; } }

.band-missions { background: radial-gradient(900px 500px at 50% 0%, rgba(181, 140, 255, .12), transparent 70%); }
.missions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.missions li { padding: 18px; border-radius: 14px; background: rgba(21, 26, 74, .7); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.missions p { font: 600 .8rem/1.4 var(--display); letter-spacing: .06em; color: var(--muted); }
.chip { display: inline-block; width: fit-content; font: 700 .72rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px;
  color: var(--amber); background: #1A0E00; box-shadow: inset 0 0 0 1px #4A2A00; white-space: nowrap; }
@media (max-width: 1000px) { .missions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .missions { grid-template-columns: 1fr; } }

.bosses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.boss { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: grid; align-content: start; }
.boss img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.boss-body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.boss-body h3 { font-size: var(--s1); }
.boss-body p { color: var(--muted); font-size: var(--s-1); line-height: 1.45; }
.boss-rank { font: 600 .7rem var(--display) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan) !important; }
.boss-boss .boss-rank { color: var(--magenta) !important; }
.boss-final { box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(255, 194, 61, .25); }
.boss-final .boss-rank { color: var(--gold) !important; }
@media (max-width: 1000px) { .bosses { grid-template-columns: repeat(2, 1fr); } }
.guide .bosses { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 20px; }

.band-packs { background: radial-gradient(900px 480px at 20% 10%, rgba(255, 194, 61, .1), transparent 70%); }
.pack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: rgba(21, 26, 74, .72); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }
.pack-card-art img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pack-card-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.pack-card-body h3 { font-size: var(--s2); }
.pack-card-body p { color: var(--muted); font-size: var(--s-1); }
.pack-tagline { color: var(--ink) !important; font-family: var(--display); font-size: var(--s0) !important; }
.pack-tag { font: 600 .7rem var(--display) !important; letter-spacing: .12em; text-transform: uppercase; }
.pack-tag-free { color: var(--lime) !important; }
.pack-tag-dev { color: var(--magenta) !important; }
.pack-tag-roadmap { color: var(--dim) !important; }
.pack-free { box-shadow: inset 0 0 0 2px rgba(124, 255, 178, .35); }
.pack-mansion { box-shadow: inset 0 0 0 2px rgba(255, 63, 164, .45); }
.pack-highlights { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pack-highlights li { font: 600 .7rem var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 7px;
  color: var(--cyan); background: rgba(63, 224, 240, .1); box-shadow: inset 0 0 0 1px rgba(63, 224, 240, .3); }
.pack-card-price { font: 700 var(--s2) var(--display); color: var(--gold) !important; margin-top: 4px; }
.pack-card-price small { display: block; font: 400 .72rem/1.3 var(--body); color: var(--dim); }
.pack-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.pack-price { display: grid; gap: 2px; }
.pack-price strong { font: 700 2rem/1 var(--display); color: var(--gold); text-shadow: 0 0 18px rgba(255, 194, 61, .35); }
.pack-price small { color: var(--dim); font-size: .78rem; }
@media (max-width: 1000px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pack-grid { grid-template-columns: 1fr; } }

.packs-hero .hero-actions { align-items: center; gap: 28px; }
.pack-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 5vw, 56px); }
.pack-row { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.pack-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.pack-row:nth-child(even) .pack-row-art { order: 2; }
.pack-row > div { display: grid; gap: 10px; justify-items: start; align-content: start; }
.pack-row h3 { font-size: var(--s4); }
.pack-row p { color: var(--muted); max-width: 60ch; }
.pack-row-art img { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .45); aspect-ratio: 16 / 9; object-fit: cover; }
.pack-row-free .pack-row-art img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .pack-row, .pack-row:nth-child(even) { grid-template-columns: 1fr; } .pack-row:nth-child(even) .pack-row-art { order: 0; } }

.band-bundle { background: radial-gradient(760px 420px at 80% 20%, rgba(255, 63, 164, .16), transparent 70%); }
.bundle-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.bundle-in > * { min-width: 0; }
.bundle-copy { display: grid; gap: 16px; justify-items: start; }
.bundle-copy > * { max-width: 100%; }
.bundle-points li { color: var(--gold); background: rgba(255, 194, 61, .1); box-shadow: inset 0 0 0 1px rgba(255, 194, 61, .32); }
.bundle-deal { display: grid; gap: 14px; justify-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 31, 107, .85), rgba(21, 26, 74, .85)); box-shadow: inset 0 0 0 2px rgba(255, 63, 164, .45), 0 24px 60px rgba(0, 0, 0, .45); }
.bundle-save { font: 700 var(--s-1) var(--display); letter-spacing: .12em; text-transform: uppercase; color: #2A1600;
  background: linear-gradient(180deg, #FFE27A, var(--amber)); padding: 7px 14px; border-radius: 999px; }
.bundle-price { display: flex; align-items: baseline; gap: 12px; }
.bundle-price s { color: var(--dim); font-size: var(--s2); text-decoration-color: var(--magenta); }
.bundle-price strong { font: 700 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); color: var(--gold); text-shadow: 0 0 24px rgba(255, 194, 61, .4); }
.bundle-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.bundle-thumbs li { display: grid; gap: 4px; justify-items: center; text-align: center; font: 600 .62rem/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bundle-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 860px) { .bundle-in { grid-template-columns: 1fr; } }

.compare .col-pack { color: var(--gold); }
.compare tbody th { white-space: nowrap; }
.compare tbody td { color: var(--muted); }

.shots { list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; }
.shots li { scroll-snap-align: start; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.features li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.features li:nth-child(1) { border-color: var(--cyan); } .features li:nth-child(2) { border-color: var(--magenta); }
.features li:nth-child(3) { border-color: var(--gold); } .features li:nth-child(4) { border-color: var(--violet); }
.features p { color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 14px; background: rgba(21, 26, 74, .6); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--s1); }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--cyan) 30%, #0A7C9C 90%); transition: transform .2s; }
.faq details[open] summary::after { background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--magenta) 30%, #8E1B55 90%); transform: scale(1.2); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 70ch; }

.cta-band { padding-block: 64px; background: linear-gradient(100deg, #2A0F5C, #5A1266 45%, #0E4C7A); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .18) 0 3%, transparent 3.3%),
  radial-gradient(circle at 88% 70%, rgba(255, 255, 255, .12) 0 6%, transparent 6.4%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .1) 0 2%, transparent 2.3%); }
.cta-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in h2 { font-size: var(--s4); }
.cta-in p { color: #E7D9FF; font-size: var(--s1); margin-top: 6px; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 400px at 80% 0%, color-mix(in srgb, var(--accent, #FF3FA4) 22%, transparent), transparent 70%); }
.page-hero h1 { font-size: var(--s5); margin: 10px 0 14px; }
.page-hero .narrow { display: grid; gap: 14px; justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--s-1); color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.world-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.world-hero-in > div { display: grid; gap: 16px; justify-items: start; }
.world-hero .eyebrow { color: var(--accent); }
.world-art img { border-radius: 24px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent), 0 30px 80px rgba(0, 0, 0, .5); }
@media (max-width: 860px) { .world-hero-in { grid-template-columns: 1fr; } .world-art { max-width: 420px; } }

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(21, 26, 74, .5); }
.tables { width: 100%; border-collapse: collapse; font-size: var(--s-1); }
.tables th, .tables td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tables thead th { font: 600 .72rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tables tbody th { font-weight: 600; color: var(--ink); }
.tables tbody tr:last-child > * { border-bottom: 0; }
.tables .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.tables tbody tr:hover { background: rgba(255, 255, 255, .03); }
.row-mini th { color: var(--cyan) !important; } .row-boss th { color: var(--magenta) !important; } .row-final th { color: var(--gold) !important; }
.row-boss .chip, .row-final .chip { color: #FFD6EC; background: #3A0A26; box-shadow: inset 0 0 0 1px #7A1A52; }
.phase-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.phase-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.phase-list strong { font-family: var(--display); margin-right: 6px; }
.world-nav { padding-block: 40px; }
.world-nav-in { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.world-step { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: rgba(21, 26, 74, .6); }
.world-step small { color: var(--accent); font: 600 var(--s-1) var(--display); letter-spacing: .06em; text-transform: uppercase; }
.world-step strong { font: 700 var(--s2) var(--display); }
.world-step.next { text-align: right; }
.world-step:hover { box-shadow: 0 0 0 2px var(--accent); }

.guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: 48px 80px; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc h2 { font-size: var(--s-1); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--s-1); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.guide-body { display: grid; gap: 56px; max-width: 760px; }
.guide-body section { display: grid; gap: 16px; scroll-margin-top: 90px; }
.guide-body h2 { font-size: var(--s4); }
.guide-body p { color: #CFD2F5; font-size: var(--s1); line-height: 1.7; }
.guide-phone { width: min(260px, 70%); }
kbd { font: 600 .85em var(--display); color: var(--gold); }
.tips { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tips li { counter-increment: tip; padding: 16px 16px 16px 58px; position: relative; border-radius: 14px; background: rgba(21, 26, 74, .6); border: 1px solid var(--line); color: #CFD2F5; }
.tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font: 700 1.05rem var(--display); color: var(--amber); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .toc { position: static; } .tips { grid-template-columns: 1fr; } }

/* table guide (ficha) */
.table-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.table-copy { display: grid; gap: 16px; justify-items: start; }
.table-hero .eyebrow { color: var(--accent); }
.table-facts { margin: 4px 0 6px; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 26px; }
.table-facts div { display: grid; gap: 4px; }
.table-facts dt { font: 600 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.table-facts dd { margin: 0; font: 700 1.35rem var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.table-shot { width: min(320px, 100%); justify-self: center; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 80px rgba(0, 0, 0, .55); }
.table-shot img { aspect-ratio: 572 / 1018; }
.table-guide { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.stars-box { padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(255, 194, 61, .14), rgba(21, 26, 74, .6)); box-shadow: inset 0 0 0 1px rgba(255, 194, 61, .35); }
.stars-box h2 span { color: var(--gold); letter-spacing: .05em; }
.mistakes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mistakes li { position: relative; padding: 14px 16px 14px 48px; border-radius: 12px; background: rgba(58, 10, 38, .45); box-shadow: inset 0 0 0 1px rgba(255, 63, 164, .3); color: #E9D5E3; }
.mistakes li::before { content: "✕"; position: absolute; left: 18px; top: 13px; font: 700 1rem var(--display); color: var(--magenta); }
.all-tables { margin-top: 18px; }
.tables tbody th a { color: var(--ink); text-decoration-color: rgba(63, 224, 240, .5); }
.tables tbody th a:hover { color: var(--cyan); }
@media (max-width: 860px) { .table-hero-in { grid-template-columns: 1fr; } .table-facts { grid-template-columns: repeat(2, auto); } }

.hero-landing { min-height: min(78vh, 720px); }
.hero-landing h1 { font-size: var(--s5); }
.zigzag { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 8vw, 96px); }
.zigzag li { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 6vw, 80px); align-items: center; }
.zigzag li:nth-child(even) { grid-template-columns: minmax(0, 1fr) 280px; }
.zigzag li:nth-child(even) .phone { order: 2; }
.zigzag li > div { display: grid; gap: 16px; justify-items: start; }
.zigzag h2 { font-size: var(--s4); }
.zigzag p { color: var(--muted); font-size: var(--s1); max-width: 56ch; }
@media (max-width: 760px) { .zigzag li, .zigzag li:nth-child(even) { grid-template-columns: 1fr; } .zigzag .phone { width: min(260px, 72%); order: 0 !important; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #080B24; padding-block: 56px 28px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.foot-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot-brand img { width: 170px; }
.foot-brand p { color: var(--muted); max-width: 32ch; }
.foot h2 { font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--s-1); }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-langs { grid-template-columns: repeat(2, 1fr); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

.lang-hint { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); font-size: var(--s-1); max-width: calc(100vw - 32px); }
.lang-hint a { font-weight: 700; }
.lang-hint button { background: none; border: 0; color: var(--dim); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.notfound { min-height: 60vh; display: grid; align-items: center; }

/* ---------- consent banner and privacy page (doc 18: GA4 only after consent) ---------- */
.consent { position: fixed; z-index: 60; left: clamp(12px, 3vw, 24px); right: clamp(12px, 3vw, 24px); bottom: clamp(12px, 3vw, 24px);
  max-width: 560px; margin-inline: auto; display: grid; gap: 10px; padding: 18px 20px;
  background: linear-gradient(180deg, var(--panel), var(--lacquer-2)); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--ink); font-size: var(--s-1); }
.consent[hidden] { display: none; }
.consent-title { font: 700 var(--s1)/1.1 var(--display); color: var(--gold); }
.consent a { color: var(--cyan); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.btn-consent { justify-content: center; font-size: var(--s0); padding: .8em 1em; border-radius: 12px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-privacy { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-privacy a { color: var(--muted); }
.foot-privacy .link-btn { color: var(--muted); }
.legal-date { color: var(--dim); font-size: var(--s-1); }
.legal { padding-block: clamp(32px, 5vw, 56px); gap: 36px; }
.legal code { font-size: .92em; color: var(--gold); }
/* One bottom card at a time: the language suggestion waits until the consent choice is made. */
.consent:not([hidden]) ~ .lang-hint { display: none; }
