/* ==========================================================================
   Nimsith Yuthika — Portfolio
   Theme: Neon Red / Dark Vale
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg:            #07050a;
  --bg-alt:        #0f0810;
  --panel:         #150a10;
  --panel-2:       #1b0d13;
  --line:          rgba(255, 36, 60, 0.18);
  --line-strong:   rgba(255, 36, 60, 0.4);
  --red:           #ff1a35;
  --red-bright:    #ff435a;
  --red-deep:      #7d0018;
  --red-glow:      rgba(255, 26, 53, 0.55);
  --white:         #f4eef0;
  --muted:         #9c8790;
  --muted-2:       #6e5b62;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 4px;
  --ease: cubic-bezier(.22,.9,.28,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }

::selection{ background: var(--red); color: #100609; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--red-deep); border-radius: 10px; }

/* ---------- Background texture: grid + scanline + noise ---------- */
.bg-fx{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#particle-canvas{
  position: fixed;
  inset: 0;
  z-index: 1;
}
.bg-grid{
  position: fixed;
  inset: -64px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 85%);
  z-index: 0;
  animation: grid-drift 28s linear infinite, grid-pulse 6s ease-in-out infinite;
}
@keyframes grid-drift{
  0%{ transform: translate(0, 0); }
  100%{ transform: translate(64px, 64px); }
}
@keyframes grid-pulse{
  0%, 100%{ opacity: .22; }
  50%{ opacity: .4; }
}

/* Drifting ambient glow orbs */
.orb{
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  will-change: transform, opacity;
}
.orb-a{
  width: 480px; height: 480px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(255,26,53,.32), transparent 70%);
  animation: orb-float-a 22s ease-in-out infinite;
}
.orb-b{
  width: 420px; height: 420px;
  bottom: -12%; right: -6%;
  background: radial-gradient(circle, rgba(255,26,53,.24), transparent 70%);
  animation: orb-float-b 26s ease-in-out infinite;
}
.orb-c{
  width: 340px; height: 340px;
  top: 45%; left: 60%;
  background: radial-gradient(circle, rgba(255, 67, 90, .18), transparent 70%);
  animation: orb-float-c 19s ease-in-out infinite;
}
@keyframes orb-float-a{
  0%, 100%{ transform: translate(0, 0) scale(1); opacity: .8; }
  33%{ transform: translate(60px, 90px) scale(1.15); opacity: 1; }
  66%{ transform: translate(-30px, 40px) scale(.9); opacity: .6; }
}
@keyframes orb-float-b{
  0%, 100%{ transform: translate(0, 0) scale(1); opacity: .7; }
  40%{ transform: translate(-70px, -60px) scale(1.1); opacity: 1; }
  75%{ transform: translate(30px, -20px) scale(.95); opacity: .55; }
}
@keyframes orb-float-c{
  0%, 100%{ transform: translate(0, 0) scale(.9); opacity: .5; }
  50%{ transform: translate(-90px, 70px) scale(1.2); opacity: .9; }
}

.scanline{
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  opacity: .5;
  filter: blur(.5px);
  z-index: 2;
  animation: scan 7s linear infinite;
}
.scanline-2{
  animation: scan 11s linear infinite;
  animation-delay: -4s;
  opacity: .28;
}
@keyframes scan{
  0%{ top: -2%; }
  100%{ top: 102%; }
}
.vignette{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, transparent 40%, #07050a 92%);
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
section{ position: relative; z-index: 2; padding: 120px 0; }
.section-head{ margin-bottom: 56px; max-width: 640px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin: 0 0 14px;
}
.eyebrow::before{
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px 2px var(--red-glow);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .45; transform: scale(.75); }
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  color: var(--white);
  letter-spacing: .01em;
}
.section-head h2{
  font-size: clamp(28px, 4vw, 40px);
  text-transform: uppercase;
}
.section-head p{
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Header / Nav ---------- */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
header.scrolled{
  padding: 12px 0;
  background: rgba(7, 5, 10, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon{
  width: 38px; height: 38px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px -4px var(--red-glow);
}
.brand-icon img{ width: 100%; height: 100%; object-fit: cover; }
.brand-text{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.brand-text span{ color: var(--red-bright); }

.nav-links{
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-links a{
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .3s var(--ease);
}
.nav-links a:hover{ color: var(--white); }
.nav-links a:hover::after{ width: 100%; }

.nav-cta{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 3px;
  color: var(--white);
  transition: all .25s var(--ease);
}
.nav-cta:hover{
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 22px -4px var(--red-glow);
}

.nav-toggle{
  display: none;
  width: 34px; height: 26px;
  position: relative;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--white);
  transition: all .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 12px; }
.nav-toggle span:nth-child(3){ top: 24px; }
.nav-toggle.open span:nth-child(1){ transform: translateY(12px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-12px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 110%; height: 110%;
  object-fit: cover;
  opacity: .22;
  filter: saturate(1.3) contrast(1.05);
  animation: ken-burns 24s ease-in-out infinite alternate;
}
@keyframes ken-burns{
  0%{ transform: scale(1) translate(0, 0); }
  100%{ transform: scale(1.08) translate(-2%, -1.5%); }
}
.hero-media::after{
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7,5,10,.55) 40%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 35%, transparent 65%, var(--bg) 100%);
}
.hero-inner{
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-tag{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-tag .bar{ width: 30px; height: 1px; background: var(--red); }

.hero h1{
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: .98;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.glitch{
  position: relative;
  display: inline-block;
  color: var(--white);
}
.glitch::before,
.glitch::after{
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
  color: var(--white);
  background: var(--bg);
  clip-path: inset(0 0 0 0);
}
.glitch::before{
  color: var(--red-bright);
  animation: glitch-1 6s infinite linear;
  z-index: -1;
}
.glitch::after{
  color: #3ad6ff;
  animation: glitch-2 6s infinite linear;
  z-index: -1;
}
@keyframes glitch-1{
  0%, 92%, 100%{ clip-path: inset(0 0 100% 0); transform: translate(0,0); }
  93%{ clip-path: inset(10% 0 65% 0); transform: translate(-3px,-1px); }
  95%{ clip-path: inset(55% 0 10% 0); transform: translate(3px,1px); }
  97%{ clip-path: inset(20% 0 40% 0); transform: translate(-2px,1px); }
}
@keyframes glitch-2{
  0%, 90%, 100%{ clip-path: inset(0 0 100% 0); transform: translate(0,0); }
  91%{ clip-path: inset(60% 0 5% 0); transform: translate(3px,0); }
  94%{ clip-path: inset(15% 0 70% 0); transform: translate(-3px,0); }
  96%{ clip-path: inset(40% 0 30% 0); transform: translate(2px,-1px); }
}

.hero .role{
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted);
  font-weight: 600;
  margin: 18px 0 26px;
}
.hero .role .accent{ color: var(--red-bright); }

.hero p.lead{
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{
  background: var(--red);
  color: #100609;
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover{
  background: var(--red-bright);
  box-shadow: 0 0 30px -2px var(--red-glow);
  transform: translateY(-2px);
}
.btn-ghost{
  border-color: var(--line-strong);
  color: var(--white);
}
.btn-ghost:hover{
  border-color: var(--red);
  color: var(--red-bright);
  transform: translateY(-2px);
}

.hero-portrait{
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
}
.portrait-frame{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 3/4;
  background: var(--panel);
}
.portrait-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.08);
}
.portrait-frame::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,5,10,.85) 100%),
              linear-gradient(160deg, rgba(255,26,53,.18), transparent 45%);
  pointer-events: none;
}
.portrait-tag{
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .05em;
  z-index: 2;
}
.portrait-tag b{ color: var(--white); display:block; font-family: var(--font-display); font-size: 15px; letter-spacing: .02em; }

.corner{
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--red);
}
.corner.tl{ top: -8px; left: -8px; border-right: none; border-bottom: none; }
.corner.br{ bottom: -8px; right: -8px; border-left: none; border-top: none; }

.scroll-cue{
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue .line{
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue{
  0%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
  50.1%{ transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Panels / cards shared ---------- */
.panel{
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.panel::before{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .5;
}

/* ---------- About ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text p{ color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.about-text strong{ color: var(--white); font-weight: 600; }

.stat-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat{
  padding: 22px;
}
.stat .num{
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--red-bright);
  font-weight: 700;
}
.stat .label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Experience / Zenthos ---------- */
.exp-card{
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
}
.exp-logo{
  width: 96px; height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0d0407;
}
.exp-logo img{ width: 100%; height: 100%; object-fit: cover; }

.exp-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.exp-top h3{ font-size: 24px; text-transform: uppercase; }
.exp-role{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--red-bright);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.exp-time{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: 3px;
  white-space: nowrap;
}
.exp-body p{ color: var(--muted); margin-bottom: 22px; font-size: 15.5px; max-width: 620px; }

/* Dark Vale game block */
.game-block{
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.radar{
  --pct: 85;
  width: 140px; height: 140px;
  position: relative;
  flex-shrink: 0;
}
.radar svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.radar circle{
  fill: none;
  stroke-width: 6;
}
.radar .track{ stroke: rgba(255,26,53,.15); }
.radar .progress{
  stroke: var(--red);
  stroke-linecap: round;
  stroke-dasharray: 345;
  stroke-dashoffset: 345;
  filter: drop-shadow(0 0 6px var(--red-glow));
  transition: stroke-dashoffset 1.6s var(--ease);
}
.radar.in-view .progress{ stroke-dashoffset: calc(345 - (345 * var(--pct) / 100)); }
.radar-center{
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.radar-center .pct{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}
.radar-center .pct span{ font-size: 15px; color: var(--red-bright); }
.radar-center .status{
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.game-info h4{
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.game-tags{
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--red-bright);
}
.game-info p{ color: var(--muted); font-size: 15px; max-width: 560px; }

/* ---------- Community ---------- */
.community-card{
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.comm-logo{
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 30px -6px var(--red-glow);
}
.comm-logo img{ width: 100%; height: 100%; object-fit: cover; }
.community-card h3{ font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.community-card .exp-role{ margin-bottom: 14px; display:block; }
.community-card p{ color: var(--muted); font-size: 15.5px; max-width: 600px; }

/* ---------- Education timeline ---------- */
.timeline{
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
}
.tl-item{
  position: relative;
  padding-bottom: 42px;
}
.tl-item:last-child{ padding-bottom: 0; }
.tl-item::before{
  content: '';
  position: absolute;
  left: -37px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  box-shadow: 0 0 10px 1px var(--red-glow);
}
.tl-item .tl-meta{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 6px;
}
.tl-item h4{ font-size: 19px; margin-bottom: 4px; }
.tl-item .org{ color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.tl-item p.desc{ color: var(--muted-2); font-size: 14px; max-width: 560px; }

/* ---------- Goal / callout ---------- */
.goal-panel{
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
}
.goal-panel::after{
  content: '';
  position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: 220px; height: 220px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.goal-panel .eyebrow{ margin-bottom: 16px; }
.goal-panel h3{
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  max-width: 520px;
  line-height: 1.25;
}
.goal-panel h3 span{ color: var(--red-bright); }
.goal-panel p{ color: var(--muted); margin-top: 14px; max-width: 480px; font-size: 15px; }
.goal-icon{
  width: 84px; height: 84px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--red-bright);
}

/* ---------- Social ---------- */
.social-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.social-card{
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.social-card:hover{
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px -18px var(--red-glow);
}
.social-icon{
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--red-bright);
  transition: background .3s, color .3s;
}
.social-card:hover .social-icon{
  background: var(--red);
  color: #100609;
}
.social-name{ font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.social-handle{ font-family: var(--font-mono); font-size: 12px; color: var(--muted); word-break: break-word; }
.social-arrow{ margin-top: auto; color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; }
.social-card:hover .social-arrow{ color: var(--red-bright); }

/* ---------- Contact ---------- */
.contact-panel{
  padding: 60px;
  text-align: center;
  position: relative;
}
.contact-panel h2{
  font-size: clamp(30px, 5vw, 52px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.contact-panel h2 .accent{ color: var(--red-bright); }
.contact-panel p{ color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.contact-email{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--white);
  padding: 18px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: all .3s var(--ease);
}
.contact-email:hover{
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 30px -6px var(--red-glow);
}
.contact-note{
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .04em;
}

/* ---------- Footer ---------- */
footer{
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-inner p{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
.footer-links{ display: flex; gap: 20px; }
.footer-links a{
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: color .25s;
}
.footer-links a:hover{ color: var(--red-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-portrait{ order: -1; width: min(280px, 60%); }
  .about-grid{ grid-template-columns: 1fr; }
  .exp-card, .community-card{ grid-template-columns: 1fr; }
  .exp-logo, .comm-logo{ width: 72px; height: 72px; }
  .game-block{ grid-template-columns: 1fr; }
  .goal-panel{ grid-template-columns: 1fr; text-align: left; }
  .goal-icon{ display: none; }
  .social-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .nav-links, .nav-cta{ display: none; }
  .nav-toggle{ display: block; }
  header.mobile-open .nav-links{
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7,5,10,.98);
    padding: 28px;
    border-bottom: 1px solid var(--line);
  }
  section{ padding: 84px 0; }
  .exp-card, .community-card, .contact-panel, .goal-panel{ padding: 28px; }
  .social-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .social-grid{ grid-template-columns: 1fr; }
  .stat-list{ grid-template-columns: 1fr; }
}
