:root {
  --bg: #050b12;
  --panel: rgba(10, 22, 34, .82);
  --panel-strong: #0b1723;
  --border: rgba(255,255,255,.10);
  --text: #f3f8fc;
  --muted: #91a6b7;
  --green: #65ffb2;
  --cyan: #5ee7ff;
  --purple: #ad7cff;
  --danger: #ff7d91;
  --warning: #ffd479;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%,
      rgba(56,255,177,.08),
      transparent 35%),
    radial-gradient(circle at 80% 10%,
      rgba(108,102,255,.11),
      transparent 40%),
    linear-gradient(
      160deg,
      #04090f 0%,
      #07131d 55%,
      #04090f 100%
    );
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(
      rgba(255,255,255,.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.02) 1px,
      transparent 1px
    );
  background-size: 46px 46px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 75%
    );
}

.aurora {
  position: fixed;
  width: 58vw;
  height: 28vw;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
  border-radius: 50%;
}

.aurora-one {
  left: -18vw;
  top: 5vh;
  background:
    linear-gradient(
      90deg,
      #46ffb0,
      #35dfff
    );
  transform: rotate(-12deg);
}

.aurora-two {
  right: -18vw;
  top: 7vh;
  background:
    linear-gradient(
      90deg,
      #8d6fff,
      #4affca
    );
  transform: rotate(16deg);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.topbar {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101,255,178,.35);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(101,255,178,.16),
      rgba(94,231,255,.07)
    );
  box-shadow:
    inset 0 0 24px rgba(101,255,178,.08);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.mode-badge,
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 14px var(--warning);
}

.hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, .75fr);
  gap: 70px;
  align-items: center;
  min-height: 590px;
  padding: 70px 0 80px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size:
    clamp(52px, 7vw, 92px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 760;
}

h1 span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--cyan),
      #9f91ff
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: #a8bbc9;
  font-size: 17px;
  line-height: 1.65;
}

.warning {
  margin-top: 28px;
  display: inline-block;
  padding: 11px 14px;
  border: 1px solid rgba(255,212,121,.17);
  border-radius: 10px;
  background: rgba(255,212,121,.045);
  color: #c3b99d;
  font-size: 12px;
}

.warning strong {
  color: var(--warning);
}

.faucet-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background:
    linear-gradient(
      145deg,
      rgba(14,30,44,.94),
      rgba(7,15,24,.94)
    );
  box-shadow:
    0 40px 100px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
}

.faucet-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background:
    linear-gradient(
      140deg,
      rgba(101,255,178,.26),
      transparent 35%,
      transparent 70%,
      rgba(173,124,255,.18)
    );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.card-header .label {
  margin-bottom: 7px;
}

h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.025em;
}

.status {
  flex: none;
  letter-spacing: 0;
}

.status-ok {
  color: var(--green);
  border-color: rgba(101,255,178,.18);
  background: rgba(101,255,178,.055);
}

.status-error {
  color: var(--danger);
  border-color: rgba(255,125,145,.18);
}

form label {
  display: block;
  margin-bottom: 9px;
  color: #bfd0dc;
  font-size: 12px;
  font-weight: 650;
}

.input-wrap input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  outline: none;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(0,0,0,.19);
  font-size: 13px;
  transition:
    border-color .2s,
    box-shadow .2s;
}

.input-wrap input::placeholder {
  color: #587080;
}

.input-wrap input:focus {
  border-color: rgba(94,231,255,.42);
  box-shadow:
    0 0 0 3px rgba(94,231,255,.06);
}

button {
  width: 100%;
  height: 54px;
  margin-top: 13px;
  border: 0;
  border-radius: 12px;
  color: #02100b;
  background:
    linear-gradient(
      90deg,
      #62ffb0,
      #67eaff
    );
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform .15s,
    opacity .2s;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.result {
  margin-top: 15px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.result-success {
  color: #9fffd0;
  border-color: rgba(101,255,178,.18);
  background: rgba(101,255,178,.05);
}

.result-error {
  color: #ffadba;
  border-color: rgba(255,125,145,.18);
  background: rgba(255,125,145,.045);
}

.hidden {
  display: none;
}

.limits {
  margin-top: 26px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border);
}

.limits div {
  min-width: 0;
}

.limits span,
.limits strong {
  display: block;
}

.limits span {
  margin-bottom: 5px;
  color: #617889;
  font-size: 10px;
}

.limits strong {
  color: #cbd8e1;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  padding: 30px 0 90px;
}

.features article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(255,255,255,.018);
}

.feature-icon {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.features h3 {
  margin: 0 0 9px;
  font-size: 15px;
}

.features p {
  margin: 0;
  color: #7890a1;
  font-size: 12px;
  line-height: 1.6;
}

footer {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #536a7a;
  font-size: 11px;
}

@media (max-width: 850px) {

  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 60px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .faucet-card {
    max-width: 620px;
  }

}

@media (max-width: 620px) {

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    min-height: 78px;
  }

  .brand small {
    display: none;
  }

  .mode-badge {
    font-size: 9px;
    padding: 7px 9px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(46px, 16vw, 66px);
  }

  .lead {
    font-size: 15px;
  }

  .faucet-card {
    padding: 21px;
    border-radius: 19px;
  }

  .card-header {
    display: block;
  }

  .status {
    margin-top: 12px;
  }

  .limits {
    grid-template-columns: 1fr;
  }

  .limits div {
    padding: 7px 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  footer {
    display: block;
    padding: 24px 0;
    line-height: 1.8;
  }

}


/* ==========================================================
   ABRS_OFFICIAL_BRANDING
   Official Aurora Borealis Coin identity
   ========================================================== */

.brand-mark {
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
