/* Log masuk & Daftar (5 Nov 2026): panel pameran gelap + borang. Animasi hanya transform/opacity (licin). */
body.auth2 { background: #FBF8F4; }
body.auth2 > .topbar, body.auth2 > .foot { display: none; }
body.auth2 .flash { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(92vw, 520px); margin: 0; box-shadow: 0 14px 34px rgba(42,34,51,.16); }

.au-page { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 100vh; min-height: 100dvh; }

/* ---------- Panel pameran ---------- */
.au-show { position: relative; overflow: hidden; color: #fff; padding: 40px 52px 36px; display: flex; flex-direction: column;
  background: radial-gradient(820px 560px at 70% 40%, rgba(146,86,160,.42), transparent 62%), radial-gradient(640px 420px at 10% 0%, rgba(214,180,118,.22), transparent 60%), #0A080D; }
.au-top { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; }
.au-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 34px; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.au-logo span { color: #D6B476; }
.au-logo:hover { color: #fff; }
.au-switch-m { display: none; }
.au-title { position: relative; z-index: 4; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(44px, 4.3vw, 62px); line-height: 1.02; margin: 40px 0 0; max-width: 560px; color: #fff; letter-spacing: -.01em; }
.au-title em { font-style: italic; font-weight: 600; color: #E6CB95; }
.au-shine { background: linear-gradient(100deg, #E6CB95 0%, #E6CB95 40%, #FFF4D6 50%, #E6CB95 60%, #E6CB95 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: auShine 4.5s ease-in-out infinite; padding-right: .06em; }
@keyframes auShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -30% 0; } }
.au-sub { position: relative; z-index: 4; color: #B9AFC0; font-size: 17px; line-height: 1.55; margin: 14px 0 0; max-width: 470px; }

.au-fan { position: relative; z-index: 3; flex: 1; min-height: 380px; margin-top: 14px; }
.au-ring { position: absolute; left: 18%; top: -6px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(214,180,118,.22); }
.au-ph { position: absolute; width: 184px; height: 378px; border-radius: 30px; background: #111; padding: 7px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1.5px rgba(214,180,118,.5); will-change: transform; }
.au-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; display: block; }
.au-ph1 { left: 6%; top: 66px; transform: rotate(-10deg); animation: auF1 6s ease-in-out infinite; }
.au-ph2 { left: 31%; top: 16px; z-index: 3; transform: scale(1.06); animation: auF2 7s ease-in-out infinite; }
.au-ph3 { left: 56%; top: 66px; transform: rotate(10deg); z-index: 2; animation: auF3 6.5s ease-in-out infinite; }
@keyframes auF1 { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-14px); } }
@keyframes auF2 { 0%, 100% { transform: scale(1.06) translateY(0); } 50% { transform: scale(1.06) translateY(-18px); } }
@keyframes auF3 { 0%, 100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(12deg) translateY(-12px); } }
.au-scr { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #1a1620; }
.au-scr img { position: absolute; inset: 0; opacity: 0; animation: auCyc 16s infinite; }
.au-scr img:nth-child(1) { animation-delay: 0s; }
.au-scr img:nth-child(2) { animation-delay: 4s; }
.au-scr img:nth-child(3) { animation-delay: 8s; }
.au-scr img:nth-child(4) { animation-delay: 12s; }
@keyframes auCyc { 0% { opacity: 0; transform: scale(1.04); } 4%, 25% { opacity: 1; transform: scale(1); } 30%, 100% { opacity: 0; } }

.au-toast { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border-radius: 16px; background: rgba(24,16,30,.86); border: 1px solid rgba(214,180,118,.35);
  color: #fff; font-size: 14px; line-height: 1.25; box-shadow: 0 14px 30px rgba(0,0,0,.35); opacity: 0; animation: auPop 12s infinite; white-space: nowrap; }
.au-toast i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 15px; flex: none; background: linear-gradient(135deg, #F0D9A2, #B98C47); color: #1A1220; }
.au-toast i .au-ic { width: 16px; height: 16px; stroke-width: 2.6; }
.au-toast small { display: block; color: #C9BFD0; font-size: 12px; margin-top: 2px; }
.au-t1 { right: 3%; top: 36px; animation-delay: .6s; }
.au-t2 { right: 0; top: 168px; animation-delay: 4.6s; }
.au-t3 { right: 7%; top: 298px; animation-delay: 8.6s; }
@keyframes auPop { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 3%, 26% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: translateY(-8px); } }

.au-petals { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.au-petal { position: absolute; top: -30px; width: 12px; height: 16px; border-radius: 12px 0 12px 0; background: linear-gradient(135deg, #F6C9D6, #E89AB2); opacity: 0; animation: auFall linear infinite; will-change: transform; }
.au-petal.is-gold { width: 6px; height: 6px; border-radius: 50%; background: #F0D9A2; box-shadow: 0 0 10px 2px rgba(240,217,162,.6); }
@keyframes auFall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .85; } 100% { transform: translate(var(--dx), 110vh) rotate(var(--r)); opacity: 0; } }

.au-chips { position: relative; z-index: 4; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.au-chips span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #E8DCC4; border: 1px solid rgba(214,180,118,.35); background: rgba(255,255,255,.03); padding: 9px 14px; border-radius: 40px; }
.au-chips .au-ic { width: 15px; height: 15px; color: #D6B476; stroke-width: 2.4; }
.au-steps { position: relative; z-index: 4; list-style: none; display: grid; gap: 12px; margin: 18px 0 0; padding: 0; max-width: 470px; }
.au-steps li { display: flex; gap: 14px; align-items: center; color: #D9D0DF; font-size: 16px; }
.au-steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #1A1220; background: linear-gradient(135deg, #F0D9A2, #B98C47); flex: none; }

/* ---------- Borang ---------- */
.au-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 40px 26px;
  background: radial-gradient(600px 400px at 100% 0%, #F3E8F1, transparent 60%), radial-gradient(500px 360px at 0% 100%, #F7EEDF, transparent 60%), #FBF8F4; }
.au-switch { position: absolute; top: 26px; right: 40px; margin: 0; font-size: 14px; color: #6F6680; }
.au-switch a, .au-alt a, .au-forgot, .au-terms a, .au-foot a { color: #6B4FA0; font-weight: 600; text-decoration: none; }
.au-switch a:hover, .au-alt a:hover, .au-forgot:hover, .au-terms a:hover, .au-foot a:hover { text-decoration: underline; }
.au-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid #EFE6EE; border-radius: 24px; padding: 36px 34px 28px; box-shadow: 0 30px 80px rgba(74,44,96,.12), 0 2px 6px rgba(74,44,96,.05); }
.au-card h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 40px; line-height: 1.05; color: #2A2233; margin: 0; letter-spacing: -.01em; }
.au-lead { color: #6F6680; font-size: 15px; margin: 8px 0 0; }
.au-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A6A2F; background: #FBF1DD; border: 1px solid #F0DFBC; padding: 6px 11px; border-radius: 30px; margin-bottom: 14px; }
.au-form { display: grid; gap: 16px; margin-top: 18px; }
.au-form .field label { font-size: 13.5px; color: #3A3042; }
.au-inp { position: relative; }
.au-inp > .au-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #A397AD; pointer-events: none; }
.au-inp input, .au-inp select { width: 100%; height: 50px; min-height: 50px; border: 1.5px solid #E5DCE8; border-radius: 14px; background-color: #fff; padding: 0 16px 0 44px; font-size: 16px; color: #2A2233; }
.au-inp select { padding-right: 40px; }
.au-inp input:focus, .au-inp select:focus, .au-other:focus, .au-form .cap-field input:focus { outline: none; border-color: #7D5FB4; box-shadow: 0 0 0 4px rgba(125,95,180,.14); }
.au-inp input[type=password], .au-inp input[data-shown] { padding-right: 48px; }
.au-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: #8E829A; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.au-eye:hover { background: #F6F2FB; color: #6B4FA0; }
.au-eye.is-on { color: #6B4FA0; }
.au-eye.is-on svg path { stroke-dasharray: 2 0; }
.au-forgot { align-self: flex-end; font-size: 13.5px; margin-top: 2px; }
.au-other { width: 100%; height: 48px; border: 1.5px solid #E5DCE8; border-radius: 14px; padding: 0 16px; font-size: 16px; margin-top: 8px; }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-meter { display: flex; gap: 5px; margin-top: -8px; }
.au-meter i { flex: 1; height: 4px; border-radius: 4px; background: #ECE4EF; transition: background .25s; }
.au-meter i.is-weak { background: #E2A0A9; }
.au-meter i.is-ok { background: #E7C27D; }
.au-meter i.is-good { background: #7FB28A; }
.au-meter-t { font-size: 12.5px; color: #7A6E85; margin: -10px 0 0; font-weight: 600; }
.au-meter-t.is-good { color: #4F8A5B; }
.au-meter-t.is-warn { color: #A0603B; }
.au-form .cap-field input { height: 50px; border: 1.5px solid #E5DCE8; border-radius: 14px; font-size: 16px; }
.au-form .cap-img, .au-form .cap-new { border-radius: 14px; border-color: #E5DCE8; }
.au-form .field.is-invalid input, .au-form .field.is-invalid select { border-color: #C0485F; box-shadow: 0 0 0 3px rgba(192,72,95,.14); }
.au-btn { position: relative; overflow: hidden; margin-top: 6px; width: 100%; height: 54px; border: 0; border-radius: 16px; cursor: pointer; background: linear-gradient(135deg, #7E5DB8, #5A3E8E); color: #fff; font: 700 16.5px/1 Figtree, system-ui, sans-serif; letter-spacing: .01em;
  box-shadow: 0 14px 30px rgba(90,62,142,.32); display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, box-shadow .2s; }
.au-btn:hover { box-shadow: 0 18px 36px rgba(90,62,142,.4); }
.au-btn:active { transform: scale(.985); }
.au-btn .au-ic { width: 18px; height: 18px; stroke-width: 2.2; }
.au-btn::after { content: ''; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); animation: auSweep 5s ease-in-out infinite 1.5s; }
@keyframes auSweep { 0% { left: -40%; } 35%, 100% { left: 130%; } }
.au-terms { font-size: 12.5px; color: #7A6E85; margin: -4px 0 0; line-height: 1.5; text-align: center; }
.au-alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #EFE7F0; text-align: center; font-size: 14.5px; color: #5A5063; }
.au-foot { margin: 22px 0 0; font-size: 12.5px; color: #8E8496; text-align: center; }
.au-card .errors { margin-bottom: 0; }

/* ---------- Tablet & telefon ---------- */
@media (max-width: 1060px) {
  .au-show { padding: 34px 32px; }
  .au-ph { width: 156px; height: 320px; }
  .au-toast small { display: none; }
}
@media (max-width: 860px) {
  .au-page { display: block; }
  .au-show { padding: 18px 20px 62px; }
  .au-logo { font-size: 28px; }
  .au-switch-m { display: inline-block; color: #E8DCC4; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(214,180,118,.4); padding: 7px 14px; border-radius: 30px; }
  .au-title { font-size: 36px; margin-top: 20px; }
  .au-sub, .au-chips, .au-steps, .au-ring { display: none; }
  .au-fan { flex: none; height: 236px; min-height: 0; margin: 12px auto 0; width: 100%; max-width: 420px; }
  .au-ph { width: 112px; height: 230px; border-radius: 20px; padding: 5px; }
  .au-ph img, .au-scr { border-radius: 15px; }
  .au-ph1 { left: 6%; top: 22px; } .au-ph2 { left: calc(50% - 56px); top: 0; } .au-ph3 { right: 6%; left: auto; top: 22px; }
  .au-toast { font-size: 12px; padding: 7px 10px 7px 7px; border-radius: 12px; gap: 7px; }
  .au-toast i { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }
  .au-toast small { display: none; }
  .au-t1 { right: 2%; top: 4px; } .au-t2 { left: 2%; right: auto; top: 96px; } .au-t3 { right: 2%; top: 168px; }
  .au-petal:nth-child(n+9) { display: none; }
  .au-side { display: block; padding: 0 14px 24px; margin-top: -44px; background: transparent; position: relative; z-index: 5; }
  .au-switch { display: none; }
  .au-card { max-width: 520px; margin: 0 auto; padding: 28px 22px 24px; }
  .au-card h1 { font-size: 34px; }
}
@media (max-width: 380px) {
  .au-title { font-size: 31px; }
  .au-row2 { grid-template-columns: 1fr; }
  .au-card { padding: 24px 16px 20px; }
  .au-form .cap-img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .au-ph, .au-scr img, .au-toast, .au-petal, .au-shine, .au-btn::after { animation: none !important; }
  .au-scr img:first-child, .au-t1 { opacity: 1; }
  .au-petals { display: none; }
}
