* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Orbitron', sans-serif;
    }

    body {
      background: linear-gradient(90deg, #243B55, #141E30);
      color: #fff;
      text-align: center;
    }

    h1 {
      padding: 1rem;
      font-size: 3rem;
      color: #FFEB3B;
    }

    .mode-selector {
      margin-bottom: 1rem;
    }

    select {
      padding: 0.5rem;
      border-radius: 8px;
      border: none;
      font-size: 9px;
      font-weight: bold;
      background-color: #FFEB3B;
      color: #141E30;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: 80px;
    }

    .container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 50vh;
    }

    .game {
      display: grid;
      grid-template-columns: repeat(3, 100px);
      gap: 10px;
    }

    .box {
      width: 100px;
      height: 100px;
      font-size: 2.5rem;
      background-color: #ffffff33;
      color: #FFEB3B;
      border: 2px solid #ffffff44;
      border-radius: 12px;
      transition: all 0.3s ease-in-out;
    }

    .box:hover:not(:disabled) {
      transform: scale(1.2);
      background-color: #ffffff55;
    }

    #reset-btn, #new-btn {
      padding: 0.75rem 1.5rem;
      margin: 1rem 0.5rem;
      font-size: 1rem;
      border: none;
      border-radius: 10px;
      background-color: #FF5722;
      color: white;
      cursor: pointer;
      transition: 0.3s;
    }

    #reset-btn:hover, #new-btn:hover {
      background-color: #ff784e;
    }

    .msg-container {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin-top: 1rem;
    }

    #msg {
      font-size: 2rem;
      color: #4CAF50;
    }
    footer {
      text-align: center;
      font-size: 16px;
      color: wheat;
    }

    footer a {
      color: wheat;
      text-decoration: none;
      font-weight: 500;
    }