* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: url('https://i.imgur.com/Ty5riQ6.png') center/cover no-repeat fixed;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.header {
  text-align: center;
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  max-width: 400px;
  width: 90%;
  height: auto;
  user-select: none;
}

.banner {
  text-align: center;
  margin: 2px 0;
}

.banner-image {
  width: 90%;
  max-width: 900px;
  height: auto;
  border: 4px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(250, 197, 21, 0.8);
  user-select: none;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: auto;
  text-align: center;
}

.btn-action {
  padding: 20px 180px;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to bottom, #f90606, #11110f);
  border: none;
  border-radius: 16px;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
}

.btn-action:hover {
  color: #fff;
  background: linear-gradient(to bottom, #f90606, #11110f);
}

.btn-action:active {
  transform: none;
  box-shadow: none;
}

.provider-grid,
.provider-container {
  display: grid;
  gap: 12px;
  padding: 0 10px;
  margin: 0px auto 20px;
  width: 100%;
  max-width: 1100px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.provider-btn {
  background: linear-gradient(250deg, #7d7b76, #0a0a0a);
  border: 3px solid #facc15;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  color: #facc15;
  font-size: 12px;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.provider-btn:hover,
.provider-btn.active {
  background-color: #facc15;
  color: #fffa09;
  transform: scale(1.1);
  box-shadow: 0 0 12px #facc15cc;
}

.provider-logo {
  width: 85px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}

.game-card {
  background: linear-gradient(250deg, #7d7b76, #0a0a0a);
  border: 4px solid #facc15;
  padding: 4px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.game-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  user-select: none;
}

.badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
}

.badge-gif {
  width: 65px;
  height: auto;
  object-fit: contain;
  display: block;
}

.status {
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}

.bagus {
  background-color: #22c55e;
  color: #fff;
}

.stabil {
  background-color: #eab308;
  color: #000;
}

.lemah {
  background-color: #ef4444;
  color: #fff;
}

.progress-bar {
  width: 100%;
  background-color: #fff;
  border-radius: 6px;
  height: 18px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.progress-bar-inner {
  height: 100%;
  border-radius: 6px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  animation: shimmer 2s infinite linear;
  background-size: 200% 100%;
  text-shadow: 0 0 4px #000;
}

@keyframes shimmer {
  from {
    background-position: -100% 0;
  }
  to {
    background-position: 200% 0;
  }
}

/* 📱 Mobile View: paksa 3 kolom */
@media (max-width: 600px) {
  .provider-grid,
  .provider-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .btn-action {
    padding: 12px 40px;
    font-size: 22px;
  }

  .badge-gif {
    width: 45px;
  }
}

@media (max-width: 400px) {
  .btn-action {
    padding: 10px 24px;
    font-size: 18px;
  }

  .badge-gif {
    width: 40px;
  }
}