:root {
    --nokia-bg: #91aa12;
    --nokia-dark: #171e04;
    --primary: #4CAF50;
    --secondary: #388E3C;
}

body {
    background-color: #121212;
    color: white;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#status {
    position: fixed;
    top: 10px;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
}

/* Contenedor de Bienvenida */
.welcome-container, .thanks-container {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    width: 85%;
    max-width: 350px;
    border: 1px solid #333;
}

.header-logo h1 {
    font-size: 32px;
    margin: 0;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -1px;
}

.header-logo h1 span {
    color: white;
    font-weight: 300;
}

.welcome-text {
    font-size: 16px;
    line-height: 1.4;
    margin: 20px 0;
    color: #ccc;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#nickname-input {
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

#nickname-input:focus {
    border-color: var(--primary);
}

#connect-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s, background 0.3s;
}

#connect-btn:active {
    transform: scale(0.98);
    background: var(--secondary);
}

.footer-hint {
    font-size: 12px;
    color: #555;
    margin-top: 25px;
}

/* Joystick */
.joystick-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.joystick-base {
    width: 200px;
    height: 200px;
    background-color: #222;
    border-radius: 50%;
    position: relative;
    border: 4px solid #333;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.joystick-stick {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 50%;
    position: absolute;
    top: 60px;
    left: 60px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    border: 2px solid #555;
}

.thanks-container p.small {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}
