:root {
  --bg: #050102;
  --bg-soft: #100306;
  --panel: rgba(13, 3, 6, 0.68);
  --panel-strong: rgba(18, 3, 7, 0.88);
  --blood: #d71924;
  --blood-2: #8f0710;
  --blood-3: #390107;
  --red-soft: rgba(215, 25, 36, 0.18);
  --red-line: rgba(255, 52, 63, 0.45);
  --text: #f5efea;
  --muted: #c3a9a5;
  --gold: #d5b37a;
  --shadow: rgba(215, 25, 36, 0.35);
  --max: 1180px;
  --nav-height: 86px;
  --radius-xl: 999px;
  --radius-card: 28px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 50% 42%, rgba(160, 5, 15, 0.22), transparent 28rem),
    radial-gradient(circle at 5% 83%, rgba(219, 12, 28, 0.28), transparent 26rem),
    radial-gradient(circle at 95% 80%, rgba(188, 8, 22, 0.24), transparent 25rem),
    linear-gradient(180deg, #020001 0%, #090104 50%, #030001 100%);
  overflow-x: hidden;
}

/*
  SEM VLOŽÍŠ VLASTNÉ POZADIE:
  Súbor daj do: assets/hero-bg.png
  Ak ho necháš takto pomenovaný, CSS ho načíta automaticky.
  Odporúčané: tmavé 16:9 pozadie, napr. 1920x1080, PNG/JPG/WebP.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  mix-blend-mode: screen;
  z-index: -4;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at center, transparent 0 18rem, rgba(0, 0, 0, 0.28) 42rem, rgba(0, 0, 0, 0.92) 100%);
  z-index: -3;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  border: 1px solid rgba(217, 25, 36, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 0 80px rgba(215, 25, 36, 0.07);
}

.page-shell::before,
.page-shell::after {
  content: "✦";
  position: fixed;
  top: 18px;
  color: rgba(226, 25, 36, 0.75);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(215, 25, 36, 0.55);
  z-index: 5;
}

.page-shell::before { left: 18px; }
.page-shell::after { right: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 42px), 1400px);
  margin: 20px auto 0;
  padding: 0 34px;
  border: 1px solid rgba(230, 36, 48, 0.38);
  border-radius: 24px;
  background: rgba(3, 0, 1, 0.78);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.35),
    0 0 38px rgba(215, 25, 36, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--blood);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-shadow: 0 0 20px rgba(215, 25, 36, 0.45);
}

.brand-mark {
  width: 36px;
  height: 1px;
  position: relative;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
  opacity: 0.8;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--blood);
  background: rgba(215, 25, 36, 0.12);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: rgba(245, 239, 234, 0.78);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(215, 25, 36, 0.65);
}

.login-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 65, 76, 0.65);
  border-radius: var(--radius-xl);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(117, 7, 14, 0.42), rgba(20, 2, 5, 0.8));
  box-shadow: 0 0 28px rgba(215, 25, 36, 0.18), inset 0 0 18px rgba(255, 44, 55, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.login-button:hover,
.cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 96, 106, 0.95);
  box-shadow: 0 0 40px rgba(215, 25, 36, 0.35), inset 0 0 26px rgba(255, 44, 55, 0.1);
}

.drop {
  width: 11px;
  height: 15px;
  background: linear-gradient(180deg, #ff4854, #99060f);
  border-radius: 80% 0 70% 60%;
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(255, 56, 68, 0.8);
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 110px) 22px clamp(72px, 8vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.75) 62%),
    linear-gradient(180deg, rgba(255, 20, 30, 0.05), transparent 24%, rgba(255, 20, 30, 0.11) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -15%;
  height: 42%;
  background:
    radial-gradient(circle at 18% 60%, rgba(233, 20, 32, 0.3), transparent 16rem),
    radial-gradient(circle at 83% 58%, rgba(233, 20, 32, 0.26), transparent 17rem),
    linear-gradient(180deg, transparent, rgba(132, 3, 12, 0.36));
  filter: blur(12px);
  opacity: 0.86;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 950px);
  margin-top: -28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blood);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-shadow: 0 0 18px rgba(215, 25, 36, 0.35);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.98;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f7eee8;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08),
    0 10px 44px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(255, 255, 255, 0.08);
}

.hero h1 span {
  color: var(--blood);
  text-shadow: 0 0 28px rgba(215, 25, 36, 0.48), 0 10px 44px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  width: min(100%, 760px);
  margin: 28px auto 0;
  color: rgba(245, 239, 234, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.27rem);
  line-height: 1.65;
}

.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  margin: 0 auto 30px;
  opacity: 0.75;
}

.ornament span,
.ornament::before,
.ornament::after {
  content: "";
  display: block;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
}

.ornament::before,
.ornament::after {
  width: min(15vw, 170px);
  height: 1px;
}

.ornament span {
  width: 16px;
  height: 16px;
  margin: 0 16px;
  border: 1px solid var(--blood);
  transform: rotate(45deg);
  background: rgba(215, 25, 36, 0.08);
  box-shadow: 0 0 18px rgba(215, 25, 36, 0.45);
}

.ornament--small {
  margin: 28px auto 42px;
  transform: scale(0.78);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 34px);
  flex-wrap: wrap;
}

.cta {
  min-width: min(100%, 280px);
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 34px;
  border: 1px solid rgba(255, 64, 74, 0.75);
  border-radius: var(--radius-xl);
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 1, 3, 0.72);
  box-shadow: 0 0 36px rgba(215, 25, 36, 0.22), inset 0 0 34px rgba(255, 32, 43, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cta--blood {
  background:
    linear-gradient(180deg, rgba(219, 28, 38, 0.42), rgba(38, 1, 6, 0.86));
}

.cta--ghost:hover,
.cta--blood:hover {
  background:
    linear-gradient(180deg, rgba(219, 28, 38, 0.44), rgba(20, 1, 4, 0.9));
}

.icon {
  width: 30px;
  height: 30px;
  position: relative;
  flex: 0 0 30px;
}

.twitch-icon {
  border: 3px solid #f7eee8;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.twitch-icon::before,
.twitch-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 3px;
  height: 9px;
  background: #f7eee8;
}

.twitch-icon::before { left: 8px; }
.twitch-icon::after { right: 8px; }

.bag-icon {
  border: 3px solid #f7eee8;
  border-radius: 4px 4px 9px 9px;
}

.bag-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: -9px;
  height: 12px;
  border: 3px solid #f7eee8;
  border-bottom: none;
  border-radius: 11px 11px 0 0;
}

.blood-drip {
  position: absolute;
  z-index: 1;
  top: 86px;
  left: 50%;
  width: 92px;
  height: 100px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(215, 25, 36, 0.75));
}

.blood-drip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36px;
  background:
    radial-gradient(circle at 18% 0, var(--blood) 0 10px, transparent 11px),
    radial-gradient(circle at 50% 0, var(--blood) 0 15px, transparent 16px),
    radial-gradient(circle at 82% 0, var(--blood) 0 10px, transparent 11px);
  opacity: 0.85;
}

.blood-drip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 10px;
  height: 54px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--blood), rgba(215, 25, 36, 0.15));
  border-radius: 999px 999px 50% 50%;
  box-shadow: 0 48px 0 -1px var(--blood);
}

.hero-art {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero-art--castle {
  left: 4%;
  bottom: 17%;
  width: 22vw;
  min-width: 240px;
  max-width: 420px;
  height: 46vh;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(0, 0, 0, 0.78) 8% 19%, transparent 19% 23%, rgba(0, 0, 0, 0.85) 23% 36%, transparent 36% 40%, rgba(0, 0, 0, 0.82) 40% 59%, transparent 59% 63%, rgba(0, 0, 0, 0.72) 63% 74%, transparent 74% 100%),
    radial-gradient(circle at 50% 62%, rgba(192, 12, 24, 0.42), transparent 58%);
  clip-path: polygon(0 100%, 0 48%, 8% 48%, 10% 26%, 14% 48%, 20% 48%, 22% 14%, 27% 48%, 35% 48%, 40% 0, 47% 48%, 58% 48%, 62% 18%, 67% 48%, 78% 48%, 82% 29%, 86% 48%, 100% 48%, 100% 100%);
  filter: blur(0.2px);
}

.hero-art--window {
  right: 6%;
  bottom: 17%;
  width: 19vw;
  min-width: 220px;
  max-width: 360px;
  height: 48vh;
  border: 2px solid rgba(215, 25, 36, 0.33);
  border-bottom: 0;
  border-radius: 50% 50% 4px 4px / 22% 22% 4px 4px;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(215, 25, 36, 0.22) 31% 33%, transparent 33% 65%, rgba(215, 25, 36, 0.22) 65% 67%, transparent 67%),
    linear-gradient(0deg, transparent 0 36%, rgba(215, 25, 36, 0.19) 36% 38%, transparent 38% 67%, rgba(215, 25, 36, 0.18) 67% 69%, transparent 69%),
    radial-gradient(circle at 50% 18%, rgba(215, 25, 36, 0.34), transparent 38%),
    linear-gradient(180deg, rgba(215, 25, 36, 0.12), rgba(0, 0, 0, 0.65));
  box-shadow: inset 0 0 80px rgba(215, 25, 36, 0.18), 0 0 60px rgba(215, 25, 36, 0.12);
}

.minimal-section {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 42px), var(--max));
  margin: 0 auto 90px;
  padding: clamp(40px, 6vw, 70px);
  border: 1px solid rgba(230, 36, 48, 0.22);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(20, 2, 6, 0.76), rgba(7, 1, 3, 0.82));
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), inset 0 0 60px rgba(215, 25, 36, 0.05);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

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

.feature-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(230, 36, 48, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0, rgba(215, 25, 36, 0.16), transparent 15rem),
    rgba(6, 1, 3, 0.64);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.feature-card--active {
  border-color: rgba(255, 60, 72, 0.62);
  box-shadow: 0 0 32px rgba(215, 25, 36, 0.18), inset 0 0 30px rgba(255, 255, 255, 0.025);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 17px;
  background: rgba(215, 25, 36, 0.13);
  border: 1px solid rgba(255, 62, 75, 0.26);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-art {
    opacity: 0.28;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 74px;
  }

  .site-header {
    width: min(calc(100% - 24px), 1400px);
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .brand {
    font-size: 1.35rem;
    letter-spacing: 0.2em;
  }

  .brand-mark {
    display: none;
  }

  .login-button {
    min-height: 42px;
    padding: 0 15px;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 82px;
  }

  .hero h1 {
    letter-spacing: 0.035em;
  }

  .cta {
    width: min(100%, 340px);
    min-height: 66px;
  }

  .minimal-section {
    width: min(calc(100% - 24px), var(--max));
    padding: 28px 18px;
    border-radius: 24px;
  }
}


/* === ARTYSS HERO COMPACT FIX START === */
:root {
  --nav-height: 68px;
}

.site-header {
  height: 68px;
  margin-top: 10px;
  padding: 0 28px;
  border-radius: 20px;
}

.brand {
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  letter-spacing: 0.28em;
}

.login-button {
  min-height: 42px;
  padding: 0 20px;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 18px 22px 34px;
  align-items: start;
}

.hero-content {
  width: min(100%, 880px);
  margin-top: 36px;
}

.blood-drip {
  top: 66px;
  height: 82px;
  transform: translateX(-50%) scale(0.82);
}

.ornament {
  height: 22px;
  margin-bottom: 18px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
}

.hero h1 {
  font-size: clamp(2.65rem, 6.1vw, 5.85rem);
  line-height: 0.92;
  letter-spacing: 0.065em;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.45;
}

.ornament--small {
  margin: 18px auto 28px;
  transform: scale(0.66);
}

.hero-actions {
  gap: clamp(14px, 2vw, 28px);
}

.cta {
  min-width: min(100%, 250px);
  min-height: 58px;
  padding: 0 28px;
  gap: 14px;
  font-size: 0.9rem;
}

.icon {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.hero-art--castle,
.hero-art--window {
  bottom: 11%;
  opacity: 0.45;
}

.minimal-section {
  margin-top: 0;
}

@media (max-height: 820px) and (min-width: 800px) {
  .site-header {
    height: 62px;
    margin-top: 8px;
  }

  .hero {
    min-height: calc(100vh - 70px);
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .hero-content {
    margin-top: 22px;
  }

  .blood-drip {
    top: 58px;
    transform: translateX(-50%) scale(0.72);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 5.4vw, 5rem);
    line-height: 0.9;
  }

  .hero-subtitle {
    margin-top: 14px;
  }

  .ornament {
    margin-bottom: 12px;
  }

  .ornament--small {
    margin: 14px auto 22px;
  }

  .cta {
    min-height: 54px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 38px;
  }

  .hero-content {
    margin-top: 16px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 4.1rem);
    line-height: 0.96;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta {
    width: min(100%, 330px);
  }
}
/* === ARTYSS HERO COMPACT FIX END === */

