body {
    margin: 0;
    overflow: hidden; /* Skryje posuvník, když je loading obrazovka aktivní */
    font-family: 'Courier New', Courier, monospace; /* Terminálový font */
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a; /* Tmavé pozadí */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ff0000; /* Červený text */
    z-index: 9999;
    font-size: 1.5em;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000; /* Jemná záře */
}

.hacker-font {
    font-family: 'Share Tech Mono', monospace; /* Lze nahradit vlastním fontem, např. z Google Fonts */
    white-space: pre-wrap; /* Zachová formátování pre tagu */
    text-align: center;
}

.hacker-text-wrapper {
    min-height: 3em; /* Zabraňuje poskakování obsahu při změně textu */
    margin-bottom: 20px;
}

.progress-container {
    width: 80%;
    max-width: 500px;
    background-color: #330000; /* Tmavě červené pozadí pro progress bar */
    border: 2px solid #ff0000;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #ff0000; /* Plnící barva */
    transition: width 0.5s ease-out; /* Plynulá animace plnění */
}

.percentage {
    font-size: 1.2em;
}

/* Volitelně: CSS pro glitch efekt - lze přidat složitější animace */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch {
    animation: glitch 0.1s infinite alternate;
}