/* ===========================
   VARIABLES
=========================== */
:root {
  --bg:           #080810;
  --bg-surface:   #0d0d1a;
  --bg-card:      #111120;
  --bg-card-h:    #161628;
  --border:       #1c1c30;
  --border-lit:   #2a2a44;
  --text:         #e8e8f4;
  --text-sub:     #b0b0cc;
  --text-dim:     #787898;
  --accent:       #f5a623;
  --accent-dim:   rgba(245,166,35,.12);
  --accent-glow:  rgba(245,166,35,.28);
  --white:        #ffffff;

  --ff-head: 'Exo 2', sans-serif;
  --ff-kpi:  'Barlow Condensed', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --ff-body: 'Instrument Sans', sans-serif;
  --nav-h:   64px;
  --max-w:   1100px;
  --r:       8px;
}

/* ===========================
   RESET
=========================== */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html {
  scroll-behavior: smooth;
  /* Full-page snap scroll */
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

body {
  background:var(--bg); color:var(--text); font-family:var(--ff-body);
  font-size:16px; line-height:1.7; overflow-x:hidden;
  min-height: 100%;
}
a  { color:inherit; text-decoration:none; }
ul { list-style:none; }

::-webkit-scrollbar       { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--border-lit); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--accent); }

/* ===========================
   UTILS
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
}

/* Every section snaps to viewport top */
section, footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  padding: 112px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Experience is taller than 100vh — allow internal scroll */
#experience {
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 100px;
  padding-bottom: 80px;
}
/* Articles: center content so there's no orphan space below cards */
#articles {
  min-height: 100vh;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

footer {
  min-height: auto;
  padding: 60px 0 36px;
  display: block;
}

/* Content fade-in animation when section snaps into view */
.section-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
section h2 {
  font-family: var(--ff-head);
  font-size: clamp(30px,4vw,50px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 44px;
}
.section-intro {
  color: var(--text-sub);
  font-size: 17px;
  max-width: 560px;
  margin-top: -24px;
  margin-bottom: 52px;
  line-height: 1.65;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #000;
  font-family: var(--ff-mono); font-size: 13px; font-weight: 500; letter-spacing: .05em;
  padding: 12px 24px; border-radius: var(--r); border: none; cursor: pointer;
  transition: all .2s;
}
.btn-primary:hover { background: #ffbe4d; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .05em;
  padding: 12px 24px; border-radius: var(--r); border: 1px solid var(--border-lit); cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* REVEAL */
.reveal { opacity:0; transform:translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,8,16,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
#navbar.scrolled { border-color: var(--border); }
.nav-logo { font-family:var(--ff-head); font-size:20px; font-weight:800; color:var(--accent); }
.nav-links { display:flex; gap:28px; }
.nav-links a { font-family:var(--ff-mono); font-size:15px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-sub); transition:color .2s; }
.nav-links a:hover { color:var(--accent); }
.nav-right { display:flex; align-items:center; gap:18px; }
.lang-switcher { display:flex; align-items:center; gap:5px; }
.lang-btn { background:none; border:none; font-family:var(--ff-mono); font-size:12px; letter-spacing:.1em; color:var(--text-dim); cursor:pointer; padding:4px; transition:color .2s; }
.lang-btn.active,.lang-btn:hover { color:var(--accent); }
.lang-sep { color:var(--text-dim); font-size:12px; font-family:var(--ff-mono); }
.nav-cv-btn { font-family:var(--ff-mono); font-size:12px; letter-spacing:.1em; color:var(--accent); border:1px solid var(--accent); padding:6px 14px; border-radius:var(--r); transition:all .2s; }
.nav-cv-btn:hover { background:var(--accent); color:#000; }

/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding: 0 24px 0 clamp(80px,8vw,320px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-content { padding-right: 460px; }
.hero-bg { position:absolute; inset:0; pointer-events:none; }
.hero-grid {
  position:absolute; inset:0;
  background-image: linear-gradient(var(--border) 1px,transparent 1px), linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 20%, transparent 80%);
  opacity: .5;
}
.hero-glow {
  position:absolute; top:40%; left:30%; width:600px; height:500px;
  background: radial-gradient(ellipse at center, rgba(245,166,35,.07) 0%, transparent 70%);
  transform: translate(-50%,-50%);
}
.hero-content { position:relative; }

.hero-eyebrow {
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--accent); margin-bottom:20px;
  opacity:0; animation: fadeUp .6s ease .15s forwards;
}
.hero-name {
  font-family:var(--ff-head); font-size:clamp(60px,9vw,120px); font-weight:800; line-height:.95;
  letter-spacing:-.025em; margin-bottom:28px;
  opacity:0; animation: fadeUp .7s ease .35s forwards;
}
.line-solid  { display:block; color:var(--white); }
.line-outline { display:block; color:transparent; -webkit-text-stroke:2px var(--accent); }

.hero-tagline {
  font-size:19px; color:var(--text-sub); line-height:1.65; margin-bottom:36px;
  opacity:0; animation: fadeUp .7s ease .55s forwards;
}
.hero-cta {
  display:flex; gap:14px; flex-wrap:wrap; margin-bottom:52px;
  opacity:0; animation: fadeUp .7s ease .75s forwards;
}
.hero-stats {
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
  opacity:0; animation: fadeUp .7s ease .95s forwards;
}
.hstat { display:flex; flex-direction:column; }
.hstat-n { font-family:var(--ff-kpi); font-size:28px; font-weight:700; color:var(--white); line-height:1; }
.hstat-l { font-family:var(--ff-mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-dim); margin-top:3px; }
.hstat-div { width:1px; height:36px; background:var(--border-lit); }

.hero-scroll {
  position:absolute; bottom:36px; left:clamp(32px,6vw,100px);
  display:flex; align-items:center; gap:12px;
  font-family:var(--ff-mono); font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--text-dim);
  opacity:0; animation: fadeUp .6s ease 1.15s forwards;
}
.scroll-bar { width:36px; height:1px; background:var(--text-dim); animation: pulse 2s ease-in-out 1.3s infinite; }
@keyframes pulse { 0%,100%{opacity:.3;width:20px} 50%{opacity:1;width:48px} }

/* ===========================
   HERO TERMINAL
=========================== */
.hero-terminal {
  background: #0a0a14;
  border: 1px solid var(--border-lit);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(245,166,35,.06), 0 24px 64px rgba(0,0,0,.6);
  opacity: 0;
  animation: fadeUp .8s ease 1s forwards;
  position: absolute;
  right: clamp(360px,calc(8vw + 300px),460px);
  top: calc(50% - 200px);
  transform: translateY(-50%);
  width: 500px;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: #111120;
  border-bottom: 1px solid var(--border);
}
.term-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }
.term-title {
  font-family: var(--ff-mono); font-size: 11px; color: var(--text-dim);
  letter-spacing: .06em; margin-left: 6px;
}
.term-body {
  padding: 16px 20px 20px;
  font-family: var(--ff-mono); font-size: 12px; line-height: 1.8;
  min-height: 280px;
}
.term-line { display: block; white-space: pre; }
.term-prompt { color: var(--accent); }
.term-cmd    { color: #e8e8f4; }
.term-key    { color: var(--text-dim); display: inline-block; width: 100px; }
.term-val    { color: #e8e8f4; }
.term-accent { color: var(--accent); font-weight: 500; }
.term-master { color: #f5a623; font-weight: 700; letter-spacing: .06em; }
.term-green  { color: #34d399; }
.term-blue   { color: #60a5fa; }
.term-dim    { color: var(--text-dim); }
.term-cursor {
  display: inline-block; width: 9px; height: 14px;
  background: var(--accent); vertical-align: middle; margin-left: 2px;
  animation: blink .9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

@media (max-width:960px) {
  .hero-content { padding-right: 0; }
  .hero-terminal { position: static; transform: none; width: 100%; max-width: 400px; }
}

/* ===========================
   ABOUT
=========================== */
#about { background:var(--bg-surface); }
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT — photo + stats stacked */
.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Photo — clean, no offset border */
.about-photo-wrap {
  position: relative;
}
.about-photo {
  display: block;
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 32px rgba(245,166,35,.15), 0 8px 40px rgba(0,0,0,.6);
}

/* Stats row under photo */
.about-stats {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 8px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-n { font-family:var(--ff-kpi); font-size:32px; font-weight:700; color:var(--accent); line-height:1; }
.stat-l  { font-family:var(--ff-mono); font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-sub); margin-top:6px; text-align:center; }

/* RIGHT */
.about-right h2 { font-size: clamp(32px,3.5vw,48px); margin-bottom:28px; }
.about-right p  { color:var(--text-sub); margin-bottom:18px; font-size:17px; line-height:1.8; }
.about-skills   { display:flex; flex-wrap:wrap; gap:10px; margin-top:36px; }
.skill-chip {
  font-family: var(--ff-mono); font-size:13px; color:var(--text-sub);
  border: 1px solid var(--border-lit); padding:7px 16px; border-radius:var(--r);
  transition: all .2s;
}
.skill-chip:hover { border-color:var(--accent); color:var(--accent); background:var(--accent-dim); }

/* ===========================
   EXPERIENCE
=========================== */
.timeline { position:relative; margin-bottom:72px; }
.timeline::before { content:''; position:absolute; left:0; top:8px; bottom:0; width:1px; background:var(--border-lit); }

.timeline-item { position:relative; padding-left:36px; margin-bottom:44px; }
.timeline-dot {
  position:absolute; left:-5px; top:8px; width:11px; height:11px;
  border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent-glow);
}
.timeline-meta {
  display:flex; align-items:center; gap:14px; margin-bottom:10px;
}
.tl-co {
  font-family:var(--ff-mono); font-size:10px; font-weight:500; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-dim); padding:3px 8px; border-radius:4px;
}
.tl-date { font-family:var(--ff-mono); font-size:11px; letter-spacing:.08em; color:var(--text-dim); }
.timeline-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r); padding:22px 26px;
  transition:border-color .2s;
}
.timeline-card:hover { border-color:var(--border-lit); }
.tl-role { font-size:16px; font-weight:600; color:var(--white); margin-bottom:14px; }
.tl-bullets { display:flex; flex-direction:column; gap:8px; }
.tl-bullets li { font-size:14px; color:var(--text-sub); padding-left:16px; position:relative; line-height:1.6; }
.tl-bullets li::before { content:'—'; position:absolute; left:0; color:var(--accent); font-size:11px; top:2px; }

/* EDUCATION */
.edu-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.edu-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r);
  padding:24px;
  display:flex; flex-direction:row; gap:20px; align-items:flex-start;
  transition:border-color .2s;
}
.edu-card:hover { border-color:var(--border-lit); }
.edu-badge {
  font-family: var(--ff-head); font-weight: 800; color: var(--accent);
  width: auto; min-width: 52px; height: 52px;
  border: 1.5px solid var(--accent); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: -0.01em;
  padding: 6px 10px; flex-shrink: 0;
  white-space: nowrap;
}
.edu-school { font-size:15px; font-weight:600; color:var(--white); margin-bottom:4px; }
.edu-degree { font-size:13px; color:var(--text-sub); margin-bottom:5px; }
.edu-date   { font-family:var(--ff-mono); font-size:11px; color:var(--text-dim); letter-spacing:.06em; margin-bottom:6px; }
.edu-thesis { font-size:12px; color:var(--text-sub); font-style:italic; }

/* ===========================
   COACHING
=========================== */
#coaching { background:var(--bg-surface); }
.coaching-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:44px;
}
.coaching-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r);
  padding:26px 22px; transition:all .2s;
}
.coaching-card:hover { border-color:var(--accent); transform:translateY(-2px); }
.coaching-card--wide { grid-column:1 / -1; }
.cc-icon { font-size:26px; margin-bottom:14px; }
.coaching-card h3 { font-family:var(--ff-head); font-size:17px; font-weight:700; color:var(--white); margin-bottom:10px; }
.coaching-card p { font-size:14px; color:var(--text-sub); line-height:1.65; }
.coaching-cta { text-align:center; }

/* ===========================
   ARTICLES
=========================== */
.article-filters {
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:36px;
}
.af-btn {
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  background:transparent; color:var(--text-sub); border:1px solid var(--border-lit);
  padding:7px 16px; border-radius:100px; cursor:pointer; transition:all .2s;
}
.af-btn:hover  { border-color:var(--accent); color:var(--accent); }
.af-btn.active { background:var(--accent); color:#000; border-color:var(--accent); }

.articles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.article-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r);
  padding:24px; display:flex; flex-direction:column; cursor:pointer;
  transition:all .2s; opacity:1;
}
.article-card.hidden { display:none; }
.article-card:hover { border-color:var(--border-lit); transform:translateY(-2px); }
.ac-tag {
  font-family:var(--ff-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:10px;
}
.ac-tag--gaming   { color:#3b82f6; }
.ac-tag--tech     { color:#10b981; }
.ac-tag--geo      { color:#f59e0b; }
.ac-tag--coaching { color:#a78bfa; }

.article-card h3 { font-family:var(--ff-head); font-size:16px; font-weight:700; color:var(--white); line-height:1.3; margin-bottom:10px; }
.article-card p  { font-size:13.5px; color:var(--text-sub); line-height:1.6; flex:1; margin-bottom:18px; }
.ac-foot {
  display:flex; justify-content:space-between; align-items:center;
  border-top:1px solid var(--border); padding-top:14px;
  font-family:var(--ff-mono); font-size:11px; color:var(--text-dim);
}
.ac-arrow { color:var(--accent); font-size:14px; }
.ac-label-read { color:var(--accent); font-weight:600; }
.ac-label-soon { color:var(--text-dim); font-style:italic; }

/* See More card */
.see-more-card {
  cursor: pointer;
  border: 1px dashed var(--border-lit);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  transition: border-color .2s, background .2s;
}
.see-more-card:hover { border-color: var(--accent); background: var(--accent-dim); }
.see-more-inner { text-align: center; }
.see-more-count {
  font-family: var(--ff-head); font-size: 42px; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.see-more-label {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-sub); margin-top: 6px;
}
.see-more-hint {
  font-family: var(--ff-mono); font-size: 10px; color: var(--text-dim);
  margin-top: 4px; letter-spacing: .08em;
}

/* ===========================
   GAMING CARDS
=========================== */
#gaming { background:var(--bg-surface); justify-content:flex-start; }

.gaming-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}

.game-card {
  position:relative; overflow:hidden; border-radius:10px;
  border:1px solid var(--border); min-height:300px;
  cursor:default; transition:transform .25s, border-color .25s;
}
.game-card:hover { transform:translateY(-3px); }

.gc-bg { position:absolute; inset:0; }
.gc-inner {
  position:relative; z-index:2;
  padding:28px 28px 26px;
  height:100%;
  display:flex; flex-direction:column;
}
.gc-num {
  font-family:var(--ff-mono); font-size:56px; font-weight:300; line-height:1;
  position:absolute; right:24px; top:20px; opacity:.1;
}
.gc-tag {
  font-family:var(--ff-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  margin-bottom:12px;
}
.gc-title { font-family:var(--ff-head); font-size:26px; font-weight:800; color:var(--white); line-height:1.1; margin-bottom:10px; }
.gc-subs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.gc-sub {
  font-family:var(--ff-mono); font-size:11px; letter-spacing:.04em;
  padding:4px 10px; border-radius:4px; border:1px solid currentColor; opacity:.8;
}
.gc-desc { font-size:15px; color:var(--text-sub); line-height:1.68; }

/* --- COMPETITIVE (blue) --- */
.card-competitive { border-color:rgba(59,130,246,.3); }
.card-competitive:hover { border-color:rgba(59,130,246,.7); }
.card-competitive .gc-bg {
  background: #050c1a;
  background-image:
    radial-gradient(circle, rgba(59,130,246,.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.card-competitive .gc-scan {
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,rgba(59,130,246,.6),transparent);
  animation: scan 3s ease-in-out infinite;
  z-index:1;
}
@keyframes scan { 0%{top:-2px;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{top:102%;opacity:0} }
.card-competitive .gc-tag  { color:#60a5fa; }
.card-competitive .gc-sub  { color:#60a5fa; }
.card-competitive .gc-num  { color:#3b82f6; }

/* --- SOLO RPG (crimson) --- */
.card-solo { border-color:rgba(220,38,38,.3); }
.card-solo:hover { border-color:rgba(220,38,38,.7); }
.card-solo .gc-bg {
  background: #140406;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(220,38,38,.04) 18px,
    rgba(220,38,38,.04) 19px
  );
}
.card-solo .gc-slash {
  position:absolute; inset:0; z-index:1;
  background: radial-gradient(ellipse at 80% 0%, rgba(220,38,38,.15) 0%, transparent 60%);
  animation: emberPulse 4s ease-in-out infinite;
}
@keyframes emberPulse { 0%,100%{opacity:.6} 50%{opacity:1} }
.card-solo .gc-tag { color:#f87171; }
.card-solo .gc-sub { color:#f87171; }
.card-solo .gc-num { color:#dc2626; }

/* --- GACHA (violet) --- */
.card-gacha { border-color:rgba(168,85,247,.3); }
.card-gacha:hover { border-color:rgba(168,85,247,.7); }
.card-gacha .gc-bg { background:#0a0518; }
.card-gacha .gc-stars {
  position:absolute; inset:0; z-index:1; overflow:hidden;
}
.card-gacha .gc-stars i {
  position:absolute; display:block; width:2px; height:2px;
  border-radius:50%; background:#c084fc;
  animation: twinkle var(--d,2s) ease-in-out var(--delay,0s) infinite;
}
/* position & timings for 20 stars */
.card-gacha .gc-stars i:nth-child(1)  { left:8%;  top:12%; --d:2.1s; --delay:.1s; }
.card-gacha .gc-stars i:nth-child(2)  { left:18%; top:35%; --d:1.8s; --delay:.4s; }
.card-gacha .gc-stars i:nth-child(3)  { left:28%; top:60%; --d:2.4s; --delay:.7s; }
.card-gacha .gc-stars i:nth-child(4)  { left:38%; top:20%; --d:1.6s; --delay:.2s; }
.card-gacha .gc-stars i:nth-child(5)  { left:52%; top:75%; --d:2.2s; --delay:.9s; }
.card-gacha .gc-stars i:nth-child(6)  { left:62%; top:45%; --d:1.9s; --delay:.3s; }
.card-gacha .gc-stars i:nth-child(7)  { left:72%; top:15%; --d:2.6s; --delay:.6s; }
.card-gacha .gc-stars i:nth-child(8)  { left:80%; top:55%; --d:1.7s; --delay:.5s; }
.card-gacha .gc-stars i:nth-child(9)  { left:90%; top:30%; --d:2.3s; --delay:.8s; }
.card-gacha .gc-stars i:nth-child(10) { left:45%; top:88%; --d:2.0s; --delay:.1s; }
.card-gacha .gc-stars i:nth-child(11) { left:5%;  top:70%; --d:1.5s; --delay:1s;  }
.card-gacha .gc-stars i:nth-child(12) { left:15%; top:85%; --d:2.5s; --delay:.2s; }
.card-gacha .gc-stars i:nth-child(13) { left:30%; top:5%;  --d:1.8s; --delay:.7s; }
.card-gacha .gc-stars i:nth-child(14) { left:55%; top:10%; --d:2.1s; --delay:.4s; }
.card-gacha .gc-stars i:nth-child(15) { left:68%; top:80%; --d:1.6s; --delay:.3s; }
.card-gacha .gc-stars i:nth-child(16) { left:78%; top:68%; --d:2.4s; --delay:.9s; }
.card-gacha .gc-stars i:nth-child(17) { left:88%; top:90%; --d:2.2s; --delay:.6s; }
.card-gacha .gc-stars i:nth-child(18) { left:42%; top:50%; --d:1.9s; --delay:.5s; width:3px; height:3px; }
.card-gacha .gc-stars i:nth-child(19) { left:25%; top:42%; --d:2.7s; --delay:.0s; }
.card-gacha .gc-stars i:nth-child(20) { left:60%; top:28%; --d:1.7s; --delay:.8s; }
@keyframes twinkle { 0%,100%{opacity:0;transform:scale(.5)} 50%{opacity:1;transform:scale(1.4)} }
.card-gacha .gc-tag { color:#c084fc; }
.card-gacha .gc-sub { color:#c084fc; }
.card-gacha .gc-num { color:#a855f7; }

/* --- PC BUILD (rgb) --- */
.card-pc { border-color:rgba(16,185,129,.3); }
.card-pc:hover { border-color:rgba(16,185,129,.7); }
.card-pc .gc-bg {
  background: #050f08;
  background-image:
    linear-gradient(rgba(16,185,129,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.card-pc .gc-rgb {
  position:absolute; inset:-1px; border-radius:10px; z-index:0;
  background: linear-gradient(90deg, #10b981, #3b82f6, #a855f7, #ef4444, #f59e0b, #10b981);
  background-size: 300% 100%;
  animation: rgbShift 4s linear infinite;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  padding:1px;
}
@keyframes rgbShift { 0%{background-position:0% 50%} 100%{background-position:300% 50%} }
.card-pc .gc-tag { color:#34d399; }
.card-pc .gc-sub { color:#34d399; }
.card-pc .gc-num { color:#10b981; }

/* ===========================
   PROJECTS
=========================== */
.projects-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.project-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r);
  padding:26px; transition:all .2s;
}
.project-card:hover { border-color:var(--border-lit); transform:translateY(-2px); }
.project-card.featured { border-color:var(--accent); background:linear-gradient(135deg,var(--bg-card),rgba(245,166,35,.04)); }
.project-card.placeholder { opacity:.55; }
.proj-badge {
  font-family:var(--ff-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-dim); padding:3px 9px; border-radius:4px;
  display:inline-block; margin-bottom:16px;
}
.proj-badge--dim { color:var(--text-dim); background:transparent; border:1px solid var(--border); }
.proj-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:14px; }
.proj-icon { font-size:26px; }
.proj-tags { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.tech-tag { font-family:var(--ff-mono); font-size:10px; letter-spacing:.06em; color:var(--text-dim); border:1px solid var(--border); padding:2px 8px; border-radius:4px; }
.project-card h3 { font-family:var(--ff-head); font-size:17px; font-weight:700; color:var(--white); margin-bottom:10px; }
.project-card p  { font-size:14px; color:var(--text-sub); line-height:1.6; margin-bottom:14px; }
.proj-metrics { display:flex; gap:14px; font-family:var(--ff-mono); font-size:11px; color:var(--accent); letter-spacing:.06em; }

/* ===========================
   COACHING PROCESS STRIP
=========================== */
.coach-process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 40px 0 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.cp-step {
  flex: 1;
  padding: 28px 28px;
  border-right: 1px solid var(--border);
}
.cp-step:last-child { border-right: none; }
.cp-num {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--accent); margin-bottom: 10px;
}
.cp-title {
  font-family: var(--ff-head); font-size: 17px; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.cp-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.cp-arrow {
  font-size: 20px; color: var(--accent); padding: 28px 12px;
  align-self: center; flex-shrink: 0;
}

/* ===========================
   GAMING NOW-PLAYING CARD
=========================== */
.now-playing {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-lit);
  border-radius: 10px;
  padding: 24px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.now-playing::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(239,68,68,.04) 0%, transparent 60%);
  pointer-events: none;
}

/* LEFT: LIVE badge */
.np-live {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; color: #ef4444;
}
.np-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,.7);
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

/* CENTER: game info */
.np-center { display: flex; flex-direction: column; gap: 6px; }
.np-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--text-dim); text-transform: uppercase;
}
.np-game {
  font-family: var(--ff-head); font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1;
  animation: gameGlow 2.5s ease-in-out infinite;
}
@keyframes gameGlow {
  0%,100% { text-shadow: none; }
  50%     { text-shadow: 0 0 20px rgba(245,166,35,.5); }
}
.np-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.np-sep { color: var(--border-lit); }
.np-stat { font-family: var(--ff-mono); font-size: 12px; color: var(--text-sub); }
.np-classified {
  color: var(--accent);
  animation: blink .9s step-end infinite;
}

/* RIGHT: XP + HP stacked */
.np-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* XP bar */
.np-xp { width: 140px; }
.np-xp-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
}
.np-xp-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; color: #60a5fa;
}
.np-xp-level {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; color: var(--text-sub);
}
.np-xp-bar {
  width: 140px; height: 6px; background: var(--border-lit); border-radius: 3px; overflow: hidden;
}
.np-xp-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* HP bar */
.np-hp { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.np-hp-label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; color: #ef4444;
}
.np-hp-bar {
  width: 140px; height: 8px; background: var(--border-lit);
  border-radius: 4px; overflow: hidden;
}
.np-hp-fill {
  height: 100%; width: 73%;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.np-hp-pct {
  font-family: var(--ff-mono); font-size: 11px; color: var(--text-dim);
}

/* ===========================
   PROJECTS LEARNING SECTION
=========================== */
.learning-strip {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.ls-header { margin-bottom: 24px; }
.ls-label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.ls-sublabel { font-size: 14px; color: var(--text-dim); }
.ls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ls-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 20px 16px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s;
}
.ls-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ls-card-icon { font-size: 24px; }
.ls-card-title { font-family: var(--ff-head); font-size: 15px; font-weight: 700; color: var(--white); }
.ls-card-desc  { font-size: 13px; color: var(--text-sub); line-height: 1.55; flex: 1; }
.ls-card-tag {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent-dim); background: var(--accent-dim);
  padding: 2px 8px; border-radius: 4px; display: inline-block; margin-top: 4px;
  align-self: flex-start;
}

/* ===========================
   SIDE NAV DOTS
=========================== */
.side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.sn-dot {
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-lit);
  transition: all .25s ease;
  position: relative;
  cursor: pointer;
}
/* Label tooltip on hover */
.sn-dot::after {
  content: attr(title);
  position: absolute;
  right: 32px;
  top: 50%; transform: translateY(-50%);
  font-family: var(--ff-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border-lit);
  padding: 5px 12px; border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateY(-50%) translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.sn-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.sn-dot:hover {
  background: var(--text-sub);
  border-color: var(--text-sub);
  transform: scale(1.25);
}
.sn-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 768px) { .side-nav { display: none; } }

/* ===========================
   FOOTER
=========================== */
footer { background:var(--bg-surface); border-top:1px solid var(--border); padding:60px 0 36px; }
.footer-grid { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:44px; }
.footer-name { font-family:var(--ff-head); font-size:22px; font-weight:800; color:var(--white); margin-bottom:8px; }
.footer-sub  { font-size:13px; color:var(--text-sub); margin-bottom:6px; }
.footer-loc  { font-family:var(--ff-mono); font-size:12px; color:var(--text-dim); }
.footer-links { display:flex; flex-direction:column; gap:10px; text-align:right; }
.footer-link { font-family:var(--ff-mono); font-size:13px; color:var(--text-sub); transition:color .2s; }
.footer-link:hover { color:var(--accent); }
.footer-bottom { border-top:1px solid var(--border); padding-top:22px; font-family:var(--ff-mono); font-size:11px; color:var(--text-dim); }

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position:fixed; inset:0; z-index:500;
  background:rgba(0,0,0,.7); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .25s;
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal-box {
  background:var(--bg-card); border:1px solid var(--border-lit); border-radius:12px;
  padding:44px 40px; max-width:400px; width:90%;
  text-align:center; position:relative;
  transform:translateY(16px); transition:transform .25s;
}
.modal-overlay.open .modal-box { transform:translateY(0); }
.modal-close {
  position:absolute; top:14px; right:16px;
  background:none; border:none; color:var(--text-dim); font-size:16px; cursor:pointer;
  transition:color .2s;
}
.modal-close:hover { color:var(--white); }
.modal-icon  { font-size:36px; margin-bottom:16px; }
.modal-title { font-family:var(--ff-head); font-size:22px; font-weight:800; color:var(--white); margin-bottom:10px; }
.modal-desc  { font-size:15px; color:var(--text-sub); margin-bottom:24px; line-height:1.6; }

/* ===========================
   KEYFRAMES
=========================== */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ===========================
   BOOKSHELF
=========================== */
/* passion divider between gaming and reading sub-sections */
.passion-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 52px 0 20px;
}
.passion-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(245,166,35,0.2);
}
.passion-divider-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Sub-section intro */
.books-sub-intro {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 12px 0 0;
}
.shelf-hint-inline {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--accent);
  opacity: 0.9;
  margin-top: 6px;
  white-space: nowrap;
}
.shelf-hint-inline::before {
  content: '▸ ';
  animation: hint-pulse 1.8s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.bookshelf-stage {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(245,166,35,0.03) 0%, transparent 100%);
  border: 1px solid rgba(245,166,35,0.12);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 28px 24px 0;
  display: flex;
  gap: 28px;
  align-items: flex-end;
  overflow: visible;
}
.shelf-left {
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.shelf-books {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  min-height: 240px;
  overflow: visible;
}

/* Individual book slot */
.book-slot {
  position: relative;
  width: 52px;
  height: 220px;
  flex-shrink: 0;
  cursor: pointer;
  filter: brightness(0.82);
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1), filter 0.2s ease;
}
.book-slot:hover  { filter: brightness(1.05); }
.book-slot.open   { width: 148px; filter: brightness(1); }

/* Spine */
.book-spine {
  position: absolute;
  inset: 0;
  border-radius: 2px 3px 3px 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  transform: perspective(600px) rotateY(0deg);
  transform-origin: left center;
  transition: transform 0.42s ease, opacity 0.32s ease;
  box-shadow: inset -3px 0 8px rgba(0,0,0,0.5), 2px 0 4px rgba(0,0,0,0.4);
}
.book-slot.open .book-spine {
  transform: perspective(600px) rotateY(-90deg);
  opacity: 0;
  pointer-events: none;
}
.bs-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-height: 150px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.bs-author {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--ff-mono);
  font-size: 7.5px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 55px;
}
.bs-stripe {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  opacity: 0.55;
}

/* Cover */
.book-cover {
  position: absolute;
  top: 0; left: 0;
  width: 148px;
  height: 220px;
  border-radius: 2px 4px 4px 2px;
  overflow: hidden;
  transform: perspective(600px) rotateY(90deg);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.42s ease 0.06s, opacity 0.32s ease 0.06s;
  box-shadow: 6px 4px 20px rgba(0,0,0,0.6);
}
.book-slot.open .book-cover {
  transform: perspective(600px) rotateY(0deg);
  opacity: 1;
}
.book-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.bc-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 45%);
  pointer-events: none;
}

/* Shelf plank */
.shelf-plank {
  height: 14px;
  background: linear-gradient(180deg, #3e2c10 0%, #1c1208 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
  position: relative;
}
.shelf-plank::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background:rgba(255,255,255,0.05);
}
.shelf-plank::after {
  content:'';
  position:absolute;
  top:2px; left:0; right:0;
  height:1px;
  background:rgba(245,166,35,0.18);
}

/* Now Reading card */
.shelf-right {
  width: 240px;
  flex-shrink: 0;
  padding-bottom: 14px;
}
.now-reading-card {
  background: var(--bg-card);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 8px;
  padding: 16px;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nr-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.nr-body {
  display: flex;
  gap: 12px;
  flex: 1;
}
.nr-cover {
  width: 76px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 4px 4px 14px rgba(0,0,0,0.55);
  align-self: flex-start;
}
.nr-cover img { width: 100%; display: block; }
.nr-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nr-title {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.nr-author {
  font-family: var(--ff-mono);
  font-size: 0.67rem;
  color: var(--accent);
}
.nr-prog-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.nr-prog-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.nr-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #ffcc55 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}
.nr-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.nr-genre {
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 2px 6px;
}

/* Hint */
.shelf-hint {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 18px;
  opacity: 0.65;
}

/* Book detail panel */
.book-detail {
  display: none;
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  padding: 24px 28px;
  animation: fadeUp 0.3s ease;
}
.book-detail.visible { display: block; }
.bd-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}
.bd-num {
  font-family: var(--ff-kpi);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.45;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 3px;
}
.bd-meta { flex: 1; }
.bd-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.bd-author {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.bd-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.bd-close:hover { border-color: var(--accent); color: var(--accent); }
.bd-review {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin: 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width:960px) {
  .about-grid    { grid-template-columns:1fr; gap:44px; }
  .coaching-grid { grid-template-columns:1fr 1fr; }
  .edu-row       { grid-template-columns:1fr; }
  .articles-grid { grid-template-columns:1fr 1fr; }
  .gaming-grid   { grid-template-columns:1fr; }
  .bookshelf-stage { flex-direction:column; }
  .shelf-right { width:100%; }
  .projects-grid { grid-template-columns:1fr; }
  .nav-links     { display:none; }
}
@media (max-width:640px) {
  section { padding:80px 0; }
  .container { padding:0 20px; }
  #navbar { padding:0 20px; }
  .hero-cta { flex-direction:column; }
  .hero-stats { gap:16px; }
  .hstat-div { display:none; }
  .coaching-grid { grid-template-columns:1fr; }
  .articles-grid { grid-template-columns:1fr; }
  .footer-grid { flex-direction:column; gap:28px; }
  .footer-links { text-align:left; }
}
