:root {
  --bg: #020202;
  --bg-card: rgba(20, 20, 20, 0.86);
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #f7f7f7;
  --text-secondary: #d8d8d8;
  --text-muted: #7a7a7a;
  --accent: #e10f0f;
  --accent-dim: rgba(225, 15, 15, 0.12);
  --accent-glow: rgba(225, 15, 15, 0.25);
  --accent2: #8b0000;
  --accent2-dim: rgba(139, 0, 0, 0.12);
  --ember: #660000;
  --ember-dim: rgba(102, 0, 0, 0.14);
  --discord: #ffffff;
  --telegram: #ffffff;
  --danger: #ff4c4c;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --text-2xs: 0.62rem;
  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-base: 0.95rem;
  --text-md: 1rem;
  --text-lg: clamp(1.1rem, 0.95rem + 0.4vw, 1.4rem);
  --text-xl: clamp(1.4rem, 1.1rem + 0.9vw, 1.8rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 2.4vw, 3rem);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --surface-bg: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  --surface-border: 1px solid rgba(255, 255, 255, 0.08);
  --surface-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --surface-shadow-hover:
    0 12px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
::selection {
  background: rgba(225, 15, 15, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particles-canvas {
    display: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
@keyframes blink {
  0%,
  to {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@keyframes cursor-blink {
  0%,
  to {
    border-color: var(--accent);
  }
  50% {
    border-color: transparent;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes statusPulse {
  0%,
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-50%) scale(0.8);
  }
}
@keyframes coreGlow {
  0% {
    box-shadow: 0 0 30px var(--accent-glow);
  }
  to {
    box-shadow:
      0 0 50px #d8dce438,
      0 0 80px var(--accent-glow);
  }
}
@keyframes osintPulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  to {
    opacity: 0.6;
    transform: scale(1.2);
  }
}
@keyframes breathe {
  0%,
  to {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-3px);
  }
}
@keyframes scroll-anim {
  0% {
    transform: translate(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translate(-50%) translateY(10px);
    opacity: 0;
  }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.team-card[data-reveal] {
  translate: 0 30px;
  scale: 0.98;
}
.team-card[data-reveal].visible {
  translate: 0 0;
  scale: 1;
}
.team-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.team-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.team-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
.team-grid [data-reveal]:nth-child(5) {
  transition-delay: 0.32s;
}
.team-grid [data-reveal]:nth-child(6) {
  transition-delay: 0.4s;
}
.partners-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.partners-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.cases-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}
.cases-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}
.cases-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.18s;
}
.cases-grid [data-reveal]:nth-child(5) {
  transition-delay: 0.24s;
}
.cases-grid [data-reveal]:nth-child(6) {
  transition-delay: 0.3s;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
  cursor: pointer;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.preloader:hover .preloader-text {
  opacity: 1;
  transform: scale(1.05);
  text-shadow:
    0 0 30px var(--accent-glow),
    0 0 60px rgba(216, 220, 228, 0.1);
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.preloader-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.1) brightness(0.4);
}
.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.preloader-text {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  animation: blink 2s ease-in-out infinite;
  text-shadow: 0 0 20px var(--accent-glow);
  transition: all 0.3s ease;
}
.preloader-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.bg-base {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 30%, #0c0c10, #08080b, #050507),
    linear-gradient(180deg, #06060a, #050508);
}
.bg-base:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 88%,
      rgba(70, 86, 110, 0.08),
      transparent 55%
    ),
    radial-gradient(circle at 88% 18%, rgba(80, 72, 64, 0.05), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.7;
}
.bg-shader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  display: block;
}
.bg-scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.008) 0px,
    rgba(255, 255, 255, 0.008) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.4;
}
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 110% 80% at 50% 40%,
      transparent 55%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    radial-gradient(
      ellipse 140% 60% at 50% 100%,
      rgba(0, 0, 0, 0.3),
      transparent 60%
    );
}
.bg-grain {
  position: fixed;
  inset: -50%;
  z-index: 51;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.38;
  mix-blend-mode: overlay;
  animation: grainShift 1.6s steps(6) infinite;
}
@keyframes grainShift {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-3%, 2%);
  }
  40% {
    transform: translate(2%, -3%);
  }
  60% {
    transform: translate(-2%, -1%);
  }
  80% {
    transform: translate(3%, 1%);
  }
  to {
    transform: translate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bg-grain {
    animation: none !important;
  }
  .bg-shader {
    display: none;
  }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 24px;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: #0a0a0fd9;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav-logo-text {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 2px;
  background: #ffffff05;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  position: relative;
}
.nav-link {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
  letter-spacing: 0.2px;
  position: relative;
}
.nav-link:hover {
  color: var(--text);
  background: #ffffff08;
}
.nav-link:active {
  transform: scale(0.95);
}
.nav-link.active {
  background: rgba(225, 15, 15, 0.14);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(225, 15, 15, 0.25);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  background: rgba(225, 15, 15, 0.12);
  border: 1px solid rgba(225, 15, 15, 0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-left: 8px;
}
.nav-cta:hover {
  background: rgba(225, 15, 15, 0.18);
  border-color: rgba(225, 15, 15, 0.35);
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--accent);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--accent);
}
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #050508eb;
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  display: flex;
  flex-direction: column;
  padding: max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu__brand {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: lowercase;
}
.mobile-menu__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s;
}
.mobile-menu__close:hover {
  background: #ffffff14;
  transform: rotate(90deg);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  flex: 1;
}
.mobile-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(14px);
  transition: color 0.2s;
}
.mobile-menu.open .mobile-link {
  animation: mm-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.06s + var(--i, 0) * 0.05s);
}
.mobile-link:hover {
  color: var(--accent);
}
.mobile-link__index {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.mobile-link__label {
  font-weight: 600;
}
.mobile-link__arrow {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition:
    color 0.2s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-link:hover .mobile-link__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-dim);
  border: 1px solid rgba(216, 220, 228, 0.2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition: background 0.2s;
}
.mobile-menu.open .mobile-menu__cta {
  animation: mm-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.06s + var(--i, 0) * 0.05s);
}
.mobile-menu__cta:hover {
  background: #d8dce426;
}
.mobile-menu__foot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
@keyframes mm-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu.open .mobile-link,
  .mobile-menu.open .mobile-menu__cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .mobile-menu__close:hover {
    transform: none;
  }
}
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 60% 55% at 50% 45%,
    #000 30%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 55% at 50% 45%,
    #000 30%,
    transparent 75%
  );
  opacity: 0.6;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
}
.hero-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
}
.hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  cursor: pointer;
  box-shadow:
    0 12px 40px #00000080,
    0 0 0 1px #ffffff0a;
}
.hero-avatar-wrap:hover .hero-avatar {
  transform: scale(1.03);
}
.hero-title {
  font-family:
    Major Mono Display,
    JetBrains Mono,
    monospace;
  font-size: clamp(1.5rem, 3.6vw + 0.4rem, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  text-transform: lowercase;
  text-shadow:
    0 0 14px rgba(216, 220, 228, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.6);
}
.hero-verified {
  color: var(--accent);
  opacity: 0.7;
}
.hero-tagline {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 24px;
  border-right: 2px solid var(--accent);
  padding-right: 2px;
  animation: cursor-blink 1s step-end infinite;
}
.hero-tagline.done {
  border-right: none;
  animation: none;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
  border-radius: 8px 8px 0 0;
}
.btn:active {
  transform: scale(0.96) !important;
}
.btn-primary {
  background: linear-gradient(180deg, #e8ecf2eb, #b4b8c2f2);
  color: #0a0a0d;
  box-shadow:
    0 4px 16px #d8dce433,
    inset 0 1px #fff3;
}
.btn-primary:hover {
  box-shadow:
    0 8px 32px #d8dce44d,
    inset 0 1px #ffffff40;
  transform: translateY(-2px);
}
.btn-ghost {
  background: linear-gradient(135deg, #ffffff0a, #ffffff03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  box-shadow: inset 0 1px #ffffff0a;
}
.btn-ghost:hover {
  border-color: #ffffff26;
  color: var(--text);
  transform: translateY(-2px);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 8px 0 0;
}
.hero-meta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-meta__item dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-meta__item dd {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-meta__item dd span {
  color: var(--accent);
  margin-left: 1px;
  font-weight: 500;
}
.hero-meta__divider {
  width: 1px;
  height: 22px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  animation: breathe 3s ease-in-out infinite;
}
.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(216, 220, 228, 0.2);
  border-radius: 10px;
  position: relative;
}
.scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translate(-50%);
  animation: scroll-anim 2s ease-in-out infinite;
}
.easter-toast {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%) translate(100px);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s var(--transition),
    opacity 0.4s ease;
  box-shadow: 0 0 30px var(--accent-glow);
}
.easter-toast.show {
  transform: translateY(-50%) translate(0);
  opacity: 1;
}
.main-content {
  opacity: 1;
  transition: opacity 0.8s ease;
}
.main-content.hidden {
  opacity: 0;
  pointer-events: none;
}
.main-content.hidden [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.hero-inner [data-reveal]:nth-child(1) {
  transition-delay: 0.05s;
}
.hero-inner [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}
.hero-inner [data-reveal]:nth-child(3) {
  transition-delay: 0.25s;
}
.hero-inner [data-reveal]:nth-child(4) {
  transition-delay: 0.35s;
}
.hero-inner [data-reveal]:nth-child(5) {
  transition-delay: 0.45s;
}
.hero-inner [data-reveal]:nth-child(6) {
  transition-delay: 0.55s;
}
.hero-inner [data-reveal]:nth-child(7) {
  transition-delay: 0.65s;
}
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
  }
  .hero-meta {
    gap: 14px;
  }
  .hero-meta__divider {
    height: 18px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 100px 16px 60px;
  }
  .hero-grid {
    background-size: 48px 48px;
  }
  .hero-meta__item dd {
    font-size: 0.92rem;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000000ed;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff0d;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}
.lightbox-close:active {
  transform: scale(0.85) rotate(90deg);
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 60px #000c;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.rail {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 90;
  pointer-events: none;
  --rail-pad-x: 6px;
  --rail-dot-size: 14px;
  --rail-dot-center: calc(
    var(--rail-pad-x) + var(--rail-meta-width) + var(--rail-gap) +
      (var(--rail-dot-size) / 2)
  );
  --rail-gap: 14px;
  --rail-meta-width: 92px;
  width: calc(
    (var(--rail-pad-x) * 2) + var(--rail-dot-size) + var(--rail-gap) +
      var(--rail-meta-width)
  );
}
.rail__line {
  position: absolute;
  left: var(--rail-dot-center);
  top: 8px;
  bottom: 8px;
  width: 1px;
  transform: translate(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 15, 15, 0.18) 12%,
    rgba(225, 15, 15, 0.1) 50%,
    rgba(225, 15, 15, 0.18) 88%,
    transparent 100%
  );
  pointer-events: none;
}
.rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.rail__item {
  position: relative;
  width: 100%;
}
.rail__btn {
  pointer-events: auto;
  display: grid;
  grid-template-columns: var(--rail-meta-width) var(--rail-dot-size);
  align-items: center;
  column-gap: var(--rail-gap);
  width: 100%;
  box-sizing: border-box;
  padding: 6px var(--rail-pad-x);
  text-decoration: none;
  color: inherit;
  border-radius: 999px;
  transition: padding 0.32s var(--ease-spring);
}
.rail__btn:focus {
  outline: none;
}
.rail__btn:focus-visible {
  outline: none;
}
.rail__btn:focus-visible .rail__dot {
  border-color: rgba(225, 15, 15, 0.6);
  box-shadow: 0 0 0 2px rgba(225, 15, 15, 0.18);
}
.rail__dot {
  position: relative;
  grid-column: 2;
  width: var(--rail-dot-size);
  height: var(--rail-dot-size);
  flex-shrink: 0;
  border-radius: 50%;
  background: #0a0a128c;
  border: 1px solid rgba(225, 15, 15, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition:
    border-color 0.4s ease,
    transform 0.4s var(--ease-spring),
    background-color 0.4s ease;
}
.rail__core {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(225, 15, 15, 0.45);
  transition:
    width 0.4s var(--ease-spring),
    height 0.4s var(--ease-spring),
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}
.rail__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease-spring),
    border-color 0.4s ease;
  opacity: 0;
  transform: scale(0.65);
}
.rail__meta {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  width: var(--rail-meta-width);
  min-width: 0;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-8px);
  transition:
    opacity 0.32s ease,
    transform 0.32s var(--ease-spring);
  pointer-events: none;
}
.rail__index {
  font-size: 0.58rem;
  color: #f0f0f0bf;
  font-weight: 500;
}
.rail__label {
  font-size: 0.62rem;
  color: #e8e8e8c7;
  font-weight: 500;
}
.rail__btn:hover .rail__dot {
  border-color: rgba(225, 15, 15, 0.75);
  transform: scale(1.08);
}
.rail__btn:hover .rail__core {
  background: rgba(225, 15, 15, 0.72);
}
.rail__btn:hover .rail__meta {
  opacity: 0.7;
  transform: translate(0);
}
.rail__item.is-active .rail__dot {
  border-color: rgba(225, 15, 15, 0.9);
  background: rgba(92, 0, 0, 0.75);
  transform: scale(1.15);
}
.rail__item.is-active .rail__core {
  width: 7px;
  height: 7px;
  background: #ff4c4c;
  box-shadow:
    0 0 8px rgba(225, 15, 15, 0.75),
    0 0 18px rgba(225, 15, 15, 0.4),
    0 0 1px rgba(255, 255, 255, 0.7) inset;
  animation: railPulse 2.2s ease-in-out infinite;
}
.rail__item.is-active .rail__ring {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(225, 15, 15, 0.4);
  animation: railRingDrift 3.6s linear infinite;
}
.rail__item.is-active .rail__meta {
  opacity: 1;
  transform: translate(0);
}
.rail__item.is-active .rail__label {
  color: #e8ecf4eb;
}
@keyframes railPulse {
  0%,
  to {
    box-shadow:
      0 0 8px #d8dce4b3,
      0 0 18px #b4bcc873;
  }
  50% {
    box-shadow:
      0 0 12px #e8ecf4d9,
      0 0 26px #bec6d299;
  }
}
@keyframes railRingDrift {
  0% {
    transform: scale(1) rotate(0);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.18) rotate(180deg);
    opacity: 0.25;
  }
  to {
    transform: scale(1) rotate(360deg);
    opacity: 0.6;
  }
}
@media (max-width: 768px) {
  .rail {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail__item.is-active .rail__core,
  .rail__item.is-active .rail__ring {
    animation: none !important;
  }
  .rail__btn,
  .rail__dot,
  .rail__core,
  .rail__ring,
  .rail__meta {
    transition-duration: 0.01ms !important;
  }
}
