* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none; /* Evita selección accidental de texto en móviles */
    -webkit-user-select: none;
}

body {
    background-color: #0f0f13;
    color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    padding: 15px 10px;
    min-height: 100vh;
}

#contenedor-juego {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header {
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.subtitulo {
    font-size: 0.9rem;
    color: #a0a0b0;
}

/* Contenedor de Fichas */
#elementos-creacion {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    background-color: #16161e;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
}

.elemento {
    background-color: #222230;
    border: 2px solid #3a3a50;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.elemento.seleccionado {
    border-color: #ffd700;
    background-color: #2d2d44;
    transform: scale(1.05);
}

/* Tablero de Días */
#tablero-dias {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dia-contenedor {
    background-color: #16161e;
    border: 1px solid #232330;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dia-titulo {
    font-weight: bold;
    color: #ffd700;
    font-size: 0.95rem;
    width: 25%;
}

.zona-drop {
    width: 70%;
    height: 44px;
    border: 2px dashed #3a3a50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d0d12;
    transition: all 0.2s ease;
    cursor: pointer;
}

.zona-drop:active {
    background-color: #1a1a26;
}

/* Estados de Verificación */
.correcto {
    background-color: rgba(40, 167, 69, 0.2) !important;
    border-color: #28a745 !important;
}

.incorrecto {
    background-color: rgba(220, 53, 69, 0.2) !important;
    border-color: #dc3545 !important;
}

/* Botón de Acción */
#btn-verificar {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border: none;
    border-radius: 10px;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transition: transform 0.1s ease;
}

#btn-verificar:active {
    transform: scale(0.98);
}

.oculto {
    display: none !important;
}