:root {
  --primary: #1E5EFF;
  --electric: #4CC9FF;
  --dark: #081B3A;
  --white: #F5F9FF;
  --gray: #DCE7FF;
}

[x-cloak] {
  display: none !important;
}

body.killua-body {
  background: linear-gradient(135deg, #081B3A 0%, #0a2550 50%, #081B3A 100%);
  color: var(--white);
  min-height: 100vh;
}

body.killua-public {
  background: #06101e;
  color: #f5fbff;
}

body.killua-public .glass-card {
  background: linear-gradient(160deg, #071428 0%, #0c326e 58%, #123f86 100%);
  border: 1px solid rgba(126, 232, 255, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #f5fbff;
}

body.killua-public .killua-order.glass-card {
  background: linear-gradient(160deg, #071428 0%, #0c326e 58%, #123f86 100%);
  color: #f5fbff;
  border: 1px solid rgba(126, 232, 255, 0.35);
  box-shadow: 0 18px 48px rgba(7, 20, 40, 0.28), 0 0 24px rgba(126, 232, 255, 0.12);
}

body.killua-public .killua-order .glass-card {
  background: rgba(4, 14, 32, 0.55);
  color: #f5fbff;
  border-color: rgba(126, 232, 255, 0.28);
  box-shadow: none;
}

body.killua-public .killua-order input,
body.killua-public .killua-order select,
body.killua-public .killua-order textarea {
  background: rgba(4, 14, 32, 0.72) !important;
  border: 1px solid rgba(126, 232, 255, 0.28) !important;
  color: #f5fbff !important;
  border-radius: 0.65rem;
}

body.killua-public .killua-order input::placeholder,
body.killua-public .killua-order textarea::placeholder {
  color: rgba(226, 244, 255, 0.45);
}

body.killua-public .killua-order select option {
  color: #0f172a;
  background: #fff;
}

body.killua-public .killua-order input:focus,
body.killua-public .killua-order select:focus,
body.killua-public .killua-order textarea:focus {
  border-color: #7ee8ff !important;
  box-shadow: 0 0 0 3px rgba(126, 232, 255, 0.22);
}

.killua-order .btn-killua {
  background: linear-gradient(135deg, #f4fbff, #7ee8ff 42%, #1E5EFF);
  color: #071428;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(126, 232, 255, 0.35);
}

.killua-order .btn-killua:hover {
  color: #071428;
  box-shadow: 0 0 28px rgba(126, 232, 255, 0.55);
}

body.killua-public input,
body.killua-public select,
body.killua-public textarea {
  background: rgba(4, 14, 32, 0.72) !important;
  border: 1px solid rgba(126, 232, 255, 0.28) !important;
  color: #f5fbff !important;
  border-radius: 0.65rem;
}

body.killua-public input::placeholder,
body.killua-public textarea::placeholder {
  color: rgba(226, 244, 255, 0.45);
}

body.killua-public select option {
  color: #0f172a;
  background: #fff;
}

body.killua-public .btn-killua {
  background: linear-gradient(135deg, #f4fbff, #7ee8ff 42%, #1E5EFF);
  color: #071428;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(126, 232, 255, 0.35);
}

body.killua-public .btn-killua:hover {
  color: #071428;
}

body.killua-public > footer {
  border-top: 1px solid rgba(126, 232, 255, 0.22);
  color: rgba(226, 244, 255, 0.72);
}

.glass-card {
  background: rgba(30, 94, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(76, 201, 255, 0.25);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(30, 94, 255, 0.15), 0 0 20px rgba(76, 201, 255, 0.08);
}

.glow-border {
  box-shadow: 0 0 15px rgba(76, 201, 255, 0.3), inset 0 0 15px rgba(30, 94, 255, 0.1);
}

.btn-killua {
  background: linear-gradient(135deg, var(--primary), var(--electric));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-killua:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(76, 201, 255, 0.5);
  color: white;
}

.lightning-accent::before {
  content: '⚡';
  margin-right: 0.5rem;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(76, 201, 255, 0.4);
}

input, select, textarea {
  background: rgba(8, 27, 58, 0.6) !important;
  border: 1px solid rgba(76, 201, 255, 0.3) !important;
  color: var(--white) !important;
  border-radius: 0.5rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--electric) !important;
  box-shadow: 0 0 10px rgba(76, 201, 255, 0.3);
}

.alert-success { background: rgba(34,197,94,0.2); border: 1px solid #22c55e; color: #86efac; padding: 1rem; border-radius: 0.5rem; }
.alert-error { background: rgba(239,68,68,0.2); border: 1px solid #ef4444; color: #fca5a5; padding: 1rem; border-radius: 0.5rem; }

@media print {
  .no-print { display: none !important; }
  body { background: white !important; color: black !important; }
}

.bg-accents {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  color: #7ee8ff;
}

body.killua-home > :not(.bg-accents):not(header):not(script),
body.killua-public > main,
body.killua-public > footer {
  position: relative;
  z-index: 1;
}

.bg-accent {
  position: absolute;
  opacity: 0.38;
  filter: drop-shadow(0 0 14px rgba(126, 232, 255, 0.45));
}

.bg-accent-dino {
  width: 220px;
  left: -24px;
  bottom: 6vh;
  opacity: 0.42;
}

.bg-accent-dino-b {
  width: 160px;
  left: auto;
  right: -18px;
  bottom: auto;
  top: 16vh;
  opacity: 0.32;
  transform: scaleX(-1);
}

.bg-accent-egg {
  width: 68px;
  right: 6%;
  top: auto;
  bottom: 14vh;
  opacity: 0.7;
}

.bg-accent-egg-b {
  width: 48px;
  right: auto;
  left: 8%;
  bottom: auto;
  top: 20vh;
  opacity: 0.55;
}

/* PanjulStore home layout */
body.killua-home {
  background: #06101e;
  color: #f5fbff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

.site-header {
  background: rgba(7, 20, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 232, 255, 0.22);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 28px rgba(7, 20, 40, 0.28);
  animation: navSlideDown 0.6s ease-out;
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #f5fbff;
  font-weight: 800;
}

.site-brand-logo {
  width: auto;
  height: 3.6rem;
  max-width: 8.5rem;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  flex-shrink: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.site-brand:hover .site-brand-logo {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 0 12px rgba(77, 163, 255, 0.65));
}

.site-footer .site-brand-logo {
  width: auto;
  height: 5.5rem;
  max-width: 12rem;
  background: transparent;
  padding: 0;
}

.site-brand-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0056D6, #4DA3FF);
  color: #fff;
  font-size: 1.1rem;
}

.site-brand-text {
  font-size: 1.05rem;
}

.site-nav-links {
  gap: 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav-links a,
.site-nav-mobile a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
  position: relative;
}

.site-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0056D6, #4DA3FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav-links a:hover::after {
  transform: scaleX(1);
}

.site-nav-links a:hover,
.site-nav-mobile a:hover {
  color: #7ee8ff;
}

.site-nav-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #7ee8ff;
}

.site-nav-mobile {
  background: #071428;
  border-top: 1px solid rgba(126, 232, 255, 0.18);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-hero {
  background: linear-gradient(145deg, #071428 0%, #0b3a86 46%, #1E5EFF 78%, #7ee8ff 140%);
  background-size: 200% 200%;
  animation: heroGradient 10s ease infinite;
  color: #fff;
  padding: 4rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.home-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(60deg);
  animation: gridDrift 18s linear infinite;
  opacity: 0.35;
}

.home-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.home-hero-glow-a {
  width: 280px;
  height: 280px;
  background: #4DA3FF;
  top: 10%;
  left: 5%;
  animation: glowFloat 8s ease-in-out infinite;
}

.home-hero-glow-b {
  width: 220px;
  height: 220px;
  background: #7dd3fc;
  bottom: 5%;
  right: 15%;
  animation: glowFloat 10s ease-in-out infinite reverse;
}

.home-hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  background-size: 100% 6px;
  animation: scanMove 6s linear infinite;
  opacity: 0.5;
}

.home-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.home-particle:nth-child(9) { top: 20%; left: 15%; animation: particleRise 7s ease-in-out infinite; }
.home-particle:nth-child(10) { top: 60%; left: 25%; animation: particleRise 9s ease-in-out infinite 1s; }
.home-particle:nth-child(11) { top: 30%; right: 20%; animation: particleRise 8s ease-in-out infinite 2s; }
.home-particle:nth-child(12) { top: 70%; right: 30%; animation: particleRise 10s ease-in-out infinite 0.5s; }
.home-particle:nth-child(13) { top: 45%; left: 50%; animation: particleRise 11s ease-in-out infinite 1.5s; }

.lightning-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.35), transparent 55%);
  opacity: 0;
  animation: lightningFlash 7s ease-in-out infinite;
  mix-blend-mode: screen;
  transition: opacity 0.08s ease;
}

.home-hero-fx.lightning-active .lightning-flash {
  opacity: 0.85;
  animation: none;
}

.home-hero-fx.lightning-active .lightning-bolt-1 {
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 0 20px rgba(255,255,255,1)) drop-shadow(0 0 40px rgba(77,163,255,1));
}

.lightning-bolt {
  position: absolute;
  width: 60px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.9)) drop-shadow(0 0 28px rgba(77,163,255,0.8));
  opacity: 0;
  pointer-events: none;
}

.lightning-bolt-1 {
  top: 8%;
  right: 18%;
  width: 72px;
  animation: boltStrike 8s ease-in-out infinite;
}

.lightning-bolt-2 {
  top: 35%;
  left: 8%;
  width: 48px;
  animation: boltStrike2 11s ease-in-out infinite 2.5s;
}

.lightning-bolt-3 {
  bottom: 18%;
  right: 35%;
  width: 40px;
  animation: boltStrike3 9s ease-in-out infinite 5s;
}

.lightning-title {
  text-shadow:
    0 0 10px rgba(255,255,255,0.35),
    0 0 24px rgba(77,163,255,0.45);
  animation: titleFlicker 6s ease-in-out infinite;
}

.home-hero-ring {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.home-hero-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: ringSpin 20s linear infinite;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.12), transparent 30%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  animation: badgeGlow 3s ease-in-out infinite;
}

.home-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.home-hero-copy p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 1rem;
  filter:
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 22px rgba(160, 240, 255, 0.75));
  animation: heroFloat 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.home-hero-visual::after {
  content: '';
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  border: 1px solid rgba(190, 245, 255, 0.45);
  box-shadow:
    0 0 24px rgba(120, 220, 255, 0.45),
    inset 0 0 30px rgba(120, 220, 255, 0.15);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.killua-yoyo {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: 54px;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(160, 240, 255, 0.8));
  z-index: 2;
}

.killua-vein {
  position: absolute;
  width: 130px;
  right: 7%;
  top: 6%;
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(180, 245, 255, 0.9));
}

.home-hero-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 70%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 80px rgba(77, 163, 255, 0.45);
}

.home-hero-character {
  position: absolute;
  font-size: 7rem;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
}

.btn-panjul-primary,
.btn-panjul-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-panjul-primary {
  background: #fff;
  color: #0056D6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

.btn-panjul-wide.btn-shimmer::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

.btn-panjul-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.btn-panjul-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-panjul-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
}

.btn-panjul-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.btn-panjul-wide {
  width: 100%;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #0056D6, #1E5EFF);
  color: #fff;
}

.home-features-wrap {
  max-width: 1200px;
  margin: -3rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.home-features {
  background: linear-gradient(160deg, #071428 0%, #0c326e 58%, #123f86 100%);
  color: #f5fbff;
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(7, 20, 40, 0.28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(126, 232, 255, 0.35);
  transition: box-shadow 0.4s ease;
}

.home-features:hover {
  box-shadow: 0 18px 48px rgba(7, 20, 40, 0.28), 0 0 24px rgba(126, 232, 255, 0.16);
}

.home-feature-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem;
}

.home-feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: rgba(4, 14, 32, 0.55);
  border: 1px solid rgba(126, 232, 255, 0.35);
  box-shadow: 0 0 12px rgba(126, 232, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.home-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.home-feature-card p {
  font-size: 0.8rem;
  color: rgba(226, 244, 255, 0.72);
  line-height: 1.4;
}

.home-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.home-section-last {
  padding-bottom: 3rem;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.home-section-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5fbff;
}

.home-link-more {
  color: #7ee8ff;
  font-weight: 600;
  text-decoration: none;
}

.home-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.home-game-card {
  background: linear-gradient(160deg, #071428 0%, #0c326e 100%);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #f5fbff;
  box-shadow: 0 12px 32px rgba(7, 20, 40, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(126, 232, 255, 0.28);
}

.home-game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 86, 214, 0.22), 0 0 20px rgba(77, 163, 255, 0.25);
  border-color: rgba(77, 163, 255, 0.5);
  animation: cardLightningPulse 0.6s ease;
}

.home-game-banner {
  height: 110px;
  position: relative;
  overflow: hidden;
}

.home-game-banner-img,
.game-list-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-list-card {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: #f5fbff;
}

.game-list-banner {
  height: 120px;
  background: linear-gradient(135deg, #0b3a86, #1E5EFF 55%, #7ee8ff);
}

.game-list-card h3 {
  margin: 0;
  padding: 0.9rem 1rem 1.05rem;
  text-align: center;
}

.home-game-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.home-game-card:hover .home-game-banner::after {
  transform: translateX(120%);
}

.home-game-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(255,255,255,0.92);
  color: #0056D6;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.home-game-meta {
  padding: 0.9rem 1rem 1.1rem;
}

.home-game-meta h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.home-game-meta p {
  font-size: 0.78rem;
  color: rgba(226, 244, 255, 0.7);
}

.home-order-card {
  background: linear-gradient(160deg, #071428 0%, #0c326e 58%, #123f86 100%);
  color: #f5fbff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(7, 20, 40, 0.28);
}

.home-order-glow {
  position: relative;
  border: 1px solid rgba(126, 232, 255, 0.35);
}

.home-order-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #7ee8ff, #1E5EFF, #7ee8ff);
  background-size: 200% 200%;
  animation: borderGlow 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.home-order-step {
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 0.9rem;
  padding: 1rem;
  background: rgba(4, 14, 32, 0.42);
}

.home-step-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: #f5fbff;
}

.home-step-label span {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ee8ff, #1E5EFF);
  color: #071428;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 0 12px rgba(126, 232, 255, 0.7);
}

.home-step-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(226, 244, 255, 0.75);
  line-height: 1.4;
}

.home-input {
  width: 100%;
  background: rgba(4, 14, 32, 0.72) !important;
  border: 1px solid rgba(126, 232, 255, 0.28) !important;
  color: #f5fbff !important;
  border-radius: 0.65rem !important;
  padding: 0.7rem 0.85rem !important;
  font-size: 0.9rem;
}

.home-input::placeholder {
  color: rgba(226, 244, 255, 0.45);
}

.home-input option {
  color: #0f172a;
  background: #fff;
}

.home-input:focus {
  border-color: #7ee8ff !important;
  box-shadow: 0 0 0 3px rgba(126, 232, 255, 0.22) !important;
}

.home-order-card .btn-panjul-wide {
  background: linear-gradient(135deg, #f4fbff, #7ee8ff 42%, #1E5EFF);
  color: #071428;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(126, 232, 255, 0.35);
}

.home-summary {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-summary-row,
.home-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.home-summary-row span {
  color: rgba(226, 244, 255, 0.7);
}

.home-summary-total {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(126, 232, 255, 0.4);
  align-items: center;
}

.home-summary-total strong {
  font-size: 1.15rem;
  color: #7ee8ff;
  text-shadow: 0 0 12px rgba(126, 232, 255, 0.45);
}

.home-steps-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: linear-gradient(160deg, #071428 0%, #0c326e 58%, #123f86 100%);
  color: #f5fbff;
  border: 1px solid rgba(126, 232, 255, 0.35);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(7, 20, 40, 0.28);
}

.home-flow-item {
  text-align: center;
  width: 150px;
}

.home-flow-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.65rem;
  border-radius: 1rem;
  background: rgba(4, 14, 32, 0.55);
  border: 1px solid rgba(126, 232, 255, 0.35);
  box-shadow: 0 0 12px rgba(126, 232, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.home-flow-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.home-flow-item p {
  font-size: 0.75rem;
  color: rgba(226, 244, 255, 0.72);
}

.home-flow-arrow {
  color: #7ee8ff;
  font-size: 1.4rem;
  font-weight: 700;
}

.home-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-payment-pill {
  background: linear-gradient(160deg, #071428 0%, #0c326e 100%);
  border: 1px solid rgba(126, 232, 255, 0.35);
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f5fbff;
  box-shadow: 0 8px 20px rgba(7, 20, 40, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-payment-pill:hover {
  transform: translateY(-3px);
  border-color: #7ee8ff;
  box-shadow: 0 8px 20px rgba(126, 232, 255, 0.28);
}

.home-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.home-testimonial-card {
  background: linear-gradient(160deg, #071428 0%, #0c326e 100%);
  color: #f5fbff;
  border: 1px solid rgba(126, 232, 255, 0.35);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(7, 20, 40, 0.22);
}

.home-stars {
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.home-testimonial-card p {
  font-size: 0.9rem;
  color: rgba(226, 244, 255, 0.86);
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.home-testimonial-card span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7ee8ff;
}

.site-footer {
  background: #071428;
  color: #f5fbff;
  margin-top: 2rem;
  border-top: 1px solid rgba(126, 232, 255, 0.28);
}

.site-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer-grid h4 {
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.site-footer-grid a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.site-footer-grid a:hover {
  color: #fff;
}

.site-footer-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 20rem;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* Futuristic animations */
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes gridDrift {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(48px); }
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}

@keyframes scanMove {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

@keyframes particleRise {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-30px) scale(1.4); opacity: 0.9; }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 0 18px rgba(255,255,255,0.35); }
}

@keyframes shimmerSweep {
  0% { left: -120%; }
  60%, 100% { left: 140%; }
}

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

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.15); }
}

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

@keyframes lightningFlash {
  0%, 88%, 100% { opacity: 0; }
  89% { opacity: 0.7; }
  89.5% { opacity: 0.1; }
  90% { opacity: 0.55; }
  90.5% { opacity: 0; }
  93% { opacity: 0.35; }
  93.5% { opacity: 0; }
}

@keyframes boltStrike {
  0%, 82%, 100% { opacity: 0; transform: scale(0.8) translateY(10px); }
  83% { opacity: 1; transform: scale(1.05) translateY(0); }
  84% { opacity: 0.15; transform: scale(1) translateY(0); }
  84.5% { opacity: 0.95; transform: scale(1.02) translateY(-2px); }
  86% { opacity: 0; transform: scale(0.95) translateY(5px); }
}

@keyframes boltStrike2 {
  0%, 80%, 100% { opacity: 0; transform: rotate(-15deg) scale(0.7); }
  81% { opacity: 1; transform: rotate(-15deg) scale(1.1); }
  82% { opacity: 0.2; transform: rotate(-15deg) scale(1); }
  83% { opacity: 0.9; transform: rotate(-15deg) scale(1.05); }
  85% { opacity: 0; transform: rotate(-15deg) scale(0.85); }
}

@keyframes boltStrike3 {
  0%, 78%, 100% { opacity: 0; transform: rotate(12deg) scaleX(-1) scale(0.75); }
  79% { opacity: 1; transform: rotate(12deg) scaleX(-1) scale(1.08); }
  80% { opacity: 0.3; transform: rotate(12deg) scaleX(-1) scale(1); }
  81% { opacity: 0; transform: rotate(12deg) scaleX(-1) scale(0.9); }
}

@keyframes titleFlicker {
  0%, 92%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.35), 0 0 24px rgba(77,163,255,0.45); }
  93% { text-shadow: 0 0 20px rgba(255,255,255,0.9), 0 0 40px rgba(77,163,255,0.9), 0 0 60px rgba(255,255,255,0.5); }
  94% { text-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 18px rgba(77,163,255,0.4); }
  95% { text-shadow: 0 0 16px rgba(255,255,255,0.7), 0 0 32px rgba(77,163,255,0.7); }
  96% { text-shadow: 0 0 10px rgba(255,255,255,0.35), 0 0 24px rgba(77,163,255,0.45); }
}

@keyframes cardLightningPulse {
  0% { box-shadow: 0 18px 40px rgba(0, 86, 214, 0.22), 0 0 0 rgba(77, 163, 255, 0); }
  40% { box-shadow: 0 18px 40px rgba(0, 86, 214, 0.22), 0 0 28px rgba(77, 163, 255, 0.55); }
  100% { box-shadow: 0 18px 40px rgba(0, 86, 214, 0.22), 0 0 20px rgba(77, 163, 255, 0.25); }
}

.anim-enter {
  animation: fadeSlideUp 0.8s ease-out both;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.25s; }

.anim-icon-pulse {
  animation: iconPulse 3s ease-in-out infinite;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-section .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-section .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-section .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-section .reveal-item:nth-child(6) { transition-delay: 0.4s; }

.home-games-grid .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.home-games-grid .reveal-item:nth-child(2) { transition-delay: 0.1s; }
.home-games-grid .reveal-item:nth-child(3) { transition-delay: 0.15s; }
.home-games-grid .reveal-item:nth-child(4) { transition-delay: 0.2s; }
.home-games-grid .reveal-item:nth-child(5) { transition-delay: 0.25s; }
.home-games-grid .reveal-item:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .home-hero-inner,
  .home-order-grid,
  .home-features,
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-visual {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .killua-yoyo { width: 40px; opacity: 0.7; }
  .killua-vein { width: 110px; opacity: 0.35; }
  .bg-accent-dino { width: 140px; opacity: 0.34; }
  .bg-accent-dino-b { width: 110px; }
  .bg-accent-egg { width: 46px; }
  .bg-accent-egg-b { width: 36px; }

  .home-hero-inner,
  .home-order-grid,
  .home-features,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-flow-arrow {
    display: none;
  }

  .home-hero {
    padding-bottom: 4rem;
  }
}

.order-required-note,
.payment-no-refund {
  margin: 0.75rem 0 0;
  color: #fca5a5;
  font-weight: 800;
  line-height: 1.45;
}

.payment-no-refund {
  margin-bottom: 1rem;
  text-align: center;
}

.payment-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(226, 244, 255, 0.86);
  line-height: 1.6;
}

.payment-steps li + li {
  margin-top: 0.4rem;
}

.payment-qr-img {
  display: block;
  width: 240px;
  max-width: 80%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.payment-bank p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.payment-bank span {
  min-width: 7.5rem;
  color: rgba(226, 244, 255, 0.7);
  font-size: 0.85rem;
}

.payment-copy {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 0.4rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.payment-proof-link {
  display: inline-block;
  color: #7ee8ff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.payment-upload {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

