/* ================= MICRO SITE - SLAVDEX CREATURE ================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background: #fbf7f0;
    color: #3f2a1e;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Soft, diffused, kind sunrise meadow - flashbang friendly */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 32% 28%, rgba(251, 191, 36, 0.16) 0%, transparent 68%),
        radial-gradient(circle at 72% 42%, rgba(192, 132, 252, 0.13) 0%, transparent 72%),
        radial-gradient(circle at 48% 78%, rgba(251, 191, 36, 0.10) 0%, transparent 65%),
        linear-gradient(135deg, #fbf7f0 0%, #f5e8d3 100%);
    background-size: 2600px 2600px;
    opacity: 0.88;
}

/* Very gentle playful symbols - low contrast */
body::after {
    content: "☉ ⚘ ☽ ✶ ⚘ ☉";
    position: fixed;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 52px;
    letter-spacing: 34px;
    color: rgba(192, 132, 252, 0.08);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
}

/* ================= NAV ================= */
#mainNav {
    background: rgba(251, 247, 240, 0.95);
    padding: 17px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(251, 191, 36, 0.22);
    backdrop-filter: blur(8px);
}

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

#mainNav a {
    color: #3f2a1e;
    text-decoration: none;
    font-size: 1.15rem;
    padding: 9px 20px;
    transition: all 0.4s ease;
    border-radius: 9999px;
}

#mainNav a:hover {
    color: #c084fc;
    background: rgba(251, 191, 36, 0.08);
}

/* ================= HEADER ================= */
header {
    background: linear-gradient(135deg, #f8f1e0, #fbf7f0);
    text-align: center;
    padding: 90px 20px 65px;
}

header h1 {
    font-size: 3.35rem;
    margin: 0 0 14px;
    color: #d97706;
    text-shadow: 0 2px 12px rgba(251, 191, 36, 0.25);
}

.types {
    font-size: 1.32rem;
    color: #a78bfa;
    margin: 0;
    opacity: 0.92;
}

/* ================= MAIN CONTENT ================= */
#entry {
    max-width: 1120px;
    margin: 55px auto;
    padding: 0 30px;
    display: flex;
    gap: 55px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

#creatureImg {
    width: 290px;
    border-radius: 26px;
    border: 3px solid rgba(192, 132, 252, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#creatureImg:hover {
    transform: scale(1.05) rotate(-2.5deg);
    border-color: #d97706;
    box-shadow: 0 20px 48px rgba(251, 191, 36, 0.18);
}

.info {
    max-width: 590px;
    line-height: 1.78;
}

.info h3 {
    color: #d97706;
    margin: 38px 0 13px;
    font-size: 1.68rem;
    border-bottom: 2px solid rgba(192, 132, 252, 0.32);
    padding-bottom: 9px;
}

/* Abilities & Lore boxes - very soft & kind */
.abilities ul,
.lore p {
    background: rgba(255, 252, 242, 0.82);
    padding: 21px 26px;
    border-radius: 22px;
    border-left: 5px solid #c084fc;
    margin: 17px 0;
    box-shadow: 0 6px 20px rgba(192, 132, 252, 0.07);
    color: #3f2a1e;
}

/* Footer - calm */
footer {
    text-align: center;
    padding: 45px 20px 32px;
    opacity: 0.82;
    font-size: 1rem;
    border-top: 1px solid rgba(251, 191, 36, 0.18);
    margin-top: 85px;
    color: #4b3a2a;
}
#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;
}