:root {
  --pink: #ff4fd8;
  --purple: #b642ff;
  --blue: #3ecbff;
  --bg-dark: #050011;
  --white: #ffffff;
  --text-main: #fdf4ff;
  --shadow-neon: 0 0 20px rgba(255, 79, 216, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #180028, var(--bg-dark));
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.24), transparent),
    radial-gradient(circle at 100% 100%, rgba(62, 203, 255, 0.24), transparent);
  z-index: -1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 0, 20, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: var(--shadow-neon);
}

nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 18px;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Sections base */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 18px 32px 18px;
}

.section-title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 6px;
  text-shadow: var(--shadow-neon);
}

.section-sub {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* Hero */
.hero {
  max-width: 1080px;
  margin: 34px auto 4px auto;
  padding: 24px 18px 14px 18px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #25001f;
  box-shadow: var(--shadow-neon);
}

.btn.primary.full {
  width: 100%;
  margin-top: 6px;
}

.btn.primary.small {
  padding-block: 7px;
  padding-inline: 14px;
  font-size: 0.8rem;
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 26px rgba(255, 79, 216, 0.95);
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Promo strip */
.promo-strip {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 18px 0 18px;
}

.promo-strip span {
  display: block;
  text-align: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: linear-gradient(90deg, rgba(255,79,216,0.3), rgba(62,203,255,0.3));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

/* Floating gallery */
.floating-gallery {
  display :flex;
  padding: 30px; 
  align-items: center;
  justify-content: center;
} 

.float-img {
  max-width: 900px;
  height: 200px;
  border-radius: 16px;
  box-shadow: var(--shadow-neon);
}

.slow { animation: floatSlow 4.5s ease-in-out infinite; }
.medium { animation: floatMedium 3.5s ease-in-out infinite; }
.fast { animation: floatFast 3s ease-in-out infinite; }

@keyframes floatSlow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatMedium {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes floatFast {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

/* Produk grid */
.produk {
  padding-top: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-top: 16px;
}

.product-card {
  background: rgba(7, 0, 25, 0.95);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background:
    radial-gradient(circle at top, rgba(255, 79, 216, 0.08), transparent),
    radial-gradient(circle at bottom, rgba(62, 203, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.95);
  border-color: rgba(255,255,255,0.18);
}

.product-card:hover::before {
  opacity: 1;
}

.product-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(255, 79, 216, 0.95);
  color: #25001f;
  font-weight: 700;
}

.badge.hot {
  background: rgba(255, 91, 91, 0.96);
  color: #fff;
}

.badge.best {
  background: rgba(62, 203, 255, 0.96);
  color: #001a27;
}

.meta {
  font-size: 0.82rem;
  opacity: 0.95;
  margin-bottom: 4px;
}

.price {
  font-weight: 700;
  margin-top: 2px;
  margin-bottom: 4px;
}

/* Image effects */
.wiggle { animation: wiggle 1.3s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.float { animation: floatMedium 3.2s ease-in-out infinite; }
.swing { animation: swing 2.3s ease-in-out infinite; }

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1.4deg); }
  75% { transform: rotate(-1.4deg); }
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

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

/* Fitur */
.fitur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.fitur-item {
  background: rgba(7,0,25,0.95);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.8);
  font-size: 0.9rem;
}

.fitur-item span {
  font-size: 1.2rem;
}

/* Kontak */
.kontak-box {
  margin-top: 14px;
  background: rgba(7,0,25,0.96);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 8px 22px rgba(0,0,0,0.9);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Custom alert */
.custom-alert {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.custom-alert.hidden {
  display: none;
}

.custom-alert-inner {
  background: rgba(7, 0, 25, 0.98);
  border-radius: 14px;
  padding: 12px 16px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-neon);
  text-align: center;
  min-width: 240px;
  font-size: 0.9rem;
}

/* Floating WA button */
.wa-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #03210f;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0,0,0,0.85);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.wa-floating::before {
  content: '💬';
}

.wa-floating:hover {
  transform: translateY(-1px) scale(1.03);
}

/* Footer */
.footer {
  text-align: center;
  padding: 16px 10px 22px 10px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    gap: 6px;
  }
  nav a {
    margin-left: 10px;
    font-size: 0.85rem;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .float-img {
    width: 120px;
    height: 160px;
  }
}
