:root {
  --kuning: #f5c518;
  --kuning-deep: #d4a017;
  --kuning-pale: #fdf3c0;
  --orange: #e8621a;
  --orange-light: #f28c4e;
  --coklat: #2e1503;
  --coklat-mid: #6b3a1f;
  --coklat-muda: #a0622a;
  --krem: #fbf3e4;
  --krem-dark: #f0e2c8;
  --hitam: #1a0c02;
  --putih: #fffcf5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--krem);
  color: var(--coklat);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--krem-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--coklat-muda);
  border-radius: 10px;
}

/* ── NOISE TEXTURE OVERLAY (lembut) ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: var(--coklat);
  border-bottom: 3px solid var(--kuning);
}
.nav-brand {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: var(--kuning);
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-brand span {
  color: var(--orange-light);
  font-style: italic;
}
.nav-brand-dot {
  width: 8px;
  height: 8px;
  background: var(--kuning);
  border-radius: 50%;
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(253, 243, 192, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--kuning);
}
.nav-cart-btn {
  background: var(--kuning);
  color: var(--coklat);
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  position: relative;
}
.nav-cart-btn:hover {
  background: var(--kuning-deep);
  transform: translateY(-1px);
}
.cart-count {
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  top: -6px;
  right: -6px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--kuning);
  display: block;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── SECTION COMMON ── */
section {
  padding: 88px 5%;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.25);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--coklat);
  margin-bottom: 14px;
  line-height: 1.15;
  font-weight: 900;
}
.section-title span {
  color: var(--kuning-deep);
}
.section-title em {
  font-style: italic;
  color: var(--coklat-muda);
}

/* ── BACK TO TOP ── */
#btt {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--kuning);
  color: var(--coklat);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 997;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
#btt.show {
  opacity: 1;
  pointer-events: auto;
}
#btt:hover {
  background: var(--kuning-deep);
  transform: translateY(-3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--coklat);
    padding: 20px 5%;
    gap: 16px;
    border-bottom: 3px solid var(--kuning);
  }
  .logo {
    font-size: 1.2rem;
  }
  .nav-brand-dot {
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .brand-logo {
    width: 220px;
    height: 220px;
    margin-bottom: 12px;
  }
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    height: 300px;
  }
  .about-stats {
    flex-wrap: wrap;
  }
  .cart-panel {
    width: 100%;
  }
  .modal-platforms {
    grid-template-columns: 1fr 1fr;
  }
}
