:root {
  --vk-bg:       #060408;
  --vk-panel:    #0f080d;
  --vk-deep:     #1a0614;
  --vk-blood:    #6e1212;
  --vk-crimson:  #9e1e1e;
  --vk-ember:    #c03020;
  --vk-moon:     #c0c4d8;
  --vk-silver:   #9098b0;
  --vk-bone:     #d8d0c0;
  --vk-mist:     #dddad5;

  /* Shared component tokens */
  --bg:                    var(--vk-bg);
  --text:                  var(--vk-mist);
  --ornament-border-color: rgba(192, 196, 216, 0.22);
  --ornament-corner-color: rgba(192, 196, 216, 0.48);
  --ornament-bg:           rgba(6, 4, 8, 0.82);
  --btn-bg:                #4a0c0c;
  --btn-hover:             #6e1212;
  --btn-color:             var(--vk-mist);
  --form-status-color:     rgba(216, 208, 192, 0.85);
  --textarea-focus-ring:   rgba(192, 196, 216, 0.20);
}

/* ── Body ─────────────────────────────────── */
body { background: var(--vk-bg); color: var(--vk-mist); }

/* ══════════════════════════════════════
   WOW OPENING EFFECT — claw slash
   Three curved diagonal slashes drawn
   top-to-bottom across the landing
   (~2 s after content animation), stay
   for 2 s, then dissolve.
══════════════════════════════════════ */
.vk-claws {
  position: fixed;
  inset: 0;
  z-index: 9998;
  overflow: hidden;
  pointer-events: none;
}

/* Curved claw SVG — full viewport height */
.vk-claw-svg {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 60px;
  overflow: visible;
  transform-origin: top center;
  filter:
    drop-shadow(0 0 5px rgba(192, 196, 216, 0.65))
    drop-shadow(0 0 12px rgba(192, 196, 216, 0.28))
    drop-shadow(-1px 0 3px rgba(158, 30, 30, 0.40));
}

/* ~70 px spacing between claw tops */
.vk-claw-1 {
  left: calc(30% - 100px);
  transform: rotate(20deg);
}

.vk-claw-2 {
  left: calc(30% - 30px);
  transform: rotate(18deg);
}

.vk-claw-3 {
  left: calc(30% + 40px);
  transform: rotate(16deg);
}

/* Path starts fully hidden via dashoffset; draws top→bottom, then fades */
.vk-claw-path {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}

.vk-claw-1 .vk-claw-path {
  animation:
    vkClawDraw 0.15s ease-in 2.00s both,
    vkClawFade 0.25s ease-in 2.75s both;
}

.vk-claw-2 .vk-claw-path {
  animation:
    vkClawDraw 0.15s ease-in 2.00s both,
    vkClawFade 0.25s ease-in 2.75s both;
}

.vk-claw-3 .vk-claw-path {
  animation:
    vkClawDraw 0.15s ease-in 2.00s both,
    vkClawFade 0.25s ease-in 2.75s both;
}

@keyframes vkClawDraw {
  from { stroke-dashoffset: 1100; }
  to   { stroke-dashoffset: 0; }
}

@keyframes vkClawFade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ── Canvas (full page, behind content) ────── */
#vk-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Landing ──────────────────────────────── */
.vk-landing {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--vk-bg);
  padding-top: 64px;
}

.vk-landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  gap: 14px;
}

/* Blood moon disc behind the title */
.vk-moon-disc {
  width: clamp(120px, 22vw, 200px);
  height: clamp(120px, 22vw, 200px);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%,
    rgba(232, 218, 230, 0.92) 0%,
    rgba(172, 148, 160, 0.78) 30%,
    rgba(110, 18, 18, 0.62) 62%,
    rgba(55, 8, 8, 0.90) 100%);
  box-shadow:
    0 0 40px rgba(158, 30, 30, 0.50),
    0 0 90px rgba(110, 18, 18, 0.30),
    0 0 160px rgba(90, 10, 10, 0.18);
  animation: vkMoonPulse 8s ease-in-out infinite;
  margin-bottom: -12px;
}

@keyframes vkMoonPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(158, 30, 30, 0.50), 0 0 90px rgba(110, 18, 18, 0.30), 0 0 160px rgba(90, 10, 10, 0.18); }
  50%       { box-shadow: 0 0 60px rgba(192, 50, 50, 0.70), 0 0 120px rgba(158, 30, 30, 0.45), 0 0 220px rgba(110, 18, 18, 0.28); }
}

/* ── Title: letters claw up from darkness ──── */
.vk-landing-title {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(3.0rem, 10vw + 0.5rem, 9.5rem);
  line-height: 1;
  color: var(--vk-bone);
  letter-spacing: 0.10em;
  text-shadow:
    0 0 30px rgba(158, 30, 30, 0.80),
    0 0 70px rgba(110, 18, 18, 0.45),
    0 4px 30px rgba(0, 0, 0, 0.95);
  margin: 0;
}

.vk-c {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) scale(0.80);
  animation: vkCharRise 0.65s cubic-bezier(0.10, 0.90, 0.20, 1) forwards;
  animation-delay: calc(0.65s + var(--i) * 0.08s);
}

@keyframes vkCharRise {
  0%   { opacity: 0; transform: translateY(28px) scale(0.80);
         text-shadow: 0 0 40px rgba(192, 196, 216, 0.95), 0 0 20px rgba(158, 30, 30, 0.80); }
  55%  { text-shadow: 0 0 20px rgba(158, 30, 30, 0.65); }
  100% { opacity: 1; transform: translateY(0) scale(1);
         text-shadow: inherit; }
}

.vk-landing-tagline {
  font-family: "Cinzel", serif;
  font-size: clamp(0.76rem, 1.3vw, 1.02rem);
  letter-spacing: 0.16em;
  color: var(--vk-silver);
  opacity: 0.85;
  margin: 0;
}

/* Decorative separator */
.vk-landing-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0;
  width: 300px;
  max-width: 90vw;
}

.vk-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(158, 30, 30, 0.50), transparent);
}

.vk-sep-icon {
  font-size: 1.15rem;
  filter: grayscale(0.3);
  animation: vkPawPulse 4s ease-in-out infinite;
}

@keyframes vkPawPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.12); }
}

/* Enter CTA */
.vk-enter-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 36px;
  border: 1px solid rgba(158, 30, 30, 0.42);
  border-radius: 3px;
  font-family: "Cinzel", serif;
  font-size: clamp(0.76rem, 1.0vw, 0.90rem);
  letter-spacing: 0.14em;
  color: var(--vk-bone);
  background: rgba(70, 10, 10, 0.14);
  backdrop-filter: blur(8px);
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.vk-enter-btn:hover {
  background: rgba(158, 30, 30, 0.24);
  border-color: rgba(192, 30, 30, 0.70);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(110, 18, 18, 0.40);
}

/* Atmospheric fog overlay in landing */
.vk-landing-fog {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 38% at 12% 78%, rgba(26, 6, 20, 0.60) 0%, transparent 65%),
    radial-gradient(ellipse 48% 32% at 88% 22%, rgba(70, 10, 10, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(6, 4, 8, 0.80) 0%, transparent 55%);
  animation: vkFogDrift 32s ease-in-out infinite alternate;
}

@keyframes vkFogDrift {
  0%   { opacity: 0.72; transform: scale(1) translateX(0); }
  50%  { opacity: 1;    transform: scale(1.04) translateX(-18px); }
  100% { opacity: 0.80; transform: scale(1) translateX(16px); }
}

/* ── Shared text helpers ──────────────────── */
.vk-p {
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.12rem);
  line-height: 1.82;
  color: rgba(221, 218, 213, 0.86);
  margin: 0;
}

/* Reveal-on-scroll stagger system */
.vk-appear {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity   0.90s ease calc(var(--ad, 0ms)),
    transform 0.90s cubic-bezier(0.10, 0.90, 0.20, 1) calc(var(--ad, 0ms)),
    filter    0.90s ease calc(var(--ad, 0ms));
}

.vk-appear.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Section: About ───────────────────────── */
.vk-about {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
}

.vk-about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.vk-about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Attribute pills */
.vk-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.vk-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(158, 30, 30, 0.32);
  border-radius: 999px;
  background: rgba(26, 6, 20, 0.35);
  font-family: "Cinzel", serif;
  font-size: 0.80rem;
  color: var(--vk-bone);
  letter-spacing: 0.04em;
}

/* Scar/quote card */
.vk-scar-wrap {
  position: relative;
}

.vk-scar-wrap::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 38px;
  height: 38px;
  border-top: 1px solid rgba(158, 30, 30, 0.58);
  border-left: 1px solid rgba(158, 30, 30, 0.58);
  pointer-events: none;
  z-index: 1;
}

.vk-scar-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  border-bottom: 1px solid rgba(158, 30, 30, 0.58);
  border-right: 1px solid rgba(158, 30, 30, 0.58);
  pointer-events: none;
  z-index: 1;
}

.vk-scar-card {
  background: transparent;
  border: 1px solid rgba(158, 30, 30, 0.20);
  border-radius: 16px;
  padding: 46px 38px;
  position: relative;
  overflow: visible;
}

.vk-scar-quote {
  font-family: "Cinzel", serif;
  font-size: clamp(1.0rem, 1.4vw + 0.3rem, 1.20rem);
  line-height: 1.80;
  color: var(--vk-bone);
  font-style: italic;
  margin: 0 0 14px;
}

.vk-scar-cite {
  display: block;
  font-family: "Rubik", sans-serif;
  font-size: 0.82rem;
  color: var(--vk-silver);
  letter-spacing: 0.07em;
}

/* ── Section: Powers ──────────────────────── */
.vk-powers {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15, 4, 12, 0.55) 40%,
    transparent 100%);
}

.vk-powers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vk-sec-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 48px;
}

.vk-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.vk-card {
  position: relative;
  overflow: visible;
  border-radius: 14px;
  border: 1px solid rgba(158, 30, 30, 0.20);
  background: transparent;
  padding: 32px 22px 28px;
  text-align: center;
  transition: transform 0.30s ease, border-color 0.30s ease, box-shadow 0.30s ease;
}

.vk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 30, 30, 0.58);
  box-shadow: 0 12px 42px rgba(110, 18, 18, 0.35);
}

.vk-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(192, 196, 216, 0.42);
  border-left: 1px solid rgba(192, 196, 216, 0.42);
  pointer-events: none;
  transition: border-color 0.30s ease;
}

.vk-card::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  border-bottom: 1px solid rgba(192, 196, 216, 0.42);
  border-right: 1px solid rgba(192, 196, 216, 0.42);
  pointer-events: none;
  transition: border-color 0.30s ease;
}

.vk-card:hover::before,
.vk-card:hover::after {
  border-color: var(--vk-moon);
}

.vk-card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 9px rgba(158, 30, 30, 0.55));
}

.vk-card-name {
  font-family: "Cinzel", serif;
  font-size: clamp(0.84rem, 1.0vw + 0.16rem, 0.96rem);
  color: var(--vk-bone);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.vk-card-desc {
  font-size: 0.87rem;
  line-height: 1.64;
  color: rgba(221, 218, 213, 0.58);
}

/* ── Section: Legends ─────────────────────── */
.vk-legends {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
}

.vk-legends-inner {
  max-width: 900px;
  margin: 0 auto;
}

.vk-stories {
  display: flex;
  flex-direction: column;
}

.vk-story {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(26, 6, 20, 0.60);
  align-items: start;
}

.vk-story:last-child { border-bottom: none; }

.vk-story-num {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: rgba(158, 30, 30, 0.28);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
  user-select: none;
}

.vk-story-content {
  padding-left: 20px;
  border-left: 2px solid rgba(110, 18, 18, 0.40);
  transition: border-color 0.30s ease;
}

.vk-story:hover .vk-story-content {
  border-left-color: var(--vk-crimson);
}

.vk-story-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.1rem, 1.8vw + 0.3rem, 1.38rem);
  color: var(--vk-mist);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .vk-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .vk-about-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .vk-story {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .vk-story-num { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .vk-landing-title { letter-spacing: 0.04em; }
  .vk-about, .vk-powers, .vk-legends { padding: 80px 16px 60px; }
}

@media (max-width: 400px) {
  .vk-cards { grid-template-columns: 1fr; }
}

/* -------------------------
   NAVBAR CUSTOM
------------------------- */
.navbar {
  background-color: rgba(6, 4, 8, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--vk-mist);
}

.navbar.scrolled {
  background-color: rgba(6, 4, 8, 0.44);
}

.nav-links a:hover {
  background-color: rgba(110, 18, 18, 0.44);
}

@media (max-width: 1100px) {
  .nav-links {
    background-color: rgba(6, 4, 8, 0.97);
    border-bottom: 1px solid rgba(158, 30, 30, 0.16);
  }
}

/* -------------------------
   CONTACT CUSTOM
------------------------- */
.kontakty {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15, 4, 12, 0.45) 40%,
    rgba(6, 4, 8, 0.70) 100%);
}

.ornament-frame {
  animation: vkBloodGlow 6s ease-in-out infinite;
}

@keyframes vkBloodGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(110, 18, 18, 0.18), inset 0 0 8px rgba(110, 18, 18, 0.09); }
  50%       { box-shadow: 0 0 36px rgba(158, 30, 30, 0.46), inset 0 0 18px rgba(158, 30, 30, 0.20); }
}
