body {
  background: #03061a;
  color: white;
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0;
  z-index: 9999;
  background: rgba(5, 8, 26, 0.92);
  backdrop-filter: blur(16px);
}

.page-header .container {
  position: relative;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-size: 40px;
  font-weight: 800;
  transition: all 0.3s ease;
}

.logo i {
  color: #b05cff;
  margin-right: 10px;
}

.logo:hover {
  transform: scale(1.02);
}

.kenzi-white {
  color: #ffffff;
}

.kenzi-play {
  background: linear-gradient(90deg, #c86fff 0%, #b05cff 50%, #ff8cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(176, 92, 255, 0.4);
}

.kenzi-brand {
  white-space: nowrap;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(176, 92, 255, 0.15);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 25px;
}

.card h2 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.id-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.id-grid input {
  padding: 16px;
  border-radius: 14px;
  background: #0c102c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-banner {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 40px;
  margin-top: 90px;
}

.hero-banner img {
  width: 100%;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(176, 92, 255, 0.15);
  box-shadow: 0 0 40px rgba(176, 92, 255, 0.15);
}

.game-header {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 40px;
}

.game-header h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: -20px;
}

.game-header p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.diamond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.diamond-card {
  text-align: center;
  background: #0c102c;
  border: 1px solid rgba(176, 92, 255, 0.15);
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.diamond-card:hover {
  border-color: #b05cff;
  transform: translateY(-3px);
}

.diamond-card span {
  display: block;
  margin-top: 10px;
  color: #b05cff;
  font-weight: 700;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}

.payment-card {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0c102c;
  border: 1px solid rgba(176, 92, 255, 0.15);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-card:hover {
  border-color: #b05cff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(176, 92, 255, 0.2);
}

.payment-card img {
  max-width: 110px;
  max-height: 40px;
  object-fit: contain;
  transition: 0.3s;
}

.payment-card.active {
  border-color: #b05cff;
  background: linear-gradient(
    135deg,
    rgba(176, 92, 255, 0.15),
    rgba(255, 119, 200, 0.08)
  );
  box-shadow: 0 0 25px rgba(176, 92, 255, 0.35);
}

.checkout-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #b05cff, #ff77c8);
  color: #fff;
  font-weight: 700;
  margin-top: 20px;
}

.summary {
  text-align: center;
}

@media (max-width: 768px) {
  .page-header {
    height: 60px;
  }

  .page-header .container {
    height: 60px;
  }

  .id-grid {
    grid-template-columns: 1fr;
  }

  .id-grid input {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-banner {
    margin-top: 70px;
    padding: 0 20px;
  }

  .game-header {
    padding: 0 20px;
  }

  .game-header h1 {
    font-size: 34px;
  }

  .container {
    padding: 0 20px;
  }

  .card {
    padding: 20px;
  }

  .card h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
  }
}

/* =========================================
   LOADING SCREEN
========================================= */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(5, 8, 26, 0.75);
  backdrop-filter: blur(18px);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(176, 92, 255, 0.25);
  filter: blur(120px);
  animation: pulseLoading 2.5s ease-in-out infinite;
}

.loading-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.loading-content i {
  font-size: 42px;
  color: #b05cff;
  margin-bottom: 18px;
  animation: floatIcon 2s ease-in-out infinite;
}

.loading-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.loading-bar {
  width: 260px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b05cff, #ff78f2);
  animation: loadingMove 1.2s linear infinite;
}

.loading-content p {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes loadingMove {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(350%);
  }
}

@keyframes pulseLoading {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}
