/* ═══════════════════════════════════════════════
   TIC-TAC-TOE SPECIFIC STYLES
   ═══════════════════════════════════════════════ */

.ttt-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    margin-top: 10px;
    position: relative;
}

.cell {
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
    background: var(--bg-cell);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cell:hover:not(.played):not(.disabled) {
    background: var(--bg-hover);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(6,182,212,0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 2;
}

.cell.played-x {
    color: var(--cyan);
    text-shadow: var(--p1-glow);
    animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cell.played-o {
    color: var(--pink);
    text-shadow: var(--p2-glow);
    animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cell.disabled {
    cursor: not-allowed;
}

.cell.win-highlight {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
    z-index: 5;
}

@media (max-width: 400px) {
    .ttt-board { gap: 8px; padding: 12px; border-radius: var(--radius-lg); }
    .cell { border-radius: calc(var(--radius-md) - 4px); }
}
