

:root {
  --bg: #0a0608;
  --ink-7: #1a0d10;
  --ink-6: #2a1418;
  --border: rgba(255, 215, 0, 0.10);
  --border-hi: rgba(255, 215, 0, 0.22);
  --text-mute: rgba(255, 255, 255, 0.62);

  --red:       #d62828;
  --red-hi:    #ef3b3b;
  --red-deep:  #8b0000;
  --gold:      #ffd60a;
  --gold-soft: #ffe066;
  --gold-deep: #b8860b;
  --vodka:     #6ec1ff;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }


::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0608; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(214,40,40,.55), rgba(255,214,10,.55));
  border-radius: 10px;
  border: 2px solid #0a0608;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(214,40,40,.8), rgba(255,214,10,.8));
}


.grid-bg {
  background-image:
    linear-gradient(rgba(255,215,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}

.noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 2px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0.12) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.35;
}
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,214,10,0.05) 50%, transparent 100%);
  animation: scanSweep 7s linear infinite;
}
@keyframes scanSweep {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}


.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -15;
  pointer-events: none;
  opacity: 0.55;
  will-change: transform;
}
.blob-a {
  top: -10%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(214,40,40,0.55), transparent 70%);
  animation: floatA 22s ease-in-out infinite alternate;
}
.blob-b {
  top: 30%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 70% 30%, rgba(255,214,10,0.35), transparent 70%);
  animation: floatB 26s ease-in-out infinite alternate;
}
.blob-c {
  bottom: -20%; left: 20%;
  width: 540px; height: 540px;
  background: radial-gradient(circle at 50% 50%, rgba(214,40,40,0.30), transparent 70%);
  animation: floatC 30s ease-in-out infinite alternate;
}
@keyframes floatA { to { transform: translate(40px, 60px) scale(1.05); } }
@keyframes floatB { to { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes floatC { to { transform: translate(40px, -40px) scale(0.95); } }


.stars {
  position: fixed;
  inset: 0;
  z-index: -14;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,214,10,.55), transparent 50%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,214,10,.40), transparent 50%),
    radial-gradient(2px 2px at 45% 32%, rgba(255,214,10,.55), transparent 50%),
    radial-gradient(1px 1px at 62% 58%, rgba(255,214,10,.50), transparent 50%),
    radial-gradient(1px 1px at 78% 12%, rgba(255,214,10,.40), transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 80%, rgba(255,214,10,.60), transparent 50%),
    radial-gradient(1px 1px at 5% 50%, rgba(255,214,10,.30), transparent 50%),
    radial-gradient(1px 1px at 95% 35%, rgba(255,214,10,.30), transparent 50%);
  animation: starTwinkle 6s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}


.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 50%, var(--red-deep));
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0.5rem 0;
  position: relative;
  z-index: 40;
  border-top: 1px solid rgba(255,214,10,0.4);
  border-bottom: 1px solid rgba(255,214,10,0.4);
  box-shadow: 0 0 30px -5px rgba(214,40,40,0.6);
}
.marquee__track {
  display: inline-block;
  animation: marquee 35s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.cursor-blink {
  display: inline-block;
  color: var(--gold);
  font-weight: 400;
  animation: blink 1s steps(2) infinite;
  text-shadow: 0 0 10px rgba(255,214,10,0.8);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


@keyframes glitch {
  0%,94%,100% { text-shadow: none; }
  95% { text-shadow: -2px 0 var(--red), 2px 0 var(--gold); letter-spacing: -0.02em; }
  97% { text-shadow:  2px 0 var(--red),-2px 0 var(--gold); letter-spacing:  0.02em; }
}
.glitch-hero {
  animation: gradientShift 8s ease infinite, glitch 7s ease-in-out infinite;
}


@keyframes wave {
  from { transform: skewX(-4deg); }
  to   { transform: skewX(4deg);  }
}
.flag-ussr {
  pointer-events: none;
  display: block;
}
.flag-wave {
  animation: wave 3s ease-in-out infinite alternate;
}


@keyframes logo-spin { to { transform: rotate(360deg); } }
.logo-spin {
  display: inline-block;
  animation: logo-spin 18s linear infinite;
}


.trophy-icon {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  color: var(--gold);
  display: block;
  text-shadow: 0 0 12px rgba(255,214,10,0.6);
}


.price-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(255,214,10,0.35);
}
.price-tag .price-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  background: var(--red);
  color: white;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  box-shadow: 0 0 12px -2px rgba(214,40,40,0.7);
  animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}


.cccp-stamp {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.6rem;
  color: rgba(214,40,40,0.35);
  border: 4px solid rgba(214,40,40,0.35);
  padding: 0.3rem 0.8rem;
  border-radius: 0.3rem;
  letter-spacing: 0.2em;
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
  filter: blur(0.3px);
}
.cccp-stamp::before {
  content: "★ ";
}
.cccp-stamp::after {
  content: " ★";
}





.nav-shell {
  background: rgba(10, 6, 8, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow:
    0 10px 40px -20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,214,10,0.08);
}
.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: 0.6rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: white; background: rgba(255,214,10,0.06); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-link:hover::after { opacity: 1; }

.logo-mark {
  background: linear-gradient(135deg, rgba(214,40,40,.30), rgba(255,214,10,.30));
  border: 1px solid rgba(255,215,0,0.35);
  box-shadow:
    0 0 0 1px rgba(255,214,10,0.08),
    0 0 24px -6px rgba(214,40,40,0.55);
  overflow: hidden;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,214,10,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: logoShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoShine {
  0%, 60% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  position: relative;
  z-index: 1;
}
.logo-glyph {
  background: linear-gradient(135deg, #fff, var(--red) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}


.status-dot {
  position: relative;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: pulseDot 1.8s ease-out infinite;
  z-index: -1;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}


.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--gold-soft) 40%, var(--red) 80%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.section-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}


.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.3rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #06070d;
  background: linear-gradient(135deg, #ffffff, #ffe8e8 60%, #ffd0d0);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 0 0 1px rgba(214,40,40,.30),
    0 12px 30px -10px rgba(214,40,40,.65),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(214,40,40,.55),
    0 18px 40px -10px rgba(214,40,40,.80),
    0 0 24px -4px rgba(255,214,10,0.4),
    inset 0 1px 0 rgba(255,255,255,0.9);
  filter: brightness(1.04);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.7) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  border-radius: 0.85rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,214,10,0.06);
  border-color: rgba(255,215,0,0.40);
  color: white;
  box-shadow: 0 0 24px -8px rgba(255,214,10,0.5);
}


.stat-card {
  position: relative;
  padding: 1.1rem 1.2rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(214,40,40,0.4), transparent 40%, rgba(255,214,10,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}
.stat-card::after {
  content: "★";
  position: absolute;
  top: 0.45rem;
  right: 0.6rem;
  font-size: 0.65rem;
  color: rgba(255,214,10,0.25);
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,214,10,0.3);
}


.service-card {
  position: relative;
  padding: 1.6rem 1.6rem 1.5rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(26,13,16,0.7), rgba(16,8,10,0.7));
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(214,40,40,0.0), rgba(255,214,10,0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease;
  pointer-events: none;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,40,40,0.20), transparent 70%);
  top: var(--mx, 50%); left: var(--my, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(180deg, rgba(30,14,18,0.85), rgba(18,10,12,0.9));
  box-shadow:
    0 30px 60px -20px rgba(214,40,40,0.35),
    0 0 0 1px rgba(255,214,10,0.05);
}
.service-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(214,40,40,0.55), rgba(255,214,10,0.55));
}
.service-card:hover::after { opacity: 1; }

.service-card[data-accent="gold"]:hover::before {
  background: linear-gradient(135deg, rgba(255,214,10,0.65), rgba(214,40,40,0.45));
}
.service-card[data-accent="gold"]:hover::after {
  background: radial-gradient(circle, rgba(255,214,10,0.25), transparent 70%);
}
.service-card[data-accent="gold"]:hover {
  box-shadow:
    0 30px 60px -20px rgba(255,214,10,0.35),
    0 0 0 1px rgba(255,214,10,0.08);
}
.service-card[data-accent="red"]:hover::before {
  background: linear-gradient(135deg, rgba(214,40,40,0.65), rgba(255,214,10,0.45));
}
.service-card[data-accent="red"]:hover::after {
  background: radial-gradient(circle, rgba(214,40,40,0.25), transparent 70%);
}


.service-card.is-featured {
  animation: borderPulse 3s ease-in-out infinite;
}
@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,214,10,0); }
  50%       { box-shadow: 0 0 0 3px rgba(255,214,10,0.18); }
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px; width: 46px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(214,40,40,0.18), rgba(255,214,10,0.18));
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffe8e0;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}
.service-card[data-accent="gold"] .service-icon { background: linear-gradient(135deg, rgba(255,214,10,0.22), rgba(214,40,40,0.18)); color: #fffae0; }
.service-icon--ghost { background: rgba(255,255,255,0.04); border-style: dashed; }

.service-title {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 0.5rem;
}
.service-desc {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.55;
}
.service-tags {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.service-tags li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}
.service-card:hover .service-tags li {
  background: rgba(255,214,10,0.06);
  border-color: rgba(255,214,10,0.18);
  color: rgba(255,255,255,0.85);
}
.service-card--cta {
  background:
    radial-gradient(circle at 0% 0%, rgba(214,40,40,0.12), transparent 50%),
    linear-gradient(180deg, rgba(26,13,16,0.5), rgba(14,8,10,0.5));
  border-style: dashed;
  border-color: rgba(255,215,0,0.20);
}


.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.chip:hover {
  color: white;
  border-color: rgba(255,215,0,0.45);
  background: rgba(255,215,0,0.08);
  box-shadow: 0 0 16px -4px rgba(255,214,10,0.45);
  transform: translateY(-1px);
}


.profile-card {
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(20,10,12,0.92), rgba(10,6,8,0.95));
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,214,10,0.05),
    inset 0 1px 0 rgba(255,214,10,0.06);
  position: relative;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 2px,
      rgba(255,214,10,0.025) 3px,
      rgba(255,214,10,0.025) 4px
    );
  pointer-events: none;
  z-index: 1;
}
.profile-card__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,214,10,0.04), rgba(255,255,255,0.01));
  z-index: 2;
}
.profile-card__bar .dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px -1px currentColor;
}
.profile-card__code {
  position: relative;
  padding: 1.3rem 1.5rem 1.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.92);
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 18rem;
  z-index: 2;
  text-shadow: 0 0 8px rgba(255,214,10,0.08);
}
.t-key { color: var(--red-hi); text-shadow: 0 0 6px rgba(214,40,40,0.4); }
.t-str { color: var(--gold); text-shadow: 0 0 6px rgba(255,214,10,0.35); }
.t-ok  { color: var(--gold-soft); text-shadow: 0 0 10px rgba(255,214,10,0.5); }
.t-punct { color: rgba(255,255,255,0.45); }


.type-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 2px;
  animation: typeBlink 0.85s steps(2) infinite;
  box-shadow: 0 0 8px rgba(255,214,10,0.7);
}
@keyframes typeBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}


.profile-card__bar .power-led {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: ledPulse 1.4s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


.step-card {
  position: relative;
  padding: 1.5rem 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(26,13,16,0.55), rgba(14,8,10,0.55));
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.step-card:hover {
  border-color: rgba(255,215,0,0.35);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(32,16,20,0.7), rgba(18,10,12,0.7));
  box-shadow: 0 20px 40px -20px rgba(255,214,10,0.25);
}
.step-card:hover::before { opacity: 1; }
.step-card:hover .trophy-icon {
  animation: trophyShake 0.5s ease-in-out;
}
@keyframes trophyShake {
  0%, 100% { transform: rotate(0); }
  25%       { transform: rotate(-10deg) scale(1.15); }
  75%       { transform: rotate(10deg) scale(1.15); }
}
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.9rem;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
}
.step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}
.step-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: rgba(255,215,0,0.6);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}


.contact-shell {
  position: relative;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(20,10,12,0.7), rgba(10,6,8,0.85));
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6);
}
.contact-shell::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(214,40,40,0.4), rgba(255,214,10,0.4), rgba(214,40,40,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  pointer-events: none;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
}
.info-row:hover {
  background: rgba(255,214,10,0.05);
  border-color: rgba(255,214,10,0.18);
  transform: translateX(3px);
}
.info-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px; width: 32px;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(214,40,40,0.18), rgba(255,214,10,0.18));
  color: var(--gold);
  flex-shrink: 0;
}


.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.field-input::placeholder { color: rgba(255,255,255,0.32); }
.field-input:hover { border-color: rgba(255,255,255,0.20); }
.field-input:focus {
  border-color: rgba(255,214,10,0.65);
  background: rgba(255,214,10,0.04);
  box-shadow: 0 0 0 3px rgba(255,214,10,0.12);
}
.field-input:invalid:not(:placeholder-shown) {
  border-color: rgba(214,40,40,0.4);
}
.field-hint {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.42);
  margin-top: 0.1rem;
}

.select-wrap { position: relative; }
.select-chevron {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
.field-input option {
  background: #1a0d10;
  color: white;
}


.btn-primary .btn-spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(6,7,13,0.25);
  border-top-color: #06070d;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary.is-loading .btn-label { opacity: 0.7; }
.btn-primary.is-loading .btn-icon { display: none; }
.btn-primary.is-loading .btn-spinner { display: inline-block; }
.btn-primary[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }

#formStatus.ok  { color: var(--gold-soft); }
#formStatus.err { color: var(--red-hi); }


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}



section { position: relative; }
section + section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(60%, 720px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.18), transparent);
}


.jumpscare {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  pointer-events: none;
}
.jumpscare.is-active {
  display: flex;
  pointer-events: auto;
  animation: jumpShake 0.12s linear infinite;
}
@keyframes jumpShake {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-8px, 6px); }
  40%  { transform: translate(7px, -6px); }
  60%  { transform: translate(-6px, -7px); }
  80%  { transform: translate(8px, 5px); }
  100% { transform: translate(0, 0); }
}

.jumpscare__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, #ff0000 0%, #8b0000 40%, #000 100%);
  animation: jumpFlash 0.18s linear infinite;
}
@keyframes jumpFlash {
  0%, 100% { opacity: 1; filter: hue-rotate(0); }
  50% { opacity: 0.85; filter: hue-rotate(15deg) brightness(1.3); }
}

.jumpscare__stamp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.jumpscare__hammer {
  font-size: 22rem;
  color: #ffd60a;
  text-shadow:
    0 0 30px #ffd60a,
    0 0 60px #ff0000,
    0 0 100px #ff0000;
  animation: jumpZoom 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.4) forwards, jumpSpin 1.2s linear infinite;
  font-family: serif;
  line-height: 1;
}
@keyframes jumpZoom {
  from { transform: scale(0.1); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@keyframes jumpSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.jumpscare__text {
  position: absolute;
  bottom: 18%;
  left: 0; right: 0;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  color: #fff;
  text-shadow: 0 0 12px #ff0000, 0 0 24px #000;
  z-index: 5;
}
.jumpscare__text-big {
  display: block;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  animation: textGlitch 0.15s linear infinite;
}
.jumpscare__text-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: #ffd60a;
  letter-spacing: 0.2em;
}
@keyframes textGlitch {
  0%   { transform: translate(0,0); }
  33%  { transform: translate(-3px, 2px); text-shadow: 3px 0 #00ffff, -3px 0 #ff0000; }
  66%  { transform: translate(3px, -2px); text-shadow: -3px 0 #00ffff, 3px 0 #ff0000; }
  100% { transform: translate(0,0); }
}

.jumpscare__avatar {
  position: absolute;
  width: 35vmin;
  height: 35vmin;
  border-radius: 50%;
  top: 18%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  border: 6px solid #ffd60a;
  box-shadow: 0 0 60px #ff0000, inset 0 0 40px rgba(0,0,0,0.6);
  animation: avatarPop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4) forwards, avatarShake 0.08s linear 0.45s infinite;
  filter: contrast(1.4) saturate(1.5) hue-rotate(-10deg);
  z-index: 3;
  object-fit: cover;
}
@keyframes avatarPop {
  from { transform: translateX(-50%) scale(0); }
  to   { transform: translateX(-50%) scale(1); }
}
@keyframes avatarShake {
  0%   { transform: translate(-50%, 0) scale(1); }
  25%  { transform: translate(-52%, -2px) scale(1.02); }
  50%  { transform: translate(-48%, 2px) scale(0.98); }
  75%  { transform: translate(-51%, 1px) scale(1.01); }
  100% { transform: translate(-50%, 0) scale(1); }
}


.aftermath {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  background: rgba(10,6,8,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.aftermath.is-active {
  display: flex;
  animation: aftermathFade 0.4s ease-out;
}
@keyframes aftermathFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.aftermath__box {
  max-width: 520px;
  width: 90%;
  padding: 2rem 2rem 1.8rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(26,13,16,0.95), rgba(10,6,8,0.98));
  border: 1px solid rgba(255,214,10,0.3);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(214,40,40,0.4);
}
.aftermath__icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.aftermath__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
}
.aftermath__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.aftermath__close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #06070d;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.aftermath__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(255,214,10,0.6);
}


@media (max-width: 640px) {
  .blob-a { width: 320px; height: 320px; }
  .blob-b { width: 360px; height: 360px; }
  .blob-c { width: 320px; height: 320px; }
  .service-card { padding: 1.3rem; }
  .profile-card__code { font-size: 0.74rem; min-height: 16rem; }
  .cccp-stamp { font-size: 1.1rem; }
  .jumpscare__hammer { font-size: 12rem; }
}
