
#ratu338-highlight.feature-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 50px auto 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

#ratu338-highlight .feature-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0,255,130,0.15);
  border-radius: 16px;
  padding: 25px 20px;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0,255,130,0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

#ratu338-highlight .feature-box:nth-child(1){animation-delay:0.1s}
#ratu338-highlight .feature-box:nth-child(2){animation-delay:0.3s}
#ratu338-highlight .feature-box:nth-child(3){animation-delay:0.5s}
#ratu338-highlight .feature-box:nth-child(4){animation-delay:0.7s}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

#ratu338-highlight .feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,130,0.35);
  box-shadow: 0 0 25px rgba(0,255,130,0.15);
}

#ratu338-highlight .feature-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 6px rgba(0,255,130,0.3));
}

#ratu338-highlight .feature-box:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0,255,130,0.5));
}

#ratu338-highlight .feature-box h4 {
  color: #00ff82;
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: .5px;
}

#ratu338-highlight .feature-box p {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.6;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  #ratu338-highlight.feature-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  #ratu338-highlight.feature-container {
    grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
    gap: 15px;
    max-width: 95%;
  }

  #ratu338-highlight .feature-box {
    padding: 20px 15px;
  }

  #ratu338-highlight .feature-box img {
    width: 50px;
    height: 50px;
  }

  #ratu338-highlight .feature-box h4 {
    font-size: 0.95rem;
  }

  #ratu338-highlight .feature-box p {
    font-size: 0.85rem;
  }
}


  /* ===== LAYOUT ===== */
  .btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    text-align: center;
    margin: 0 auto;
  }

  /* ===== TOMBOL EMAS ===== */
  .gold-button {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(180deg, #ffd84d, #d4a017);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }

  /* Efek kilau lembut */
  .gold-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: 0.6s;
  }

  .gold-button:hover::before {
    left: 130%;
  }

  .gold-button:hover {
    color: #fff;
    background: linear-gradient(180deg, #ffec7a, #d4a017);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
  }

  /* ===== RESPONSIF ===== */
  @media (max-width: 768px) {
    .btn-container {
      flex-wrap: nowrap;
      gap: 10px;
    }
    .gold-button {
      flex: 1;
      text-align: center;
      padding: 12px 0;
      font-size: 16px;
    }
  }

  @media (max-width: 480px) {
    .btn-container {
      flex-wrap: nowrap;
      justify-content: center;
      gap: 8px;
    }
    .gold-button {
      padding: 10px 0;
      font-size: 15px;
      min-width: 120px;
    }
  }


#ratu338-footer {
  padding: 60px 20px 30px;
  background: #000;
  color: #ddd;
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 5;
  box-shadow: 0 -4px 15px rgba(0,255,130,0.1);
}

/* ===== Struktur Grid ===== */
#ratu338-footer .footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* ===== Logo dan Grup Keamanan ===== */
#ratu338-footer .footer-logo {
  width: 160px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px rgba(0,255,130,0.4));
  transition: transform 0.3s ease;
}
#ratu338-footer .footer-logo:hover {
  transform: scale(1.05);
}

/* Grup Keamanan */
.security-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 5px 0 15px 0;
}
.security-group img {
  width: 120px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.security-group img + img {
  margin-top: -2px;
}
.security-group img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* ===== Heading ===== */
#ratu338-footer h4 {
  color: #00ff82;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#ratu338-footer h4::after {
  content: "";
  width: 35px;
  height: 2px;
  background: #00ff82;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 999px;
}

/* ===== Link & Teks ===== */
#ratu338-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#ratu338-footer li {
  margin-bottom: 10px;
}
#ratu338-footer a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}
#ratu338-footer a:hover {
  color: #00ff82;
  text-shadow: 0 0 8px rgba(0,255,130,0.6);
}

/* ===== Sosial Media ===== */
#ratu338-footer .footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #00ff82;
  transition: all 0.3s ease;
}
#ratu338-footer .footer-social a:hover {
  transform: scale(1.2);
  text-shadow: 0 0 12px rgba(0,255,130,0.6);
}

/* ===== Garis Pemisah ===== */
#ratu338-footer .footer-line {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff82, transparent);
  margin: 40px auto 25px;
  width: 90%;
  filter: drop-shadow(0 0 8px rgba(0,255,130,0.5));
}

/* ===== Bagian Bawah ===== */
#ratu338-footer .footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}
.footer-bottom p {
  margin: 0;
  padding: 0;
}
#ratu338-footer .brand {
  color: #00ff82;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 992px){
  #ratu338-footer .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 800px;
  }
}

@media(max-width: 600px){
  #ratu338-footer .footer-container {
    grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom di HP */
    gap: 20px;
    max-width: 95%;
  }

  #ratu338-footer h4 {
    font-size: 1rem;
  }

  #ratu338-footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  #ratu338-footer .footer-logo {
    width: 130px;
  }

  .security-group {
    align-items: center;
  }

  #ratu338-footer .footer-social a {
    margin: 0 6px;
  }

  #ratu338-footer .footer-contact p,
  #ratu338-footer ul li a {
    font-size: 0.85rem;
  }
}

