/* ================================
   BODY BACKGROUND
================================ */
body {
  height: 100vh;
  margin: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(193, 154, 107, 0.08), transparent 50%),
    linear-gradient(270deg, #2B1A0E, #5A3E1B, #8B6B3F, #2B1A0E);
  background-size: 600% 600%;
  animation: moveGradient 25s ease infinite;
  color: #f5deb3;
}

@keyframes moveGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================================
   HEADER
================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(43, 26, 14, 0.9);
  z-index: 1000;
}

.logo img { 
  height: 45px; /* default desktop */
}

@media (max-width: 768px) {
  .logo img {
    height: 41px; /* lebih kecil di mobile */
  }
}

.auth-buttons {
  display: flex;
  gap: 12px;
  margin-left: auto;   /* dorong tombol ke kanan */
  align-items: center; /* biar sejajar vertical */
}

.auth-buttons a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}



/* ================================
   HERO SECTION
================================ */

.hero-title {
  margin: 50px 0 30px;
  text-align: center;
  color: #FFD700; /* warna emas */
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7),
               2px 2px 10px rgba(0, 0, 0, 0.8);
}
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}
.hero-section video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.hero-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #2B1A0E 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 270px 20px 100px;
}

.brand-title {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.active-users {
  font-size: 1.5rem;
  font-weight: bold;
  color: #facc15;
  margin: 10px 0;
}
.stars {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

/* HEADER BASE */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}

/* Desktop auth buttons */
.auth-buttons {
  display: flex;
  gap: 12px;
  margin-left: auto;
  align-items: center;
}

/* Tombol dasar */
.auth-buttons a,
.auth-buttons-mobile a {
  display: inline-block;
  min-width: 100px;
  text-align: center;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

/* Register */
.btn-register2 {
  color: #fff;
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}
.btn-register2:hover {
  background: linear-gradient(90deg, #15803d 0%, #16a34a 100%);
  transform: translateY(-2px);
}

/* Login */
.btn-login2 {
  color: #fff;
  background: #111827;
  border: 1px solid #374151;
}
.btn-login2:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

/* Mobile menu hidden default */
.auth-buttons-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: #111827;
  padding: 15px;
  border-radius: 8px;
  position: absolute;
  top: 70px;
  right: 20px;
  z-index: 999;
}

/* Tombol hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}

/* Responsive rules */
@media (max-width: 768px) {
  .auth-buttons { display: none; }         /* desktop buttons hidden */
  .hamburger { display: block; }           /* show hamburger */
}


/* ================================
   HERO SECTION BUTTONS (tengah)
================================ */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;  /* beri jarak ke atas */
}

.hero-buttons a {
  display: block;
  text-align: center;
  font-weight: bold;
  padding: 16px 24px;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}

/* Register di hero (hijau besar) */
.hero-buttons .btn-register {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
  color: #fff;
}
.hero-buttons .btn-register2:hover {
  background: linear-gradient(90deg, #15803d 0%, #16a34a 100%);
  transform: translateY(-2px);
}

/* Demo di hero (kuning besar) */
.hero-buttons .btn-demo {
  background: #facc15;
  color: #111;
}
.hero-buttons .btn-demo:hover {
  background: #eab308;
  transform: translateY(-2px);
}

/* Responsive: stack vertical di mobile */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-buttons a {
    width: 90%;
    max-width: 320px;
  }
}



/* ================================
   MAIN GRID
================================ */
.main-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .main-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================
   POPULAR SLOTS
================================ */
.popular-slots-container {
  background: #2B1A0E;
  border: 2px solid #FFD700;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  height: 100%;
  box-sizing: border-box;
}
.popular-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #FFD700;
}

.slot-info {
  width: 100%;
}
.slot-card {
  background: linear-gradient(145deg, #3A2415, #2B1A0E);
  border: 2px solid rgba(200,169,81,0.6);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
.slot-card:hover {
  border-color: #FFD700;
  box-shadow: 0 0 12px rgba(255,215,0,0.6);
  transform: translateY(-3px);
}
.slot-content { display: flex; align-items: flex-start; gap: 12px; }
.slot-image { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.slot-title { font-weight: 700; font-size: 1.1rem; color: #FFD700; margin: 0; }

/* RTP BAR */
.progress-container { 
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: #3a2a1a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: var(--target, 0); /* ambil nilai dari inline style */
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 8px 0 0 8px; /* rounded kiri saja */
  transition: width 1s ease; /* animasi biar smooth */
}

.progress-label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #FFD700;
  text-align: right;
}

/* ================================
   FEATURE CARDS
================================ */
.feature-hula,
.info-card,
.feature-box {
  background: #2B1A0E;
  border: 2px solid #FFD700;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  height: 100%;
  box-sizing: border-box;
}

.feature-hula .feature-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
  margin-bottom: 20px;
}
.feature-hula .feature-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 10px;
  background: rgba(43, 26, 14, 0.85);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}
.feature-hula .feature-item:hover {
  border-color: #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  background: linear-gradient(135deg, rgba(43, 26, 14, 0.95), rgba(255, 215, 0, 0.1));
  transform: translateY(-3px);
}
.feature-hula .feature-icon { width: 64px; height: 64px; object-fit: contain; }
.feature-hula .feature-name { font-weight: 800; font-size: 18px; color: #FFD700; }
.feature-hula .feature-value, .feature-hula .feature-desc { font-size: 14px; color: #f5deb3; }

/* ================================
   INFO COLUMN
================================ */
.info-column { display: flex; flex-direction: column; gap: 24px; }
.info-title, .feature-box-title {
  font-weight: bold;
  color: #FFD700;
  text-shadow: 1px 1px 2px #000;
  margin-bottom: 12px;
}
.info-title { font-size: 1.5rem; }
.feature-box-title { font-size: 1.8rem; }
.info-text { font-size: 1rem; line-height: 1.6; color: #f5deb3; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: flex-start; margin-bottom: 10px; color: #f5deb3; }
.checkmark { color: #22c55e; font-weight: bold; margin-right: 8px; }

/* ================================
   H1 UTAMA
================================ */
.h1-section { margin-top: 40px; text-align: center; }
.h1-section .brand-title {
  font-weight: 900;
  color: #FFD700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  line-height: 1.3;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .h1-section .brand-title { font-size: 4rem; }
}
@media (max-width: 767px) {
  .h1-section .brand-title { font-size: 2.2rem; }
}

/* ================================
   PROVIDER GRID
================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 20px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}
.feature-card {
  background: rgba(43, 26, 14, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.feature-card:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #FFD700, #FFA500, #FFB400, #8B4513);
  color: #111;
  transform: translateY(-5px);
}
.feature-card h3 { font-size: 16px; font-weight: bold; color: #FFD700; }
.feature-card:hover h3 { color: #111; }
.feature-icon { width: 100%; max-width: 250px; margin-bottom: 12px; }
@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; grid-template-rows: repeat(8, auto); }
  .feature-card { padding: 16px; }
  .feature-card h3 { font-size: 14px; }
}

/* ================================
   PAYMENT SECTION
================================ */
h2, .h2-section {
  margin: 40px 0 20px;
  text-align: center;
  color: #FFD700;
  font-weight: 900;
  line-height: 1.2;
  font-size: 2.5rem;  /* default ukuran */
  font-family: 'Montserrat', sans-serif;
}

@media (min-width: 1024px) {
  h2, .h2-section { font-size: 3rem; }
}

@media (max-width: 767px) {
  h2, .h2-section { font-size: 1.8rem; }
}

.payment-heading {
  color: #FFD700;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}
@media (min-width: 1024px) { .payment-heading { font-size: 3rem; } }
@media (max-width: 767px) { .payment-heading { font-size: 1.8rem; } }
.payment-proof-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}
.payment-proof-item {
  background: rgba(43, 26, 14, 0.85);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: 16px;
  max-width: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.payment-proof-item:hover {
  transform: scale(1.05);
  border-color: #FFD700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}
.payment-proof-item img { width: 100%; border-radius: 12px; display: block; margin: 0 auto; }
.payment-proof-title {
  margin-top: 12px;
  color: #FFD700;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 767px) {
  .payment-proof-section { grid-template-columns: 1fr; }
  .payment-proof-item { max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .payment-proof-section { grid-template-columns: repeat(2, 1fr); }
  .payment-proof-item { max-width: 320px; }
}
@media (min-width: 1024px) {
  .payment-proof-section { grid-template-columns: repeat(3, 1fr); }
  .payment-proof-item { max-width: 360px; }
}

/* p font */
p {
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  line-height: 1.6;
}


/* ================================
   FOOTER
================================ */
.site-footer {
  background: #1C1C1C;
  color: #fff;
  padding: 32px 0;
  text-align: center;
  border-top: 2px solid #FFD700;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
