/* ============================================================
   CYPHER PORTFOLIO — style.css
   Theme: Valorant × Cypher
   ============================================================ */

/* ── Google Fonts already imported in HTML ── */

/* ── CSS Custom Properties ── */
:root {
  --bg-primary:    #07070F;
  --bg-secondary:  #0D0D1A;
  --bg-card:       #111122;
  --gold:          #C8A955;
  --gold-dim:      #8A7040;
  --gold-glow:     rgba(200,169,85,0.15);
  --red:           #FF4655;
  --red-glow:      rgba(255,70,85,0.2);
  --green:         #00FFC8;
  --green-glow:    rgba(0,255,200,0.15);
  --text-primary:  #EAE0D5;
  --text-secondary:#8A7A62;
  --border:        #2A2538;
  --font-display:  'Bebas Neue', sans-serif;
  --font-heading:  'Rajdhani', sans-serif;
  --font-body:     'Exo 2', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --nav-h:         64px;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.share-mono { font-family: var(--font-mono); }
.accent-gold { color: var(--gold); }
.accent-red  { color: var(--red); }

/* ── Scanlines Overlay ── */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
}

/* ── Hex Canvas ── */
#hexCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(7,7,15,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

#mainNav.scrolled {
  background: rgba(7,7,15,0.95);
  border-bottom-color: var(--gold-dim);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Valorant', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-logo .logo-text {
  font-family: 'Valorant', sans-serif;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: all 0.35s ease;
}
.logo-bracket {
  color: var(--red);
  font-family: var(--font-mono);
  font-weight: bold;
}

/* Mini Discreet SFX Toggle Button */
.sfx-toggle-btn {
  background: rgba(17, 17, 34, 0.4);
  border: 1px solid rgba(200, 169, 85, 0.2);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 2px;
  transition: all 0.25s ease;
  opacity: 0.75;
  user-select: none;
}
.sfx-toggle-btn:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 85, 0.08);
  box-shadow: 0 0 10px var(--gold-glow);
}
.sfx-toggle-btn.muted {
  border-color: rgba(255, 70, 85, 0.3);
  color: var(--red);
  opacity: 0.65;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,7,15,0.98);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1rem 0;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mob-link {
  display: block;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.2s;
}
.mob-link:hover { color: var(--gold); padding-left: 2.5rem; }

/* ============================================================
   HUD CARD BASE
   ============================================================ */
.hud-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.hud-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 30px var(--gold-glow);
}

.hud-corner {
  position: absolute;
  width: 16px; height: 16px;
}
.hud-corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hud-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { position: relative; z-index: 1; padding: 6rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1;
}

.title-underline {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  margin: 1rem auto 0;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 4rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

/* Ambient radial glow */
.section-hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 20%;
  width: 60vw; height: 60vh;
  background: radial-gradient(ellipse, rgba(200,169,85,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* HUD corners for hero */
.hero-hud-corner {
  position: absolute;
  width: 40px; height: 40px;
  z-index: 2;
}
.hero-hud-corner.top-left    { top:1rem; left:1rem; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.hero-hud-corner.top-right   { top:1rem; right:1rem; border-top:2px solid var(--gold); border-right:2px solid var(--gold); }
.hero-hud-corner.bottom-left { bottom:1rem; left:1rem; border-bottom:2px solid var(--gold); border-left:2px solid var(--gold); }
.hero-hud-corner.bottom-right{ bottom:1rem; right:1rem; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }

.hero-content { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,70,85,0.1);
  border: 1px solid var(--red);
  padding: 4px 14px;
  margin-bottom: 1.5rem;
  animation: pulseBorder 2s ease-in-out infinite;
}
@keyframes pulseBorder {
  0%,100% { border-color: var(--red); box-shadow: none; }
  50%      { border-color: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}

/* Glitch Name */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  position: relative;
  margin-bottom: 1.25rem;
}

.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--red);
  animation: glitchBefore 4s infinite linear;
  clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%);
}
.glitch::after {
  color: var(--green);
  animation: glitchAfter 4s infinite linear;
  clip-path: polygon(0 65%, 100% 65%, 100% 80%, 0 80%);
}
@keyframes glitchBefore {
  0%,90%,100% { transform: none; opacity:0; }
  91%,93% { transform: translateX(-3px); opacity:0.7; }
  92%,94% { transform: translateX(3px); opacity:0.7; }
}
@keyframes glitchAfter {
  0%,87%,100% { transform: none; opacity:0; }
  88%,90% { transform: translateX(4px); opacity:0.7; }
  89%,91% { transform: translateX(-4px); opacity:0.7; }
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--gold);
  margin-bottom: 1.25rem;
  min-height: 1.8em;
}
.title-line { color: var(--text-secondary); }
.cursor-blink { animation: blink 1s step-end infinite; }

.hero-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  position: relative;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-bracket { font-size: 0.75em; opacity: 0.7; }

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: #ff5f6b;
  box-shadow: 0 0 25px var(--red-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover {
  background: var(--gold-glow);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-item { text-align: center; }
.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.stat-divider { color: var(--border); font-size: 0.6rem; }

/* Hero visual / Cypher image */
.hero-visual {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cypher-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.cypher-frame::before,
.cypher-frame::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
/* Gold corner top-left */
.cypher-frame::before {
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
/* Red corner bottom-right */
.cypher-frame::after {
  bottom: 0; right: 0;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--red);
  border-right: 2px solid var(--red);
}

.cypher-img-wrap { position: relative; }
.cypher-img { width: 100%; filter: saturate(0.7) contrast(1.1); }
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
}

/* Scanning line */
.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: scanMove 3s linear infinite;
  z-index: 4;
  opacity: 0.6;
}
@keyframes scanMove {
  0%   { top: 0%; }
  100% { top: 100%; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  animation: floatUpDown 2s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
.scroll-arrow {
  width: 14px; height: 14px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about { background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.about-bio:last-of-type { margin-bottom: 1.5rem; }

.about-langs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.lang-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.lang-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.interests-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.interest-card {
  background: rgba(200,169,85,0.05);
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
  cursor: default;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.interest-card:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-3px);
  color: var(--text-primary);
}
.interest-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.section-skills { background: var(--bg-primary); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.skill-group-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1.25rem;
}

/* Skill bars */
.skill-bars { display: flex; flex-direction: column; gap: 1rem; }

.skill-bar-item {}
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.skill-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.skill-pct { font-size: 0.78rem; color: var(--gold); }

.bar-track {
  height: 6px;
  background: rgba(42,37,56,0.8);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width 1.2s var(--ease-out);
  position: relative;
}
.bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: #fff;
  opacity: 0.6;
  filter: blur(2px);
}

/* Tech pills */
.tech-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 12px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  background: rgba(200,169,85,0.06);
  letter-spacing: 0.05em;
  transition: all 0.2s;
  cursor: default;
}
.tech-pill:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tech-pill.tp-green {
  border-color: rgba(0,255,200,0.3);
  color: var(--green);
  background: rgba(0,255,200,0.05);
}
.tech-pill.tp-green:hover {
  background: var(--green-glow);
  border-color: var(--green);
}

.tech-pill.tp-red {
  border-color: rgba(255,70,85,0.3);
  color: var(--red);
  background: rgba(255,70,85,0.05);
}
.tech-pill.tp-red:hover {
  background: var(--red-glow);
  border-color: var(--red);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.section-projects { background: var(--bg-secondary); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.project-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 30px var(--red-glow);
  transform: translateY(-5px);
}

.project-ribbon {
  position: absolute;
  top: 14px; right: -2px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  font-weight: bold;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}

.project-type {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ptag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(42,37,56,0.5);
  letter-spacing: 0.06em;
}

.ptag-live {
  color: var(--green);
  border-color: rgba(0, 255, 200, 0.45);
  background: rgba(0, 255, 200, 0.08);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.ptag-live:hover {
  background: rgba(0, 255, 200, 0.22);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
  transform: translateY(-2px);
}

.project-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-green  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-yellow { background: #FFD700; box-shadow: 0 0 6px rgba(255,215,0,0.6); animation: blink 2s ease-in-out infinite; }

/* ============================================================
   EDUCATION SECTION
   ============================================================ */
.section-education { background: var(--bg-primary); }

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

.timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--border));
}

.timeline-item {
  position: relative;
  padding-left: 54px;
  margin-bottom: 2.5rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 28px;
  width: 18px; height: 18px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 12px var(--gold-glow);
}

.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tc-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.tc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.tc-degree {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.tc-institution {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.tc-period {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.tc-gpa {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.gpa-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}
.gpa-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.gpa-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(0,255,200,0.1);
  border: 1px solid var(--green);
  color: var(--green);
  letter-spacing: 0.1em;
}

.tc-detail {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.section-contact { background: var(--bg-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-quote {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--gold);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.contact-links { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
}
.contact-link:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateX(6px);
}

.cl-icon {
  font-size: 1.4rem;
  color: var(--gold);
  width: 36px;
  text-align: center;
}
.cl-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.cl-val {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Contact Form */
.form-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(42,37,56,0.4);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}
.form-input::placeholder { color: rgba(138,122,98,0.5); }

.form-textarea { min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-quote {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.footer-copy { font-size: 0.85rem; color: var(--text-secondary); }

/* Footer Replay Button */
.footer-replay-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0;
}
.btn-replay-footer {
  background: rgba(17, 17, 34, 0.4);
  border: 1px dashed rgba(200, 169, 85, 0.4);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-replay-footer:hover {
  border-style: solid;
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 85, 0.1);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: translateY(-1px);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section-hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .cypher-frame { max-width: 380px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { display: inline-flex; }
  .hero-quote { text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .interest-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-name { font-size: 2rem; }
  .interest-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { display: none; }
}

/* ============================================================
   STAGGER ANIMATION FOR PROJECT CARDS
   ============================================================ */
.project-card:nth-child(1) { transition-delay: 0.05s; }
.project-card:nth-child(2) { transition-delay: 0.15s; }
.project-card:nth-child(3) { transition-delay: 0.25s; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection { background: var(--gold-glow); color: var(--gold); }
