* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.game-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 15px;
    color: #b0c4de;
    margin-bottom: 30px;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

.message-container {
    margin-bottom: 20px;
}

#message {
    font-size: 18px;
    font-weight: 600;
    min-height: 27px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.attempts {
    font-size: 14px;
    color: #b0c4de;
}

button.hidden {
    display: none;
}


.too-high, .too-low {
    color: #ffb86c;
}

.correct {
    color: #50fa7b;
}

.error {
    color: #ff5555;
}
