/* ===================================================
   CryptoAirdrop Info - Shared Stylesheet
   Dark Theme / Modern Crypto UI
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary:    #070b14;
  --bg-secondary:  #0c1220;
  --bg-card:       #0f1827;
  --bg-card-hover: #141e30;
  --bg-glass:      rgba(15, 24, 39, 0.8);

  --border:        rgba(99, 102, 241, 0.12);
  --border-hover:  rgba(99, 102, 241, 0.35);
  --border-light:  rgba(255,255,255,0.06);

  --accent:        #6366f1;
  --accent-light:  #c4b5fd;
  --cyan:          #06b6d4;
  --cyan-light:    #22d3ee;
  --green:         #22c55e;
  --yellow:        #f59e0b;
  --red:           #ef4444;

  --gradient:      linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(6,182,212,0.15) 100%);

  --text-primary:   #f1f5f9;
  --text-secondary: #e2eaf4;
  --text-muted:     #a8b8c8;
  --text-accent:    #a5b4fc;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(99,102,241,0.2);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);

  --font-sans: 'Noto Sans JP', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan-light); }
ul, ol { padding-left: 1.4em; }
li { color: var(--text-secondary); margin-bottom: 0.4em; }
strong { color: var(--text-primary); font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }

/* --- Utilities --- */
.sp-br { display: none; }
@media (max-width: 768px) { .sp-br { display: inline; } }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1400px; }

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }

/* --- Background Decoration --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(99,102,241,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.nav__links li { margin: 0; }

.nav__links a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  background: var(--gradient) !important;
  color: white !important;
  padding: 0.4rem 1rem !important;
  border-radius: var(--radius-sm) !important;
}

.nav__cta:hover {
  opacity: 0.9;
  background: var(--gradient) !important;
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav__toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Breadcrumb */
.breadcrumb {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb li { margin: 0; color: var(--text-muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }

/* --- Hero Sections --- */
.hero {
  position: relative;
  padding: 3.5rem 0 1rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--accent-light);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__title {
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title span {
  display: block;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 0.3rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Article Hero */
.article-hero {
  padding: 4rem 0 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-hero__tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag--perp   { background: rgba(99,102,241,0.15); color: var(--accent-light); border: 1px solid rgba(99,102,241,0.3); }
.tag--guide  { background: rgba(6,182,212,0.15);  color: var(--cyan-light);   border: 1px solid rgba(6,182,212,0.3); }
.tag--evm,
.tag--bsc    { background: rgba(245,158,11,0.15); color: #fcd34d;             border: 1px solid rgba(245,158,11,0.3); }
.tag--arb    { background: rgba(40,160,240,0.15); color: #7dd3fc;             border: 1px solid rgba(40,160,240,0.35); }
.tag--solana,
.tag--sol    { background: rgba(139,92,246,0.25); color: #d8b4fe;             border: 1px solid rgba(139,92,246,0.5); }
.tag--new    { background: rgba(20,241,149,0.1);  color: #5cff9d;             border: 1px solid rgba(20,241,149,0.25); }
.tag--metamask { background: rgba(245,130,32,0.15); color: #fdba74;           border: 1px solid rgba(245,130,32,0.35); }
.tag--live   { background: rgba(34,197,94,0.12);  color: #4ade80;             border: 1px solid rgba(34,197,94,0.3); }

.article-hero__date { font-size: 0.8125rem; color: var(--text-muted); }

.article-hero__title { margin-bottom: 1rem; }

.article-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 900px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn--primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn--primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99,102,241,0.5);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn--outline:hover {
  background: rgba(99,102,241,0.1);
  border-color: var(--accent);
  color: var(--text-primary);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.btn--cyan {
  background: linear-gradient(135deg, #0891b2, #0369a1);
  color: white;
  box-shadow: 0 4px 20px rgba(8,145,178,0.35);
}
.btn--cyan:hover { color: white; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(8,145,178,0.5); }

.btn--green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  box-shadow: 0 4px 20px rgba(22,163,74,0.35);
}
.btn--green:hover { color: white; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(22,163,74,0.5); }

.btn--metamask {
  background: linear-gradient(135deg, #c96d0e, #b35d0a);
  color: white;
  box-shadow: 0 4px 20px rgba(201,109,14,0.35);
}
.btn--metamask:hover { color: white; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,109,14,0.5); }

.btn--lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn--xl { padding: 1.15rem 2.5rem; font-size: 1.125rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn--full { width: 100%; }

/* Register CTA Block */
.register-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  text-align: center;
  margin: 2rem 0 1rem;
}

.register-cta h3 { margin-bottom: 0.25rem; }
.register-cta p  { margin: 0; font-size: 0.9rem; }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

/* DEX Card */
.dex-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dex-card__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.dex-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
}

.dex-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.1rem; }
.dex-card__chain { font-size: 0.75rem; color: var(--text-muted); }
.dex-card__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }

.dex-card__tags { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.dex-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.dex-card__points { font-size: 0.8125rem; font-weight: 600; color: var(--yellow); }

/* Grid layouts */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* --- Steps --- */
.steps { counter-reset: step; }

.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: -1.25rem;
  width: 2px;
  background: var(--border);
}

.step__num {
  counter-increment: step;
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.step__content { flex: 1; padding-top: 0.4rem; }
.step__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step__text  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Alert / Info Boxes --- */
.alert {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid;
}

.alert__icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.5; }
.alert__body { flex: 1; }
.alert .alert__body p { margin: 0; font-size: 0.9rem; }

.alert--info    { background: rgba(6,182,212,0.08);   border-color: rgba(6,182,212,0.25);   }
.alert--warning { background: rgba(245,158,11,0.08);  border-color: rgba(245,158,11,0.25);  }
.alert--success { background: rgba(34,197,94,0.08);   border-color: rgba(34,197,94,0.25);   }
.alert--primary { background: rgba(99,102,241,0.08);  border-color: rgba(99,102,241,0.25);  }
.alert--danger  { background: rgba(239,68,68,0.08);   border-color: rgba(239,68,68,0.25);   }

/* Guide Link Box (prominent) */
.guide-box {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(99,102,241,0.1));
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.guide-box__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-light);
  margin-bottom: 0.5rem;
}

.guide-box__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.guide-box__desc  { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }

.guide-box__links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --- Table of Contents --- */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 0.5rem 0 1.5rem;
}

.toc__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toc ol { list-style: decimal; padding-left: 1.2em; }
.toc li { margin-bottom: 0.3rem; }
.toc a  { font-size: 0.9rem; color: var(--text-secondary); }
.toc a:hover { color: var(--accent-light); }

/* --- Article Content --- */
.article-body {
  padding: 0.75rem 0 3rem;
}

.article-section {
  margin-bottom: 3rem;
}

.article-section h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.article-section h3 {
  margin-bottom: 0.75rem;
  margin-top: 1.75rem;
}

.article-section p { margin-bottom: 1rem; }
.article-section .register-cta p { margin: 0; }
.article-section .register-cta h3 { margin-top: 0; margin-bottom: 0.25rem; }

#okj-comparison { margin-bottom: 2.5rem; }
#okj-comparison .article-body { padding-bottom: 0; }
#okj-comparison .register-cta { margin-bottom: 0; }

.article-section ul, .article-section ol {
  margin-bottom: 1rem;
}

.article-section li { margin-bottom: 0.5rem; }

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0;
}

.feature-list li::before { display: none; }

.feature-list__icon { font-size: 1.1rem; flex-shrink: 0; }
.feature-list__text { flex: 1; font-size: 0.9rem; color: var(--text-secondary); }
.feature-list__text strong { color: var(--text-primary); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.stat-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.25rem; margin-bottom: 0; }

/* --- Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.compare-table th {
  background: var(--bg-card);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table td { color: var(--text-secondary); }

/* --- FAQ --- */
.faq { margin: 1.25rem 0; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.625rem;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
  font-family: var(--font-sans);
}

.faq__question:hover { background: var(--bg-card-hover); }
.faq__question .faq__arrow { transition: transform var(--transition); flex-shrink: 0; }
.faq__question.open .faq__arrow { transform: rotate(180deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq__answer-inner p { margin-bottom: 0.5rem; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.75rem; margin-bottom: 0.5rem; }

.footer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 0.4rem; }
.footer__links a { font-size: 0.875rem; color: var(--text-muted); }
.footer__links a:hover { color: var(--accent-light); }
.footer__links--2col { columns: 2; column-gap: 1rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__copy { font-size: 0.8125rem; color: var(--text-muted); }

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: var(--radius-sm);
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); max-width: 540px; margin: 0 auto; }

/* --- Utilities --- */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding: 1rem 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2rem 0;
}

/* Highlight box */
.highlight {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Code-like display */
.code-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--cyan-light);
  margin: 0.75rem 0;
  overflow-x: auto;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge--green  { background: rgba(34,197,94,0.15);  color: #4ade80; }
.badge--yellow { background: rgba(249,115,22,0.2);  color: #fb923c; }
.badge--blue   { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.badge--cyan   { background: rgba(6,182,212,0.15);  color: #22d3ee; }
.badge--ja     { background: rgba(220,38,38,0.15); color: #ffffff; }

/* =========================================
   Responsive Breakpoints
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(7,11,20,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .nav__links.open a { padding: 0.65rem 1rem; }
  .nav__toggle { display: flex; }

  .grid--2, .grid--3, .grid--4, .grid--auto {
    grid-template-columns: 1fr;
  }

  .hero { padding: 4rem 0 3rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }

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

  .register-cta { padding: 1.75rem 1.25rem; }

  .hero__cta-group { flex-direction: column; align-items: center; }
  .btn--xl { padding: 0.95rem 2rem; font-size: 1rem; }

  .step { gap: 0.875rem; }

  .guide-box__links { flex-direction: column; }

  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .card { padding: 1.1rem; }
}

/* Print */
@media print {
  .nav, .footer { display: none; }
  body { background: white; color: black; }
}
