/* ================= BODY & ANTIQUE SLAVIC BACKGROUND ================= */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0a0c10;
  color: #E6E6E6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 70px;
}

/* Antique Slavic Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background-image:
    radial-gradient(circle at 25% 25%, rgba(180,140,80,0.07) 0%, transparent 60%),
    radial-gradient(circle at 75% 35%, rgba(200,160,90,0.06) 0%, transparent 55%),
    radial-gradient(circle at 35% 75%, rgba(170,130,70,0.05) 0%, transparent 50%),
    repeating-linear-gradient(40deg, rgba(255,255,255,0.009) 0px, transparent 2px, transparent 26px),
    repeating-linear-gradient(-50deg, rgba(255,255,255,0.007) 0px, transparent 1.5px, transparent 24px),
    linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);

  background-size: 650px 650px, 820px 820px, 480px 480px, auto, auto, cover;
  background-blend-mode: overlay, overlay, overlay, normal;
  opacity: 0.94;
}

body::after {
  content: "☉ ⚚ ☽ ⚘ ✶ ⚚ ☉";
  position: fixed;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 72px;
  letter-spacing: 42px;
  color: rgba(210, 170, 100, 0.04);
  z-index: -1;
  white-space: nowrap;
}

/* ================= NAV ================= */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 12, 16, 0.97);
  padding: 18px 0;
  z-index: 2000;
  border-bottom: 1px solid rgba(200, 160, 90, 0.18);
  backdrop-filter: blur(8px);
}

#mainNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 50px;
}

#mainNav a {
  color: #E6E6E6;
  text-decoration: none;
  font-size: 1.18rem;
  padding: 8px 20px;
  position: relative;
  outline: none;
  transition: all 0.35s ease;
}

#mainNav a:hover,
#mainNav a:focus {
  color: #f0d9a0;
  text-shadow: 0 0 10px rgba(240, 217, 160, 0.6), 0 4px 15px rgba(240, 217, 160, 0.4);
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(135deg, #1a1d24, #0f1116);
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: 4.2rem;
  margin: 0 0 12px;
  color: #f0d9a0;
  text-shadow: 0 0 20px rgba(240, 217, 160, 0.3);
}

header p {
  font-size: 1.35rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

/* ================= SECTIONS & FEATURED CARD ================= */
section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #f0d9a0;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.creature-display {
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

#featuredImg {
  max-width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(200, 160, 90, 0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  transition: all 0.4s ease;
}

#featuredImg:hover {
  transform: scale(1.08) rotate(2deg);
  border-color: #d4b070;
  box-shadow: 0 25px 50px rgba(201, 166, 107, 0.3);
}

#creatureDesc {
  max-width: 520px;
}

#creatureDesc h3 {
  color: #f0d9a0;
  font-size: 2.1rem;
  margin: 0 0 15px;
}

#creatureDesc p {
  line-height: 1.7;
  font-size: 1.1rem;
  opacity: 0.9;
}

button {
  margin-top: 20px;
  padding: 12px 28px;
  background: #1a1d24;
  color: #f0d9a0;
  border: 2px solid #c9a66b;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #c9a66b;
  color: #0f1116;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(201, 166, 107, 0.4);
}

/* ================= CREATORS - TILTING & RANDOMIZED ================= */
/* ================= CREATORS - MIRRORED TILTS & UNIQUE COLORS ================= */
.creators-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
    justify-content: center;
    position: relative;
}

.creator {
    max-width: 460px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    line-height: 1.78;
    position: relative;
}

/* Lukas - Deep Toxic Ice Blue */
.lukas h3 {
    color: #8fd4ff;
}

.lukas .role {
    color: #5eb8ff;
}

.lukas p {
    color: #c8e0ff;
}

/* Dominik - Lethal Frost Violet */
.dominik h3 {
    color: #c8a8ff;
}

.dominik .role {
    color: #a07cff;
}

.dominik p {
    color: #e0d4ff;
}

/* Mirrored Tilts */
.tilt-left {
    transform: rotate(-4.5deg);
    align-self: flex-start;
}

.tilt-right {
    transform: rotate(4.5deg);
    align-self: flex-end;
}

/* Hover - Straighten + deadly glow */
.creator:hover {
    transform: rotate(0deg) scale(1.04);
    z-index: 10;
}

.tilt-left:hover {
    transform: rotate(-1.2deg) scale(1.04);
}

.tilt-right:hover {
    transform: rotate(1.2deg) scale(1.04);
}

/* Unique hover glows */
.lukas:hover h3,
.lukas:hover .role {
    text-shadow: 0 0 14px rgba(94, 184, 255, 0.7);
}

.dominik:hover h3,
.dominik:hover .role {
    text-shadow: 0 0 14px rgba(160, 124, 255, 0.65);
}

/* Divider */
.divider {
  width: 90px;
  height: 3px;
  background: linear-gradient(to right, transparent, #c9a66b, transparent);
  margin: 30px auto 50px;
  border: none;
}

/* Footer */
footer {
  background: #1a1d24;
  padding: 40px 20px;
  text-align: center;
  font-size: 1rem;
  opacity: 0.75;
  border-top: 1px solid rgba(200, 160, 90, 0.15);
}

/* Floating Effects Container */
#effectContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.snowflake {
  position: absolute;
  opacity: 0.75;
  animation: floatUp linear forwards;
  text-shadow: 0 0 8px currentColor;
}

/* Floating Effects Container */
#effectContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.snowflake {
  position: absolute;
  user-select: none;
  animation: floatUp linear forwards;
  text-shadow: 0 0 12px currentColor;
  will-change: transform, opacity;
}

@keyframes floatUp {
  to {
    transform: translateY(-130vh) translateX(var(--drift, 0px));
    opacity: 0;
  }
}
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0c10; /* Černé pozadí ladící s tvým webem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease; /* Trochu pomalejší zmizení pro lepší efekt */
}

.pokeball {
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom, #ff0000 45%, #000000 45%, #000000 55%, #ffffff 55%);
    border: 3px solid #000;
    border-radius: 50%;
    position: relative;
    animation: shake 1.25s cubic-bezier(.36,.07,.19,.97) infinite;
}

/* Prostřední tlačítko Pokéballu */
.pokeball::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #ffffff;
    border: 3px solid #000;
    border-radius: 50%;
    z-index: 10;
}

/* Animace houpání/točení - aby to vypadalo jako když se chytá pokémon */
@keyframes shake {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(-20deg); }
    40% { transform: rotate(20deg); }
    60% { transform: rotate(-20deg); }
    80% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}