body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background: radial-gradient(circle at top, #000000, #1a0000);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

header {
    width: 100%;
    text-align: center;
    padding: 50px 0 15px; /* было 20 — стало 50, чтобы опустить ниже */
    color: #ff2a2a;
    font-size: 1.9em;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 15px #ff0000;
}

/* Самолёт по центру */
.plane-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.plane {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
    animation: float 3s ease-in-out infinite;
}

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

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    justify-content: flex-end;
    margin-bottom: 100px;
}

#display-box {
    background: rgba(255, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* Множитель (красный по умолчанию, зелёный при активности) */
#multiplier {
    font-size: 3.2em;
    font-weight: bold;
    margin: 10px 0 0;
    color: #ff3333; /* по умолчанию красный */
    text-shadow: 0 0 10px #ff0000;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* зелёный стиль при активном множителе */
#multiplier.active {
    color: #00ff99;
    text-shadow: 0 0 25px #00ff88, 0 0 40px #00ff66;
}

#status {
    font-size: 1.2em;
    opacity: 0.9;
}

.green-text {
    color: #00ff99;
    text-shadow: 0 0 10px #00ff66;
}

#aviator-btn {
    background: linear-gradient(45deg, #ff0000, #990000);
    border: none;
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transition: 0.3s;
    margin-top: 25px;
}

#aviator-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

/* === Окно входа === */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-box {
    background: rgba(255, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.login-title {
    color: #ff2a2a;
    text-shadow: 0 0 15px #ff0000;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Универсальный стиль — применяем к обеим кнопкам */
#login-btn,
.get-code-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.1;
    box-sizing: border-box;
}

/* Убираем все внутренние различия */
button#login-btn,
a.get-code-btn {
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    height: 48px;
}

/* Кнопка "Einloggen" */
#login-btn {
    background: linear-gradient(45deg, #ff0000, #990000);
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

#login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}

/* Кнопка "Code erhalten" */
.get-code-btn {
    background: linear-gradient(45deg, #00ff99, #00cc66);
    color: #000;
    display: inline-block;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

.get-code-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ff88;
}

.login-info {
    margin-top: 14px;
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.4;
}
