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

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, #e0e0e0, #a0d8ef); /* Light gray to light blue gradient */
    color: white;
}

/* Container */
.container {
    text-align: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #333;
}

/* Heading */
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

/* Game Board */
.game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 10px;
    margin-bottom: 20px;
}

/* Cells */
.cell {
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border: 2px solid #ddd;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #333;
}

/* Cell hover effect */
.cell:hover {
    background-color: #e0f7fa;
    transform: scale(1.1);
}

/* Winning Cells */
.cell.winning {
    background-color: #4caf50; /* Green for winning cells */
    color: white;
    animation: glow 1s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px white;
    }
    to {
        box-shadow: 0 0 20px white;
    }
}

/* Status and Reset Button */
#status {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

#resetButton {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #00796b; /* Teal */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#resetButton:hover {
    background-color: #004d40;
}

/* Footer */
footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

/* Cells */
.cell {
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border: 2px solid #ddd;
    font-size: 3.5rem; /* Increased font size for larger icons */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #333;
}
