/* ==========================================================================
   gamdom.jp — main stylesheet
   Dark charcoal base + Gamdom green accents. No frameworks.
   ========================================================================== */

:root {
  --bg: #0a0e14;
  --bg-2: #0d1219;
  --bg-3: #111822;
  --surface: #141c27;
  --surface-2: #1a2432;
  --surface-3: #212d3d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --green: #00ff85;
  --green-2: #19e07a;
  --green-3: #0fb864;
  --green-deep: #0b3d2c;
  --green-ink: #06110c;
  --green-glow: rgba(0, 255, 133, 0.32);
  --green-soft: rgba(0, 255, 133, 0.1);

  --text: #f2f5f8;
  --text-2: #c5cdd8;
  --muted: #8b97a8;
  --gold: #ffcf5a;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);

  --container: 1180px;
  --header-h: 72px;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI",
    "Yu Gothic", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.3; font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--green); color: var(--green-ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(var(--container), 100% - 32px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-tag { display: inline-grid; place-items: center; padding: 2px 7px; border-radius: 6px; background: var(--green-soft); border: 1px solid rgba(0, 255, 133, 0.35); color: var(--green); font-family: var(--font-latin); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.4; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.main-nav a { color: var(--text-2); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, color 0.2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface);
  align-items: center; justify-content: center; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, 0.7); backdrop-filter: blur(4px); animation: fadeIn 0.25s ease; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: linear-gradient(180deg, #111822, #0b1018);
  border-left: 1px solid var(--border);
  padding: 20px 22px 32px; display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; animation: slideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.mobile-menu-panel nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 1.05rem; border: 1px solid transparent; }
.mobile-menu-panel nav a:hover, .mobile-menu-panel nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.05); border-color: var(--border); text-decoration: none; }
.mobile-menu-panel nav a[aria-current="page"] { color: var(--green); }
.mobile-menu-panel nav a::after { content: "›"; color: var(--muted); font-size: 1.3rem; }
.mobile-menu-cta { margin-top: auto; display: grid; gap: 10px; padding-top: 20px; }
.mobile-menu-code { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--green-soft); border: 1px dashed rgba(0, 255, 133, 0.4); text-align: center; }
.mobile-menu-code small { display: block; color: var(--muted); font-size: 0.78rem; }
.mobile-menu-code strong { font-family: var(--font-latin); font-size: 1.4rem; letter-spacing: 0.12em; color: var(--green); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 900px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-inline-start: auto; }
  .header-cta .btn { padding: 10px 16px; font-size: 0.9rem; }
}
@media (max-width: 420px) {
  .brand img { height: 32px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent; line-height: 1.2; min-height: 46px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: linear-gradient(135deg, #24ff99 0%, var(--green) 45%, #00d873 100%); color: var(--green-ink); box-shadow: 0 8px 24px rgba(0, 255, 133, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 255, 133, 0.35); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; min-height: 54px; }
.btn-block { width: 100%; }
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit;
  border: 2px solid rgba(0, 255, 133, 0.55); opacity: 0; pointer-events: none;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.96); opacity: 0.7; } 70% { transform: scale(1.08); opacity: 0; } 100% { opacity: 0; } }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; background: var(--green-soft); color: var(--green); border: 1px solid rgba(0, 255, 133, 0.3); }
.badge-gold { background: rgba(255, 207, 90, 0.1); color: var(--gold); border-color: rgba(255, 207, 90, 0.35); }
.badge-grey { background: rgba(255, 255, 255, 0.06); color: var(--text-2); border-color: var(--border); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-latin); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 5vw + 30px, 96px) 0; position: relative; }
.section-tight { padding: clamp(40px, 4vw + 20px, 64px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.02rem; }
.lead { font-size: 1.08rem; color: var(--text-2); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.prose { max-width: 820px; }
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); }

.glow-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.55; z-index: 0; }
.glow-green { background: radial-gradient(circle, rgba(0, 255, 133, 0.45), transparent 70%); }
.glow-deep { background: radial-gradient(circle, rgba(16, 120, 80, 0.5), transparent 70%); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 255, 133, 0.35); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 133, 0.08); }
.card h3 { margin-top: 12px; }
.card p { color: var(--text-2); margin-bottom: 0; font-size: 0.96rem; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); border: 1px solid rgba(0, 255, 133, 0.25); color: var(--green); }
.card-icon svg { width: 24px; height: 24px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; }
.card-link::after { content: "→"; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(4px); }

/* Bonus cards */
.bonus-card { text-align: left; padding: 28px; background: linear-gradient(160deg, #10251c, #0e1620 60%); border: 1px solid rgba(0, 255, 133, 0.22); }
.bonus-card::before { content: ""; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 255, 133, 0.28), transparent 70%); }
.bonus-value { font-family: var(--font-latin); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); font-weight: 800; color: var(--green); line-height: 1.1; letter-spacing: -0.01em; }
.bonus-label { color: var(--text); font-weight: 700; margin: 6px 0 8px; }
.bonus-card p { color: var(--text-2); font-size: 0.94rem; }
.bonus-card.gold { border-color: rgba(255, 207, 90, 0.3); background: linear-gradient(160deg, #26200f, #0e1620 60%); }
.bonus-card.gold .bonus-value { color: var(--gold); }
.bonus-card.gold::before { background: radial-gradient(circle, rgba(255, 207, 90, 0.28), transparent 70%); }

/* ---------- Promo code ---------- */
.code-card {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px 14px 20px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 133, 0.12), rgba(0, 255, 133, 0.04));
  border: 1px solid rgba(0, 255, 133, 0.4); box-shadow: 0 0 0 4px rgba(0, 255, 133, 0.05), 0 12px 30px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}
.code-card .code-label { display: block; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; }
.code-card .code-value { font-family: var(--font-latin); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--green); letter-spacing: 0.14em; line-height: 1.1; text-shadow: 0 0 22px rgba(0, 255, 133, 0.45); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 10px; border: 1px solid rgba(0, 255, 133, 0.5); background: rgba(0, 255, 133, 0.12); color: var(--green); font-weight: 700; font-size: 0.9rem; transition: background 0.2s, transform 0.2s; min-height: 44px; }
.copy-btn:hover { background: rgba(0, 255, 133, 0.22); transform: translateY(-1px); }
.copy-btn.is-copied { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.copy-btn svg { width: 16px; height: 16px; }

.code-hero { text-align: center; padding: 34px 28px; border-radius: var(--radius-lg); background: radial-gradient(120% 140% at 50% 0%, rgba(0, 255, 133, 0.16), transparent 60%), linear-gradient(180deg, #121c27, #0c1219); border: 1px solid rgba(0, 255, 133, 0.35); box-shadow: var(--shadow), 0 0 60px rgba(0, 255, 133, 0.08); position: relative; }
.code-hero .code-label { color: var(--text-2); font-weight: 600; letter-spacing: 0.12em; font-size: 0.85rem; }
.code-hero .code-value-big { font-family: var(--font-latin); font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); font-weight: 900; letter-spacing: 0.16em; color: var(--green); line-height: 1.05; margin: 10px 0 18px; text-shadow: 0 0 34px rgba(0, 255, 133, 0.5); word-break: break-all; }
.code-hero .copy-btn { font-size: 1rem; padding: 13px 22px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--green); color: var(--green-ink); padding: 12px 20px; border-radius: 12px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 300; max-width: calc(100% - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 5vw + 20px, 96px) 0 clamp(48px, 5vw + 20px, 80px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(0, 255, 133, 0.14), transparent 60%), radial-gradient(40% 40% at 10% 90%, rgba(15, 120, 80, 0.25), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text h1 .accent { color: var(--green); text-shadow: 0 0 30px rgba(0, 255, 133, 0.35); }
.hero-text .lead { margin-bottom: 26px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.92rem; }
.hero-stats li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-stats { padding-left: 0; }
.hero-stats li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }

.hero-visual { position: relative; }
.visual-link { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(0, 255, 133, 0.28); box-shadow: var(--shadow), 0 0 80px rgba(0, 255, 133, 0.1); position: relative; transition: transform 0.35s ease, box-shadow 0.35s ease; background: var(--surface); }
.visual-link:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 90px rgba(0, 255, 133, 0.22); text-decoration: none; }
.visual-link img { width: 100%; height: auto; }
.visual-link .visual-overlay { padding: 16px 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); }
.visual-link .visual-overlay strong { display: block; font-size: 1rem; }
.visual-link .visual-overlay small { color: var(--text-2); font-size: 0.82rem; }
.visual-link .play-pill { flex: none; padding: 10px 16px; border-radius: 10px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 0.88rem; }
.hero-float { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(13, 18, 26, 0.92); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); font-size: 0.85rem; z-index: 2; pointer-events: none; }
.hero-float strong { display: block; color: var(--green); font-family: var(--font-latin); font-size: 1.1rem; }
.hero-float.tl { top: -18px; left: -18px; animation: floatY 5s ease-in-out infinite; }
.hero-float.br { right: -14px; top: -18px; animation: floatY 6s ease-in-out infinite reverse; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 640px; }
  .hero-float.tl { left: 0; top: -14px; }
  .hero-float.br { right: 0; }
}
@media (max-width: 640px) {
  .hero-float { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .visual-link .visual-overlay { padding: 14px 16px; }
  .visual-link .play-pill { padding: 9px 14px; font-size: 0.82rem; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { position: relative; padding: 20px 20px 20px 72px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-latin); font-weight: 800; background: var(--green); color: var(--green-ink); box-shadow: 0 0 18px rgba(0, 255, 133, 0.35); }
.steps li strong { display: block; color: var(--text); margin-bottom: 4px; }
.steps li p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.steps-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps-h li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; position: relative; }
.steps-h li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-latin); font-weight: 800; color: var(--green); font-size: 1.4rem; display: block; margin-bottom: 8px; }
.steps-h li strong { display: block; margin-bottom: 6px; }
.steps-h li p { margin: 0; color: var(--text-2); font-size: 0.93rem; }
@media (max-width: 1024px) { .steps-h { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-h { grid-template-columns: 1fr; } }

/* Method blocks (promo page) */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); }
.method + .method { margin-top: 28px; }
.method.reverse .method-media { order: -1; }
.method-media { display: grid; justify-items: center; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 133, 0.08); background: #0b0f16; width: 100%; }
.shot img { width: 100%; height: auto; }
.shot-sm { max-width: 460px; }
.shot-md { max-width: 640px; }
.shot-caption { margin-top: 10px; font-size: 0.82rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; padding: 24px; } .method.reverse .method-media { order: 0; } }

/* ---------- Dialogue ---------- */
.dialogue { display: grid; gap: 18px; max-width: 840px; margin-inline: auto; }
.dialogue-wrap { padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(0, 255, 133, 0.05), transparent 40%), var(--bg-3); border: 1px solid var(--border); position: relative; overflow: hidden; }
.dialogue-wrap::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 255, 133, 0.16), transparent 70%); }
.dialogue-title { text-align: center; margin-bottom: 26px; }
.dialogue-title h2, .dialogue-title h3 { margin-bottom: 6px; }
.dialogue-title p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.msg { display: flex; gap: 14px; align-items: flex-end; position: relative; z-index: 1; }
.msg.right { flex-direction: row-reverse; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); }
.msg.right .avatar { background: linear-gradient(135deg, var(--green), var(--green-3)); color: var(--green-ink); border-color: transparent; box-shadow: 0 0 20px rgba(0, 255, 133, 0.3); }
.avatar svg { width: 26px; height: 26px; }
.msg-body { max-width: min(560px, 100%); }
.msg-name { display: block; font-size: 0.78rem; color: var(--muted); margin: 0 0 6px 6px; font-weight: 600; }
.msg.right .msg-name { text-align: right; margin: 0 6px 6px 0; }
.bubble { position: relative; padding: 14px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-2); line-height: 1.75; font-size: 0.97rem; }
.bubble::after { content: ""; position: absolute; bottom: 12px; width: 12px; height: 12px; background: inherit; border: inherit; transform: rotate(45deg); }
.msg.left .bubble { border-bottom-left-radius: 6px; }
.msg.left .bubble::after { left: -7px; border-top: none; border-right: none; }
.msg.right .bubble { background: linear-gradient(135deg, rgba(0, 255, 133, 0.16), rgba(0, 255, 133, 0.06)); border-color: rgba(0, 255, 133, 0.4); color: var(--text); border-bottom-right-radius: 6px; }
.msg.right .bubble::after { right: -7px; border-bottom: none; border-left: none; background: #10261e; }
.bubble strong { color: var(--green); }
.bubble a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .dialogue-wrap { padding: 22px 16px; }
  .avatar { width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
  .avatar svg { width: 22px; height: 22px; }
  .bubble { padding: 12px 14px; font-size: 0.93rem; }
  .msg { gap: 10px; }
}

/* ---------- Game grid ---------- */
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.game-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); color: var(--text); text-decoration: none !important; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s; isolation: isolate; }
.game-card::before { content: ""; position: absolute; inset: 0; background: var(--g, linear-gradient(160deg, #1b2a3a, #0f1620)); transition: transform 0.5s ease; }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 12, 0.9)); }
.game-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 133, 0.2); border-color: rgba(0, 255, 133, 0.45); }
.game-card:hover::before { transform: scale(1.08); }
.game-card .gc-icon { position: absolute; top: 14px; left: 14px; right: 14px; bottom: 60px; display: grid; place-items: center; z-index: 1; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)); transition: transform 0.3s; }
.game-card:hover .gc-icon { transform: scale(1.08) translateY(-4px); }
.game-card .gc-name { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; font-weight: 800; font-family: var(--font-latin); letter-spacing: 0.04em; font-size: 0.95rem; line-height: 1.2; }
.game-card .gc-name small { display: block; font-weight: 500; color: var(--text-2); font-size: 0.72rem; letter-spacing: 0.06em; font-family: var(--font); margin-top: 2px; }
.game-card .gc-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transition: opacity 0.3s; background: rgba(4, 7, 10, 0.35); }
.game-card .gc-play span { padding: 10px 18px; border-radius: 10px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 0.85rem; box-shadow: 0 0 24px rgba(0, 255, 133, 0.5); transform: translateY(6px); transition: transform 0.3s; }
.game-card:hover .gc-play, .game-card:focus-visible .gc-play { opacity: 1; }
.game-card:hover .gc-play span { transform: none; }
.game-card .gc-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 0.68rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--green); color: var(--green-ink); letter-spacing: 0.04em; }
@media (max-width: 1024px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .game-card .gc-name { font-size: 0.8rem; left: 10px; right: 10px; bottom: 10px; } }
@media (max-width: 400px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }

/* Category cards */
.cat-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform 0.25s, border-color 0.25s, background 0.25s; text-decoration: none !important; }
.cat-card:hover { transform: translateY(-3px); border-color: rgba(0, 255, 133, 0.4); background: var(--surface-2); }
.cat-card .cat-emoji { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-2); border: 1px solid var(--border); flex: none; }
.cat-card strong { display: block; font-size: 1rem; }
.cat-card small { color: var(--muted); font-size: 0.82rem; display: block; }
.cat-card .cat-arrow { margin-inline-start: auto; color: var(--green); font-size: 1.3rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 0.95rem; }
th { background: rgba(0, 255, 133, 0.06); color: var(--text); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
td:first-child { color: var(--text-2); white-space: nowrap; font-weight: 600; }
td .code-inline { font-family: var(--font-latin); font-weight: 800; color: var(--green); letter-spacing: 0.1em; }
.table-stack { min-width: 0; }
@media (max-width: 640px) {
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: 6px 0; }
  .table-stack td { display: block; white-space: normal; border-bottom: none; padding: 6px 16px; }
  .table-stack td:first-child { padding-top: 14px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
  .table-stack td:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .table-stack tr:last-child td:last-child { border-bottom: none; }
}

/* Comparison list */
.compare { display: grid; gap: 12px; }
.compare-row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.compare-row strong { color: var(--green); }
.compare-row p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 640px) { .compare-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color 0.25s; }
.faq-item.is-open { border-color: rgba(0, 255, 133, 0.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: transparent; border: none; text-align: left; font-weight: 700; font-size: 1rem; line-height: 1.5; color: var(--text); }
.faq-q:hover { color: var(--green); }
.faq-q .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border: 1px solid rgba(0, 255, 133, 0.3); transition: transform 0.3s ease, background 0.3s; }
.faq-q .faq-icon::before { content: "+"; font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--green); color: var(--green-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--text-2); font-size: 0.96rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 207, 90, 0.06); border: 1px solid rgba(255, 207, 90, 0.25); color: var(--text-2); font-size: 0.93rem; }
.notice.green { background: var(--green-soft); border-color: rgba(0, 255, 133, 0.3); }
.notice .notice-icon { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 207, 90, 0.15); color: var(--gold); font-weight: 800; }
.notice.green .notice-icon { background: rgba(0, 255, 133, 0.15); color: var(--green); }
.notice p { margin: 0; }
.notice strong { color: var(--text); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); background: radial-gradient(80% 120% at 100% 0%, rgba(0, 255, 133, 0.22), transparent 55%), linear-gradient(135deg, #102a20, #0c141d 65%); border: 1px solid rgba(0, 255, 133, 0.3); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { color: var(--text-2); margin: 0; }
.cta-banner .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; } .cta-banner .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: 0.88rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs [aria-current="page"] { color: var(--green); font-weight: 600; }

/* ---------- Phone mockup (app page) ---------- */
.phone-wrap { display: grid; justify-items: center; position: relative; }
.phone-link { display: block; position: relative; border-radius: 28px; transition: transform 0.35s ease; max-width: 560px; }
.phone-link:hover { transform: translateY(-8px); text-decoration: none; }
.phone-link img { border-radius: 28px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.phone-link .phone-cta { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 12px 22px; border-radius: 12px; background: var(--green); color: var(--green-ink); font-weight: 800; white-space: nowrap; box-shadow: 0 0 30px rgba(0, 255, 133, 0.5); }

/* Login demo panel */
.login-panel { display: block; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #141d29, #0d131b); border: 1px solid rgba(0, 255, 133, 0.28); box-shadow: var(--shadow), 0 0 70px rgba(0, 255, 133, 0.1); color: var(--text); text-decoration: none !important; transition: transform 0.3s, box-shadow 0.3s; max-width: 460px; margin-inline: auto; width: 100%; }
.login-panel:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 90px rgba(0, 255, 133, 0.2); }
.login-panel .lp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.login-panel .lp-head img { width: 40px; height: 40px; border-radius: 10px; }
.login-panel .lp-head strong { font-family: var(--font-latin); font-size: 1.1rem; }
.login-panel .lp-field { padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.login-panel .lp-field span:last-child { color: var(--green); font-size: 0.75rem; letter-spacing: 0.06em; }
.login-panel .lp-btn { display: block; text-align: center; padding: 14px; border-radius: 12px; background: var(--green); color: var(--green-ink); font-weight: 800; margin-top: 6px; }
.login-panel .lp-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* Feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 0.85rem; border: 1px solid rgba(0, 255, 133, 0.3); margin-top: 3px; }
.check-list strong { color: var(--text); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), #070a0f); padding: 56px 0 28px; color: var(--text-2); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: 0.9rem; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-family: var(--font-latin); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.85rem; }
.age-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-family: var(--font-latin); font-size: 0.9rem; flex: none; }
.footer-disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.footer-disclaimer p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- 404 ---------- */
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.error-code { font-family: var(--font-latin); font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 900; color: var(--green); line-height: 1; text-shadow: 0 0 60px rgba(0, 255, 133, 0.4); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Utility */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }
.inline-code { font-family: var(--font-latin); font-weight: 800; color: var(--green); letter-spacing: 0.08em; }
.path { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); font-family: var(--font-latin); font-weight: 700; font-size: 0.88rem; color: var(--text); white-space: nowrap; }
.path .sep { color: var(--green); }
