/* ==========================================================================
   $YJKW — やじゅかわミームコイン
   ========================================================================== */

:root {
  --bg-0: #0b0906;
  --bg-1: #131007;
  --panel: rgba(255, 236, 190, 0.045);
  --panel-solid: #171309;
  --line: rgba(245, 197, 66, 0.16);
  --line-soft: rgba(245, 197, 66, 0.09);
  --gold: #f5c542;
  --gold-soft: #ffdf8e;
  --gold-deep: #c98f1b;
  --cream: #fff3d9;
  --ink: #f6efdc;
  --muted: #bdb195;
  --pink: #ff9db5;
  --good: #3ddc97;
  --bad: #ff7a7a;
  --grad-gold: linear-gradient(135deg, #ffe9a3 0%, #f5c542 45%, #d79a20 100%);
  --font-jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-disp: "Outfit", "M PLUS Rounded 1c", sans-serif;
  --header-h: 64px;
  --radius: 22px;
  --shadow-glow: 0 10px 60px rgba(245, 197, 66, 0.22);
  --ease-out: cubic-bezier(0.22, 0.85, 0.28, 1);
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景の粒子っぽい質感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 85% -5%, rgba(245, 197, 66, 0.09), transparent 60%),
    radial-gradient(900px 700px at -10% 40%, rgba(255, 157, 181, 0.05), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgba(245, 197, 66, 0.07), transparent 60%),
    var(--bg-0);
}

img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
code { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }

::selection { background: rgba(245, 197, 66, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 300;
  background: var(--gold);
  color: #241a04;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ==========================================================================
   ローディング
   ========================================================================== */

#loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-content: center;
  gap: 18px;
  justify-items: center;
  background: var(--bg-0);
  transition: opacity 0.5s ease, visibility 0.5s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-coin img {
  width: 84px;
  height: 84px;
  animation: coin-bounce 1s var(--ease-out) infinite alternate;
  filter: drop-shadow(0 8px 30px rgba(245, 197, 66, 0.45));
}
@keyframes coin-bounce {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-16px) scale(1.04); }
}

.loader-bar {
  width: 180px;
  height: 6px;
  border-radius: 99px;
  background: rgba(245, 197, 66, 0.15);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--grad-gold);
  transition: width 0.15s linear;
}
.loader-pct {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ==========================================================================
   スクロールプログレス / ヘッダー
   ========================================================================== */

#progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 210;
  background: transparent;
}
#progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.8);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
#header.scrolled {
  background: rgba(11, 9, 6, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--cream);
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.35); }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--cream); text-decoration: none; background: rgba(245, 197, 66, 0.08); }
.nav-links a.active { color: #241a04; background: var(--grad-gold); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 197, 66, 0.1);
  align-items: center;
}
.nav-toggle i {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
body.menu-open .nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle i:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 90px 28px 40px;
  background: rgba(11, 9, 6, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
body.menu-open #mobileMenu { opacity: 1; visibility: visible; }
#mobileMenu ul { list-style: none; display: grid; gap: 6px; }
#mobileMenu ul a {
  display: block;
  padding: 10px 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cream);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
}
body.menu-open #mobileMenu ul a { transform: none; opacity: 1; }
#mobileMenu ul li:nth-child(1) a { transition-delay: 0.05s; }
#mobileMenu ul li:nth-child(2) a { transition-delay: 0.09s; }
#mobileMenu ul li:nth-child(3) a { transition-delay: 0.13s; }
#mobileMenu ul li:nth-child(4) a { transition-delay: 0.17s; }
#mobileMenu ul li:nth-child(5) a { transition-delay: 0.21s; }
#mobileMenu ul li:nth-child(6) a { transition-delay: 0.25s; }
#mobileMenu ul li:nth-child(7) a { transition-delay: 0.29s; }
#mobileMenu ul li:nth-child(8) a { transition-delay: 0.33s; }
.menu-actions { display: grid; gap: 12px; }

/* ==========================================================================
   ボタン / ピル
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--grad-gold);
  color: #241a04;
  box-shadow: 0 6px 24px rgba(245, 197, 66, 0.35);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 10px 34px rgba(245, 197, 66, 0.5); }

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--cream);
  background: rgba(245, 197, 66, 0.06);
}
.btn-ghost:hover { border-color: rgba(245, 197, 66, 0.5); background: rgba(245, 197, 66, 0.12); }

.btn-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.35);
}
.btn-line:hover { box-shadow: 0 10px 34px rgba(6, 199, 85, 0.5); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow: hidden;
  background: rgba(245, 197, 66, 0.05);
  padding: 3px;
  gap: 2px;
}
.lang-toggle span {
  padding: 6px 12px;
  border-radius: 99px;
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.lang-toggle span.active {
  background: var(--grad-gold);
  color: #241a04;
}
.lang-toggle-menu { justify-self: center; margin-inline: auto; }
.lang-toggle-menu span { font-size: 0.85rem; padding: 8px 18px; }

.link-btn {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
}
.link-btn:hover { color: var(--gold); }

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 8px 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(11, 9, 6, 0.6);
  backdrop-filter: blur(8px);
}
.ca-label {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  flex: none;
}
.ca-text {
  font-size: 0.78rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.4;
  min-width: 0;
}
.copy-ca:not(.link-btn) {
  flex: none;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--grad-gold);
  color: #241a04;
  font-weight: 800;
  font-size: 0.8rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.copy-ca:not(.link-btn):hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(245, 197, 66, 0.4); }
.copy-ca:not(.link-btn):active { transform: scale(0.95); }
.inline-ca {
  font-size: 0.82rem;
  color: var(--gold-soft);
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 30px) 0 90px;
  overflow: clip;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.orb-1 {
  width: 46vw; height: 46vw;
  min-width: 320px; min-height: 320px;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.35), transparent 65%);
  top: -8%; right: -10%;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 38vw; height: 38vw;
  min-width: 280px; min-height: 280px;
  background: radial-gradient(circle, rgba(255, 157, 181, 0.22), transparent 65%);
  bottom: -6%; left: -12%;
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 5vh, 0) scale(1.12); }
}

.deco {
  position: absolute;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  opacity: 0.5;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}
.deco-1 { top: 18%; left: 8%; }
.deco-2 { top: 30%; right: 7%; }
.deco-3 { bottom: 26%; left: 12%; }
.deco-4 { bottom: 18%; right: 14%; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

/* 入場アニメーション */
.hero-inner > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
body.loaded .hero-inner > * { opacity: 1; transform: none; }
body.loaded .hero-inner > :nth-child(1) { transition-delay: 0.05s; }
body.loaded .hero-inner > :nth-child(2) { transition-delay: 0.12s; }
body.loaded .hero-inner > :nth-child(3) { transition-delay: 0.3s; }
body.loaded .hero-inner > :nth-child(4) { transition-delay: 0.4s; }
body.loaded .hero-inner > :nth-child(5) { transition-delay: 0.48s; }
body.loaded .hero-inner > :nth-child(6) { transition-delay: 0.56s; }
body.loaded .hero-inner > :nth-child(7) { transition-delay: 0.64s; }
body.loaded .hero-inner > :nth-child(8) { transition-delay: 0.9s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(245, 197, 66, 0.07);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero-coin-wrap {
  position: relative;
  width: min(58vw, 300px);
  aspect-ratio: 1;
  margin: 8px 0 4px;
}
.hero-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.4), rgba(245, 197, 66, 0.08) 55%, transparent 72%);
  animation: glow-breathe 3.6s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}
.hero-ring {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 197, 66, 0.4);
  animation: ring-spin 26s linear infinite;
}
.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.hero-ring::before { top: -5px; left: calc(50% - 5px); }
.hero-ring::after { bottom: -5px; left: calc(50% - 5px); }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-coin {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24%;
  animation: coin-float 5s ease-in-out infinite;
  transition: filter 0.3s;
}
.hero-coin img {
  width: 100%;
  height: 100%;
  border-radius: 24%;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(245, 197, 66, 0.35));
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
}
.hero-coin:active img { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 60px rgba(245, 197, 66, 0.6)); }
@keyframes coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-title {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(4.2rem, 16vw, 10rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(245, 197, 66, 0.3));
}

.hero-tagline {
  font-size: clamp(1.25rem, 4.2vw, 1.9rem);
  font-weight: 800;
  color: var(--cream);
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.6vw, 1.02rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.scroll-cue i {
  font-style: normal;
  font-size: 1.15rem;
  color: var(--gold);
  animation: cue-bob 1.5s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ==========================================================================
   マーキー
   ========================================================================== */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--grad-gold);
  transform: rotate(-1.6deg) scale(1.02);
  box-shadow: 0 10px 40px rgba(245, 197, 66, 0.25);
}
.marquee-rev { transform: rotate(1.6deg) scale(1.02); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 13px 0;
  animation: marquee-slide 26s linear infinite;
}
.marquee-rev .marquee-track { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  color: #241a04;
  white-space: nowrap;
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   セクション共通
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(80px, 12vw, 130px) 0;
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.sec-label {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 5.4vw, 2.6rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.3;
}
.sec-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.6vw, 1.02rem);
}

/* リビール(JSがinを付与) */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 0.9s var(--ease-out) var(--d, 0s),
    filter 0.9s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform, filter;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ==========================================================================
   カード (About)
   ========================================================================== */

.about-banner {
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.about-banner img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 44px rgba(245, 197, 66, 0.28));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-glow);
}
.card-emoji {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid var(--line-soft);
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 0.92rem; }

/* ==========================================================================
   ライブデータ
   ========================================================================== */

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
  margin-right: 8px;
  animation: pulse 1.6s ease-in-out infinite;
  vertical-align: 1px;
}
.stat-updated { font-size: 0.82rem; opacity: 0.85; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.stat-tile {
  padding: 24px 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 0.3s;
}
.stat-tile:hover { border-color: var(--line); }
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
  line-height: 1.2;
  color: var(--cream);
  transition: opacity 0.3s;
}
.stat-value.flash { animation: value-flash 0.7s ease; }
@keyframes value-flash {
  0% { color: var(--gold-soft); text-shadow: 0 0 18px rgba(245, 197, 66, 0.6); }
  100% { color: var(--cream); text-shadow: none; }
}
.stat-value sub { font-size: 0.6em; }
.stat-delta {
  margin-top: 4px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.88rem;
}
.stat-delta.good { color: var(--good); }
.stat-delta.bad { color: var(--bad); }

.stat-note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: rgba(245, 197, 66, 0.04);
}

.chart-wrap {
  margin-top: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--panel-solid);
}
.chart-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}
.chart-skeleton {
  display: grid;
  place-items: center;
  height: 300px;
  color: var(--muted);
  font-size: 0.9rem;
  background:
    linear-gradient(100deg, transparent 30%, rgba(245, 197, 66, 0.06) 50%, transparent 70%) no-repeat,
    var(--panel-solid);
  background-size: 300% 100%;
  animation: skeleton-sweep 1.6s linear infinite;
}
@keyframes skeleton-sweep {
  from { background-position: 120% 0; }
  to { background-position: -60% 0; }
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.link-row a {
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.86rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.link-row a:hover {
  text-decoration: none;
  border-color: var(--line);
  background: rgba(245, 197, 66, 0.1);
  transform: translateY(-2px);
}
.stat-source {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(189, 177, 149, 0.6);
}

/* ==========================================================================
   トークノミクス
   ========================================================================== */

.tok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.tok-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.tok-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.35s;
}
.tok-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow-glow); }
.tok-card:hover::before { opacity: 1; }
.tok-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.tok-value {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 1.85rem);
  line-height: 1.25;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.tok-slash { opacity: 0.5; }
.tok-desc { color: var(--muted); font-size: 0.88rem; }
.tok-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   買い方
   ========================================================================== */

.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.step:hover { transform: translateX(6px); border-color: var(--line); }
.step-num {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 4px;
  flex: none;
}
.step h3 { font-size: 1.05rem; font-weight: 800; color: var(--cream); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

.center-cta { text-align: center; margin-top: 36px; }

/* ==========================================================================
   クリッカー
   ========================================================================== */

.clicker-box {
  max-width: 460px;
  margin-inline: auto;
  text-align: center;
  padding: 44px 30px 38px;
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(400px 260px at 50% 0%, rgba(245, 197, 66, 0.1), transparent 70%),
    var(--panel);
}
.clicker-coin-wrap { position: relative; display: inline-block; }
.clicker-coin {
  width: min(52vw, 220px);
  border-radius: 24%;
  transition: transform 0.12s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.clicker-coin img {
  width: 100%;
  border-radius: 24%;
  filter: drop-shadow(0 14px 40px rgba(245, 197, 66, 0.3));
  user-select: none;
  -webkit-user-drag: none;
}
.clicker-coin.pop { transform: scale(0.88); }
.combo-badge {
  position: absolute;
  top: -6px;
  right: -14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--pink);
  color: #4a1220;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 0.92rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s var(--ease-out);
  pointer-events: none;
}
.combo-badge.show { opacity: 1; transform: scale(1) rotate(8deg); }

.clicker-count {
  margin-top: 20px;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1.1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.clicker-count small {
  font-size: 0.3em;
  font-family: var(--font-jp);
  font-weight: 800;
  -webkit-text-fill-color: var(--muted);
}
.clicker-rank { color: var(--muted); font-size: 0.95rem; margin: 6px 0 22px; }
.clicker-rank strong { color: var(--cream); }

.float-label {
  position: absolute;
  z-index: 3;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold-soft);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  will-change: transform, opacity;
}

/* ==========================================================================
   ロードマップ
   ========================================================================== */

.timeline {
  list-style: none;
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(245, 197, 66, 0.08));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -31px;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.15);
}
.tl-item.done .tl-dot { background: var(--gold); box-shadow: 0 0 16px rgba(245, 197, 66, 0.7); }
.tl-body {
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.tl-body:hover { border-color: var(--line); transform: translateX(4px); }
.tl-phase {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tl-badge {
  font-family: var(--font-jp);
  letter-spacing: 0;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(61, 220, 151, 0.14);
  color: var(--good);
}
.tl-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--cream); margin-bottom: 10px; }
.tl-body ul { list-style: none; display: grid; gap: 6px; }
.tl-body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.tl-body ul li::before {
  content: "❄";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ==========================================================================
   コミュニティ
   ========================================================================== */

.community-card {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 28px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(245, 197, 66, 0.16), transparent 70%),
    var(--panel);
  overflow: hidden;
}
.community-coin {
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.3), 0 12px 40px rgba(245, 197, 66, 0.3);
  animation: coin-float 4.5s ease-in-out infinite;
}
.community-card h2 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 14px;
}
.community-card > p { color: var(--muted); margin-bottom: 26px; }
.community-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.community-sub {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.community-warn {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--cream);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.12);
  color: var(--gold);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #241a04; }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 0.93rem; }
.faq-a p + p { margin-top: 8px; }
.faq-item[open] .faq-a { animation: faq-in 0.4s var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-8px); }
}

/* ==========================================================================
   フッター
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 90px;
  background: linear-gradient(to bottom, transparent, rgba(245, 197, 66, 0.04));
}
.footer-top {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--cream);
}
.footer-brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.35); }
.ca-pill-footer { max-width: 100%; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.footer-links a { font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.footer-links a:hover { color: var(--gold-soft); }
.disclaimer {
  max-width: 640px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(189, 177, 149, 0.75);
}
.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(189, 177, 149, 0.6);
}

/* ==========================================================================
   トースト / トップへ / コインレイン
   ========================================================================== */

#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 400;
  transform: translate(-50%, 20px);
  padding: 12px 24px;
  border-radius: 99px;
  background: var(--grad-gold);
  color: #241a04;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 40px rgba(245, 197, 66, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0.35s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
#toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #241a04;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 8px 26px rgba(245, 197, 66, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0.35s;
}
#toTop.show { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { transform: translateY(-3px); }

#rainLayer {
  position: fixed;
  inset: 0;
  z-index: 350;
  overflow: hidden;
  pointer-events: none;
}
#rainLayer img {
  position: absolute;
  top: 0;
  border-radius: 50%;
  will-change: transform;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav .lang-toggle { display: none; }
}

@media (min-width: 901px) {
  #mobileMenu { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 70px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .community-ctas { width: 100%; }
  .community-ctas .btn { flex: 1 1 100%; }
  .ca-pill { width: 100%; justify-content: space-between; }
  .step { padding: 22px 20px; gap: 14px; }
  .chart-wrap iframe { height: 360px; }
  .timeline { padding-left: 28px; }
  .tl-dot { left: -25px; }
  #toTop { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   モーション低減
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero-inner > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .scroll-cue i { animation: none; }
}
