/* ===== HERO ===== */
.hero {
  background: #d91c1c;
  padding-bottom: 100px;
  overflow: hidden;
}


.logo {
  height: 60px;
}

.title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 32px;
  font-weight: 700;
}

.prize-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #d91c1c;
  padding: 10px 25px;
  border-radius: 15px;
  font-weight: bold;
}

.prize-box .big {
  font-size: 48px;
}

.prize-box .small {
  font-size: 18px;
}

.date {
  font-size: 28px;
}


/* ===== DEFAULT (DESKTOP) ===== */
.title-img {
  max-width: 550px;
}

.hadiah-img {
  max-width: 300px;
}

.download-img {
  max-height: 100px;
}


/* ===== DANCER ===== */
.dancer {
  position: absolute;
  bottom: 0;
  max-height: 95%;
  pointer-events: none;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .title-img {
    max-width: 420px;
  }

  .hadiah-img {
    max-width: 240px;
  }
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .logo {
    max-width: 150px;
  }

  .title-img {
    max-width: 90%;
  }

  .hadiah-img {
    max-width: 200px;
  }

  .download-img {
    max-height: 70px;
  }

  /* dancer jadi samar supaya tidak makan layar */
  .dancer {
    opacity: 0.25;
    max-height: 70%;
  }
}


/* ===== MOBILE KECIL ===== */
@media (max-width: 480px) {
  .date {
    font-size: 18px;
  }

  .download-img {
    max-height: 60px;
  }
}


/* ===== BUTTON ===== */
.btn-download {
  background: white;
  color: #d91c1c;
  padding: 12px 25px;
  border-radius: 40px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-download .icon {
  background: #d91c1c;
  color: white;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.btn-terms {
  border-radius: 40px;
  padding: 10px 25px;
}

/* ===== DANCER ===== */
.dancer {
  position: absolute;
  bottom: 0;
  max-height: 90%;
  pointer-events: none;
}

.dancer-left {
  left: 0;
}

.dancer-right {
  right: 0;
}

/* ===== RULES ===== */
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

.rule-item p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

.rule-item span {
  min-width: 36px;
  height: 36px;
  background: #d91c1c;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  flex-shrink: 0;
}

.terms-floating {
  position: relative;
  margin-top: -30px;
  margin-bottom: -40px;
  z-index: 5;
}

.terms-floating img {
  max-width: 400px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.social-icons img {
  height: 32px;
}

.social-name {
  color: #d91c1c;
  font-weight: bold;
  font-size: 18px;
}

/* ===== RULES AREA ===== */
.rules {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}


/* ===== ORNAMEN ===== */
.ornament {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(217, 28, 28, 0.4);
  border-radius: 50%;
}

.ornament-left {
  left: -150px;
  top: 80px;
}

.ornament-right {
  right: -110px;
  bottom: 40px;
}


/* ===== RULE ITEM ===== */
.rule-item {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.rule-item span {
  min-width: 42px;
  height: 42px;
  background: #d91c1c;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.rule-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}


/* ===== SOCIAL ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}

.social-icons img {
  height: 28px;
}

.social-name {
  color: #d91c1c;
  font-weight: bold;
  font-size: 18px;
}


.download-btn img {
  max-height: 100px;
  transition: transform 0.2s;
}

/* trigger saat hover */
.download-btn:hover img {
  animation: jiggle 0.5s ease-in-out;
}


.rules-left {
  padding-right: 40px;   /* jarak dari tengah */
}

.rules-right {
  padding-left: 40px;    /* jarak dari tengah */
}


/* definisi gerakan */
@keyframes jiggle {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-8deg); }
  40%  { transform: rotate(8deg); }
  60%  { transform: rotate(-5deg); }
  80%  { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ornament {
    opacity: 0.2;
  }

  .rule-item {
    margin-bottom: 20px;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 22px;
  }

  .prize-box .big {
    font-size: 32px;
  }

  .dancer {
    opacity: 0.3;
  }
}

@media (max-width: 992px) {
  .dancer {
    max-height: 75%;
  }
}

@media (max-width: 768px) {
  .dancer {
    max-height: 55%;
  }
}

@media (max-width: 480px) {
  .dancer {
    max-height: 45%;
  }
}

@media (max-width: 768px) {
  .dancer {
    opacity: 0.25;
  }
}

@media (max-width: 768px) {
  .dancer-right {
    transform: translateY(-100px);
  }
}

@media (max-width: 480px) {
  .dancer-right {
    transform: translateY(-70px);
  }
}

@media (max-width: 768px) {
  .dancer-right {
    max-height: 55%;
    transform: translateY(-100px);
  }
}
