@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 900;
}

.team-section {
    margin-bottom: 2rem;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

input {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
    font-weight: 300;
}

input:focus {
    outline: none;
    border-color: #3498db;
}

.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.score-display {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.score {
    text-align: center;
    font-size: 1.2rem;
    color: #2c3e50;
}

.word-display {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.turn-info {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f3 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #3498db;
}

.turn-info h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.player-turn {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    margin: 1rem 0;
    padding: 1rem 2rem;
    background: white;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #3498db;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.round-info-container {
    text-align: center;
    margin: 2rem 0;
}

.round-info {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.success {
    background: #2ecc71;
}

.success:hover {
    background: #27ae60;
}

.danger {
    background: #e74c3c;
}

.danger:hover {
    background: #c0392b;
}

/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 300px;
}

.timer-container {
    font-size: 2rem;
    margin: 1rem 0;
    color: #333;
}

.timer-container span {
    font-weight: bold;
    color: #e74c3c;
}

/* Estilos para el botón de siguiente turno cuando se pierde */
.modal-content .btn.danger {
    margin-top: 1rem;
    background-color: #e74c3c;
}

.modal-content .btn.danger:hover {
    background-color: #c0392b;
}

/* Estilos para la pantalla de tutorial */
.tutorial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tutorial-step {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
}

.tutorial-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tutorial-step p {
    font-weight: 300;
    line-height: 1.6;
}

.tutorial-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.tutorial-buttons .btn {
    width: 200px;
}

.btn.secondary {
    background-color: #6c757d;
}

.btn.secondary:hover {
    background-color: #5a6268;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .tutorial-steps {
        grid-template-columns: 1fr;
    }
    
    .tutorial-buttons .btn {
        width: 100%;
    }
} 