/* Multiplayer Menu Styles */
.multiplayer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.multiplayer-menu.hidden {
    display: none;
}

.menu-container {
    background: rgba(22, 22, 26, 0.95);
    border: 2px solid rgba(67, 211, 100, 0.3);
    border-radius: 20px;
    padding: 40px;
    min-width: 400px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.menu-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #43d364;
    text-shadow: 0 0 15px rgba(67, 211, 100, 0.5);
}

.menu-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #f2f2f2;
}

.menu-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-step.hidden {
    display: none;
}

.menu-btn {
    background: linear-gradient(135deg, #43d364 0%, #2ea04b 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 211, 100, 0.3);
    pointer-events: all;
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 211, 100, 0.5);
}

.menu-btn:active {
    transform: translateY(0);
}

.menu-btn:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
}

.menu-container input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    color: white;
    text-align: center;
    pointer-events: all;
}

.menu-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.menu-container input:focus {
    outline: none;
    border-color: #43d364;
    box-shadow: 0 0 10px rgba(67, 211, 100, 0.3);
}

#playersList {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}

#playersList h4 {
    margin-bottom: 10px;
    color: #43d364;
}

#playersList p {
    margin: 5px 0;
    font-size: 1.1rem;
}

#waitingText {
    text-align: center;
    color: #bdbdbd;
    font-style: italic;
    margin-top: 10px;
}

/* Mode Selection Buttons */
.mode-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    pointer-events: all;
}

.mode-btn {
    background: linear-gradient(135deg, #43d364 0%, #2ea04b 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 211, 100, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(67, 211, 100, 0.5);
}

.mode-btn:active {
    transform: translateY(0);
}