/* Estilos para el Tablero de Puntuaciones de Flappy Bird */
#flappy-scoreboard-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10010;
    width: 90%;
    max-width: 320px;
    text-align: center;
    font-family: 'Teko', sans-serif;
    border: 4px solid #ded895;
}

#flappy-scoreboard-container h2 {
    margin-top: 0;
    color: #e86101;
    font-size: 32px;
    text-transform: uppercase;
}

.scoreboard-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.scoreboard-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
    font-size: 20px;
}

.scoreboard-item:last-child {
    border-bottom: none;
}

.scoreboard-item .rank {
    font-weight: bold;
    color: #555;
    width: 25px;
    text-align: left;
}

.scoreboard-item .name {
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
}

.scoreboard-item .score-val {
    font-weight: bold;
    color: #2c3e50;
}

/* Modal para nuevo récord */
#new-record-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10020;
    justify-content: center;
    align-items: center;
}

.record-content {
    background: #70c5ce;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 5px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    max-width: 300px;
    width: 80%;
}

.record-content h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 2px 2px #000;
}

.record-content p {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.record-content input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.record-content button {
    background: #e86101;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px #a04300;
}

.record-content button:active {
    box-shadow: none;
    transform: translateY(4px);
}
