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

:root {
  --bg-deep: #060010;
  --bg-panel: rgba(12, 4, 28, 0.75);
  --cyan: #00f5ff;
  --magenta: #ff2d95;
  --gold: #ffd166;
  --purple: #9d4edd;
  --green: #39ff14;
  --text: #e8e0f0;
  --text-dim: #9a8fb0;
  --border: rgba(0, 245, 255, 0.25);
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.4), 0 0 60px rgba(0, 245, 255, 0.15);
  --glow-magenta: 0 0 20px rgba(255, 45, 149, 0.4);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--cyan) var(--bg-deep);
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ── Background layers ── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.4;
}

/* ── HUD header ── */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, rgba(6, 0, 16, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}

.hud__logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

.hud__logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: var(--bg-deep);
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}

.hud__nav {
  display: flex;
  gap: 2rem;
}

.hud__nav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  position: relative;
}

.hud__nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
  box-shadow: var(--glow-cyan);
}

.hud__nav a:hover { color: var(--cyan); }
.hud__nav a:hover::after { width: 100%; }

.hud__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.lang-switch__btn {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lang-switch__btn:hover {
  color: var(--cyan);
}

.lang-switch__btn.is-active {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: var(--glow-cyan);
}

.hud__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── Layout ── */
main { position: relative; z-index: 2; }

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section__header { margin-bottom: 3rem; }

.section__tag {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--magenta);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--text), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero__badge {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 209, 102, 0.4);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.glitch {
  position: relative;
  display: inline-block;
  color: var(--text);
  text-shadow: var(--glow-cyan);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--cyan);
  animation: glitch1 4s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
  color: var(--magenta);
  animation: glitch2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
}

@keyframes glitch2 {
  0%, 88%, 100% { transform: translate(0); }
  90% { transform: translate(3px, 1px); }
  93% { transform: translate(-2px, -1px); }
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero__intro {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero__intro strong { color: var(--text); }
.hero__intro em { color: var(--cyan); font-style: normal; }

.hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  min-width: 110px;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 209, 102, 0.5);
}

.stat-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.stat-card--open {
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.06);
}

.stat-card--open .stat-card__value {
  color: var(--green);
  font-size: 1.5rem;
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.45);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg-deep);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  animation: fadeUp 0.8s 0.5s ease both;
  box-shadow: var(--glow-cyan);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.6), 0 0 80px rgba(157, 78, 221, 0.3);
  color: var(--bg-deep);
}

.btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20%, 100% { left: 150%; }
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  font-size: 0.7rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn--ghost:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  animation: fadeUp 1s 1s ease both;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(160deg, rgba(157, 78, 221, 0.3), rgba(0, 245, 255, 0.15));
  border: 1px solid var(--border);
  overflow: hidden;
}

.portrait-frame__avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(1.05) contrast(1.02);
}

.portrait-frame__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--cyan);
  border-style: solid;
}

.portrait-frame__corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.portrait-frame__corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.portrait-frame__corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.portrait-frame__corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.xp-bar { margin-top: 1.25rem; }

.xp-bar__label {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.xp-bar__track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
}

.xp-bar__fill {
  height: 100%;
  width: 87%;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--gold));
  animation: xpPulse 3s ease-in-out infinite;
  box-shadow: 0 0 10px var(--cyan);
}

@keyframes xpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.about__lead {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about__lead strong { color: var(--cyan); }

.about__content p { color: var(--text-dim); margin-bottom: 1rem; }

.about__meta {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about__meta li {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.about__meta-label {
  display: block;
  font-family: var(--font-pixel);
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.about__meta-value--open {
  color: var(--green);
  font-weight: 600;
}

.about__scopely-note {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin: -0.5rem 0 1.25rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(0, 245, 255, 0.25);
  background: rgba(0, 245, 255, 0.05);
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.about__block-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
}

.about__highlights {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about__highlight {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.about__highlight-stat {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.45);
  line-height: 1.2;
}

.about__highlight-text {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.5;
}

.about__timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(0, 245, 255, 0.25);
  margin-left: 0.35rem;
  padding-left: 1.25rem;
}

.about__timeline li {
  position: relative;
  padding: 0 0 1.35rem 0;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.5;
}

.about__timeline li::before {
  content: "";
  position: absolute;
  left: -1.42rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.about__timeline li:last-child { padding-bottom: 0; }

.about__timeline-when {
  display: block;
  font-family: var(--font-pixel);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  color: var(--magenta);
  margin-bottom: 0.25rem;
}

.about__timeline strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.about__timeline span:last-child { display: block; }

.about__skill-group-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.about__skill-group-label:first-of-type {
  margin-top: 0.75rem;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.skill-list li span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(157, 78, 221, 0.5);
  color: var(--purple);
  background: rgba(157, 78, 221, 0.1);
  transition: all var(--transition);
}

.skill-list li span:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ── Projects ── */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--cyan));
  opacity: 0.8;
}

.project-card[data-theme="pixel"] { --accent: #00f5ff; }
.project-card[data-theme="web"] { --accent: #ff2d95; }
.project-card[data-theme="saas"] { --accent: #ffd166; }
.project-card[data-theme="qa"] { --accent: #9d4edd; }
.project-card[data-theme="mobile"] { --accent: #39ff14; }
.project-card[data-theme="arcade"] { --accent: #ff6b35; }
.project-card[data-theme="ai"] { --accent: #00d4aa; }
.project-card[data-theme="game3d"] { --accent: #e63946; }
.project-card[data-theme="io"] { --accent: #06d6a0; }

.project-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent, var(--cyan)), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent, var(--cyan));
}

.project-card.is-open,
.project-card.is-open:hover {
  transform: none;
}

.project-card:hover .project-card__glow { opacity: 0.12; }

.project-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--accent, var(--cyan)));
}

.project-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
}

.badge--live {
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.5);
  background: rgba(57, 255, 20, 0.08);
  animation: livePulse 2s ease-in-out infinite;
}

.badge--soon {
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.5);
  background: rgba(255, 209, 102, 0.08);
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(57, 255, 20, 0); }
  50% { box-shadow: 0 0 12px rgba(57, 255, 20, 0.4); }
}

.project-card__desc {
  flex: 1;
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.project-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.project-card__tags li {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.project-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--cyan));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.project-card__toggle:hover,
.project-card__toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent, var(--cyan));
  outline: none;
}

.project-card__toggle-icon {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.project-card.is-open .project-card__toggle-icon {
  transform: rotate(-135deg) translateY(2px);
}

.project-card.is-open {
  border-color: var(--accent, var(--cyan));
}

.project-card.is-open .project-card__glow {
  opacity: 0.14;
}

.project-card__details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: projectDetailsIn 0.35s ease;
}

@keyframes projectDetailsIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card__features-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--cyan));
  margin-bottom: 0.75rem;
}

.project-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.project-card__features li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.project-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 6px var(--accent, var(--cyan));
}

.project-card__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.project-card__soon {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.85;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Contact ── */
.contact__panel {
  padding: 3rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.contact__panel p {
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(0, 245, 255, 0.05);
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

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

.contact-chip__arrow { transition: transform var(--transition); }
.contact-chip:hover .contact-chip__arrow { transform: translateX(4px); }

.contact__footer {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.blink { animation: blink 1s step-end infinite; }

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

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__sep { opacity: 0.3; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hud { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 0.75rem; }
  .hud__nav { display: none; }
  .hud__actions { margin-left: auto; gap: 0.65rem; }
  .hud__status { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 280px; margin: 0 auto; width: 100%; }
  .about__highlight { grid-template-columns: 2.75rem 1fr; gap: 0.75rem; }
  .projects__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 0.75rem; }
  .stat-card { min-width: 90px; padding: 0.75rem 1rem; }
  .contact__panel { padding: 2rem 1.25rem; }
}

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