@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600&display=swap');

/* ===== Verifikasi Umur - style.css ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-0: #0a0410;
  --bg-1: #1a0b2e;
  --gold: #f542ec;
  --gold-deep: #e91ebd;
  --neon: #ff2d78;
  --text: #f4eefa;
  --muted: #b6a6cc;
  --panel-edge: rgba(239, 66, 245, 0.22);
}

html, body { height: 100%; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1100px 620px at 50% -10%, rgba(255,45,120,0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(245,197,66,0.12), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0));
}

.box {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 40px 30px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(40,20,64,0.92), rgba(20,10,34,0.96));
  border: 1px solid var(--panel-edge);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.seal {
  width: 104px; height: 104px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 7px;
  background: repeating-conic-gradient(var(--gold) 0 11deg, transparent 11deg 22deg);
  box-shadow: 0 0 0 2px rgba(188, 66, 245, 0.45), 0 0 30px rgba(194, 66, 245, 0.3), 0 0 55px rgba(255,45,120,0.22);
  animation: chip 3.2s ease-in-out infinite;
}
.seal-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #2a1440, #150922);
  border: 2px solid rgba(239, 66, 245, 0.65);
}
.seal-inner span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(230, 66, 245, 0.6);
}

.gate-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400; font-size: 2.4rem;
  line-height: 1.05; letter-spacing: 1.5px;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(255,45,120,0.25);
}
.gate-sub {
  margin: 14px auto 0; max-width: 320px;
  font-size: 0.9rem; line-height: 1.55;
  color: var(--muted);
}

.yes, .no {
  display: block; width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 600;
  padding: 15px 20px;
  border-radius: 12px; border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.yes {
  margin-top: 28px;
  color: #241300; letter-spacing: 0.3px;
  background: linear-gradient(180deg, #fa63ed, var(--gold-deep));
  box-shadow: 0 10px 26px rgba(209, 66, 245, 0.3);
}
.yes:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(203, 66, 245, 0.45); }
.no {
  margin-top: 12px;
  color: var(--muted); background: transparent;
  border: 1px solid rgba(182,166,204,0.28);
}
.no:hover { color: var(--text); background: rgba(182,166,204,0.10); transform: translateY(-1px); }
.yes:active, .no:active { transform: translateY(0); }
.yes:focus-visible, .no:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }

.foot {
  margin-top: 22px;
  font-size: 0.72rem; letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(182,166,204,0.65);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chip {
  0%, 100% { box-shadow: 0 0 0 2px rgba(188, 66, 245, 0.45), 0 0 30px rgba(245,197,66,0.30), 0 0 55px rgba(255,45,120,0.22); }
  50%      { box-shadow: 0 0 0 2px rgba(240, 67, 202, 0.6), 0 0 40px rgba(245,197,66,0.45), 0 0 70px rgba(255,45,120,0.35); }
}

@media (max-width: 420px) {
  .box { padding: 34px 22px 26px; }
  .gate-title { font-size: 2.1rem; }
  .seal { width: 92px; height: 92px; }
  .seal-inner span { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .box, .seal, .yes, .no { animation: none !important; transition: none !important; }
}
