

* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
/*  */


/* ทำให้พื้นหลังเต็มจอ */
/* body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  background: linear-gradient(45deg, #3498db, #8e44ad, #2ecc71, #f39c12);
  background-size: 400% 400%;
  animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* กล่อง login */
/*
.login-container {
  position: absolute;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
}

.login-container input {
  width: 200px;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.login-container button {
  width: 220px;
  padding: 10px;
  margin-top: 10px;
  background-color: #8e44ad;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
} */


/*  */
    body {
      font-family: 'Prompt', sans-serif;
    background: url(/img/bg-onex889.jpg) center;
    color: white;
    background-size: cover;
    text-align: center;
    padding: 2rem 1rem;
    }

    .logo {
    }

    .logo img {
    max-width: 750px;
    width: 100%;
    height: auto;
    }

    .main-character {
      max-width: 500px;
      margin: 0 auto 2rem;
    }

    h1 {
      font-size: 90px;
      font-weight: 600;
      line-height: 80px;
    }
    
    p.subtitle {
      font-size: 48px;
      color: #ddd;
      margin-bottom: 1rem;
    }

    .cta-button {
      display: inline-block;
      background: linear-gradient(90deg, #FF9D00 0%, #FFCC1D 100%);
      color: black;
      font-weight: 600;
      font-size: 1.4rem;
      padding: 0.8rem 2rem;
      border-radius: 999px;
      text-decoration: none;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      transition: all 0.3s ease;
    }

    .cta-button:hover {
     background: linear-gradient(90deg, #00dcff 0%, #7977db 100%);
    color: #ffffff;
    transition: all 0.3s ease;
    }

    .game-icons {
      margin-top: 3rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    .game-icons img {
      width: 100px;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.5);
      transition: transform 0.3s;
    }

    .game-icons img:hover {
      transform: scale(1.05);
    }

/* ------------------ Responsive ------------------ */
@media (max-width: 1024px) {
  h1 {
    font-size: 4rem;
  }

  p.subtitle {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 0.7rem 1.8rem;
  }

  .game-icons img {
    width: 90px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  p.subtitle {
    font-size: 1.3rem;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
  }

  .game-icons img {
    width: 80px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  p.subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .game-icons img {
    width: 70px;
  }
}