* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    padding: 20px;
}

h1 {
    color: #eee;
    margin-bottom: 20px;
    font-size: 2.5em;
}

#status {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.turn-indicator {
    font-weight: bold;
}

#board {
    display: grid;
    grid-template-columns: repeat(7, 60px);
    grid-template-rows: repeat(6, 60px);
    gap: 5px;
    margin: 0 auto;
    padding: 10px;
    background: #333;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cell {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f4a460;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    position: relative;
}

.cell:hover {
    transform: scale(1.05);
}

.cell.p1 {
    background: #e74c3c;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.3);
}

.cell.p2 {
    background: #3498db;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.3);
}

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

#reset-btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.2em;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#reset-btn:hover {
    background: #27ae60;
    transform: scale(1.05);
}

#reset-btn:active {
    transform: scale(0.95);
}

.winner {
    animation: pulse 0.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}