* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #0f172a;
            color: #f8fafc;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

        .container {
            text-align: center;
            background: #1e293b;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            border: 1px solid #334155;
        }

        h1 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        #status {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #94a3b8;
            font-weight: 500;
        }

        .board {
            display: grid;
            grid-template-columns: repeat(3, 90px);
            grid-template-rows: repeat(3, 90px);
            gap: 10px;
            background: #0f172a;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }

        .cell {
            background: #1e293b;
            border: none;
            border-radius: 6px;
            font-size: 2.5rem;
            font-weight: bold;
            color: #f8fafc;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, transform 0.1s;
        }

        .cell:hover:not(:disabled) {
            background: #334155;
        }

        .cell:active:not(:disabled) {
            transform: scale(0.95);
        }

        .cell.x {
            color: #38bdf8;
        }

        .cell.o {
            color: #f43f5e;
        }

        #reset-btn {
            background: #3b82f6;
            color: white;
            border: none;
            padding: 0.6rem 1.2rem;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.2s;
        }

        #reset-btn:hover {
            background: #2563eb;
        }
