:root {
  --bg: #f3f6ff;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --text: #1c2440;
  --muted: #5a6381;
  --primary: #476dff;
  --primary-2: #6f5bff;
  --ok: #0fa968;
  --border: #dbe3ff;
  --shadow: 0 16px 40px rgba(35, 59, 150, 0.12);
  --radius: 18px;
}

html, body { min-height: 100%; }
body {
  background: radial-gradient(circle at top right, #dce5ff 0%, var(--bg) 50%, #eef3ff 100%);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding-bottom: 48px;
}

.page-shell { max-width: 1260px; margin: 0 auto; padding: 18px; }
.glass-nav {
  margin: 10px auto 18px;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(130deg, rgba(255,255,255,.88), rgba(243,247,255,.86));
  box-shadow: 0 10px 30px rgba(39,58,125,.12);
  border-radius: 16px;
}

.hero-card, .faucet-card, .side-card, .section-card, .faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px 24px;
  margin-bottom: 18px;
  background: linear-gradient(130deg, #ffffff 10%, #edf2ff 100%);
}
.hero-title { margin: 0; font-size: 34px; font-weight: 700; }
.hero-sub { margin-top: 8px; color: var(--muted); font-size: 16px; }

.quick-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quick-stat {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: #2f3d73;
  font-size: 13px;
}

.faucet-card { padding: 20px; margin-bottom: 18px; }
.side-card { padding: 16px; margin-bottom: 18px; }
.side-card h3 { margin-top: 0; font-size: 18px; }

.form-control {
  border-radius: 12px;
  border-color: #c9d5ff;
  height: 44px;
  box-shadow: none;
}
.form-control:focus {
  border-color: #89a1ff;
  box-shadow: 0 0 0 4px rgba(71,109,255,0.12);
}

.claim-button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(70,88,220,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.claim-button:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(70,88,220,.35); }

.badge-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f9ff;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.info-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfcff;
  padding: 16px;
}
.info-item h4 { margin-top: 0; margin-bottom: 8px; font-size: 16px; }
.info-item p { margin: 0; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: #f8faff;
  border: 0;
  font-weight: 600;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 14px;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 180px; padding: 10px 14px 14px; }

.footer-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer-links a { color: #2e4dc5; font-weight: 600; }

.mj-modal .modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(25,40,95,.32);
}
.mj-modal .modal-header {
  border-bottom: 1px solid #e7ecff;
  background: linear-gradient(120deg, #f7f9ff, #edf2ff);
  border-radius: 16px 16px 0 0;
}
.mj-modal .modal-body { color: #3f4c73; line-height: 1.6; }

.admin_link a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #111a38;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .info-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
}


.hero-card {
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(111,91,255,.20) 0%, rgba(111,91,255,0) 68%);
  animation: floatGlow 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-content {
  padding: 8px 10px;
  border: 1px solid rgba(165,183,255,.5);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255,255,255,.92), rgba(237,242,255,.8));
  animation: heroContainerIn .7s ease-out;
}
.hero-title {
  background: linear-gradient(90deg, #2741a8, #5a4bdb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTextIn .8s ease-out;
}
.hero-sub {
  animation: heroTextIn 1s ease-out;
}
.reward-box {
  border-color: #c8d4ff;
  background: linear-gradient(120deg, #f7f9ff, #edf2ff);
  color: #2a3d7a;
}
@keyframes heroContainerIn {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatGlow {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-12px,10px,0); }
}