:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary: #38bdf8;
    --secondary: #818cf8;
    --danger: #ef4444;
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
}

.background-blobs {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; filter: blur(80px);
}
.blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; opacity: 0.15; }
.blob-1 { background: var(--primary); top: -10%; left: -10%; }
.blob-2 { background: var(--secondary); bottom: -10%; right: -10%; }

.game-container {
    background: var(--card-bg); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
    padding: 30px; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    width: 95vw; max-width: 550px;
}

header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); }
.stat-box { text-align: right; }
.stat-box .label { font-size: 10px; color: var(--text-dim); }
.stat-box .value { font-size: 28px; font-weight: 700; }

.grid-10x10 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; aspect-ratio: 1/1; }

.cell {
    aspect-ratio: 1/1; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
}

.cell.filled { background: var(--secondary); color: white; border-color: transparent; }
.cell.current { background: var(--primary); color: var(--bg-dark); box-shadow: 0 0 15px var(--primary); transform: scale(1.05); }
.cell.valid { background: rgba(56, 189, 248, 0.15); border-color: var(--primary); }

.controls { display: flex; gap: 10px; margin-top: 20px; }
.btn { flex: 1; padding: 12px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; }
.btn.primary { background: var(--primary); color: #000; }
.btn.secondary { background: rgba(255,255,255,0.1); color: #fff; }
.btn.danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
