/* --- 1. Reset & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

.tumbleweed-wrapper {
  position: absolute;
  left: -150px;
  width: fit-content;
  will-change: left;
  animation: floatAcross 25s linear infinite;
}

.tumbleweed {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
  animation: slowRotate 12s linear infinite;
}

@keyframes floatAcross {
  0% { left: -150px; }
  100% { left: 115%; }
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.v-gitar { top: 8%; animation-duration: 40s; animation-delay: -2s; }
.gitar { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.gitar::after { content: "🎸"; font-size: 3rem; }

.v-mic { top: 22%; animation-duration: 32s; animation-delay: -12s; }
.mic { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.mic::after { content: "🎙️"; font-size: 3rem; }

.v-piano { top: 62%; animation-duration: 20s; animation-delay: -15s; }
.piano { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.piano::after { content: "🎹"; font-size: 3rem; }

.v-dancer { top: 48%; animation-duration: 36s; animation-delay: -7s; }
.dancer { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.dancer::after { content: "🕺🏽"; font-size: 3rem; }

.v-konfeti { top: 35%; animation-duration: 28s; animation-delay: -22s; }
.konfeti { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.konfeti::after { content: "🎉"; font-size: 3rem; }

.v-kembang-api { top: 78%; animation-duration: 42s; animation-delay: -27s; }
.kembang-api { animation: none; display: flex; align-items: center; justify-content: center; background: none; }
.kembang-api::after { content: "🎆"; font-size: 3rem; }

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

/* --- 3. Header & Navigation --- */
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: 12px;
  font-family: "Rye", cursive;
  font-size: clamp(1.2rem, 2vw, 1.8rem); /* Ukuran dinamis */
  color: #f4e4c1;
  text-shadow: 2px 2px 0 #2d1810;
  text-decoration: none;
}

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

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

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

/* --- 4. Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 5% 60px;
  text-align: center;
}

.western-title {
  font-family: "Rye", cursive;
  font-size: clamp(2.5rem, 8vw, 6rem); /* Responsive otomatis! */
  color: #f4e4c1;
  text-shadow: 4px 4px 0 #2d1810, -1px -1px 0 #8b6f47;
  margin: 1rem 0;
  text-transform: uppercase;
}

.wooden-sign .announcement {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #8b6f47;
  border: 3px solid #2d1810;
  color: #f4e4c1;
  font-family: 'Rye', cursive;
  box-shadow: 4px 4px 0 #2d1810;
  animation: swingSign 3s ease-in-out infinite;
  transform-origin: top center;
}

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

/* --- 5. Content Layouts --- */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

.wood-section {
  background: #c9954a;
  border-block: 5px solid #5d4e37;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.section-title {
  font-family: "Rye", cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: #2d1810;
  text-shadow: 2px 2px 0 #f4e4c1;
}

.content-box {
  background: #f4e4c1;
  border: 4px solid #2d1810;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 2rem;
  box-shadow: 8px 8px 0 rgba(45, 24, 16, 0.2);
}

/* --- 6. Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #5d4e37;
  border: 3px solid #2d1810;
  padding: 2rem;
  text-align: center;
  color: #f4e4c1;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: #6d5d45;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  background: #d4a574;
  padding: 1.5rem 1rem;
  border: 2px dashed #2d1810;
  text-align: center;
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(45, 24, 16, 0.1);
  transition: transform 0.2s;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-label {
  display: block;
  font-family: "Rye", cursive;
  font-size: 0.85rem;
  color: #5d2f0f;
  margin-bottom: 0.5rem;
  text-decoration: underline;
  text-transform: uppercase;
}

.info-item p {
  font-weight: 800;
  font-size: 1.2rem;
  color: #2d1810;
  margin: 0;
}

.info-divider {
  width: 100%;
  height: 3px;
  background: #2d1810;
  margin: 0.8rem auto 1rem;
}

.important-notes h4 {
  font-family: "Rye", cursive;
  color: #8b4513;
  margin-bottom: 1rem;
}

.custom-bullet {
  list-style: none;
  padding-left: 0;
}

.custom-bullet li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-bullet li::before {
  content: "🌵";
  position: absolute;
  left: 0;
}

/* --- 7. Registration & Payment --- */
.payment-section {
  text-align: center;
  padding: 4rem 1rem;
}

.payment-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: #ffd700;
  color: #2d1810;
  border: 4px solid #2d1810;
  border-radius: 8px;
  font-family: "Rye", cursive;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 6px 6px 0 #2d1810;
  transition: 0.3s;
}

.payment-btn:hover {
  transform: scale(1.05);
  background: #ffed4e;
  box-shadow: 8px 8px 0 #2d1810;
}

/* --- 8. Reveal Animations (Untuk JS) --- */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 9. Footer --- */
footer {
  background: #3d2f1f;
  padding: 3rem 5%;
  text-align: center;
  color: #f4e4c1;
  border-top: 5px solid #2d1810;
}

/* --- 10. Mobile Adjustments --- */
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .western-title {
    font-size: 3rem;

  .payment-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%; 
  }
}
