:root {
  --bg: #08080c;
  --bg-card: rgba(20, 20, 28, 0.6);
  --bg-card-solid: rgba(16, 16, 22, 0.8);
  --bg-card-dark: rgba(16, 16, 22, 0.9);
  --gold: #d4af37;
  --gold-light: #f5d98a;
  --gold-bg: rgba(212, 175, 55, 0.1);
  --gold-border: rgba(212, 175, 55, 0.15);
  --gold-border-strong: rgba(212, 175, 55, 0.25);
  --jpyc: #6ec7f2;
  --jpyc-bg: rgba(110, 199, 242, 0.08);
  --jpyc-border: rgba(110, 199, 242, 0.2);
  --jpyc-border-strong: rgba(110, 199, 242, 0.3);
  --green: #00e676;
  --red: #ff5252;

  --text: #e8e4dd;
  --text-muted: #a09888;
  --text-dim: #888;
  --text-faint: #666;
  --text-ghost: #555;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover { opacity: 0.85; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: opacity var(--transition);
}

button:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

@keyframes glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

@keyframes tickerSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ---------- Utility ---------- */
.jpyc-text {
  color: var(--jpyc);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Particle Canvas ---------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.site-nav.scrolled {
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-icon {
  font-size: 28px;
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-en);
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-en);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text);
  opacity: 1;
}

.hamburger {
  display: none;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 20px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.mobile-menu {
  display: none;
  padding: 0 24px 20px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: var(--text-muted);
  font-size: 16px;
  padding: 12px 0;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- Price Ticker ---------- */
.ticker {
  position: fixed;
  top: 68px;
  right: 24px;
  z-index: 99;
  animation: tickerSlide 0.5s ease-out;
}

.ticker-inner {
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-label {
  color: var(--text-dim);
  font-weight: 600;
  font-family: var(--font-en);
}

.ticker-label--jpyc {
  color: var(--jpyc);
}

.ticker-price {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-en);
  font-size: 15px;
}

.ticker-price--jpyc {
  font-size: 13px;
  color: var(--jpyc);
}

.ticker-change {
  font-weight: 600;
  font-size: 12px;
  font-family: var(--font-en);
}

.ticker-change--up { color: var(--green); }
.ticker-change--down { color: var(--red); }
.ticker-change--jpyc { color: var(--jpyc); }

.ticker-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.ticker-live {
  color: var(--green);
  font-size: 10px;
  animation: pulse 2s infinite;
  margin-left: 4px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-badge-dot {
  font-size: 8px;
  animation: pulse 2s infinite;
  color: var(--green);
}

.hero-title-main {
  display: block;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
}

.hero-title-accent {
  display: block;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin: 24px auto 40px;
  font-weight: 300;
}

.hero-sub .jpyc-highlight {
  color: var(--jpyc);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-gold {
  background: linear-gradient(135deg, var(--gold), #c9a029);
  color: var(--bg);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
}

.btn-secondary-jpyc {
  background: transparent;
  color: var(--jpyc);
  border: 1px solid rgba(110, 199, 242, 0.4);
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
}

.hero-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  animation: fadeIn 2s ease-out;
}

.hero-partners-label {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}

.hero-partner {
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(110, 199, 242, 0.06);
  border: 1px solid rgba(110, 199, 242, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 6s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  max-width: 1000px;
  margin: -40px auto 0;
  padding: 32px 40px;
  background: rgba(20, 20, 28, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-en);
}

.stat-num--jpyc {
  color: var(--jpyc);
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gold-border);
}

/* ---------- Ad Slots ---------- */
.ad-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.ad-slot {
  width: 100%;
  text-align: center;
}

.ad-slot--horizontal {
  max-width: 728px;
  min-height: 100px;
}

.ad-slot--rectangle {
  max-width: 336px;
  min-height: 280px;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section--tinted {
  max-width: none;
  padding-left: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  background: rgba(212, 175, 55, 0.02);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 60px;
  font-weight: 300;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all 0.6s ease;
}

.feature-card .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(110, 199, 242, 0.12);
  border: 1px solid rgba(110, 199, 242, 0.25);
  color: var(--jpyc);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Wallets Grid ---------- */
.wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.wallet-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
  cursor: pointer;
}

.wallet-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.wallet-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.jpyc-badge {
  background: rgba(110, 199, 242, 0.12);
  border: 1px solid var(--jpyc-border-strong);
  color: var(--jpyc);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

.wallet-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.wallet-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-weight: 300;
}

.wallet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.wallet-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.wallet-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 32px;
  font-style: italic;
}

/* ---------- JPYC Spotlight ---------- */
.jpyc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.jpyc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jpyc-bg);
  border: 1px solid var(--jpyc-border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  color: var(--jpyc);
  margin-bottom: 24px;
  font-weight: 500;
}

.jpyc-label-dot {
  font-size: 8px;
  color: var(--jpyc);
  animation: pulse 2s infinite;
}

.jpyc-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.jpyc-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
}

.jpyc-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.jpyc-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jpyc-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--jpyc);
  font-family: var(--font-en);
}

.jpyc-stat-label {
  font-size: 12px;
  color: var(--text-dim);
}

.jpyc-use-cases {
  background: var(--bg-card-dark);
  border: 1px solid rgba(110, 199, 242, 0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.jpyc-use-cases-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(110, 199, 242, 0.1);
}

.jpyc-use-case {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.jpyc-uc-icon {
  font-size: 22px;
  min-width: 32px;
}

.jpyc-uc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.jpyc-uc-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  font-weight: 300;
}

/* ---------- Timeline ---------- */
.timeline {
  margin-top: 80px;
}

.timeline-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
  font-weight: 300;
}

.timeline-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.tl-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--jpyc);
  border: 3px solid var(--bg);
  margin-top: 4px;
  flex-shrink: 0;
  z-index: 2;
}

.tl-line {
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: -28px;
  width: 2px;
  background: rgba(110, 199, 242, 0.12);
  z-index: 1;
}

.tl-item:last-child .tl-line {
  display: none;
}

.tl-date {
  font-size: 12px;
  color: var(--jpyc);
  font-weight: 600;
  font-family: var(--font-en);
}

.tl-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.tl-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* ---------- Aegis ---------- */
.aegis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.aegis-badge {
  display: inline-block;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.aegis-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-en);
}

.aegis-subtitle {
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.aegis-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}

.aegis-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.aegis-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.aegis-feature-icon {
  font-size: 18px;
}

.aegis-link {
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

.aegis-demo {
  background: var(--bg-card-dark);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.aegis-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aegis-demo-title {
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-en);
}

.aegis-demo-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.aegis-feed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  animation: slideIn 0.5s ease-out both;
  transition: opacity 0.3s;
}

.aegis-feed-item--spam {
  opacity: 0.3;
  text-decoration: line-through;
}

.aegis-score {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-en);
}

.aegis-score--green {
  background: rgba(0, 230, 118, 0.09);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.27);
}

.aegis-score--orange {
  background: rgba(255, 171, 64, 0.09);
  color: #ffab40;
  border: 1px solid rgba(255, 171, 64, 0.27);
}

.aegis-score--red {
  background: rgba(255, 82, 82, 0.09);
  color: var(--red);
  border: 1px solid rgba(255, 82, 82, 0.27);
}

.aegis-feed-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.aegis-feed-src {
  font-size: 11px;
  color: var(--text-faint);
}

/* ---------- Learn ---------- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.learn-path {
  background: rgba(16, 16, 22, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.learn-path-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.learn-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.step-num {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gold-bg);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  font-family: var(--font-en);
  flex-shrink: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text);
}

.jpyc-mini {
  font-size: 10px;
  color: var(--jpyc);
  background: rgba(110, 199, 242, 0.12);
  border: 1px solid rgba(110, 199, 242, 0.25);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.step-desc {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Appfav ---------- */
.appfav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.appfav-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.appfav-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.appfav-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 24px;
  margin: 0 auto 12px;
}

.appfav-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.appfav-count {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-en);
}

.appfav-jpyc {
  font-size: 11px;
  color: var(--jpyc);
  margin-top: 8px;
  font-weight: 600;
}

.appfav-link {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(110, 199, 242, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 36px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.cta-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.social-btn {
  background: var(--text);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
}

.social-btn-alt {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
}

.social-btn-alt--jpyc {
  border-color: rgba(110, 199, 242, 0.4);
  color: var(--jpyc);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-en);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-ghost);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: block !important;
  }

  .ticker {
    display: none !important;
  }

  .stats-bar {
    flex-direction: column;
    gap: 20px;
    margin-top: -20px;
    padding: 24px 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .jpyc-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aegis-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .section {
    padding: 60px 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-gold,
  .btn-secondary-jpyc {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .cta-socials {
    flex-direction: column;
    align-items: center;
  }

  .social-btn,
  .social-btn-alt {
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}
