
:root {
  --st-bg:      #0a060e;
  --st-void:    #120818;
  --st-deep:    #1e0f26;
  --st-blood:   #6b0f0f;
  --st-crimson: #b01c1c;
  --st-scarlet: #e63030;
  --st-amber:   #d4862a;
  --st-bone:    #d3ccb2;
  --st-dust:    #a09888;
  --st-pale:    #e8dfd0;

  --bg:                    var(--st-bg);
  --text:                  var(--st-bone);
  --ornament-border-color: rgba(176, 28, 28, 0.30);
  --ornament-corner-color: rgba(176, 28, 28, 0.55);
  --ornament-bg:           rgba(7, 4, 10, 0.80);
  --btn-bg:                var(--st-blood);
  --btn-hover:             var(--st-crimson);
  --btn-color:             var(--st-pale);
  --form-status-color:     rgba(200, 191, 160, 0.85);
  --textarea-focus-ring:   rgba(176, 28, 28, 0.25);
}

body { background: var(--st-bg); color: var(--st-bone); }

.st-landing {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--st-bg);
  padding-top: 64px;
}

.st-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(107, 15, 15, 0.16) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.st-landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  gap: 12px;
}

/* TITLE ANIMACE */
.st-landing-title {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(3.4rem, 12vw + 0.5rem, 11rem);
  line-height: 1;
  color: var(--st-bone);
  letter-spacing: 0.12em;
  text-shadow:
    0 0 40px rgba(176, 28, 28, 0.72),
    0 0 100px rgba(107, 15, 15, 0.42),
    0 4px 32px rgba(0, 0, 0, 0.96);
  margin: 0;
}

.st-c {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.86);
  animation: stCharRise 0.78s cubic-bezier(0.12, 0.88, 0.24, 1) forwards;
  animation-delay: calc(2.05s + var(--i) * 0.09s);
}

@keyframes stCharRise {
  0%   { opacity: 0; transform: translateY(20px) scale(0.86);
         text-shadow: 0 0 32px rgba(230, 48, 48, 0.95); }
  60%  { text-shadow: 0 0 16px rgba(176, 28, 28, 0.55); }
  100% { opacity: 1; transform: translateY(0) scale(1);
         text-shadow: inherit; }
}

.st-landing-subtitle {
  font-family: "Cinzel", serif;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  letter-spacing: 0.32em;
  color: var(--st-crimson);
  margin: 0;
  opacity: 0;
  animation: stFadeIn 0.9s ease 2.85s forwards;
}

.st-landing-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0;
  width: 300px;
  max-width: 90vw;
  opacity: 0;
  animation: stFadeIn 0.8s ease 3.0s forwards;
}

@keyframes stFadeIn {
  to { opacity: 1; }
}

.st-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(176, 28, 28, 0.44), transparent);
}

.st-sep-rune {
  font-size: 1.1rem;
  color: var(--st-crimson);
  animation: stRunePulse 3.6s ease-in-out infinite;
}

@keyframes stRunePulse {
  0%, 100% { opacity: 0.38; text-shadow: none; }
  50%       { opacity: 1;   text-shadow: 0 0 18px rgba(176, 28, 28, 0.92); }
}

/* POPISKY */
.st-landing-tagline {
  font-family: "Cinzel", serif;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  letter-spacing: 0.14em;
  color: rgba(200, 191, 160, 0.80);
  margin: 0;
  opacity: 0;
  animation: stFadeIn 0.9s ease 3.1s forwards;
}

.st-enter-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 34px;
  border: 1px solid rgba(176, 28, 28, 0.40);
  border-radius: 4px;
  font-family: "Cinzel", serif;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  letter-spacing: 0.12em;
  color: var(--st-bone);
  background: rgba(107, 15, 15, 0.14);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  animation: stFadeIn 0.8s ease 3.35s forwards;
}

.st-enter-btn:hover {
  background: rgba(176, 28, 28, 0.24);
  border-color: rgba(230, 48, 48, 0.68);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107, 15, 15, 0.42);
}

/* MIST OVERLAY */
.st-landing-mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 36% at 16% 72%, rgba(47, 23, 59, 0.62) 0%, transparent 65%),
    radial-gradient(ellipse 48% 32% at 84% 26%, rgba(136, 12, 12, 0.32) 0%, transparent 65%);
  animation: stMistShift 30s ease-in-out infinite alternate;
}

@keyframes stMistShift {
  0%   { opacity: 0.65; transform: scale(1) translateX(0); }
  50%  { opacity: 1;    transform: scale(1.04) translateX(-14px); }
  100% { opacity: 0.72; transform: scale(1) translateX(12px); }
}

.st-landing-image {
  position: absolute;
  inset: 0;
  z-index: 1.5;
  background-image: url("img/alucard_final.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  filter: contrast(1.05) saturate(0.9);
  margin-top: 74px;
  mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.4) 70%,
    rgba(0,0,0,0) 100%);
}

/* ── Shared text helpers ──────────────────── */
.st-p {
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.12rem);
  line-height: 1.80;
  color: rgba(200, 191, 160, 0.88);
  margin: 0;
}

/* APPEAR ON SCROLL */
.st-appear {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition:
    opacity   0.88s ease calc(var(--ad, 0ms)),
    transform 0.88s cubic-bezier(0.12, 0.88, 0.24, 1) calc(var(--ad, 0ms)),
    filter    0.88s ease calc(var(--ad, 0ms));
}

.st-appear.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.st-about {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
}

.st-about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.st-about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Attribute pills */
.st-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.st-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(176, 28, 28, 0.32);
  border-radius: 999px;
  background: rgba(107, 15, 15, 0.20);
  font-family: "Cinzel", serif;
  font-size: 0.80rem;
  color: var(--st-bone);
  letter-spacing: 0.04em;
}

/* CITÁT */
.st-quote-wrap {
  position: relative;
}

.st-quote-wrap::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -7px;
  width: 36px;
  height: 36px;
  border-top: 1px solid rgba(176, 28, 28, 0.62);
  border-left: 1px solid rgba(176, 28, 28, 0.62);
  pointer-events: none;
  z-index: 1;
}

.st-quote-wrap::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 36px;
  height: 36px;
  border-bottom: 1px solid rgba(176, 28, 28, 0.62);
  border-right: 1px solid rgba(176, 28, 28, 0.62);
  pointer-events: none;
  z-index: 1;
}

.st-quote-box {
  background: transparent;
  border: 1px solid rgba(176, 28, 28, 0.22);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
}

.st-quote-text {
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 1.4vw + 0.35rem, 1.18rem);
  line-height: 1.80;
  color: var(--st-dust);
  font-style: italic;
  margin: 0 0 14px;
}

.st-quote-cite {
  display: block;
  font-family: "Rubik", sans-serif;
  font-size: 0.82rem;
  color: var(--st-crimson);
  letter-spacing: 0.07em;
}

/* MOC */
.st-powers {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(18, 8, 24, 0.52) 40%,
    transparent 100%);
}

.st-powers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.st-sec-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 48px;
}

.st-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.st-card {
  position: relative;
  overflow: visible;
  border-radius: 16px;
  border: 1px solid rgba(176, 28, 28, 0.20);
  background: transparent;
  padding: 30px 20px 26px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.st-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 48, 48, 0.52);
  box-shadow: 0 12px 40px rgba(107, 15, 15, 0.36);
}

.st-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(176, 28, 28, 0.52);
  border-left: 1px solid rgba(176, 28, 28, 0.52);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.st-card::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-bottom: 1px solid rgba(176, 28, 28, 0.52);
  border-right: 1px solid rgba(176, 28, 28, 0.52);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.st-card:hover::before,
.st-card:hover::after {
  border-color: var(--st-scarlet);
}

.st-card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(176, 28, 28, 0.52));
}

.ikonky{
  height: 45px;
  width: auto;
}

.st-card-name {
  font-family: "Cinzel", serif;
  font-size: clamp(0.85rem, 1.1vw + 0.15rem, 0.98rem);
  color: var(--st-bone);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.st-card-desc {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(200, 191, 160, 0.60);
}

/* LEGENDY A MÝTY */
.st-legends {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
}

.st-legends-inner {
  max-width: 900px;
  margin: 0 auto;
}

.st-stories {
  display: flex;
  flex-direction: column;
}

.st-story {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(30, 15, 38, 0.55);
  align-items: start;
}

.st-story:last-child { border-bottom: none; }

.st-story-num {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: rgba(176, 28, 28, 0.28);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
  user-select: none;
}

.st-story-content {
  padding-left: 18px;
  border-left: 2px solid rgba(107, 15, 15, 0.45);
  transition: border-color 0.3s ease;
}

.st-story:hover .st-story-content {
  border-left-color: var(--st-crimson);
}

.st-story-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.1rem, 1.8vw + 0.3rem, 1.4rem);
  color: var(--st-bone);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.dotaznik_pro_studenty {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
}

.dotaznik-deco-frame {
  width: 90%;
  position: relative;
  overflow: visible;
  border-radius: 16px;
  border: 1px solid rgba(176, 28, 28, 0.20);
  background: transparent;
  padding: 70px 20px 26px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dotaznik-deco-frame::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(176, 28, 28, 0.52);
  border-left: 1px solid rgba(176, 28, 28, 0.52);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.dotaznik-deco-frame::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-bottom: 1px solid rgba(176, 28, 28, 0.52);
  border-right: 1px solid rgba(176, 28, 28, 0.52);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.dotaznik-deco-frame {
  animation: stCrimsonGlow 5.5s ease-in-out infinite;
}

#quizForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.answers {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.answers label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.answers input[type="radio"] {
  accent-color: #b01c1c; /* moderní způsob barvy */
  transform: scale(1.1);
  cursor: pointer;
}

.answers label:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(176, 28, 28, 0.5);
}

.answers input[type="radio"]:checked + span {
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(176, 28, 28, 0.8),
    0 0 14px rgba(176, 28, 28, 0.6);
}

.answers input[type="radio"]:checked {
  accent-color: rgb(176, 28, 28);
}

.answers input:checked + span {
  color: #fff;
  text-shadow: 0 0 10px rgba(176, 28, 28, 0.9);
}

/* RESPONZIVITA */
@media (max-width: 1024px) {
  .st-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .st-about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .st-story {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .st-story-num { font-size: 1.8rem; }
}

@media (max-width: 998px) {
  .answers {
    flex-direction: column;
    gap: 1rem;
    display: flex;
    justify-content: left;
    align-items: left;
  }
}

@media (max-width: 950px) {
  .st-landing-title { letter-spacing: 0.04em; }
  .st-about, .st-powers, .st-legends { padding: 80px 16px 60px; }
}

@media (max-width: 585px) {
  .st-landing-image {
    margin-top: 0;
  }
}

@media (max-width: 400px) {
  .st-cards { grid-template-columns: 1fr; }
}

/* CUSTOM NAVBAR */
.navbar {
  background-color: rgba(7, 4, 10, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--st-bone);
}

.navbar.scrolled {
  background-color: rgba(7, 4, 10, 0.46);
}

.nav-links a:hover {
  background-color: rgba(107, 15, 15, 0.48);
}

@media (max-width: 1100px) {
  .nav-links {
    background-color: rgba(7, 4, 10, 0.8);
    border-bottom: 1px solid rgba(176, 28, 28, 0.16);
  }
}

/* CUSTOM KONTAKTY */
.kontakty {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(18, 8, 24, 0.46) 40%,
    rgba(7, 4, 10, 0.72) 100%);
}

.ornament-frame {
  animation: stCrimsonGlow 5.5s ease-in-out infinite;
}

@keyframes stCrimsonGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(107, 15, 15, 0.20), inset 0 0 8px rgba(107, 15, 15, 0.10); }
  50%       { box-shadow: 0 0 36px rgba(176, 28, 28, 0.44), inset 0 0 18px rgba(176, 28, 28, 0.18); }
}
