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

:root {
  --gold:        #EF9F27;
  --gold-light:  #FAC775;
  --gold-dim:    #BA7517;
  --gold-dark:   #633806;
  --bg:          #090c0f;
  --bg2:         #0d1117;
  --bg3:         #111820;
  --card:        #131b24;
  --card2:       #1a2535;
  --border:      #1e2d3d;
  --border-gold: rgba(239,159,39,0.3);
  --text:        #e8eaf0;
  --muted:       #6b7a8d;
  --blue:        #378ADD;
  --blue-dim:    #185FA5;
  --teal:        #1D9E75;
  --teal-dim:    #0F6E56;
  --green:       #5DCAA5;
  --red:         #E24B4A;
  --mono:        'Share Tech Mono', monospace;
  --heading:     'Exo 2', sans-serif;
  --body:        'Rajdhani', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ──────────────────────────────────────────────
   SCROLL ANIMATION CLASSES
   Elements start hidden; JS adds .is-visible
────────────────────────────────────────────── */

/* Fade up — default */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fade-in.is-visible { opacity: 1; }

/* Slide from left */
.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom in */
.zoom-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Achievement card pop */
.achievement-card {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
              transform 0.55s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s,
              background 0.25s,
              box-shadow 0.25s;
}
.achievement-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Skill node flip-in */
.skill-node {
  opacity: 0;
  transform: rotateY(25deg) translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              transform 0.5s cubic-bezier(0.16,1,0.3,1),
              border-color 0.2s,
              background 0.2s;
}
.skill-node.is-visible {
  opacity: 1;
  transform: rotateY(0deg) translateY(0);
}

/* Section header line draw */
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.section-line.is-visible { transform: scaleX(1); }

/* Section tag + title */
.section-tag, .section-title {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-tag.is-visible,
.section-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,12,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-light);
}

.nav-logo-text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(239,159,39,0.06);
}

.nav-xp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.nav-xp-label { color: var(--gold); }

.nav-xp-bar {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.nav-xp-fill {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 2px;
  animation: xp-pulse 3s ease-in-out infinite;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,159,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,159,39,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

.hero-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(239,159,39,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-breathe 6s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

.hero-inner {
  max-width: 960px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Hero left — staggered entrance */
.hero-left { animation: fade-up-hero 0.9s 0.1s cubic-bezier(0.16,1,0.3,1) both; }
.player-card { animation: fade-up-hero 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes fade-up-hero {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero-name span { color: var(--gold); }

.hero-title {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title strong { color: var(--teal); }

.hero-desc {
  font-size: 15px;
  color: #8a9bb0;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 6px;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0802;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239,159,39,0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(239,159,39,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── PLAYER CARD ── */
.player-card {
  background: var(--card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.player-card-glow-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.player-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.player-avatar {
  width: 56px; height: 56px;
  background: var(--gold-dark);
  border: 2px solid var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}

.player-card:hover .player-avatar {
  box-shadow: 0 0 16px rgba(239,159,39,0.4);
}

.player-info-name {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.player-info-class {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.player-level-badge {
  margin-left: auto;
  text-align: center;
}

.level-num {
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.level-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.stat-row { margin-bottom: 12px; }

.stat-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}

.stat-label span:last-child { color: var(--gold-light); }

.stat-bar {
  height: 5px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}

.stat-fill.gold { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.stat-fill.blue { background: linear-gradient(90deg, var(--blue-dim), var(--blue)); }
.stat-fill.teal { background: linear-gradient(90deg, var(--teal-dim), var(--teal)); }
.stat-fill.red  { background: linear-gradient(90deg, #993535, var(--red)); }

.player-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xp-section label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 5px;
}

.xp-bar-outer {
  width: 140px;
  height: 6px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
}

.xp-bar-inner {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 3px;
  animation: xp-pulse 3s ease-in-out infinite;
  transition: width 1.6s cubic-bezier(0.16,1,0.3,1);
}

.location-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
  display: inline-block;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fade-in-delayed 1s 1.5s ease forwards;
}

@keyframes fade-in-delayed {
  to { opacity: 1; }
}

.scroll-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ── SECTIONS ── */
.content-section {
  padding: 5rem 2rem;
  max-width: 1020px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2.5rem;
}

.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  white-space: nowrap;
}

.section-title {
  font-family: var(--heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── ACHIEVEMENTS ── */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.achievement-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.achievement-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239,159,39,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.achievement-card:hover {
  border-color: var(--border-gold);
  background: var(--card2);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 36px rgba(239,159,39,0.1);
}

.achievement-card:hover::after { opacity: 1; }

.achievement-card.locked {
  opacity: 0.35;
  filter: grayscale(1);
  pointer-events: none;
}

.ach-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.achievement-card:hover .ach-icon { transform: scale(1.1) rotate(-5deg); }

.ach-icon.gold { background: rgba(239,159,39,0.12); border: 1px solid rgba(239,159,39,0.3); }
.ach-icon.blue { background: rgba(55,138,221,0.12); border: 1px solid rgba(55,138,221,0.3); }
.ach-icon.teal { background: rgba(29,158,117,0.12); border: 1px solid rgba(29,158,117,0.3); }
.ach-icon.red  { background: rgba(226,75,74,0.12);  border: 1px solid rgba(226,75,74,0.3);  }

.ach-name {
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ach-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.ach-xp {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
}

.ach-rarity {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
}

.rarity-legendary { background: rgba(239,159,39,0.15); color: var(--gold); }
.rarity-epic      { background: rgba(55,138,221,0.15); color: var(--blue); }
.rarity-rare      { background: rgba(29,158,117,0.15); color: var(--teal); }
.rarity-common    { background: rgba(107,122,141,0.15); color: var(--muted); }

/* ── QUEST LOG ── */
.quest-log {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quest-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s,
              opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.quest-item:hover {
  border-color: var(--border-gold);
  box-shadow: 0 6px 28px rgba(239,159,39,0.07);
}

.quest-header {
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.quest-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 4px;
  flex-shrink: 0;
}

.status-active   { background: rgba(29,158,117,0.15); color: var(--teal); border: 1px solid rgba(29,158,117,0.3); }
.status-complete { background: rgba(239,159,39,0.12); color: var(--gold-dim); border: 1px solid rgba(239,159,39,0.25); }

.quest-info { flex: 1; }

.quest-title {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.quest-company {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.quest-meta { text-align: right; flex-shrink: 0; }

.quest-xp {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--gold);
  font-weight: 700;
}

.quest-period {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}

.quest-objectives {
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}

.objective {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 14px;
  color: #8a9bb0;
  line-height: 1.6;
}

.obj-check {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: rgba(29,158,117,0.15);
  border: 1px solid var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--teal);
  font-family: var(--mono);
}

.obj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ── SKILL TREE ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  perspective: 600px;
}

.skill-node {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: default;
}

.skill-node:hover {
  border-color: var(--border-gold);
  background: var(--card2);
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(239,159,39,0.1);
}

.skill-node.maxed { border-color: rgba(239,159,39,0.35); }

.skill-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.skill-name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.skill-pips {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.pip {
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.pip.filled-gold { background: var(--gold); }
.pip.filled-blue { background: var(--blue); }
.pip.filled-teal { background: var(--teal); }

.skill-node:hover .pip.filled-gold,
.skill-node:hover .pip.filled-blue,
.skill-node:hover .pip.filled-teal {
  transform: scale(1.2);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.88);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s,
              opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.contact-card.is-visible {
  opacity: 1;
  transform: scale(1);
}

.contact-card:hover {
  border-color: var(--border-gold);
  background: var(--card2);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(239,159,39,0.1);
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(239,159,39,0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(-6deg);
}

.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 2rem;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
}

footer span { color: var(--gold); }

/* ── TOAST ── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--card2);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  animation: toast-slide-in 0.4s cubic-bezier(0.16,1,0.3,1) both;
  max-width: 320px;
}

.toast-icon { font-size: 22px; }

.toast-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.toast-body {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* ── KEYFRAMES ── */
@keyframes xp-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.65; }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(40px) scale(0.94); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-slide-out {
  from { opacity: 1; transform: scale(1); max-height: 100px; }
  to   { opacity: 0; transform: scale(0.9); max-height: 0; margin: 0; padding: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .hero-inner        { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid      { grid-template-columns: 1fr; }
  .nav-links         { display: none; }
  .nav-xp            { display: none; }
  .quest-meta        { display: none; }
  .achievements-grid { grid-template-columns: 1fr; }
}
