@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@400;600;700&display=swap');

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('clay_background.png') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.6;
    z-index: -1;
    filter: blur(1px);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #000;
    color: #cbd5e1;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.font-space {
    font-family: 'Audiowide', cursive
}

.space-bg {
    min-height: 100vh;
    position: relative;
    overflow: hidden
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%
}

.rocket {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 100"><path d="M25,0 C25,0 0,30 0,60 L10,100 L25,90 L40,100 L50,60 C50,30 25,0 25,0 Z" fill="%23cbd5e1"/><circle cx="25" cy="40" r="10" fill="%233b82f6"/><path d="M10,100 L0,110 L15,100 Z" fill="%23ef4444"/><path d="M40,100 L50,110 L35,100 Z" fill="%23ef4444"/></svg>') no-repeat center/contain;
    transition: bottom 2s ease-in, transform 0.1s;
    z-index: 10
}

.rocket.launch {
    bottom: 150%
}

.flame {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 0;
    background: linear-gradient(to bottom, #ef4444, #eab308);
    border-radius: 50%;
    transition: height 0.2s
}

.rocket.launch .flame {
    height: 100px;
    animation: flicker 0.1s infinite
}

@keyframes flicker {
    0% {
        opacity: 1;
        height: 100px
    }

    50% {
        opacity: 0.8;
        height: 90px
    }

    100% {
        opacity: 1;
        height: 100px
    }
}

.control-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #1e293b;
    border-top: 4px solid #475569;
    padding: 20px;
    display: flex;
    flex-direction: column;
    items-center;
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8)
}

.screen {
    background: #000;
    border: 4px solid #334155;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    color: #22c55e;
    font-family: 'Courier New', monospace;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.2)
}

.btn-module {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto
}

.btn-launch {
    background: #ef4444;
    border: none;
    border-bottom: 6px solid #b91c1c;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: white;
    font-family: 'Audiowide';
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.1s
}

.btn-launch:active {
    transform: translateY(4px);
    border-bottom: 2px solid #b91c1c;
    box-shadow: none
}

.btn-op {
    background: #334155;
    color: #fff;
    border: 2px solid #475569;
    border-radius: 5px;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s
}

.btn-op:hover {
    background: #475569;
    border-color: #94a3b8
}

.btn-op:active {
    background: #0f172a
}

.step-highlight {
    color: #facc15;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #facc15;
    text-decoration-thickness: 3px
}