* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
}

.box {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
                0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #38bdf8;
    letter-spacing: -0.5px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.control-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #94a3b8;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #38bdf8;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #7dd3fc;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #334155;
    border-radius: 8px;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.input:focus {
    border-color: #38bdf8;
}

.input::placeholder {
    color: #64748b;
}

#guess-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    color: #e2e8f0;
    min-height: 24px;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.opt-btn {
    background-color: #475569;
    color: #f8fafc;
}

.opt-btn:hover {
    background-color: #64748b;
}
