body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    margin: 0;
    padding: 0;
    color: #e0eaff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.28);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
}

h1, h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #bbdefb;
    text-shadow: 0 0 6px rgba(255,255,255,0.4);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #cfd8dc;
}

.auth-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 35px;
}

.auth-section .new-player,
.auth-section .registered-player {
    background-color: rgba(255, 255, 255, 0.12);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-section .new-player:hover,
.auth-section .registered-player:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

code {
    background: rgba(255, 255, 255, 0.18);
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 700;
    color: #e3f2fd;
    font-family: 'Courier New', Courier, monospace;
}

.warning {
    color: #ffd54f;
    font-weight: 700;
    text-shadow: 0 0 2px #ffca28;
}

.form-section {
    margin-top: 35px;
    background: rgba(255, 255, 255, 0.12);
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    margin: 12px 0 24px;
    border: 1.8px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #f0f4ff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #d3e0ff;
    font-weight: 400;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #64b5f6;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 10px #90caf9;
}

button {
    display: block;
    width: 100%;
    padding: 15px 0;
    background-color: #2196f3;
    border: none;
    border-radius: 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

button:hover {
    background-color: #1976d2;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.8);
}

.success, .error {
    padding: 14px 25px;
    border-radius: 14px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    user-select: none;
}

.success {
    background: rgba(0, 255, 100, 0.25);
    color: #b5ffcd;
    box-shadow: 0 0 12px #0f8f56;
}

.error {
    background: rgba(255, 0, 0, 0.25);
    color: #ffaaaa;
    box-shadow: 0 0 12px #ff5c5c;
}
