/* ======================================
 🎰 KAISAR508 - THEME RED GOLD
 Author: GPT-5 Design System
 ====================================== */

/* === BASE === */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0b0b0b 0%, #1a1a1a 100%);
  color: #fff;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}

a {
  color: #ffcc00;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffcc00, #ff6600);
  border-radius: 4px;
}

/* === HEADER / LOGO === */
header {
  text-align: center;
  padding: 15px 0;
  background: linear-gradient(90deg, #b30000, #ffcc00, #b30000);
  background-size: 400% 400%;
  animation: gradientFlow 8s ease infinite;
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo {
  max-height: 70px;
  filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.7));
  transition: transform 0.3s ease-in-out;
}
.logo:hover {
  transform: scale(1.08);
}

/* === BANNER === */
.banner-container {
  text-align: center;
  margin: 20px 0;
}
.banner-container img {
  max-width: 95%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.2);
  transition: 0.3s;
}
.banner-container img:hover {
  transform: scale(1.02);
}

/* === BUTTONS === */
.buttons {
  text-align: center;
  margin: 15px 0;
}
.masuk {
  background: linear-gradient(135deg, #ffcc00, #ff6600);
  color: #000;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 0 5px;
  display: inline-block;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}
.masuk:hover {
  background: linear-gradient(135deg, #ffe066, #ff8800);
  transform: translateY(-3px);
}

/* === RUNNING TEXT === */
.running-text {
  background: rgba(255, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 204, 0, 0.3);
  border-bottom: 1px solid rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

/* === FILTER === */
.filter-container {
  text-align: center;
  margin: 15px auto;
  color: #fff;
}
.filter-container select {
  background: #111;
  color: #ffcc00;
  border: 1px solid #ffcc00;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}
.filter-container select:hover {
  background: #222;
}

/* === PROVIDER GRID === */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin: 30px auto;
  padding: 0 15px;
}
.provider-item {
  text-align: center;
  background: #111;
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
.provider-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}
.provider-logo img {
  max-width: 100px;
  margin-bottom: 8px;
}
.provider-name {
  font-weight: bold;
  color: #ffcc00;
}

/* === GAME GRID === */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin: 30px auto;
  padding: 0 15px;
}
.game-item {
  background: #111;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
.game-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}
.game-item img {
  width: 100%;
  border-radius: 6px;
}
.game-title {
  color: #ffcc00;
  font-size: 14px;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* === FOOTER === */
footer {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 20px 0;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 204, 0, 0.3);
}
footer a {
  color: #ffcc00;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .logo { max-height: 55px; }
  .banner-container img { max-width: 100%; }
  .provider-grid, .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .masuk {
    padding: 8px 15px;
    font-size: 14px;
  }
}
