/* assets/style.css (replace entire file with this) */
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000; /* fallback */
}

/* PAGE BACKGROUND: gunakan image background.webp yang ada di folder assets */
.page-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ganti ke URL absolut */
  background: url("https://vpnsuper.org/assets/background.webp") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
}




/* overlay gelap supaya teks di atas gambar tetap terbaca */
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.55); /* ubah alpha kalau mau lebih gelap/terang */
  z-index: 0;
}

/* CARD */
.card {
  width: 360px;
  max-width: calc(100% - 32px);
  background: linear-gradient(180deg, rgba(26,26,26,0.80), rgba(13,13,13,0.75));
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  color: #ffffff;
  text-align: left;

  /* letakkan di atas overlay */
  position: relative;
  z-index: 1;

  /* blur glass effect (works on modern browsers) */
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  border: 1px solid rgba(255,204,0,0.06);
}

/* logo */
.logo {
  text-align: center;
  margin-bottom: 10px;
}
.logo img {
  width: 120px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}

/* heading */
h1 {
  text-align: center;
  color: #ffcc00;
  font-size: 20px;
  margin: 6px 0 20px 0;
  font-weight: 700;
}

/* labels & inputs */
label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #d0d0d0;
}

input, select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background-color: rgba(0,0,0,0.45);
  color: #fff;
  margin-bottom: 14px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

/* placeholder color (if needed) */
input::placeholder, select::placeholder {
  color: #9a9a9a;
}

/* focus state */
input:focus, select:focus {
  border-color: #ffcc00;
  box-shadow: 0 6px 22px rgba(255,204,0,0.06);
  outline: none;
}

/* tombol utama */
.btn {
  width: 100%;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
  color: #0a0a0a;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, opacity .12s ease;
  box-shadow: 0 8px 20px rgba(255,153,0,0.12);
}

.btn:hover { opacity: 0.95; transform: translateY(-1px); }

/* messages */
.msg {
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
}

.msg.success {
  background-color: rgba(34,197,94,0.08);
  color: #bff3c6;
  border: 1px solid rgba(34,197,94,0.06);
}

.msg.error {
  background-color: rgba(255,75,75,0.06);
  color: #ffbdbd;
  border: 1px solid rgba(255,75,75,0.06);
}

/* success page card (reusable style) */
.success-card {
  width: 360px;
  max-width: calc(100% - 32px);
  background: linear-gradient(180deg, rgba(26,26,26,0.9), rgba(13,13,13,0.85));
  border-radius: 16px;
  padding: 28px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}

/* banner image on success card */
.success-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
}

/* buttons row on success */
.buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.buttons a {
  flex: 1 1 0;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  color: #000;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 18px rgba(255,153,0,0.08);
}

.buttons a:hover { opacity: 0.95; transform: translateY(-1px); }

/* footer small text */
.footer {
  font-size: 12px;
  color: #999;
  margin-top: 18px;
}

/* Responsive tweaks */
@media (max-width: 420px) {
  .card, .success-card {
    padding: 20px;
    border-radius: 12px;
  }
  h1 { font-size: 18px; }
  .logo img { width: 100px; }
  .buttons a { padding: 9px; font-size: 14px; }
}

