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

body {
  font-family: "Special Elite", cursive;
  background: #d4a574;
  color: #2d1810;
  overflow-x: hidden;
}

.desert-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #87ceeb 0%, #f4e4c1 50%, #d4a574 100%);
}

.desert-bg::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: repeating-linear-gradient(
    90deg, 
    #c9954a 0px,
    #c9954a 2px,
    transparent 2px, 
    transparent 20px
  );
  opacity: 0.3;
}

.logo-image {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.tumbleweed {
  position: absolute;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.4;
  animation: floatAcross 25s ease-in-out infinite;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
  will-change: transform, left;
}

.tumbleweed:nth-child(1) {
  top: 25%;
  left: 20%;
  background-image: url("KAKTUS.png");
  animation-duration: 30s;
  animation-delay: -2s;
}

.tumbleweed:nth-child(2) {
  top: 45%;
  left: 50%;
  background-image: url("MAGNET.png");
  animation-duration: 50s;
  animation-delay: -25s;
}

.tumbleweed:nth-child(3) {
  top: 70%;
  left: 80%;
  background-image: url("SEPATU.png");
  animation-duration: 30s;
  animation-delay: -35s;
}

@keyframes floatAcross {
  0% {
    left: -100px;
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  100% {
    left: 110%;
    transform: translateY(0px) rotate(360deg);
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(180deg, #5d4e37 0%, #3d2f1f 100%);
  border-bottom: 4px solid #8b6f47;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Rye", cursive;
  font-size: 2.2rem;
  color: #f4e4c1;
  text-shadow: 3px 3px 0 #2d1810;
  text-decoration: none;
}

.back-btn {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(180deg, #8b4513 0%, #5d2f0f 100%);
  color: #f4e4c1;
  border: 3px solid #2d1810;
  border-radius: 5px;
  font-family: "Rye", cursive;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 2px;
  box-shadow: 4px 4px 0 #2d1810;
  transition: 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.back-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #2d1810;
  filter: brightness(1.1);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px 5% 100px
}

.wooden-sign {
  margin-bottom: 2rem;
}

.announcement {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(180deg, #8b6f47 0%, #5d4e37 100%);
  border: 4px solid #2d1810;
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 2px;
  color: #f4e4c1;
  box-shadow: 5px 5px 0 #2d1810;
  animation: swingSign 3s ease-in-out infinite;
}

@keyframes swingSign {
  0%,100% {transform: rotate(-2deg);}
  50% {transform: rotate(2deg);}
}

.western-title {
  font-family: "Rye", cursive;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 1rem 0;
  color: #f4e4c1;
  text-shadow: 5px 5px 0 #2d1810, -2px -2px 0 #8b6f47;
}

.subtitle-banner {
  padding: 1rem 3rem;
  background: linear-gradient(180deg, #cd853f 0%, #8b4513 100%);
  border: 4px solid #2d1810;
  margin: 1rem auto;;
  box-shadow: 5px 5px 0 #2d1810;
  width: fit-content;
  max-width: 90%;
  display: inline-block;
}

.subtitle-banner h2 {
  font-family: "Rye", cursive;
  font-size: 1rem;
  color: #f4e4c1;
  letter-spacing: 4px;
  text-shadow: 3px 3px 0 #2d1810;
}

section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 5%;
}

.wood-section {
  max-width: 100%;
  padding: 20px 15px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #c9954a 0%, #8b6f47 100%);
  border-top: 5px solid #5d4e37;
  border-bottom: 5px solid #5d4e37;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  width: 100%;
}

.section-title {
  font-family: "Rye", cursive;
  font-size: 2.5rem;
  color: #2d1810;
  text-shadow: 3px 3px 0 #f4e4c1, -1px -1px 0 #8b6f47;
  text-align: center;
  letter-spacing: 3px;
}

.rope-divider {
  flex: 1;
  height: 10px;
  max-width: 200px;
  background: repeating-linear-gradient(
    90deg,
    #5d4e37 0px,
    #5d4e37 8px,
    #8b6f47 8px,
    #8b6f47 16px
  );
  border: 2px solid #2d1810;
}

.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.merch-card {
  background: linear-gradient(180deg, #f4e4c1 0%, #e8d4b0 100%);
  border: 5px solid #2d1810;
  box-shadow: 8px 8px 0 rgba(45, 24, 16, 0.35);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  width: 100%
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.merch-card::before {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  z-index: 2;
}

.merch-card:hover {
  transform: rotate(-1.5deg) translateY(-10px);
  box-shadow: 14px 14px 0 rgba(45, 24, 16, 0.45);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  width: 100%;
}

.merch-img-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-bottom: 5px solid #2d1810;
  background: linear-gradient(180deg, #f4e4c1 0%, #e8d4b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  padding: 10px;
}

.merch-card:hover .merch-img-wrap img {
  transform: scale(1.05);
}

.merch-info {
  padding: 1rem;
  text-align: center;
}

.merch-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: #8b4513;
  color: #f4e4c1;
  font-family: "Special Elite", cursive;
  font-size: 0.75rem;
  letter-spacing: 3px;
  margin-bottom: 0.6rem;
  border: 2px solid #2d1810;
}

.merch-name {
  font-family: "Rye", cursive;
  font-size: 1.4rem;
  color: #2d1810;
  text-shadow: 2px 2px 0 rgba(139, 111, 71, 0.5);
  margin-bottom: 0.5rem;
}

.merch-line {
  width: 60%;
  height: 3px;
  background: #2d1810;
  margin: 0.8rem auto 1rem;
}

.merch-desc {
  font-family: "Special Elite", cursive;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3d2f1f;
}

.merch-price {
  font-family: "Rye", cursive;
  font-size: 2rem;
  color: #006400;
  margin: 1rem 0;
}

@media (max-width: 768px) {

  header {
    padding: 0.5rem 4% !important;
    min-height: 60px;
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
  }

  .logo-image {
    width: 2.5rem; /
    height: 2.5rem;
  }

  .logo-text {
    font-size: 1.2rem !important;
  }

  .back-btn {
    padding: 0.4rem 0.8rem !important; 
    font-size: 0.75rem !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important; 
    border-width: 2px !important;
    box-shadow: 2px 2px 0 #2d1810 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
  }

  .direction {
    margin: 0 !important;
    display: inline-block;
  }

  .hero {
    padding: 110px 5% 50px !important; */
  }

  .western-title {
    font-size: clamp(2rem, 10vw, 4rem) !important;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .subtitle-banner h2 {
    font-size: clamp(0.7rem, 3.5vw, 1rem) !important;
    letter-spacing: 1px;
    white-space: normal;
    word-break: break-word;
  }

  .announcement {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }

  .wood-section {
    padding: 40px 10px !important;
  }

  .section-header {
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.2rem;
    white-space: normal;
  }

  .rope-divider {
    width: 60px;
    max-width: 60px;
    height: 6px;
  }

  .merch-grid {
    grid-template-columns: 1fr; /* Satu kolom di HP */
    max-width: 100%;
    gap: 1.5rem;
    padding: 5px;
  }

  .merch-card {
    max-width: 320px;
  }

  .merch-img-wrap {
    height: 280px;
  }

  .merch-name {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .merch-price {
    font-size: 1.3rem;
  }

  .merch-info {
    padding: 1rem 0.75rem;
  }

  .merch-desc { 
    font-size: 0.85rem;
    line-height: 1.5;
  }

 .payment-btn {
    width: 100% !important;
    max-width: 300px !important;
    padding: 1rem 2rem !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px !important;
  }

  .features-grid {
    grid-template-columns: 1fr; 
    gap: 1.2rem;
  }

  .footer-content h3 {
    font-size: clamp(1rem, 4vw, 1.4rem) !important;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
  }
}  
  

.payment-section {
  padding: 0 1rem;
  text-align: center;
  margin: 4rem 0;
}

.payment-btn {
  width: auto;
  min-width: 200px;
  margin: 0 auto;
  display: inline-block;
  padding: 1.5rem 4rem;
  background: linear-gradient(180deg, #ffd700 0%, #daa520 100%);
  color: #2d1810;
  border: 5px solid #2d1810;
  border-radius: 10px;
  font-family: "Rye", cursive;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: 8px 8px 0 #2d1810;
  text-decoration: none;
  animation: pulse 2s ease-in-out infinite;
}

.payment-btn:hover {
  background: linear-gradient(180deg, #ffed4e 0%, #f0c400 100%);
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 #2d1810;
}

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

footer {
  background: linear-gradient(180deg, #5d4e37 0%, #3d2f1f 100%);
  border-top: 5px solid #2d1810;
  padding: 3rem 5%;
  text-align: center;
}

.footer-content {
  font-family: "Special Elite", cursive;
  color: #f4e4c1;
}

.footer-content h3 {
  font-family: "Rye", cursive;
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0 #2d1810;
}

.footer-rope {
  width: 150px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #8b6f47 0px,
    #8b6f47 8px,
    #5d4e37 8px,
    #5d4e37 16px
  );
  margin: 1rem auto;
  border: 2px solid #2d1810;
}

.footer-stars {
  font-size: 2rem;
  color: #ffd700;
  margin: 1rem 0;
}

.contact-info {
  font-size: 1.1rem;
  margin: 1rem 0;
}
