:root {
  --bg: #020202;
  --surface: #0b0b0b;
  --surface-2: #111111;
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --text-strong: #f1f1f1;
  --text-soft: #d3d3d3;
  --line: #1f1f1f;
  --accent: #e11a2d;
  --accent-soft: rgba(225, 26, 45, 0.2);
  --header-bg: rgba(5, 5, 5, 0.85);
  --control-bg: #171717;
  --control-border: #2f2f2f;
  --panel-bg: rgba(255, 255, 255, 0.01);
  --panel-bg-strong: #121212;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: 92px;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.44;
}

.cursor-light {
  position: fixed;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 26, 45, 0.09), rgba(225, 26, 45, 0));
  filter: blur(28px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.bg-glow-left {
  background: #7e0e1a;
  top: -140px;
  left: -100px;
}

.bg-glow-right {
  background: #470f9b;
  top: -130px;
  right: -120px;
}

.hero-orb {
  position: fixed;
  right: clamp(36px, 8vw, 120px);
  top: clamp(120px, 26vh, 280px);
  width: clamp(190px, 24vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: -1;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 75, 95, 0.24), rgba(255, 75, 95, 0) 58%),
    radial-gradient(circle at 64% 66%, rgba(120, 28, 42, 0.5), rgba(56, 8, 16, 0.32) 62%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(circle, rgba(88, 12, 23, 0.3), rgba(38, 6, 11, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(160, 30, 49, 0.2),
    0 0 0 10px rgba(120, 17, 30, 0.06),
    0 0 60px rgba(92, 17, 27, 0.26);
  animation: orbPulse 4s ease-in-out infinite;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(8px);
}

.header-wrap {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: 1rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  gap: 1.4rem;
  justify-self: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a.active {
  color: var(--text);
}

.header-utils {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.util-link,
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.util-link:hover,
.theme-toggle:hover {
  border-color: #3a3a3a;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.theme-toggle iconify-icon,
.util-link iconify-icon {
  font-size: 1.1rem;
}

.hero {
  padding: 7.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: block;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff4a5d;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  line-height: 1.08;
  max-width: 13ch;
}

#hero-rotating-word {
  background: linear-gradient(90deg, #ff5b6b, #f3a0ff, #7aa3ff, #ff5b6b);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
  transition: opacity 0.2s ease;
}

.lead {
  color: var(--muted);
  max-width: 66ch;
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.hero-stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-stats article {
  border: 1px solid #232323;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 0.7rem 0.8rem;
}

.hero-stats strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s ease, opacity 0.18s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-secondary {
  border-color: var(--control-border);
  color: var(--text-soft);
  background: transparent;
}

.section {
  padding: 4.1rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  margin: 0;
  color: #c42a38;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

h2 {
  margin: 0.7rem 0 2rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin: 0;
  font-size: 1.12rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.skill-card,
.xp-card,
.principles-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
  padding: 1.05rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.feature-card p,
.skill-card p,
.principles-grid article p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.expertise-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2.2rem;
}

.expertise-block {
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.01);
  padding: 0.95rem;
}

.expertise-block h3 {
  margin: 0 0 0.85rem;
  color: #cb3a46;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 0.7rem;
}

.tech-item {
  text-align: center;
  position: relative;
  padding-bottom: 0.45rem;
}

.tech-item span {
  display: block;
  font-size: 0.66rem;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
  min-height: 1.6em;
}

.tech-item iconify-icon {
  font-size: 1.9rem;
  color: var(--text-strong);
}

.tech-item::after {
  content: "";
  display: block;
  width: 76%;
  height: 3px;
  border-radius: 999px;
  margin: 0.45rem auto 0;
  background: linear-gradient(90deg, var(--bar-color), rgba(255, 255, 255, 0.12));
}

.pro-skills-toggle {
  margin-top: 1.15rem;
  border: 1px solid var(--control-border);
  background: var(--panel-bg-strong);
  color: var(--text-strong);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.pro-skills-panel {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-bg);
  padding: 1rem;
}

.pro-skills-intro {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.pro-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.pro-skill-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  border-radius: 10px;
  padding: 0.7rem;
}

.pro-skill-card iconify-icon {
  color: #df2d3e;
  font-size: 1.1rem;
}

.pro-skill-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.pro-skill-card span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e43142 var(--fill), var(--control-border) var(--fill));
}

.feature-card:hover,
.skill-card:hover,
.xp-card:hover,
.principles-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--control-border);
  background-color: rgba(255, 255, 255, 0.02);
}

.skills-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.principles-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.principles-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--text-soft);
  font-size: 0.82rem;
  padding: 0.36rem 0.72rem;
  cursor: pointer;
}

.principles-tab iconify-icon {
  font-size: 0.95rem;
}

.principles-tab.active {
  background: #e11a2d;
  border-color: #e11a2d;
  color: #fff;
}

.principles-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.principle-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-bg);
  padding: 0.85rem;
}

.principle-item h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  margin: 0;
}

.principle-item h3 iconify-icon {
  color: #dc2b3d;
  font-size: 1rem;
}

.principle-item p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.career-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.career-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.1rem;
  align-items: start;
}

.career-date {
  position: relative;
  padding-left: 22px;
  min-height: 100%;
}

.career-date::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.2rem;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(180deg, rgba(255, 82, 104, 0.45), rgba(255, 82, 104, 0.05));
}

.career-item:last-child .career-date::before {
  height: 70%;
}

.career-date::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.56rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 140, 0.95), rgba(208, 38, 57, 0.7));
  box-shadow: 0 0 0 4px rgba(230, 38, 61, 0.16);
}

.date-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(225, 26, 45, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--text-strong);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, rgba(225, 26, 45, 0.16), rgba(225, 26, 45, 0.05));
}

.career-card {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
}

.xp-company-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.company-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #262626;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.xp-company-row h3 {
  margin: 0;
  font-size: 1.16rem;
}

.career-card ul {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.career-card:hover {
  border-color: var(--control-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.xp-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

ul {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  color: var(--text-soft);
}

li + li {
  margin-top: 0.42rem;
}

.contact-links {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-links a {
  border: 1px solid var(--control-border);
  border-radius: 10px;
  padding: 0.62rem 0.9rem;
  color: var(--text-strong);
  background: var(--surface-2);
}

.contact-links a:hover {
  border-color: var(--text-soft);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border: 1px solid #ff5565;
  z-index: 40;
}

.site-footer p {
  margin: 0;
  padding: 1.1rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky-contact-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.45rem;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  animation: floatBar 3.8s ease-in-out infinite;
  overflow-x: auto;
  scrollbar-width: none;
}

.sticky-contact-bar::-webkit-scrollbar {
  display: none;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #17d164;
  box-shadow: 0 0 10px rgba(23, 209, 100, 0.7);
  margin-left: 0.35rem;
}

.status-label {
  font-size: 0.83rem;
  color: var(--text-soft);
  margin-right: 0.2rem;
}

.sticky-btn {
  border: 1px solid var(--control-border);
  color: var(--text-strong);
  font-size: 0.83rem;
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  background: var(--control-bg);
  white-space: nowrap;
  flex: 0 0 auto;
}

.sticky-btn:hover {
  border-color: var(--text-soft);
}

.sticky-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.see-more-btn {
  margin-top: 0.95rem;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--text-strong);
  border-radius: 999px;
  padding: 0.33rem 0.72rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.see-more-btn:hover {
  border-color: #5b5b5b;
}

.role-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 1rem;
}

.role-modal-backdrop.open {
  display: flex;
}

.role-modal {
  width: min(760px, 96vw);
  max-height: 84vh;
  overflow: auto;
  border: 1px solid #2b2b2b;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f0f0f, #0a0a0a);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

.role-modal-header {
  position: sticky;
  top: 0;
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.role-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.role-modal-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.role-modal-close {
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--text-strong);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}

.role-modal-body {
  padding: 1rem 1.1rem 1.2rem;
}

.role-modal-body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.62;
}

.role-modal-body li + li {
  margin-top: 0.65rem;
}

.education-timeline {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 0.45rem;
}

.education-date {
  position: relative;
  padding-left: 18px;
  padding-top: 0.25rem;
}

.education-date::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.2rem;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(119, 200, 255, 0.45), rgba(119, 200, 255, 0.08));
}

.education-date::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.56rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 220, 255, 0.95), rgba(47, 158, 212, 0.75));
  box-shadow: 0 0 0 4px rgba(72, 164, 214, 0.18);
}

.education-card {
  padding: 1rem 1.05rem;
}

.education-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.education-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #2b2b2b;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
}

.education-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.education-points {
  margin-top: 0.8rem;
  border-top: 1px solid #232323;
  padding-top: 0.72rem;
}

@media (max-width: 980px) {
  .cards-3,
  .skills-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .expertise-layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pro-skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principles-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout {
    display: block;
  }

  .hero-orb {
    right: 18px;
    top: 150px;
    width: clamp(150px, 34vw, 220px);
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .career-date {
    padding-left: 0;
  }

  .career-date::before,
  .career-date::after {
    display: none;
  }

  .education-timeline {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .education-date {
    padding-left: 0;
  }

  .education-date::before,
  .education-date::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-wrap {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand utils"
      "nav nav";
    row-gap: 0.65rem;
    padding: 0.7rem 0;
  }

  .brand {
    grid-area: brand;
  }

  .header-utils {
    grid-area: utils;
  }

  .nav {
    grid-area: nav;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pro-skills-grid {
    grid-template-columns: 1fr;
  }

  .principles-cards {
    grid-template-columns: 1fr;
  }

  .sticky-contact-bar {
    width: calc(100% - 16px);
    max-width: none;
    border-radius: 12px;
    bottom: 10px;
    justify-content: flex-start;
    padding: 0.48rem;
    flex-wrap: nowrap;
  }

  .status-label {
    display: none;
  }

  body {
    padding-bottom: 134px;
  }
}

body.light-theme {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #151820;
  --muted: #5a6270;
  --text-strong: #1a2230;
  --text-soft: #445167;
  --line: #d7deea;
  --accent: #e11a2d;
  --accent-soft: rgba(225, 26, 45, 0.12);
  --header-bg: rgba(244, 246, 251, 0.88);
  --control-bg: #eef2f8;
  --control-border: #c7d3e5;
  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-bg-strong: #ffffff;
}

body.light-theme #fx-canvas {
  opacity: 0.18;
}

body.light-theme .cursor-light {
  opacity: 0.65;
}

body.light-theme .hero {
  border-bottom-color: var(--line);
}

body.light-theme .xp-card,
body.light-theme .feature-card,
body.light-theme .skill-card,
body.light-theme .pro-skill-card,
body.light-theme .principle-item,
body.light-theme .education-card,
body.light-theme .principles-tab,
body.light-theme .sticky-contact-bar {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(19, 26, 44, 0.06);
}

body.light-theme .hero-stats article {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}

body.light-theme .hero-stats strong {
  color: #121620;
}

body.light-theme .util-link,
body.light-theme .theme-toggle {
  background: rgba(10, 18, 32, 0.03);
}

body.light-theme .role-modal {
  background: #ffffff;
  border-color: var(--line);
}

body.light-theme .role-modal-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 220% 0%;
  }
}

@keyframes floatBar {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

@keyframes orbPulse {
  0%,
  100% {
    filter: saturate(1) brightness(0.95);
  }
  50% {
    filter: saturate(1.16) brightness(1.08);
  }
}

