/* jogodavelha.css - Estilo moderno gamificado */
:root {
    --bg-primary: #0f172a; --bg-card: #1e293b; --bg-hover: #334155;
    --text-main: #f8fafc; --text-muted: #94a3b8;
    --accent: #3b82f6; --accent-hover: #60a5fa;
    --x-color: #60a5fa; --o-color: #f472b6;
    --win: #22c55e; --lose: #ef4444; --draw: #f59e0b;
}
body { background: var(--bg-primary); color: var(--text-main); font-family: 'Inter', sans-serif; margin: 0; }
.velha-wrapper { max-width: 500px; margin: 2rem auto; padding: 1rem; text-align: center; }
.game-header h1 { font-size: 2rem; margin: 0; background: linear-gradient(90deg, var(--x-color), var(--o-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.game-header p { color: var(--text-muted); margin: 0.5rem 0 1.5rem; }
.status-bar { background: var(--bg-card); padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #334155; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1rem 0; }
.cell { aspect-ratio: 1; background: var(--bg-card); border: 2px solid #475569; border-radius: 12px; font-size: 3rem; font-weight: bold; color: var(--text-main); cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.cell:hover:not(.taken) { border-color: var(--accent); background: var(--bg-hover); transform: scale(1.02); }
.cell.x { color: var(--x-color); } .cell.o { color: var(--o-color); } .cell.taken { cursor: default; }
.controls { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.btn { padding: 0.75rem 1.5rem; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary { background: var(--accent); color: white; } .btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #475569; color: white; } .btn-secondary:hover { background: #64748b; }
.choice-card { background: var(--bg-card); border: 1px solid #334155; border-radius: 12px; padding: 2rem; margin-top: 1rem; }
.choice-btn { width: 100%; padding: 1rem; margin: 0.5rem 0; background: var(--bg-hover); border: 1px solid #475569; border-radius: 8px; color: var(--text-main); font-size: 1.1rem; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.choice-btn:hover { border-color: var(--accent); background: #1e3a8a; }
.result-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.9); display: flex; align-items: center; justify-content: center; z-index: 50; animation: fadeIn 0.3s; }
.result-box { background: var(--bg-card); padding: 2rem; border-radius: 16px; text-align: center; border: 1px solid #334155; max-width: 300px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) { .velha-wrapper { margin: 1rem; } .cell { font-size: 2.5rem; } }