/* ========================================= */
/* RESET */
/* ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #b05cff;
  --secondary: #7d5cff;
  --accent: #ff67e7;
}

body {
  padding-top: 50px;
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top, rgba(176, 92, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #030311 0%, #05081a 55%, #02040d 100%);
  color: white;
  overflow-x: clip;
  position: relative;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html,
body {
  overflow-x: clip;
}

/* ========================================= */
/* CONTAINER */
/* ========================================= */

.container {
  width: min(1450px, 94%);
  margin: auto;
}

/* ========================================= */
/* PARTICLES */
/* ========================================= */

.particles span {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--primary);
  animation: float 10s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(110vh);
  }

  100% {
    transform: translateY(-10vh);
  }
}

/* ========================================= */
/* HEADER */
/* ========================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 26, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================= */
/* LOGO */
/* ========================================= */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo i {
  color: var(--primary);
  font-size: 45px;
  text-shadow: 0 0 18px rgba(176, 92, 255, 0.6);
}

.logo h1 {
  font-size: 45px;
  font-weight: 800;
  color: white;
}

.logo span {
  color: var(--primary);
}

/* ========================================= */
/* NAVIGATION */
/* ========================================= */

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

nav a {
  color: #dce3ff;
  text-decoration: none;
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

.mobile-nav-extra {
  display: none;
}

/* ========================================= */
/* BUTTONS */
/* ========================================= */

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  margin-top: 13px;
  font-size: 24px;
  transition: 0.3s ease;
}

/* BADGE */

.cart-btn span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4da6, #ff75f1);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(255, 77, 166, 0.55);
  animation: cartPulse 2s infinite;
}

/* PULSE */

@keyframes cartPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

.btn {
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 0 28px rgba(176, 92, 255, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  background: rgba(255, 255, 255, 0.02);
}

.burger-menu {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* DESKTOP FIX */

@media (min-width: 769px) {
  .hero-left {
    margin-top: -90px;
  }
}

.hero h2 {
  font-size: 78px;
  line-height: 0.95;
  margin-bottom: 26px;
  font-weight: 800;
  position: relative;
  z-index: 6;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.hero h2 span {
  color: var(--primary);
  text-shadow: 0 0 28px rgba(176, 92, 255, 0.5);
}

.hero p {
  color: #c2c7dd;
  font-size: 18px;
  line-height: 1.9;
  max-width: 620px;
}

/* ========================================= */
/* HERO BUTTONS */
/* ========================================= */

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  position: relative;
  z-index: 100;
}

/* ========================================= */
/* HERO FEATURES */
/* ========================================= */

.hero-features {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
  margin-top: 30px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 50;
  transform: translateY(80px);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(176, 92, 255, 0.25);
  color: #d889ff;
  position: relative;
  box-shadow: 0 0 18px rgba(176, 92, 255, 0.22);
  animation: neonPulse 2.2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(176, 92, 255, 0.25),
      0 0 20px rgba(176, 92, 255, 0.18);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 0 20px rgba(176, 92, 255, 0.55),
      0 0 40px rgba(176, 92, 255, 0.35),
      0 0 60px rgba(176, 92, 255, 0.25);
    transform: scale(1.08);
  }
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 92, 255, 0.2), transparent 70%);
  z-index: -1;
}

.feature-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* ========================================= */
/* HERO RIGHT */
/* ========================================= */

.hero-right {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 5;
}

/* ========================================= */
/* CHARACTER */
/* ========================================= */

.hero-character {
  position: absolute;
  width: 760px;
  left: -220px;
  top: -50px;
  animation: characterFloat 5s ease-in-out infinite;
}

.hero-character::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 92, 255, 0.28),
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) scale(1.08);
    opacity: 1;
  }
}

.hero-character::after {
  content: "";
  position: absolute;
  left: 60%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 110%;
  height: 300px;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 26, 0) 0%,
    rgba(5, 8, 26, 0.45) 45%,
    rgba(5, 8, 26, 0.85) 75%,
    #05081a 100%
  );
  filter: blur(12px);
  z-index: 2;
  pointer-events: none;
}

.hero-character img {
  width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 30px rgba(176, 92, 255, 0.28))
    drop-shadow(0 0 70px rgba(176, 92, 255, 0.18));
}

@keyframes characterFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ========================================= */
/* FLOATING CARDS */
/* ========================================= */

.floating-card {
  position: absolute;
  overflow: hidden;
  z-index: 5;
  width: 230px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 28px rgba(176, 92, 255, 0.12);
  transition: 0.4s ease;
}

.floating-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 40%
  );
  pointer-events: none;
}

.floating-card:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 0 40px rgba(176, 92, 255, 0.35);
}

.floating-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.floating-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* ========================================= */
/* CARD ICON */
/* ========================================= */

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  animation: iconPulse 2.2s ease-in-out infinite;
}

/* ICON INSIDE */

.card-icon i {
  position: relative;
  z-index: 2;
  font-size: 18px;
}

/* MOBILE LEGENDS */

.card-icon.ml {
  background: rgba(92, 157, 255, 0.14);
  border: 1px solid rgba(92, 157, 255, 0.35);
  color: #7ec8ff;
  box-shadow: 0 0 18px rgba(92, 157, 255, 0.28);
}

/* FREE FIRE */

.card-icon.ff {
  background: rgba(255, 142, 92, 0.14);
  border: 1px solid rgba(255, 142, 92, 0.35);
  color: #ffb37e;
  box-shadow: 0 0 18px rgba(255, 142, 92, 0.28);
}

/* PUBG */

.card-icon.pubg {
  background: rgba(92, 255, 231, 0.14);
  border: 1px solid rgba(92, 255, 231, 0.35);
  color: #8dfff1;
  box-shadow: 0 0 18px rgba(92, 255, 231, 0.28);
}

/* GLOW */

.card-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 70%
  );
  opacity: 0.6;
  z-index: 1;
}

/* PULSE */

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.08);
    filter: brightness(1.3);
  }
}

/* CARD POSITIONS */

.card-1 {
  top: -20px;
  right: 10px;
  animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
  top: 230px;
  right: -30px;
  animation: floatCard2 7s ease-in-out infinite;
}

.card-3 {
  top: 470px;
  right: -20px;
  animation: floatCard3 3s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%,
  100% {
    transform: translateY(0px) rotate(-8deg);
  }

  50% {
    transform: translateY(-12px) rotate(-8deg);
  }
}

@keyframes floatCard2 {
  0%,
  100% {
    transform: translateY(0px) rotate(6deg);
  }

  50% {
    transform: translateY(-16px) rotate(6deg);
  }
}

@keyframes floatCard3 {
  0%,
  100% {
    transform: translateY(0px) rotate(-5deg);
  }

  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
}

/* ========================================= */
/* SECTION */
/* ========================================= */

section {
  padding: 130px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title p {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title h3 {
  font-size: 54px;
}

/* ========================================= */
/* GAMES */
/* ========================================= */

#games {
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
}

#games::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(140, 69, 255, 0.1),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(199, 92, 255, 0.08),
      transparent 40%
    ),
    linear-gradient(180deg, rgba(12, 8, 35, 0.45), rgba(7, 5, 20, 0.72));
  backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

#games .container {
  position: relative;
  z-index: 2;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.35s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(176, 92, 255, 0.18);
}

.game-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.game-info {
  padding: 22px;
}

.game-info h4 {
  margin-bottom: 8px;
}

.game-info p {
  color: #b7bfd9;
}

/* ========================================= */
/* TABLET / IPAD VERSION PHASE 1 */
/* ========================================= */

@media (max-width: 1024px) and (min-width: 769px) {
  /* ========================================= */
  /* NAV DROPDOWN */
  /* ========================================= */

  .logo {
    margin-right: auto;
  }

  .logo h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
  }

  .logo i {
    font-size: 42px;
  }

  nav {
    position: absolute;
    top: 82px;
    right: 30px;
    width: 140px;
    background: rgba(5, 8, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 14px;
    flex-direction: column;
    gap: 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.35s ease;
    z-index: 999;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    font-size: 15px;
    color: white;
    padding: 2px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    transition: 0.25s;
  }

  nav a:hover {
    color: var(--primary);
    background: rgba(176, 92, 255, 0.12);
  }

  .nav-buttons {
    order: 2;
    display: flex;
    gap: 8px;
    margin-right: 8px;
    margin-left: auto;
  }

  .nav-buttons .btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* sembunyikan cart tablet */
  .nav > .nav-buttons > .cart-btn {
    display: none !important;
  }

  .nav > .nav-buttons {
    display: flex !important;
  }

  /* HIDE DESKTOP NAV ITEM */
  .nav-right > .cart-btn,
  .nav-right > .nav-buttons {
    display: none;
  }

  /* CART MASUK BURGER */
  .mobile-nav-extra {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* TABLET CART */
  .mobile-nav-extra .cart-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-size: 18px;
    margin-top: 10px;
  }

  .mobile-nav-extra .nav-buttons {
    display: none !important;
  }

  .burger-menu {
    display: flex;
    width: 50px;
    height: 50px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    order: 3;
  }

  .burger-menu:hover {
    background: rgba(176, 92, 255, 0.15);
    border-color: rgba(176, 92, 255, 0.35);
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 10px;
  }

  .hero h2 {
    font-size: 63px;
    line-height: 0.95;
    max-width: 520px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .hero-left {
    transform: translateX(-20px);
  }

  .hero-right {
    position: relative;
    transform: translateY(0);
  }

  .hero p {
    font-size: 19px;
    line-height: 1.5;
    max-width: 360px;
  }

  /* BUTTON AREA */
  .hero-buttons {
    margin-top: 18px;
    transform: translateY(100px);
  }

  /* FEATURES */
  .hero-features {
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 10px;
  }

  /* CHARACTER */
  .hero-character {
    width: 480px;
    left: -30%;
    top: 20px;
  }

  .hero-character img {
    width: 100%;
  }

  .hero-features {
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    transform: translateY(110px);
  }

  .feature-text h4 {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .feature-text p {
    font-size: 12px;
    white-space: nowrap;
  }

  /* FLOATING CARDS */
  .floating-card {
    width: 180px;
    padding: 18px;
    border-radius: 20px;
  }

  .floating-card h4 {
    font-size: 15px;
  }

  .floating-card p {
    font-size: 13px;
  }

  /* CARD POSITION */
  .card-1 {
    top: 5px;
    right: 0;
  }

  .card-2 {
    top: 280px;
    right: -20px;
  }

  .card-3 {
    top: 560px;
    right: 10px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title h3 {
    font-size: 46px;
  }
}

/* ========================================= */
/* MOBILE VERSION PHASE 1*/
/* ========================================= */

@media (max-width: 768px) {
  .nav-right {
    gap: 8px;
  }

  .nav-buttons {
    display: none;
  }

  .nav-buttons .btn {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
    min-width: auto;
    white-space: nowrap;
  }

  .cart-btn {
    font-size: 20px;
    margin-top: 8px;
    transform: translateX(-4px);
  }

  .cart-btn span {
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    top: -4px;
    right: -8px;
  }

  .burger-menu {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 12px;
    margin-right: 0;
    display: flex;
  }

  nav {
    position: absolute;
    top: 76px;
    right: 10px;
    width: 115px;
    background: rgba(5, 8, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px 17px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.35s ease;
    z-index: 999;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    font-size: 13px;
    font-weight: 500;
    color: white;
    padding: 4px 0;
    text-align: right;
    line-height: 1.1;
  }

  nav a:hover {
    color: var(--primary);
  }

  .logo h1 {
    font-size: 33px;
    font-weight: 900;
  }

  .logo i {
    font-size: 33px;
  }

  .mobile-nav-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    padding-top: 5px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* CART */
  .mobile-nav-extra .cart-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    left: auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    font-size: 15px;
  }

  /* LOGIN REGISTER WRAP */
  .mobile-nav-extra .nav-buttons {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  /* LOGIN REGISTER BUTTON */
  .mobile-nav-extra .nav-buttons .btn {
    width: 100%;
    min-width: unset;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .mobile-nav-extra .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-right .cart-btn,
  .nav-right .nav-buttons {
    display: none;
  }

  /* HERO */
  .hero {
    padding-top: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-left {
    margin-top: 70px;
    position: relative;
    z-index: 20;
  }

  .hero h2 {
    font-size: 58px;
    line-height: 0.92;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.8;
  }

  /* BUTTON */
  .hero-buttons {
    flex-direction: column;
    margin-top: 40px;
    gap: 14px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* FEATURES */
  .hero-features {
    margin-top: 28px;
    gap: 18px;
    transform: none;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
  }

  .feature-text h4 {
    font-size: 13px;
  }

  .feature-text p {
    font-size: 11px;
  }

  /* HERO RIGHT */
  .hero-right {
    min-height: 620px;
    margin-top: 20px;
  }

  /* CHARACTER */
  .hero-character {
    width: 300px;
    left: 53%;
    top: 130px;
    animation: mobileCharacterFloat 5s ease-in-out infinite;
    will-change: transform;
  }

  .hero-character img {
    width: 100%;
  }

  @keyframes mobileCharacterFloat {
    0%,
    100% {
      transform: translateX(-50%) scaleX(-1) translateY(0px);
    }

    50% {
      transform: translateX(-50%) scaleX(-1) translateY(-14px);
    }
  }

  /* FLOATING CARDS */
  .floating-card {
    width: 130px;
    padding: 16px;
    border-radius: 20px;
    will-change: transform;
  }

  .floating-card h4 {
    font-size: 12px;
  }

  .floating-card p {
    font-size: 15px;
  }

  .card-1 {
    top: 50px;
    right: 15px;
    transform: rotate(-8deg);
  }

  .card-2 {
    top: 240px;
    left: 10px;
    transform: rotate(7deg);
  }

  .card-3 {
    top: 420px;
    right: 0;
    transform: rotate(-6deg);
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .section-title h3 {
    font-size: 38px;
  }

  .why-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .why-header h3 {
    width: 100%;
    text-align: center;
  }

  .why-header h3 span {
    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 22px rgba(176, 92, 255, 0.45);
  }
}

/* ========================================= */
/* PHASE 2 — GAMES */
/* ========================================= */

.hidden-game {
  display: none;
}

.hidden-game.show {
  display: block;
  animation: fadeInGame 0.5s ease;
}

@keyframes fadeInGame {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.games-header h3 {
  font-size: 42px;
  margin-bottom: 10px;
}

.games-header p {
  color: rgba(255, 255, 255, 0.65);
}

.phase2-card .game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px;
  z-index: 5;
}

.game-info h3,
.game-info p {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.game-info h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.see-all-btn {
  padding: 14px 22px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s ease;
}

.see-all-btn:hover {
  border-color: rgba(176, 92, 255, 0.35);
  box-shadow: 0 0 25px rgba(176, 92, 255, 0.25);
}

.phase2-games {
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.phase2-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.game-thumb {
  position: absolute;
  inset: 0;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 3, 17, 0.98) 0%,
    rgba(3, 3, 17, 0.75) 40%,
    rgba(3, 3, 17, 0.1) 100%
  );
}

.steam-bg {
  background: radial-gradient(
    circle at center,
    rgba(176, 92, 255, 0.25),
    rgba(5, 8, 26, 1)
  );
}

.phase2-card .game-info {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  padding: 0 12px;
}

.phase2-card .game-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.phase2-card .game-info p {
  color: rgba(255, 255, 255, 0.72);
}

/* ========================================= */
/* PREMIUM GAME CARD HOVER */
/* ========================================= */

.phase2-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(176, 92, 255, 0.35),
    transparent 30%,
    transparent 70%,
    rgba(176, 92, 255, 0.25)
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.phase2-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 60%;
  height: 250%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.8s ease;
  pointer-events: none;
}

.phase2-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(176, 92, 255, 0.45);
  box-shadow:
    0 0 20px rgba(176, 92, 255, 0.18),
    0 0 40px rgba(176, 92, 255, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.55);
}

.phase2-card:hover::before {
  opacity: 1;
}

.phase2-card:hover::after {
  left: 140%;
}

.phase2-card img {
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.phase2-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.phase2-card h4 {
  transition:
    color 0.35s ease,
    text-shadow 0.35s ease;
}

.phase2-card:hover h4 {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(176, 92, 255, 0.65),
    0 0 20px rgba(176, 92, 255, 0.45);
}

/* ========================================= */
/* BUTTON MICRO INTERACTION */
/* ========================================= */

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: 0.7s ease;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(176, 92, 255, 0.35),
    0 0 35px rgba(176, 92, 255, 0.2);
}

/* ========================================= */
/* FLOATING PARTICLE ANIMATION */
/* ========================================= */

.particle {
  animation:
    particleFloat 12s ease-in-out infinite,
    particleGlow 4s ease-in-out infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes particleGlow {
  0%,
  100% {
    opacity: 0.35;
    filter: blur(0px);
  }

  50% {
    opacity: 1;
    filter: blur(2px);
  }
}

/* ========================================= */
/* SMOOTH SECTION REVEAL */
/* ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================= */
/* CUSTOM SCROLLBAR */
/* ========================================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #060816;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    rgba(176, 92, 255, 0.8),
    rgba(122, 28, 255, 0.8)
  );

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    to bottom,
    rgba(220, 120, 255, 1),
    rgba(150, 50, 255, 1)
  );
}

/* ========================================= */
/* WHY SECTION */
/* ========================================= */

.why-section {
  padding-top: 40px;
}

.why-header {
  margin-bottom: 40px;
}

.why-header h3 {
  font-size: 42px;
}

.why-header h3 span {
  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 22px rgba(176, 92, 255, 0.45);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.why-card {
  background: rgba(20, 18, 45, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: 0.35s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(176, 92, 255, 0.28);
  box-shadow:
    0 0 30px rgba(176, 92, 255, 0.16),
    0 0 80px rgba(176, 92, 255, 0.08);
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    transparent 35%
  );
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  background: rgba(176, 92, 255, 0.1);
  border: 1px solid rgba(176, 92, 255, 0.25);
  color: #d889ff;
  font-size: 28px;
  position: relative;
  animation: whyPulse 2.5s ease-in-out infinite;
}

.why-icon::before {
  content: "";
}

/* =========================================
   TABLET VERSION - PHASE 2
========================================= */

@media (max-width: 1024px) {
  #games {
    margin-top: 80px;
    padding-top: 150px;
    background: transparent;
  }

  #games::before {
    top: 60px;
    border-radius: 20px 20px 0 0;
  }

  .game-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .game-info h3,
  .game-info p {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
}

/* =========================================
   MOBILE VERSION - PHASE 2
========================================= */

@media (max-width: 768px) {
  .games-header {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    text-align: center;
    justify-content: center;
    gap: 10px;
  }

  .games-header h3,
  .why-header h3 {
    font-size: 32px;
    text-align: center;
  }

  .games-header p {
    text-align: center;
    margin: 0 auto;
  }

  #games {
    margin-top: 5px;
    padding-top: 40px;
  }

  #games::before {
    top: 20px;
  }

  .phase2-games {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .phase2-card {
    min-height: 240px;
    border-radius: 20px;
  }

  .phase2-card .game-info h4 {
    font-size: 16px;
  }

  .phase2-card .game-info p {
    font-size: 13px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-card {
    padding: 28px 22px;
  }

  .why-card h4 {
    font-size: 20px;
  }

  .why-icon {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }
}

/* ========================================= */
/* PHASE 3 - PROMO SECTION */
/* ========================================= */

.promo-section {
  padding: 30px 0 40px;
  position: relative;
  margin-top: -40px;
}

.promo-banner {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 30px;
  padding: 50px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(4, 5, 20, 0.92) 15%,
      rgba(4, 5, 20, 0.55) 45%,
      rgba(4, 5, 20, 0.08) 100%
    ),
    url("images/promo/promo-banner.webp");

  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 40px rgba(137, 59, 255, 0.12);
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at left,
    rgba(120, 0, 255, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(137, 59, 255, 0.15);
  border: 1px solid rgba(137, 59, 255, 0.35);
  color: #d7a7ff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.promo-content h2 {
  font-size: 56px;
  line-height: 0.95;
  font-weight: 900;
  color: white;
  margin-bottom: 22px;
}

.promo-content h2 span {
  color: #b05cff;
}

.promo-content p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  max-width: 480px;
}

.promo-banner-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 16px;
  border: 1px solid rgba(176, 92, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  font-weight: 700;
  transition: 0.3s ease;
}

.promo-banner-btn:hover {
  transform: translateY(-3px);
  background: rgba(176, 92, 255, 0.15);
  box-shadow: 0 0 25px rgba(176, 92, 255, 0.35);
}

/* ========================================= */
/* TOPUP STEPS */
/* ========================================= */

.topup-steps {
  padding: 90px 0;
  position: relative;
}

/* ========================================= */
/* GLASS CONTAINER */
/* ========================================= */

.topup-steps .container {
  position: relative;
  padding: 90px 40px;
  border-radius: 32px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.015),
    rgba(176, 92, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* ========================================= */
/* CENTER GLOW */
/* ========================================= */

.topup-steps .container::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(176, 92, 255, 0.14) 0%,
    rgba(176, 92, 255, 0.05) 35%,
    transparent 75%
  );
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

/* ========================================= */
/* CONTENT ABOVE GLOW */
/* ========================================= */

.topup-steps .container > * {
  position: relative;
  z-index: 2;
}

/* ========================================= */
/* SECTION TITLE */
/* ========================================= */

.topup-steps .section-title {
  text-align: center;
}

.topup-steps .section-title h2 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.topup-steps .section-title h2 span {
  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 22px rgba(176, 92, 255, 0.45);
}

.topup-steps .section-title p {
  font-size: 18px;
  color: #c86fff;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ========================================= */
/* STEPS FLOW */
/* ========================================= */

.steps-flow {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
}

/* ========================================= */
/* FLOW ITEM */
/* ========================================= */

.flow-item {
  position: relative;
  width: 220px;
  text-align: center;
}

.flow-icon {
  width: 90px;
  height: 90px;
  margin: auto auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  color: #d889ff;
  background: radial-gradient(
    circle,
    rgba(176, 92, 255, 0.28),
    rgba(176, 92, 255, 0.08)
  );
  border: 1px solid rgba(176, 92, 255, 0.3);
  box-shadow: 0 0 30px rgba(176, 92, 255, 0.25);
  position: relative;
}

.flow-icon::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 92, 255, 0.14),
    transparent 70%
  );
  z-index: -1;
}

.flow-icon.success {
  color: #c86fff;
}

/* ========================================= */
/* NUMBER */
/* ========================================= */

.flow-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(176, 92, 255, 0.18);
  border: 1px solid rgba(176, 92, 255, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 88px;
  left: 43%;
  transform: translateX(-50%);
}

/* ========================================= */
/* TEXT */
/* ========================================= */

.flow-item h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 14px;
  margin-top: 70px;
}

.flow-item p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

/* ========================================= */
/* VERTICAL LINE */
/* ========================================= */

.flow-line {
  position: relative;
  width: 60px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -10px;
}

.flow-line::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(176, 92, 255, 0.28),
    transparent
  );
  opacity: 0.7;
}

/* =========================================
   DISABLE TOPUP STEP HOVER
========================================= */

.flow-item,
.flow-icon,
.flow-number {
  transition: none !important;
  transform: none !important;
}

.flow-item:hover,
.flow-icon:hover,
.flow-number:hover {
  transform: none !important;
  scale: 1 !important;
  box-shadow: inherit !important;
}

/* ========================================= */
/* TABLET VERSION */
/* ========================================= */

@media (max-width: 1024px) {
  .promo-section {
    margin-top: -100px;
    padding-top: 20px;
  }

  .topup-steps .container {
    padding: 70px 30px;
  }

  .steps-flow {
    gap: 16px;
  }

  .flow-item {
    width: 180px;
  }

  .flow-icon {
    width: 78px;
    height: 78px;

    font-size: 28px;
  }

  .flow-number {
    top: 76px;
  }

  .flow-item h3 {
    font-size: 22px;
    min-height: 50px;
    margin-bottom: 5px;
    margin-top: 20px;
  }

  .flow-item p {
    font-size: 14px;
    line-height: 1.6;
    min-height: 65px;
    margin-top: 5px;
  }

  .flow-line {
    width: 40px;
    height: 120px;
  }

  .flow-line::before {
    height: 170px;
  }
}

/* ========================================= */
/* MOBILE VERSION */
/* ========================================= */

@media (max-width: 768px) {
  .topup-steps {
    padding: 70px 0;
  }

  .topup-steps .container {
    padding: 60px 24px;
    border-radius: 24px;
  }

  .topup-steps .section-title h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .topup-steps .section-title h2 span {
    background: linear-gradient(90deg, #c86fff 0%, #b05cff 50%, #ff8cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 22px rgba(176, 92, 255, 0.45);
  }

  .topup-steps .section-title p {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .steps-flow {
    margin-top: 55px;
    flex-direction: column;
    gap: 10px;
  }

  .flow-item {
    width: 100%;
    max-width: 280px;
  }

  .flow-icon {
    width: 74px;
    height: 74px;

    font-size: 26px;
  }

  .flow-number {
    top: 72px;
  }

  .flow-item h3 {
    font-size: 35px;
    margin-bottom: -5px;
    margin-top: 50px;
  }

  .flow-item p {
    font-size: 15px;
    line-height: 1.7;
    margin-top: -5px;
  }

  .flow-line {
    width: 100%;
    height: 55px;
    top: 0;
  }

  .flow-line::before {
    width: 160px;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(176, 92, 255, 0.28),
      transparent
    );
  }
}

/* ========================================= */
/* COMMUNITY */
/* ========================================= */

.community-section {
  padding-bottom: 120px;
  position: relative;
  margin-top: -90px;
}

.community-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.community-left h2 {
  font-size: 34px;
  color: white;
  margin-bottom: 12px;
}

.community-left h2 span {
  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 22px rgba(176, 92, 255, 0.45);
}

.community-left p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.community-center {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: -20px; /* geser agak ke kiri */
  padding-right: 45px; /* space sebelum garis */
}

/* garis vertical kanan */
.community-center::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 90px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(176, 92, 255, 0.28),
    transparent
  );
  opacity: 0.7;
}

.community-center input {
  width: 250px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 18px;
  color: white;
}

.community-center button {
  height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #893bff, #d05cff);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-icons a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 18px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 92, 255, 0.35);
  box-shadow: 0 0 25px rgba(176, 92, 255, 0.2);
}

/* ========================================= */
/* TABLET VERSION - PHASE 3 */
/* ========================================= */

@media (max-width: 1024px) and (min-width: 769px) {
  /* PROMO */
  .promo-section {
    padding: 70px 0 30px;
  }

  .promo-banner {
    min-height: 240px;
    padding: 40px;
    border-radius: 26px;
    background-position: center right;
  }

  .promo-content {
    max-width: 420px;
  }

  .promo-content h2 {
    font-size: 42px;
    line-height: 1;
  }

  .promo-content p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 360px;
  }

  .promo-btn {
    padding: 14px 22px;
    font-size: 14px;
  }

  /* TOPUP STEPS */
  .topup-steps {
    padding: 90px 0;
  }

  .topup-steps .section-title h2 span {
    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.45);
  }

  .steps-flow {
    gap: 18px;
    margin-top: 55px;
    align-items: flex-start;
  }

  .flow-item {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
  }

  .flow-icon {
    width: 76px;
    height: 76px;
    font-size: 28px;
  }

  .flow-number {
    top: 72px;
  }

  .flow-item h3 {
    font-size: 20px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .flow-item p {
    font-size: 14px;
    line-height: 1.6;
    min-height: 72px;
    text-align: center;
  }

  .flow-line {
    height: 90px;
    width: 30px;
  }

  .flow-line::before {
    height: 140px;
  }

  /* COMMUNITY */
  .community-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px;
  }

  .community-left {
    max-width: 300px;
  }

  .community-left h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .community-left h2 span {
    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.45);
  }

  .community-left p {
    font-size: 14px;
    line-height: 1.6;
  }

  .community-center {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    padding-right: 25px;
  }

  .community-center::after {
    height: 70px;
  }

  .community-center input {
    width: 190px;
    height: 48px;
    font-size: 14px;
  }

  .community-center button {
    height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .community-right h4 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .social-icons {
    gap: 8px;
    margin-top: 0;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 15px;
    border-radius: 12px;
  }
}

/* ========================================= */
/* MOBILE VERSION - PHASE 3 */
/* ========================================= */

@media (max-width: 768px) {
  /* PROMO */
  .promo-section {
    padding: 60px 0 20px;
  }

  .promo-banner {
    min-height: auto;
    padding: 32px 24px 35px;
    border-radius: 24px;
    align-items: flex-start;
    background-position: 80% center;
    background-size: cover;
  }

  .promo-content {
    max-width: 230px;
  }

  .promo-content h2 {
    font-size: 30px;
    line-height: 0.95;
  }

  .promo-content p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 220px;
  }

  .promo-btn {
    width: auto;
    padding: 14px 22px;
    font-size: 13px;
  }

  /* TOPUP STEPS */
  .topup-steps {
    padding: 80px 0;
  }

  .steps-flow {
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
  }

  .flow-item {
    width: 100%;
    max-width: 280px;
  }

  .flow-icon {
    width: 78px;
    height: 78px;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .flow-number {
    top: 72px;
  }

  .flow-item h3 {
    font-size: 22px;
  }

  .flow-item p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* MOBILE FLOW LINE */
  .flow-line {
    width: 100%;
    height: 30px;
    top: 0;
  }

  .flow-line::before {
    width: 120px;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(176, 92, 255, 0.28),
      transparent
    );
  }

  /* COMMUNITY */
  .community-section {
    padding-bottom: 80px;
  }

  .community-box {
    flex-direction: column;
    gap: 30px;
    padding: 28px;
    border-radius: 24px;
  }

  .community-left h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .community-left h2 span {
    background: linear-gradient(90deg, #c86fff 0%, #b05cff 50%, #ff8cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 22px rgba(176, 92, 255, 0.45);
  }

  .community-left p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* FORM AREA */
  .community-center {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-right: 0;
    padding-right: 0;
    /* separator bawah */
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(176, 92, 255, 0.22);
  }

  /* matiin pseudo lama */
  .community-center::after {
    display: none;
  }

  .community-center input {
    width: 100%;
    height: 54px;
  }

  .community-center button {
    width: 100%;
    height: 54px;
  }

  /* SOCIAL AREA */
  .community-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .community-right h4 {
    text-align: right;
  }

  .social-icons {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
  }

  .social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer {
  position: relative;
  padding: 20px 0 40px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(176, 92, 255, 0.2),
    transparent
  );
}

.footer a {
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding: 50px 0;
}

/* ========================================= */
/* BRAND */
/* ========================================= */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  margin-left: -10px;
}

.footer-logo i {
  margin-right: -5px;
  font-size: 45px;
  color: #d77cff;
  border-radius: 999px;
  padding: 8px 10px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    0 0 18px rgba(171, 89, 248, 0.253);
}

.footer-logo .kenzi-white {
  color: #fff;
}

.footer-logo .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.45);
}

.footer-brand p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

/* ========================================= */
/* LINKS */
/* ========================================= */

.footer-links h4,
.footer-payment h4 {
  font-size: 20px;
  color: white;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #d889ff;
  transform: translateX(4px);
}

/* ========================================= */
/* PAYMENT */
/* ========================================= */

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-item {
  width: 86px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.payment-item:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 92, 255, 0.3);
  box-shadow:
    0 0 20px rgba(176, 92, 255, 0.15),
    0 0 30px rgba(0, 200, 255, 0.08);
  background: rgba(255, 255, 255, 0.14);
}

.payment-item img {
  max-width: 68%;
  max-height: 26px;
  object-fit: contain;
  filter: brightness(1);
}

/* ========================================= */
/* COPYRIGHT */
/* ========================================= */

.footer-bottom {
  padding-top: 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-bottom span {
  color: #b05cff;
}

.kenziverse-link {
  text-decoration: none;
  font-weight: 700;
  background-clip: text;
  background: linear-gradient(
    90deg,
    #44c7ff 0%,
    #6ab8ff 35%,
    #9d8cff 70%,
    #d889ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s ease;
}

.kenziverse-link:hover {
  filter: brightness(1.2);
  text-shadow: 0 0 14px rgba(125, 145, 255, 0.35);
}

/* ========================================= */
/* TABLET FOOTER */
/* ========================================= */

@media (max-width: 1024px) and (min-width: 769px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas:
      "brand brand brand payment"
      "produk informasi bantuan payment";
    gap: 40px;
    align-items: start;
  }

  /* BRAND */
  .footer-brand {
    grid-area: brand;
  }

  /* PRODUK */
  .footer-links:nth-of-type(1) {
    grid-area: produk;
  }

  /* INFORMASI */
  .footer-links:nth-of-type(2) {
    grid-area: informasi;
  }

  /* BANTUAN */
  .footer-links:nth-of-type(3) {
    grid-area: bantuan;
  }

  /* PAYMENT */
  .footer-payment {
    grid-area: payment;
    text-align: right;
  }

  .payment-list {
    justify-content: flex-end;
  }

  .footer-links h4,
  .footer-payment h4 {
    margin-bottom: 16px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px; /* sebelumnya biasanya 14-18px */
  }

  .footer-links a {
    margin-bottom: 0;
    line-height: 1.4;
  }

  .footer-logo i {
    margin-right: 5px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 800;
    font-size: 50px;
    margin-bottom: 18px;
    line-height: 1;
    margin-left: -10px;
  }

  .kenzi-white {
    color: #ffffff;
  }

  .footer-logo .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.45);
  }

  .payment-item {
    width: 68px;
    height: 42px;
  }

  .payment-item img {
    max-width: 70%;
    max-height: 60%;
  }
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 768px) {
  .footer {
    padding: 10px 0 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 20px;
    padding: 40px 0;
    align-items: start;
  }

  /* BRAND */
  .footer-brand {
    grid-column: 1 / 4;
    grid-row: 2;
    text-align: left;
    margin-top: 10px;
  }

  /* FOOTER LOGO MOBILE */
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-left: -10px;
  }

  .footer-logo i {
    margin-right: 0;
  }

  .footer-logo .kenzi-white {
    color: white;
  }

  .footer-logo .kenzi-play {
    background: linear-gradient(90deg, #c86fff 0%, #b05cff 50%, #ff8cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .footer-brand p {
    margin-top: 4px;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
  }

  /* LINKS */
  .footer-links {
    gap: 8px;
  }

  .footer-links h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
  }

  /* PAYMENT */
  .footer-payment {
    grid-column: 1 / 4;
    margin-top: 10px;
    text-align: right;
  }

  .footer-payment h4 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .payment-list {
    justify-content: flex-end;
    gap: 10px;
  }

  .payment-item {
    width: 58px;
    height: 40px;
    border-radius: 12px;
  }

  .payment-item img {
    max-width: 68%;
    max-height: 58%;
  }

  /* COPYRIGHT */
  .footer-bottom {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }

  /* PRODUK */
  .footer-grid .footer-links:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 3;
  }

  /* INFORMASI */
  .footer-grid .footer-links:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 3;
  }

  /* BANTUAN */
  .footer-grid .footer-links:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 3;
  }

  /* PAYMENT */
  .footer-payment {
    grid-column: 1 / 4;
    grid-row: 1;
    margin-top: 0;
    text-align: right;
  }
}

/* ========================================= */
/* PHASE 4 - HOVER EFFECT */
/* ========================================= */

.game-card,
.why-card,
.flow-item,
.payment-item,
.community-box,
.floating-card {
  transition: all 0.35s ease;
}

.game-card:hover,
.why-card:hover,
.flow-item:hover {
  transform: translateY(-8px);

  box-shadow:
    0 15px 35px rgba(176, 92, 255, 0.15),
    0 0 30px rgba(176, 92, 255, 0.08);
}

.payment-item:hover {
  transform: translateY(-4px) scale(1.05);
}

.community-box:hover {
  box-shadow: 0 0 40px rgba(176, 92, 255, 0.15);
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

[data-aos] {
  overflow: visible;
}

/* =========================================
   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);
  }
}
