:root {
  --bg: #0d0d0f;
  --text: #ffffff;
  --muted: #9a9aa2;
  --spotify: #1db954;
  /* Značková červená z původního webu hospodskybordel.cz */
  --red: #c0241f;
  --red-dark: #a01e1a;
  --red-light: #e8433d;
  --accent-grad: linear-gradient(100deg, var(--red-light) 0%, var(--red) 55%, var(--red-dark) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) clamp(6rem, 10vw, 7rem);
  isolation: isolate;
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg {
  background: #000 url("assets/pozadi.jpg") center 42% / cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
}

.hero__overlay {
  background:
    radial-gradient(130% 100% at 50% 42%, rgba(13,13,15,0.35) 0%, rgba(13,13,15,0.68) 100%),
    linear-gradient(180deg, rgba(13,13,15,0.82) 0%, rgba(13,13,15,0.58) 30%, rgba(13,13,15,0.62) 60%, rgba(13,13,15,0.95) 100%);
}

.hero__content {
  width: 100%;
  max-width: 960px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* ---------- Overline ---------- */
.overline {
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-light);
  padding: 0.5em 1.1em;
  border: 1px solid rgba(192,36,31,0.6);
  border-radius: 999px;
  background: rgba(13,13,15,0.35);
  backdrop-filter: blur(4px);
}

/* ---------- Name change graphic ---------- */
.namechange {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.namechange__old,
.namechange__new {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.old-name,
.new-name {
  font-family: "Anton", "Montserrat", sans-serif;
  line-height: 0.9;
  text-transform: uppercase;
}

.old-name {
  font-size: clamp(2.2rem, 9vw, 5rem);
  color: #f4f4f6;
  letter-spacing: 0.01em;
  text-align: center;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.55));
}

.new-name {
  font-size: clamp(2.8rem, 11vw, 6rem);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 4px 30px rgba(192,36,31,0.5));
  animation: pulse 2.4s ease-in-out 1.2s infinite;
}

.namechange__arrow {
  color: var(--red-light);
  display: flex;
  opacity: 0;
  animation: fadein 0.5s ease-out 1s forwards, arrowbounce 1.6s ease-in-out 1.6s infinite;
}
.namechange__arrow svg { transform: rotate(90deg); }

.tag {
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.tag--old { color: #7a7a82; }
.tag--new {
  color: var(--red-light);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: rgba(192,36,31,0.14);
  border: 1px solid rgba(192,36,31,0.5);
}

/* ---------- Text ---------- */
.subhead {
  font-size: clamp(1.1rem, 3.2vw, 1.6rem);
  font-weight: 700;
}

.note {
  max-width: 46ch;
  color: #f2f2f4;
  font-size: clamp(0.9rem, 2.4vw, 1.02rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--red-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.note a:hover { color: var(--red-light); }

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 26px rgba(192,36,31,0.4);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(192,36,31,0.55);
}

.links__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 0.9rem);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  backdrop-filter: blur(4px);
}
.icon svg { width: 22px; height: 22px; }
.icon:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); }
.icon--spotify:hover { color: var(--spotify); }

/* ---------- Contact footer ---------- */
.contact {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding: 1rem 1.25rem;
  font-size: clamp(0.75rem, 2vw, 0.88rem);
  color: #c7c7cd;
  background: linear-gradient(0deg, rgba(13,13,15,0.9), transparent);
}
.contact__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7em;
  color: var(--muted);
}
.contact__name { font-weight: 700; color: #fff; }
.contact a { text-decoration: none; color: #e7e7ea; }
.contact a:hover { color: var(--red-light); }
.contact__sep { color: #55555c; }

/* ---------- Animations ---------- */
@keyframes fadein { to { opacity: 1; } }
@keyframes arrowbounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 20px rgba(192,36,31,0.4)); }
  50% { transform: scale(1.035); filter: drop-shadow(0 6px 38px rgba(192,36,31,0.7)); }
}

@media (max-width: 560px) {
  .contact { position: static; margin-top: 2.5rem; }
  .hero { padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .new-name { animation: none; }
  .namechange__arrow { animation: none; opacity: 1; }
}
