/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(https://img.lovepik.com/background/20211022/large/lovepik-simple-black-gold-background-image_401950687.jpg);
    background-size: cover;
  }
  
  .container {
    text-align: center;
  }
  
  h1 {
    margin-bottom: 20px;
    color: #ffffff;
  }
  
  #board {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    grid-gap: 15px;
    margin-bottom: 20px;
  }
  
  .cell {
    width: 150px;
    height: 150px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.5s, background-color 0.5s;
  }
  
  .cell:hover {
    transform: scale(1.1);
    background-color: #444;
  }
  
  .cell.x {
    animation: popX 0.5s ease-in-out;
    color: #00ff00; /* Green for X */
  }
  
  .cell.o {
    animation: popO 0.5s ease-in-out;
    color: #ff007f; /* Pink for O */
  }
  
  @keyframes popX {
    0% {
      transform: scale(0.5);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes popO {
    0% {
      transform: rotate(0deg) scale(0.5);
    }
    100% {
      transform: rotate(360deg) scale(1);
    }
  }
  
  #status {
    margin-bottom: 10px;
    font-size: 24px;
    color: #ffcc00;
  }
  
  button {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: #ff007f;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  button:hover {
    background-color: #ffcc00;
    transform: scale(1.1);
  }
  
  .win {
    animation: disco 0.5s infinite alternate !important;
  }
  
  @keyframes disco {
    0% { background-color: #ff0066; }
    25% { background-color: #33ccff; }
    50% { background-color: #ff0066; }
    75% { background-color: #33ccff; }
    100% { background-color: #ff0066; }
  }
  