:root {
    --game-accent: #8bc34a;
    --card-bg: #333;
    --slot-bg: rgba(255,255,255,0.05);
    --slot-border: rgba(255,255,255,0.2);
}

.board-container {
    background: #1a1a1a;
    justify-content: space-between;
}

#game-board {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.banco-tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    min-height: 120px;
}

/* Reto: Cadena */
.cadena-huecos {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    justify-content: center;
    padding-bottom: 10px;
}

.hueco {
    width: 100px;
    height: 120px;
    border: 2px dashed var(--slot-border);
    border-radius: 12px;
    background: var(--slot-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.2s;
}

.hueco.over {
    background: rgba(139, 195, 74, 0.1);
    border-color: var(--game-accent);
}

.flecha {
    font-size: 1.5rem;
    color: var(--slot-border);
}

/* Tarjeta */
.tarjeta {
    width: 100px;
    height: 120px;
    background: var(--card-bg);
    border: 2px solid var(--slot-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    user-select: none;
    touch-action: none;
}

.tarjeta:hover {
    transform: translateY(-4px);
    border-color: var(--game-accent);
}

.tarjeta.seleccionada {
    border-color: var(--game-accent);
    box-shadow: 0 0 15px var(--game-accent);
    transform: scale(1.05);
}

.tarjeta.correcta {
    border-color: var(--correct-color);
    background: rgba(76, 175, 80, 0.2);
    cursor: default;
    pointer-events: none;
}

.tarjeta-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.tarjeta-texto {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}

/* Reto: Clasificar */
.contenedores-clasificar {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.contenedor-destino {
    width: 180px;
    height: 200px;
    border: 3px solid var(--slot-border);
    border-radius: 20px;
    background: var(--slot-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    transition: all 0.3s;
}

.contenedor-destino.over {
    border-color: var(--game-accent);
    background: rgba(139, 195, 74, 0.05);
}

.contenedor-titulo {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: var(--game-accent);
}

.contenedor-emoji {
    font-size: 3rem;
    opacity: 0.3;
}

/* Reto: Ciclo */
.ciclo-huecos {
    position: relative;
    width: 300px;
    height: 300px;
}

.hueco-ciclo {
    position: absolute;
    transform: translate(-50%, -50%);
}

/* Ajustes para móvil */
@media (max-width: 600px) {
    .hueco, .tarjeta {
        width: 80px;
        height: 100px;
    }
    .tarjeta-emoji { font-size: 2rem; }
    .contenedores-clasificar { gap: 15px; }
    .contenedor-destino { width: 140px; }
}
