/* ========== OCA GAME STYLES ========== */

.oca-layout {
    display: flex;
    gap: 20px;
    height: calc(100% - 70px);
}

.oca-board-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oca-board {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 700px;
}

.oca-cell {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 4px;
    text-align: center;
    min-height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid transparent;
}

.oca-cell.empty {
    background: transparent;
    border: none;
}

.oca-cell.meta {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #fbbf24;
}

.oca-cell.special.oca {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #22c55e;
}

.oca-cell.special.puente {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-color: #8b5cf6;
}

.oca-cell.special.dados {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
}

.oca-cell.special.posada {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: #f97316;
}

.oca-cell.special.pozo {
    background: linear-gradient(135deg, #64748b, #475569);
    border-color: #64748b;
}

.oca-cell.special.laberinto {
    background: linear-gradient(135deg, #ec4899, #db2777);
    border-color: #ec4899;
}

.oca-cell.special.carcel {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
}

.oca-cell.special.muerte {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-color: #374151;
}

.cell-icon {
    font-size: 1.4rem;
}

.cell-num {
    font-size: .55rem;
    color: rgba(255,255,255,.6);
    position: absolute;
    top: 2px;
    left: 4px;
}

.cell-num-big {
    font-family: Orbitron;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
}

.cell-players {
    position: absolute;
    bottom: 2px;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

.cell-players .player-token {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: .55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.oca-sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.oca-label {
    color: var(--text-muted);
    font-size: .75rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.oca-dice-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.oca-dice-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.oca-die {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a2e;
    box-shadow: 0 4px 0 #ccc;
}

.oca-die.rolling {
    animation: dieRoll .1s ease infinite;
}

@keyframes dieRoll {
    0%,100% { transform: rotate(0deg);
}

50% {
    transform: rotate(10deg);
}

.oca-total {
    font-family: Orbitron;
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-top: 10px;
}

.oca-turn-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.oca-current-player {
    font-family: Orbitron;
    font-size: 1.2rem;
    color: white;
}

.oca-message-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
}

.oca-message {
    color: var(--accent-cyan);
    font-size: .95rem;
    text-align: center;
    min-height: 45px;
}

.oca-positions {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.oca-pos-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 6px;
}

.oca-pos-avatar {
    font-size: 1.5rem;
}

.oca-pos-name {
    flex: 1;
    font-weight: 600;
}

.oca-pos-cell {
    font-family: Orbitron;
    color: var(--accent-orange);
}

.oca-controls {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}