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

/* Subtle Slavic antique background - hostile vampiric purple */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 30% 25%, rgba(147, 51, 234, 0.09) 0%, transparent 70%),
        radial-gradient(circle at 70% 45%, rgba(192, 38, 211, 0.08) 0%, transparent 65%),
        linear-gradient(135deg, #0a050f 0%, #140a1f 100%);
    background-size: 900px 900px, cover;
    opacity: 0.95;
}

body::after {
    content: "☉ ⚚ ☽ ⚘ ✶ ⚚ ☉";
    position: fixed;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 58px;
    letter-spacing: 38px;
    color: rgba(216, 180, 254, 0.04);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
}

/* ================= NAV ================= */
#mainNav {
    background: rgba(10, 5, 15, 0.98);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(147, 51, 234, 0.25);
    backdrop-filter: blur(6px);
}

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

#mainNav a {
    color: #E6E6E6;
    text-decoration: none;
    font-size: 1.15rem;
    padding: 8px 18px;
    transition: all 0.3s ease;
}

#mainNav a:hover {
    color: #e0bbff;
    text-shadow: 0 0 10px rgba(224, 187, 255, 0.6);
}

/* ================= HEADER ================= */
header {
    background: linear-gradient(135deg, #140a1f, #0a050f);
    text-align: center;
    padding: 80px 20px 60px;
}

header h1 {
    font-size: 3.2rem;
    margin: 0 0 12px;
    color: #e0bbff;
    text-shadow: 0 0 18px rgba(224, 187, 255, 0.45);
}

.types {
    font-size: 1.3rem;
    color: #c026d3;
    opacity: 0.85;
    margin: 0;
}

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

#creatureImg {
    width: 280px;
    border-radius: 16px;
    border: 2px solid rgba(147, 51, 234, 0.55);
    box-shadow: 0 15px 45px rgba(0,0,0,0.85);
    transition: all 0.4s ease;
}

#creatureImg:hover {
    transform: scale(1.06) rotate(2deg);
    border-color: #d946ef;
    box-shadow: 0 22px 55px rgba(217, 70, 239, 0.3);
}

.info {
    max-width: 580px;
    line-height: 1.75;
}

.info h3 {
    color: #e0bbff;
    margin: 35px 0 12px;
    font-size: 1.65rem;
    border-bottom: 1px solid rgba(147, 51, 234, 0.3);
    padding-bottom: 8px;
}

/* Abilities & Lore boxes */
.abilities ul,
.lore p {
    background: rgba(20, 10, 31, 0.72);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 4px solid #c026d3;
    margin: 15px 0;
}

/* Footer - Clean */
footer {
    text-align: center;
    padding: 40px 20px 30px;
    opacity: 0.75;
    font-size: 1rem;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    margin-top: 80px;
}
#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;
}