:root {
  --bg: #05070D;
  --panel: #0D111C;
  --cyan: #00E5FF;
  --violet: #8B5CF6;
  --gold: #F5B942;
  --text: #F6F9FF;
  --muted: #8E9AAF;
  --line: rgba(142,154,175,.17);
  --h: 'Orbitron', sans-serif;
  --b: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--b);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

.grid {
  position: fixed; inset: 0; z-index: -3;
  background-image: linear-gradient(rgba(0,229,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,229,255,.035) 1px, transparent 1px);
  background-size: 50px 50px;
}
#particles { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

header {
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; border-bottom: 1px solid var(--line);
  background: rgba(5,7,13,.76); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand b, .brand span { display: block; }
.brand b { font: 800 18px var(--h); letter-spacing: 2px; }
.brand span { font: 700 8px var(--h); color: var(--cyan); letter-spacing: 1.5px; margin-top: 4px; }
nav { display: flex; gap: 28px; }
nav a { color: #9aa5b7; font: 600 13px Rajdhani, sans-serif; }

main {
  width: min(1420px, 94%); margin: auto;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px;
  align-items: center; padding: 42px 0;
}
.visual {
  min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; padding: 52px;
  border: 1px solid rgba(0,229,255,.18); border-radius: 22px;
  background: radial-gradient(circle at 80% 35%, rgba(0,229,255,.14), transparent 30%),
              linear-gradient(130deg, rgba(13,17,28,.97), rgba(22,16,49,.93));
  overflow: hidden;
}

.eyebrow, .label { font: 700 11px var(--h); color: var(--cyan); letter-spacing: 1.7px; }
.eyebrow i {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan); margin-right: 7px;
}
.copy h1 { font: 800 clamp(42px, 4.2vw, 68px)/1.08 var(--h); margin: 24px 0; }
.copy h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--cyan); }
.copy > p { color: var(--muted); font-size: 16px; line-height: 1.8; }

.features { display: grid; gap: 12px; margin-top: 34px; }
.features article {
  display: flex; align-items: center; gap: 14px; padding: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(7,11,19,.55);
}
.features article > span {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 9px; background: rgba(0,229,255,.08); color: var(--cyan);
}
.features b, .features small { display: block; }
.features b { font: 700 14px var(--h); }
.features small { color: var(--muted); margin-top: 5px; font-size: 13px; }

.art { min-height: 420px; position: relative; display: grid; place-items: center; }
.art > img { width: 225px; height: 225px; object-fit: contain; animation: float 4s ease-in-out infinite; }
.orbit { position: absolute; border: 1px solid rgba(0,229,255,.22); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit.a { width: 350px; height: 350px; }
.orbit.b { width: 275px; height: 275px; border-style: dashed; animation-direction: reverse; animation-duration: 12s; }
.chip {
  position: absolute; min-width: 140px; padding: 12px 14px;
  border: 1px solid rgba(0,229,255,.22); border-radius: 8px; background: rgba(13,17,28,.85);
}
.chip span, .chip b { display: block; }
.chip span { font: 700 9px var(--h); color: var(--muted); }
.chip b { font: 700 18px var(--h); color: var(--cyan); margin-top: 5px; }
.c1 { left: 0; top: 55px; }
.c2 { right: -10px; top: 185px; }
.c3 { left: 15px; bottom: 30px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.login-wrap { display: flex; justify-content: center; }
.card {
  width: min(480px, 100%); padding: 38px; border: 1px solid var(--line);
  border-radius: 20px; background: rgba(13,17,28,.94); box-shadow: 0 30px 75px rgba(0,0,0,.38);
}
.mobile-logo { display: none; width: 90px; margin: auto; }
.card h2 { font: 800 30px var(--h); margin: 10px 0 8px; }
.sub { color: var(--muted); font-size: 14px; }
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px;
  margin: 27px 0 23px; border: 1px solid var(--line); border-radius: 8px; background: #090D16;
}
.tabs button {
  border: 0; padding: 11px; border-radius: 5px; background: none;
  color: var(--muted); font: 700 12px var(--h); cursor: pointer;
}
.tabs .active { background: var(--cyan); color: #061014; }
.pane { display: none; }
.pane.active { display: block; }
.pane label { display: block; margin-bottom: 8px; color: #c5cdda; font-size: 13px; font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.row a { color: var(--cyan); font-size: 12px; }
.input {
  height: 52px; display: flex; align-items: center; gap: 12px;
  padding: 0 15px; border: 1px solid #273047; border-radius: 8px; background: #090D16;
}
.input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,.08); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: white; font-size: 14px; }
.input button { border: 0; background: none; color: #7d889a; }
.remember { display: flex!important; align-items: center; gap: 9px; margin: 16px 0 21px; color: var(--muted)!important; font-weight: 500!important; }
.primary {
  width: 100%; height: 52px; border: 0; border-radius: 8px;
  background: var(--cyan); color: #041014; font: 700 13px var(--h); cursor: pointer;
}
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #616d80; font: 700 9px var(--h); }
.divider:before, .divider:after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social button { height: 46px; border: 1px solid var(--line); border-radius: 7px; background: #0a0e18; color: #d7dde8; }

.wallet-head { text-align: center; }
.wallet-head > span {
  width: 76px; height: 76px; margin: auto; display: grid; place-items: center;
  border-radius: 18px; background: rgba(0,229,255,.08); color: var(--cyan); font-size: 28px;
}
.wallet-head h3 { font: 700 18px var(--h); margin: 15px 0 7px; }
.wallet-head p { color: var(--muted); font-size: 13px; }
.wallet-option {
  width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center;
  gap: 12px; padding: 12px; margin-top: 9px; border: 1px solid var(--line);
  border-radius: 9px; background: #090D16; color: white; text-align: left;
}
.wallet-option span b, .wallet-option span small { display: block; }
.wallet-option small { color: var(--muted); margin-top: 4px; }

.register { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; }
.register a { color: var(--cyan); font-weight: 700; }
.secure { text-align: center; color: #667286; font-size: 11px; border-top: 1px solid var(--line); padding-top: 18px; }
.secure i { color: #42E8A0; }

footer { display: flex; justify-content: space-between; padding: 0 5% 22px; color: #626e82; font-size: 11px; }
footer div { display: flex; gap: 20px; }
#toast {
  position: fixed; right: 22px; bottom: 22px; padding: 13px 17px; border: 1px solid var(--cyan);
  border-radius: 8px; background: #101725; opacity: 0; transform: translateY(15px); transition: .25s;
}
#toast.show { opacity: 1; transform: none; }

@media(max-width: 1100px) {
  main { grid-template-columns: 1fr 430px; gap: 25px; }
  .visual { grid-template-columns: 1fr; }
  .art { position: absolute; right: -80px; opacity: .32; }
}
@media(max-width: 850px) {
  nav, .visual { display: none; }
  main { display: block; width: min(520px, 92%); padding: 36px 0 80px; }
  .mobile-logo { display: block; }
  .card { padding: 30px; }
  footer { flex-direction: column; gap: 10px; }
}
@media(max-width: 480px) {
  header { height: 66px; padding: 0 18px; }
  .brand img { width: 40px; height: 40px; }
  main { width: 100%; padding: 20px 14px 75px; }
  .card { padding: 24px 18px; border-radius: 15px; }
  .card h2 { font-size: 25px; }
  .social { grid-template-columns: 1fr; }
}

/* ========================================================= */
/* SweetAlert2 Custom ABABIL Theme - High Specificity        */
/* ========================================================= */

/* Dark Backdrop with blur */
.swal2-container.swal2-backdrop-show, 
.swal2-container.swal2-noanimation {
    background: rgba(5, 7, 13, 0.85) !important;
    backdrop-filter: blur(6px) !important;
}

/* Main Popup Card - Fixed White Background */
.swal2-popup {
    background: rgba(13, 17, 28, 0.98) !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    color: var(--text) !important;
    font-family: var(--b) !important;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.6) !important;
    padding: 24px 18px 32px !important;
}

/* Title */
.swal2-title {
    color: var(--text) !important;
    font-family: var(--h) !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    letter-spacing: 1px !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}

/* Body Text */
.swal2-html-container {
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
}

/* Button Container */
.swal2-actions {
    gap: 14px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

/* Confirm Button (Fully Matches ABABIL .primary) */
.swal2-confirm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--cyan) !important;
    color: #041014 !important;
    font-family: var(--h) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    padding: 0 32px !important;
    height: 52px !important;
    border: none !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15) !important;
    transition: 0.25s ease !important;
    margin: 0 !important;
}

.swal2-confirm:hover {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.35) !important;
    transform: translateY(-2px) !important;
    background-image: none !important;
}

/* Cancel / Deny Button */
.swal2-cancel, 
.swal2-deny {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #090D16 !important;
    color: var(--muted) !important;
    font-family: var(--h) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    padding: 0 32px !important;
    height: 52px !important;
    border: 1px solid var(--line) !important;
    text-transform: uppercase !important;
    transition: 0.25s ease !important;
    margin: 0 !important;
}

.swal2-cancel:hover, 
.swal2-deny:hover {
    border-color: var(--cyan) !important;
    color: white !important;
    background-image: none !important;
}

/* Focus states for buttons */
.swal2-confirm:focus,
.swal2-cancel:focus,
.swal2-deny:focus {
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15) !important;
    outline: none !important;
}

/* Custom Success Icon */
.swal2-icon.swal2-success {
    border-color: #42E8A0 !important;
    color: #42E8A0 !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #42E8A0 !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(66, 232, 160, 0.25) !important;
}

/* Custom Error Icon */
.swal2-icon.swal2-error {
    border-color: #ff4b4b !important;
    color: #ff4b4b !important;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #ff4b4b !important;
}

/* Custom Warning Icon */
.swal2-icon.swal2-warning {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}