html {
  height: 100%;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100vh;
  background: #0b0e14;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
}

.app-actions {
  margin: 40px auto;
  max-width: 500px;
  padding: 25px;
  padding-top: 70px; 
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.actions button {
  flex: 1;
}

.badge-somi {
  display: inline-block;
  color: #22c55e;
  padding: 4px 12px;
  padding-top: 45px;
  font-size: 12px;
  font-weight: bold;
}
.token-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
 
}

.token-title { color: #a57bff; }
.info-text {
  margin-top: 10px;
  font-weight: 700;
  text-align: center;
  min-height: 22px;
  color: #00ff99;
}

input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

small {
  font-size: 12px;
  color: #aaa;
}

.login-googlemode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #333;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.login-googlemode img {
  width: 18px;
  height: 18px;
}

button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

#registerBtn { 
  background: #4CAF50; 
  color: white;
}
#emailLoginBtn { 
  background: #2196F3; 
  color: white;
}

button:hover { opacity: 0.9; }

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.recaptcha-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  border-radius: 12px;
}
.g-recaptcha {
  transform-origin: center;
}

/* ================= PASSWORD FIELD ================= */
.switch-mode button { 
  background: none; 
  border: none; 
  color: #a57bff; 
  cursor: pointer; 
  font-weight: bold;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.password-wrapper button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
}

/* ================= CONFIRM PASSWORD ANIMATION ================= */
.confirm-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

.register-mode .confirm-field {
  max-height: 80px;
  opacity: 1;
  margin-top: 8px;
}

/* ================= SUBMIT BUTTON ================= */
#submitBtn {
  width: 100%;
  margin-top: 15px;
  background: #a57bff;
  color: white;
  font-weight: bold;
}

#submitBtn:hover {
  box-shadow: 0 0 10px rgba(165,123,255,.6);
}

/* ================= HEADER AUTH TABS ================= */
.auth-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.auth-tabs button {
  background: none;
  border: none;
  color: #888;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 12px;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.auth-tabs button.active {
  color: #00ff6a;
  border-bottom: 2px solid #a57bff;
}

 .info-banner {
  margin-top: 10px;
  font-size: 35px; 
  font-weight: 700;
  text-align: center;
  color: #4CAF50;
}

.banner-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px; 
}

/* Wrapper */
.main-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

.banner {
  width: 260px;
  height: 140px;
  border-radius: 16px;
  padding: 20px;
  color: white;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.banner h2 {
  margin: 0;
  font-size: 22px;
}

.banner p {
  margin: 5px 0 0;
  font-size: 14px;
  opacity: 0.8;
}

/* Gradient berbeda tiap banner */
.faucet {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.ptc {
  background: linear-gradient(135deg, #ff512f, #dd2476);
}

.game {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

/* Hover Effect */
.banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Banner container */
.banner-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.faq-section {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-banner {
  padding: 20px;
  border-radius: 14px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.faq-banner h3 {
  margin: 0 0 10px;
}

.faq-banner p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.6;
}

/* Different colors */
.warning {
  border-left: 4px solid #facc15;
}

.info {
  border-left: 4px solid #38bdf8;
}

.danger {
  border-left: 4px solid #ef4444;
}

.faq-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.terms-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.7;
}
.terms-container h1 {
  margin-bottom: 20px;
}
.terms-container h2 {
  margin-top: 30px;
  color: #a57bff;
}

.policy-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
  color: #ddd;
}
.policy-container h1 {
  margin-bottom: 20px;
}
.policy-container h2 {
  margin-top: 30px;
  color: #a57bff;
}
.policy-container ul {
  padding-left: 20px;
}


/* ===== STATISTICS SECTION ===== */
.stats-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-box {
  background: linear-gradient(145deg, #111827, #1f2937);
  padding: 18px 25px;
  border-radius: 12px;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
  transition: 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
}
.stat-number {
  font-size: 22px;
  font-weight: bold;
  color: #6bdcff;
}
.stat-label {
  font-size: 13px;
  margin-top: 6px;
  color: #aaa;
}
.game-stats {
  margin-top: 15px;
}
.stats-title {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #6bdcff;
  opacity: 0.8;
}

/* ===== HEADER MOBILE ===== */
@media (max-width: 768px) {

  header {
    height: 56px; /* lebih kecil */
    padding: 0 10px;
  }

  .sss-header {
    padding: 0;
    font-size: 16px;
    gap: 8px;
  }

  .sss-logoo {
    width: 32px;
    height: 32px;
  }

  .mode-wrapper {
    justify-content: space-between;
  }

  .right-group {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* tombol terms & privacy */
  .withdraw-btns {
    font-size: 11px;
    padding: 5px 8px;
  }

  /* login register tab */
  .auth-tabs {
    gap: 6px;
  }

  .auth-tabs button {
    font-size: 12px;
    padding: 4px 6px;
  }
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  body {
    display: block; 
    padding: 0 10px;
  }

  .main-wrapper {
    padding: 15px 10px;
    margin-top: 60px;
  }

  .app-actions {
    margin: 20px auto;
    padding: 15px;
    padding-top: 40px;
  }

  /* ===== BANNER ===== */
  .banner {
    width: 100%;
    height: auto;
    min-height: 120px;
    padding: 15px;
  }

  .banner h2 {
    font-size: 18px;
  }

  .banner p {
    font-size: 13px;
  }

  /* ===== STATS ===== */
  .stats-container {
    gap: 10px;
  }

  .stat-box {
    min-width: 45%;
    flex: 1 1 45%;
    padding: 14px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* ===== FORM ===== */
  input {
    font-size: 16px; 
  }

  #submitBtn {
    font-size: 15px;
  }

  /* ===== HEADER BUTTON ===== */
  .auth-tabs {
    gap: 10px;
  }

  .auth-tabs button {
    font-size: 14px;
  }

  /* ===== INFO TITLE ===== */
  .info-banner {
    font-size: 22px;
  }

  /* ===== FAQ ===== */
  .faq-section {
    margin-top: 40px;
    gap: 15px;
  }

  .faq-banner {
    padding: 15px;
  }
}
