/* ============================================================
   auth-siswa.css — Shared style untuk halaman/login.php
                    & halaman/register.php
   Tema: "Lailatul Madrasah" (MAN 1 Bangka)
   ------------------------------------------------------------
   File ini berisi:
     • Design tokens
     • Semua background layer (bg-grad, heritage-grid, arabesque,
       dawn-arch, constellation, lanterns, glow, vignette, particles)
     • Komponen shared (back-btn, auth-card, brand, badge, title,
       form input, btn-submit, alert, auth-foot, dst.)
     • Mobile gate @media (max-width: 768px) yang strip animasi
       paling berat (filter blur besar, backdrop-filter, animasi
       infinite) supaya halaman ringan di HP. Visual desktop tetap
       utuh.
     • prefers-reduced-motion override
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --green-dark: #0b3d2e;
  --green-mid:  #1a6b3c;
  --green:      #2e9e5e;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark:  #a07c2a;
  --amber:      #d97706;
  --cream:      #faf7f0;
  --white:      #ffffff;
  --gray-100:   #f4f4f0;
  --gray-200:   #e8e4dc;
  --gray-300:   #d6d2c8;
  --gray-400:   #a0998a;
  --gray-500:   #857d72;
  --gray-600:   #6b6259;
  --gray-800:   #2d2a24;

  --shadow-sm: 0 2px 8px rgba(11,61,46,.08);
  --shadow-md: 0 8px 30px rgba(11,61,46,.14);
  --shadow-lg: 0 24px 60px rgba(11,61,46,.22);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: "Cinzel", "Georgia", serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic:  "Amiri", "Georgia", serif;

  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body { min-height: 100%; }
html {
  background: #061a13;
  overscroll-behavior: none;
}
body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: 4.5rem 1.25rem 2rem;
  /* align-items diset per-halaman (login = center, register = flex-start) */
}

/* ============================================================
   LAILATUL MADRASAH — Background Layer
   ============================================================ */

/* ── BASE GRADIENT — emerald deep dengan kilau amber di tepi ── */
.bg-grad {
  position: fixed; inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 18% 12%,
      rgba(217,119,6,.15) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 100%,
      rgba(217,119,6,.10) 0%, transparent 55%),
    radial-gradient(ellipse 110% 80% at 50% 50%,
      #1a7547 0%,
      #0e5234 32%,
      #073926 65%,
      #03130d 100%);
  z-index: 0;
}

/* ── DRIFTING ISLAMIC 8-POINT STAR TESSELLATION ── */
.heritage-grid {
  position: fixed; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23e8c97a' stroke-width='0.7' opacity='0.5'><path d='M40 6 L48 32 L74 40 L48 48 L40 74 L32 48 L6 40 L32 32 Z'/><path d='M40 18 L60 40 L40 62 L20 40 Z'/><circle cx='40' cy='40' r='3.5'/></g></svg>");
  background-size: 80px 80px;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
  animation: heritage-drift 70s linear infinite;
}
@keyframes heritage-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* ── ARABESQUE RING PULSE ── */
.arabesque-rings {
  position: fixed;
  top: 50%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      transparent 0,
      transparent calc(18% - 1px),
      rgba(232,201,122,.16) calc(18% - 1px),
      rgba(232,201,122,.16) calc(18% + 1px),
      transparent calc(18% + 1px),
      transparent calc(33% - 1px),
      rgba(232,201,122,.12) calc(33% - 1px),
      rgba(232,201,122,.12) calc(33% + 1px),
      transparent calc(33% + 1px),
      transparent calc(50% - 1px),
      rgba(232,201,122,.10) calc(50% - 1px),
      rgba(232,201,122,.10) calc(50% + 1px),
      transparent calc(50% + 1px),
      transparent calc(70% - 1px),
      rgba(232,201,122,.06) calc(70% - 1px),
      rgba(232,201,122,.06) calc(70% + 1px),
      transparent calc(70% + 1px));
  will-change: transform, opacity;
  animation: arabesque-pulse 8s ease-in-out infinite;
}
@keyframes arabesque-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1)    rotate(0deg); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06) rotate(8deg); }
}

/* ── DAWN ARCH BEAM ── */
.dawn-arch {
  position: fixed;
  top: -12%; left: 50%;
  width: 180vw; height: 65vw;
  max-width: 2400px; max-height: 900px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse 60% 100% at 50% 100%,
    rgba(232,201,122,.14) 0%,
    rgba(232,201,122,.06) 40%,
    transparent 75%);
  filter: blur(28px);
  will-change: transform, opacity;
  animation: dawn-sweep 14s ease-in-out infinite alternate;
}
@keyframes dawn-sweep {
  0%   { transform: translateX(-58%) scaleX(1);    opacity: .55; }
  50%  { transform: translateX(-50%) scaleX(1.05); opacity: .85; }
  100% { transform: translateX(-42%) scaleX(1);    opacity: .55; }
}

/* ── CONSTELLATION NETWORK ── */
.constellation {
  position: fixed;
  top: 50%; left: 50%;
  width: 1400px; height: 1400px;
  max-width: 140vw; max-height: 140vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: .42;
  will-change: transform;
  animation: constellation-rotate 90s linear infinite;
}
.constellation svg { width: 100%; height: 100%; }
@keyframes constellation-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── LANTERN ORBS ── */
.lanterns { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.lantern {
  position: absolute;
  bottom: -120px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,235,170,.95) 0%,
    rgba(232,201,122,.55) 45%,
    rgba(201,168,76,.10) 80%,
    transparent 100%);
  box-shadow: 0 0 28px rgba(232,201,122,.55), 0 0 60px rgba(232,201,122,.25);
  filter: blur(.5px);
  will-change: transform, opacity;
  animation: lantern-rise linear infinite;
}
@keyframes lantern-rise {
  0%   { transform: translate(0, 0)       scale(.7); opacity: 0; }
  8%   { opacity: .9; }
  45%  { transform: translate(15px, -45vh) scale(1); opacity: 1; }
  85%  { opacity: .65; }
  100% { transform: translate(-10px, -110vh) scale(.45); opacity: 0; }
}

/* ── CORNER GLOWS ── */
.glow-tr {
  position: fixed;
  top: -200px; right: -200px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232,201,122,.42) 0%,
    rgba(232,201,122,.10) 45%,
    transparent 75%);
  filter: blur(72px);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  animation: glow-tr-drift 20s ease-in-out infinite alternate;
}
@keyframes glow-tr-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-9%, 7%) scale(1.1); }
}
.glow-bl {
  position: fixed;
  bottom: -220px; left: -220px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(46,158,94,.38) 0%,
    rgba(46,158,94,.10) 45%,
    transparent 75%);
  filter: blur(82px);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  animation: glow-bl-drift 24s ease-in-out infinite alternate;
}
@keyframes glow-bl-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, -8%) scale(1.12); }
}

/* ── DARK VIGNETTE ── */
.vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 75% 60% at center,
    transparent 35%,
    rgba(3,12,9,.55) 95%);
  pointer-events: none;
  z-index: 3;
}

/* ── FLOATING MICRO PARTICLES ── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(232,201,122,.7);
  will-change: transform, opacity;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(0)   scale(1);    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-90vh) scale(.4); opacity: 0; }
}

/* ============================================================
   KOMPONEN UTAMA
   ============================================================ */

/* ── BACK BUTTON ── */
.back-btn {
  position: fixed;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  background: rgba(11,61,46,.55);
  border: 1px solid rgba(232,201,122,.25);
  border-radius: 50px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  z-index: 10;
}
.back-btn:hover {
  background: rgba(201,168,76,.18);
  border-color: rgba(201,168,76,.4);
  color: var(--gold-light);
}
.back-btn i { font-size: .7rem; }

/* ── AUTH SHELL & CARD ── */
.auth-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  /* max-width diset per halaman (login=460, register=600) */
  animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-card {
  background: rgba(8, 30, 22, 0.55);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(232, 201, 122, 0.22);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem 2.25rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.42), inset 0 1px 0 rgba(232,201,122,.10);
  position: relative;
  overflow: hidden;
}

/* Shimmer scan-line di dalam card */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(232,201,122,.0) 10%,
    rgba(232,201,122,.85) 50%,
    rgba(232,201,122,.0) 90%,
    transparent);
  animation: scan-line 4s ease-in-out infinite;
}
@keyframes scan-line {
  0%   { left: -100%; }
  55%  { left: 100%; }
  100% { left: 100%; }
}

/* Arabesque corner ornaments */
.auth-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(232,201,122,.45) 0 5px, transparent 6px) top left / 22px 22px no-repeat,
    radial-gradient(circle at top right, rgba(232,201,122,.45) 0 5px, transparent 6px) top right / 22px 22px no-repeat,
    radial-gradient(circle at bottom left, rgba(232,201,122,.45) 0 5px, transparent 6px) bottom left / 22px 22px no-repeat,
    radial-gradient(circle at bottom right, rgba(232,201,122,.45) 0 5px, transparent 6px) bottom right / 22px 22px no-repeat;
  mix-blend-mode: screen;
  opacity: .7;
}

/* ── BRAND HEAD ── */
.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: .85rem;
  margin-bottom: 1.5rem;
  animation: rise .6s .1s both;
}
.auth-logo {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-mid), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(11,61,46,.3);
  flex-shrink: 0;
}
.auth-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: relative; z-index: 2;
}
.auth-logo::before, .auth-logo::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,201,122,.55);
  animation: logo-halo 3s ease-out infinite;
}
.auth-logo::after { animation-delay: 1.5s; }
@keyframes logo-halo {
  0%   { transform: scale(1);   opacity: .65; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.auth-brand-txt { line-height: 1.2; text-align: left; }
.auth-brand-txt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.auth-brand-txt small {
  display: block;
  font-size: .65rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}

/* ── ARABIC ── */
.auth-arabic {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  color: var(--gold-light);
  text-align: center;
  direction: rtl;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  animation: rise .6s .2s both;
}

/* ── BADGE ── */
.auth-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .85rem;
  background: rgba(46,158,94,.18);
  border: 1px solid rgba(232,201,122,.45);
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .9rem;
  animation: rise .6s .25s both;
}
.auth-badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(1.3); }
}

/* ── TITLE ── */
.auth-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .4rem;
  animation: rise .6s .3s both;
}
.auth-title span { color: var(--gold-light); }

.auth-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 1.5rem;
  animation: rise .6s .35s both;
}

/* ── ALERT ── */
.alert {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  animation: rise .4s both;
}
.alert-error {
  background: rgba(254, 202, 202, 0.15);
  border: 1px solid rgba(254, 202, 202, 0.35);
  color: #fecaca;
}
.alert-warn {
  background: rgba(253, 230, 138, 0.15);
  border: 1px solid rgba(253, 230, 138, 0.35);
  color: #fde68a;
}
.alert i { font-size: .95rem; flex-shrink: 0; margin-top: 1px; }

/* ── FORM FIELDS — base ── */
.field {
  margin-bottom: 1rem;
  animation: rise .5s both;
}
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  margin-bottom: .45rem;
  letter-spacing: .3px;
}

.input-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex; align-items: center;
}
.input-wrap:focus-within {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,.22);
}
.input-wrap .i-icon {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  font-size: .9rem;
  transition: color .2s;
}
.input-wrap:focus-within .i-icon { color: var(--gold-dark); }

.input-wrap input {
  width: 100%;
  padding: .85rem 1rem .85rem 2.65rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--gray-800);
  font-weight: 500;
}
.input-wrap input::placeholder { color: var(--gray-400); font-weight: 400; }
.input-wrap input:disabled { opacity: .6; cursor: not-allowed; }

.toggle-pw {
  position: absolute; right: .25rem;
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.toggle-pw:hover { color: var(--gold-dark); background: rgba(201,168,76,.08); }
.toggle-pw:disabled { opacity: .4; cursor: not-allowed; }

/* ── SUBMIT BUTTON ── */
.btn-submit {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--green-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
  transition: var(--transition), background-position .6s ease;
  margin-top: .25rem;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: btn-sheen 4.5s ease-in-out infinite;
}
@keyframes btn-sheen {
  0%, 60% { left: -100%; }
  80%     { left: 200%; }
  100%    { left: 200%; }
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.45);
  background-position: 100% 50%;
}
.btn-submit:active:not(:disabled) { transform: translateY(0); }
.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}
.btn-submit:disabled::after { display: none; }
.btn-submit i, .btn-submit span { position: relative; z-index: 1; }
.btn-submit i { font-size: .9rem; }

/* ── FOOTER LINK ── */
.auth-foot {
  text-align: center;
  font-size: .87rem;
  color: rgba(255,255,255,.72);
}
.auth-foot a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.auth-foot a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — Mobile shrinkage shared
   ============================================================ */
@media (max-width: 540px) {
  .auth-card { padding: 2rem 1.4rem 1.85rem; border-radius: 20px; }
  .auth-arabic { font-size: 1.2rem; }
  .auth-title { font-size: 1.55rem; }
  .back-btn { top: .85rem; left: .85rem; padding: .45rem .85rem; font-size: .78rem; }
  .arabesque-rings { width: 800px; height: 800px; }
}

/* ============================================================
   MOBILE GATE — Strip animasi paling berat di HP
   ------------------------------------------------------------
   Target: HP & tablet kecil (≤ 768px) di mana mobile GPU
   kewalahan dengan filter blur besar + backdrop-filter + banyak
   layer compositor aktif. Visual desktop TIDAK terpengaruh.

   Strategi:
   • HIDE total — elemen dengan blur radius besar / sangat lebar:
       glow-tr, glow-bl, dawn-arch, constellation
   • DISABLE animation tapi tetap visible — visual heritage tetap
     terasa, cuma tidak bergerak:
       heritage-grid, arabesque-rings
   • REDUCE jumlah — lentera 7→2, partikel 10→3, dan kecilkan
     box-shadow lentera supaya compositor lebih ringan.
   • REPLACE backdrop-filter dengan solid background — backdrop
     blur adalah salah satu operation termahal di mobile Safari/
     Chrome, harus re-sample tiap repaint.
   • DISABLE animasi kecil yang sering trigger compositor
     (scan-line card, sheen tombol, halo logo kedua).
   ============================================================ */
@media (max-width: 768px) {
  /* HIDE total — biang keladi utama */
  .glow-tr,
  .glow-bl,
  .dawn-arch,
  .constellation {
    display: none !important;
  }

  /* DISABLE animation, biarkan static — supaya tidak ada compositor layer aktif */
  .heritage-grid,
  .arabesque-rings {
    animation: none !important;
    will-change: auto !important;
  }

  /* LANTERN: 7 → 2 (sisanya disembunyikan) */
  .lantern:nth-child(n+3) { display: none !important; }
  /* Lentera yang tersisa: shadow lebih kecil + tanpa filter blur */
  .lantern {
    box-shadow: 0 0 12px rgba(232,201,122,.45) !important;
    filter: none !important;
  }

  /* PARTICLE: 10 → 3 */
  .particles .p:nth-child(n+4) { display: none !important; }

  /* AUTH CARD: ganti backdrop-filter dengan solid semi-transparan */
  .auth-card {
    background: rgba(8, 30, 22, 0.88) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* BACK BUTTON: hapus backdrop-filter juga */
  .back-btn {
    background: rgba(11, 61, 46, 0.88) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Matikan animasi kecil yang menumpuk */
  .auth-card::before { display: none !important; }   /* scan-line card */
  .btn-submit::after { display: none !important; }   /* sheen tombol */
  .auth-logo::after  { display: none !important; }   /* halo logo kedua (sisain yang pertama) */

  /* TAMBAHAN: matikan animasi infinite kecil yang masih ngerembet
     ke compositor walau elemen-elemennya kecil. 5 layer animasi
     paralel (halo logo, dot badge, 2 lentera, 3 partikel) tetap
     bikin GPU continuous work walau visual-nya minor.
     • logo-halo (::before) — halo pertama yang masih jalan
     • pulse — badge "ONLINE" dot yang berkedip
     • lantern-rise & float-up — sisa setelah jumlahnya dikurangi */
  .auth-logo::before  { animation: none !important; }   /* halo logo pertama */
  .auth-badge .dot    { animation: none !important; }   /* dot badge "ONLINE" */
  .lantern            { animation: none !important; }   /* 2 lentera sisa */
  .particles .p       { animation: none !important; }   /* 3 partikel sisa */
}

/* ============================================================
   PREFERS-REDUCED-MOTION — Aksesibilitas
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .heritage-grid, .arabesque-rings, .dawn-arch, .constellation,
  .lantern, .glow-tr, .glow-bl, .p {
    animation: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
