@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap');

:root {
  --content-max: 1180px;
  --bg: #05010b;
  --bg-panel: rgba(9, 7, 27, 0.9);
  --bg-panel-strong: rgba(16, 10, 38, 0.9);
  --grid: rgba(255, 34, 150, 0.15);
  --accent: #ff1ef8;
  --accent-2: #01f1ff;
  --accent-3: #f0ff4f;
  --text-main: #fefefe;
  --text-soft: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.55);
  --border-glow: rgba(1, 241, 255, 0.6);
  --shadow-neon: 0 0 25px rgba(1, 241, 255, 0.4);
  --card-radius: 28px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' type='fractalNoise'/%3E%3C/filter%3E%3Crect width='64' height='64' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

html.preloading {
  overflow: hidden;
}

html.preloading body {
  opacity: 0;
  visibility: hidden;
}

html.preloading * {
  transition: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(1, 241, 255, 0.25), transparent 45%),
    radial-gradient(circle at 20% 30%, rgba(255, 30, 248, 0.25), transparent 50%),
    linear-gradient(135deg, rgba(6, 2, 20, 0.95), rgba(3, 1, 10, 0.95));
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 95%, rgba(255, 255, 255, 0.08) 95%), linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.05) 95%);
  background-size: 100% 24px, 32px 100%;
  opacity: 0.08;
  z-index: -2;
}

.pixel-rain {
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  animation: shimmer 12s linear infinite;
}

.matrix-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  z-index: 0;
  opacity: 0.6;
}

.matrix-stream {
  position: absolute;
  top: -40%;
  white-space: pre;
  font-family: 'Orbitron', 'Space Grotesk', monospace;
  font-size: clamp(0.65rem, 1vw, 0.9rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--matrix-color, rgba(255, 255, 255, 0.9));
  text-shadow:
    0 0 20px rgba(255, 30, 248, 0.85),
    0 0 30px rgba(1, 241, 255, 0.55),
    0 0 38px rgba(255, 30, 248, 0.65);
  animation: matrixDrop var(--matrix-speed, 10s) linear infinite;
  opacity: 0.85;
}

@keyframes shimmer {
  0% { transform: translateY(0); }
  100% { transform: translateY(10%); }
}

@keyframes matrixDrop {
  0% { transform: translateY(-10%); opacity: 0; }
  10% { opacity: 0.35; }
  100% { transform: translateY(110%); opacity: 0; }
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-3);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
}

.site-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
}

.site-glow,
.glow-1,
.glow-2,
.glow-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: screen;
}

.neon-edge {
  position: fixed;
  top: 4%;
  bottom: 4%;
  width: 18px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(1, 241, 255, 0), rgba(1, 241, 255, 0.85), rgba(255, 30, 248, 0));
  box-shadow:
    0 0 25px rgba(255, 30, 248, 0.45),
    0 0 45px rgba(1, 241, 255, 0.45);
}

.neon-edge-left {
  left: 2%;
}

.neon-edge-right {
  right: 2%;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 30, 248, 0.45);
  top: 10%;
  left: -60px;
}

.glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(1, 241, 255, 0.4);
  bottom: 15%;
  right: -80px;
}

.glow-3 {
  width: 240px;
  height: 240px;
  background: rgba(240, 255, 79, 0.35);
  bottom: 35%;
  left: 15%;
}

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-family: 'Orbitron', 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--accent-3);
  text-shadow: 0 0 20px rgba(240, 255, 79, 0.6);
}

.section p {
  color: var(--text-soft);
  line-height: 1.6;
}

.tag,
.wiki-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  background: rgba(255, 30, 248, 0.12);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(5, 3, 20, 0.85), rgba(8, 4, 30, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 30px rgba(0, 0, 0, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--accent-3);
  text-shadow: 0 0 18px rgba(255, 30, 248, 0.75);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(1, 241, 255, 0.6);
  color: var(--accent-2);
  box-shadow: 0 0 14px rgba(1, 241, 255, 0.45);
}

.nav-links.nav-refreshing {
  animation: navRefresh 0.35s ease;
}

@keyframes navRefresh {
  0% { transform: scaleY(0.92); opacity: 0.4; }
  70% { transform: scaleY(1.04); opacity: 1; }
  100% { transform: scaleY(1); opacity: 1; }
}

.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% 10% auto;
  height: 65%;
  background: radial-gradient(circle at center, rgba(255, 30, 248, 0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.hero-right {
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 30, 248, 0.25), rgba(1, 241, 255, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pill-label {
  font-size: 0.8rem;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-shadow:
    0 0 25px rgba(1, 241, 255, 0.45),
    0 0 35px rgba(255, 30, 248, 0.45);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-cta {
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(120deg, rgba(255, 30, 248, 0.3), rgba(1, 241, 255, 0.25));
  box-shadow: 0 0 22px rgba(255, 30, 248, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 25px rgba(255, 30, 248, 0.5),
    0 15px 30px rgba(0, 0, 0, 0.4);
}

.hero-cta-linkedin {
  background: linear-gradient(120deg, rgba(1, 241, 255, 0.4), rgba(60, 179, 255, 0.35));
}

.hero-photo-card {
  position: relative;
  border-radius: var(--card-radius);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(10, 8, 33, 0.9), rgba(7, 4, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 45px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 30, 248, 0.35);
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero-photo {
  border-radius: calc(var(--card-radius) - 10px);
  width: 100%;
}

.pill-row {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2.5rem;
  align-items: center;
}

.pill-card {
  display: block;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(5, 8, 45, 0.95), rgba(23, 5, 36, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-neon);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: min(420px, 100%);
  margin-inline: auto;
  text-align: center;
}

.pill-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 25px rgba(255, 30, 248, 0.4),
    0 12px 30px rgba(0, 0, 0, 0.5);
}

.grid {
  display: grid;
  gap: 1.5rem;
  justify-items: stretch;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-veille {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.grid-veille .card {
  padding: 1rem;
  min-height: 100%;
}

.grid-veille .card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.grid-veille .card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.grid-veille .source-link {
  padding: 0.5rem 0.7rem;
}

.grid-veille .source-label {
  font-size: 0.72rem;
}

.grid-veille .source-cta {
  font-size: 0.78rem;
}

@media (min-width: 1120px) {
  .hero-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-veille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem;
  border-radius: var(--card-radius);
  background: linear-gradient(145deg, rgba(8, 5, 25, 0.92), rgba(15, 6, 34, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--card-radius) - 7px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  mix-blend-mode: screen;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(1, 241, 255, 0.06), rgba(255, 30, 248, 0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card > * {
  position: relative;
  z-index: 2;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 241, 255, 0.4);
  box-shadow:
    0 0 35px rgba(1, 241, 255, 0.3),
    0 30px 60px rgba(0, 0, 0, 0.5);
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
  color: var(--accent-2);
}

.card p {
  color: var(--text-soft);
}

.project-card {
  border: 1px solid rgba(1, 241, 255, 0.18);
  cursor: pointer;
}

.card.project-card .small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 30, 248, 0.12);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.source-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.65rem 0.9rem;
  border-radius: 18px;
  background: rgba(8, 18, 48, 0.7);
  border: 1px solid rgba(1, 241, 255, 0.25);
  box-shadow: inset 0 0 18px rgba(255, 30, 248, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.source-link:last-of-type {
  margin-bottom: 0;
}

.source-link:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 255, 79, 0.7);
  box-shadow: 0 0 20px rgba(240, 255, 79, 0.3);
}

.source-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.source-cta {
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.06em;
}

.live-feed {
  background: radial-gradient(circle at center, rgba(255, 30, 248, 0.08), rgba(0, 0, 0, 0.95));
  padding: 4rem 0;
}

.live-feed-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.live-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.live-card {
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  background: rgba(5, 11, 37, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(1, 241, 255, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 30px rgba(1, 241, 255, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.live-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.live-card-rate {
  font-size: 0.7rem;
  color: var(--accent-2);
}

.live-card-value {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.2rem 0 0;
  color: var(--accent-3);
  text-shadow: 0 0 18px rgba(240, 255, 79, 0.5);
}

.competence-tabs {
  margin-top: 2rem;
}

.competence-tab-panels {
  margin-top: 1.5rem;
}

.competence-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tab-btn {
  padding: 0.75rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 5, 25, 0.9);
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tab-btn.active {
  border-color: rgba(1, 241, 255, 0.65);
  color: var(--accent-2);
  box-shadow: 0 0 14px rgba(1, 241, 255, 0.35);
}

.tab-panel {
  display: none;
  margin-top: 1.6rem;
}

.tab-panel.active {
  display: block;
}

.cv-frame {
  position: relative;
  margin-top: 2rem;
  border-radius: 24px;
  background: rgba(8, 6, 30, 0.9);
  border: 1px solid rgba(1, 241, 255, 0.3);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 30, 248, 0.25);
}

.cv-view {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
  filter: grayscale(0.1);
}

.cv-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  background: rgba(5, 0, 15, 0.8);
  color: var(--text-main);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cv-instruction {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.cv-access-note,
.cv-code-error {
  font-size: 0.85rem;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cv-code-error {
  color: #ff5e7d;
}

.cv-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cv-modal,
.project-modal,
.wiki-modal,
.live-stat-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  z-index: 400;
}

.cv-modal.open,
.project-modal.open,
.wiki-modal.open,
.live-stat-modal.open {
  display: flex;
}

.project-backdrop,
.wiki-backdrop,
.live-stat-backdrop,
.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 0, 8, 0.65);
  border-radius: inherit;
}

.cv-modal-dialog,
.project-dialog,
.wiki-dialog,
.live-stat-dialog {
  background: rgba(8, 5, 25, 0.96);
  border-radius: 24px;
  border: 1px solid rgba(1, 241, 255, 0.4);
  padding: 1.8rem;
  width: min(90vw, 640px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(1, 241, 255, 0.35);
  color: var(--text-main);
}

.cv-modal-dialog h2 {
  margin: 0 0 0.5rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.cv-modal-dialog p {
  margin-top: 0;
  color: var(--text-soft);
}

.project-dialog-header,
.wiki-dialog-header,
.live-stat-dialog-header {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent-2);
}

.project-close,
.wiki-close,
.live-stat-close,
.cv-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-main);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.project-close:hover,
.wiki-close:hover,
.live-stat-close:hover,
.cv-modal-close:hover {
  border-color: rgba(1, 241, 255, 0.9);
}

.project-dialog-body,
.wiki-dialog-body,
.live-stat-dialog-body {
  color: var(--text-soft);
  line-height: 1.7;
}

.wiki-dialog-description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.wiki-dialog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 16px;
  background: rgba(1, 241, 255, 0.15);
  color: var(--accent-2);
  text-transform: uppercase;
  border: 1px dashed rgba(1, 241, 255, 0.4);
}

.wiki-dialog-cta-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.wiki-dialog-article {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wiki-dialog-cta span {
  color: var(--text-main);
}

.cv-code-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  font-size: 1rem;
  padding: 0.8rem;
  border-radius: 14px;
  width: 100%;
}

.cv-code-form button {
  margin-top: 0.9rem;
  width: 100%;
  padding: 0.85rem;
  border-radius: 14px;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(1, 241, 255, 0.4), rgba(255, 30, 248, 0.4));
  color: var(--text-main);
  cursor: pointer;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

.table th {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.burger {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .burger span {
    width: 26px;
    height: 2px;
    background: var(--text-main);
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 1.25rem;
  }
}

/* Loading splash */
.loading-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030108;
  z-index: 999;
}

.loading-splash::before,
.loading-splash::after {
  content: "";
  position: absolute;
  width: 220%;
  height: 220%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(255, 30, 248, 0.3), rgba(1, 241, 255, 0.05), rgba(255, 30, 248, 0.3));
  animation: splashSpin 6s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.35;
}

.loading-splash::after {
  animation-direction: reverse;
  opacity: 0.15;
}

.loading-core {
  padding: 2rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(1, 241, 255, 0.4);
  background: rgba(5, 2, 12, 0.9);
  text-align: center;
  box-shadow: 0 0 40px rgba(1, 241, 255, 0.35);
}

.loading-splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-title {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.loading-bar {
  margin-top: 1.2rem;
  height: 4px;
  width: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loading-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 30, 248, 0.8), rgba(1, 241, 255, 0.8));
  animation: loadingMove 1.4s infinite;
}

.loading-legend {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes loadingMove {
  0% { width: 0; }
  50% { width: 80%; }
  100% { width: 0; }
}

@keyframes splashSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
