* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest-deep: #0a1410;
  --forest-dark: #1a2820;
  --moss-green: #2d4a3a;
  --aged-gold: #d4af37;
  --faded-gold: #a89050;
  --paper-old: #e8dcc4;
  --text-light: #f5f1e8;
  --text-dim: #b8b0a0;
}

body {
  background: var(--forest-deep);
  color: var(--text-light);
  font-family: "Libre Baskerville", serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1000;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="300" height="300" filter="url(%23noise)" opacity="0.05"/></svg>');
  opacity: 0.3;
  pointer-events: none;
  z-index: 999;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 20, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 100;
  padding: 1rem 2rem;
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 70px;
  transition: all 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

/* Nav menu (desktop) */
.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-menu a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a.active {
  color: var(--aged-gold);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--aged-gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--aged-gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--aged-gold);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Merch Hero */
.merch-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--forest-deep), var(--forest-dark));
}

.merch-hero-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--aged-gold);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.merch-hero-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.merch-hero-description {
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dim);
  text-align: center;
}

/* Products Section */
.products-section {
  padding: 6rem 2rem;
  background: var(--forest-dark);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.product-card {
  background: linear-gradient(135deg, rgba(26,40,32,0.6), rgba(10,20,16,0.8));
  border: 2px solid rgba(212, 175, 55, 0.3);
  padding: 3rem;
  position: relative;
  transition: all 0.4s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(45deg, transparent 30%, rgba(212,175,55,0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  border-color: var(--aged-gold);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 2px solid var(--aged-gold);
  border-left: 2px solid var(--aged-gold);
  opacity: 0.5;
}

.product-label {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(212, 175, 55, 0.9);
  color: var(--forest-deep);
  padding: 0.5rem 1.2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  border: 1px solid var(--aged-gold);
}

.product-images {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.product-images.single {
  justify-content: center;
}

.product-img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.product-img:hover {
  border-color: var(--aged-gold);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.3);
  transform: scale(1.02);
}

.product-content {
  position: relative;
}

.product-category {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--faded-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-name {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: var(--aged-gold);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-description {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dim);
  text-align: justify;
}

.product-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.status-tersedia {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.status-habis {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.product-price {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  color: #d4af37;
  margin: 8px 0 16px;
  letter-spacing: 0.05em;
}

.product-price.no-price {
  font-size: 1rem;
  color: #7a8a7a;
  font-family: "IBM Plex Mono", monospace;
  font-style: italic;
}

.btn-beli {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-beli:hover {
  background: #d4af37;
  color: #0a1410;
}

.btn-beli-disabled {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #3a4a3a;
  color: #5a6a5a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: not-allowed;
}

/* Footer */
footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1.2rem;
  }

  /* Hamburger nav */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    left: 0;
    background: rgba(10, 20, 16, 0.98);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(12px);
    z-index: 150;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    letter-spacing: 0.15em;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu a::after {
    display: none;
  }

  /* Hero */
  .merch-hero {
    padding: 6rem 1.25rem 3rem;
  }

  .merch-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .merch-hero-description {
    font-size: 0.95rem;
  }

  /* Products */
  .products-section {
    padding: 3rem 1rem;
  }

  .products-container {
    gap: 2.5rem;
  }

  .product-card {
    padding: 1.25rem;
  }

  .product-label {
    font-size: 0.6rem;
    padding: 0.35rem 0.75rem;
    top: 1rem;
    right: 1rem;
  }

  .product-images {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .product-img {
    max-width: 100%;
    width: 100%;
  }

  .product-name {
    font-size: 1.4rem;
  }

  .product-description {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1.2rem;
  }

  .btn-beli,
  .btn-beli-disabled {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.85rem;
  }
}