@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400&display=swap');

:root {
    --bg-color-1: oklch(15.43% 0.133 268.31);
    --bg-color-2: oklch(20.43% 0.153 288.31);
    --text-color: oklch(90% 0.05 288.31);
    --accent-color: rgb(223, 29, 90);
    --glow-color: rgba(184, 243, 177);
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(45deg, var(--bg-color-1), var(--bg-color-2));
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23n)" opacity="0.1"/%3E%3C/svg%3E');
    opacity: 0.1;
    pointer-events: none;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(27, 22, 46, 0.5);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 1.5s ease-out;
    position: relative;
    z-index: 1;
}

.logo {
    animation: float 4s ease-in-out infinite;
    color: brown;
}

.key {
    width: 120px;
    height: 120px;
    fill: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--glow-color));
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin: 0;
    animation: slideInDown 1s ease-out;
    text-shadow: 0 0 15px var(--glow-color), 0 0 25px var(--glow-color);
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0.5rem 0 1.5rem;
    animation: slideInUp 1s ease-out;
}

p {
    animation: slideInUp 1.2s ease-out;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin: 2rem auto 0;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.4);
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--glow-color));
    border-radius: 10px;
    animation: loadProgress 3s ease-out forwards 1.5s;
    box-shadow: 0 0 10px var(--glow-color), 0 0 15px var(--glow-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotateKey {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loadProgress {
    from { width: 0; }
    to { width: 75%; }
}