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

:root {
  --bg: #060b14;
  --bg-deep: #04070d;
  --panel: rgba(10, 18, 31, 0.78);
  --panel-strong: rgba(12, 21, 35, 0.95);
  --border: rgba(125, 157, 207, 0.14);
  --text: #f7f9fc;
  --muted: #8e9caf;
  --blue: #1582ff;
  --blue-soft: #62a9ff;
  --orange: #ff9d25;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 18%, rgba(34, 60, 255, 0.12), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(0, 139, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #07101d 0%, #050a12 68%, #04070d 100%);
}

button, a {
  font: inherit;
}

button {
  border: 0;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.26;
}

.ambient-one {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 180px;
  background: #244cff;
}

.ambient-two {
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: 80px;
  background: #0a83ff;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.94), rgba(7, 14, 24, 0.88));
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.025);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 128px;
  height: 42px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  color: #8d98aa;
  background: transparent;
  padding: 10px 13px;
  border-radius: 9px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-item:hover,
.nav-item:focus-visible {
  color: #d8e3f3;
  background: rgba(255,255,255,0.035);
  outline: none;
  transform: translateY(-1px);
}

.nav-item::after {
  content: "Updating";
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translate(-50%, -5px);
  padding: 7px 9px;
  border: 1px solid rgba(116, 156, 214, .18);
  border-radius: 8px;
  background: rgba(5, 11, 20, .98);
  color: #b9c8da;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.nav-item:hover::after,
.nav-item:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-item.active {
  color: #448fff;
  text-shadow: 0 0 18px rgba(53, 128, 255, .55);
}

.nav-item span {
  opacity: .55;
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-row {
  display: flex;
  gap: 13px;
  color: #758499;
  font-size: 14px;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfe8ff;
  background: linear-gradient(180deg, #0d7fdf, #0765bc);
  border: 1px solid rgba(112, 190, 255, .34);
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(8, 120, 229, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.connect-btn:hover,
.connect-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(8, 120, 229, .3);
  outline: none;
}

.wallet-icon {
  opacity: .8;
}

.mobile-menu-btn {
  display: none;
  color: #c7d4e4;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 16px 50px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a8b9cc;
  background: rgba(13, 24, 40, .64);
  border: 1px solid rgba(94, 127, 179, .16);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  margin-bottom: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 157, 37, .8);
  animation: pulse 1.8s infinite;
}

.hero-logo-wrap {
  width: 190px;
  margin-bottom: 18px;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(36, 120, 255, .13));
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  margin: 25px auto 0;
  color: #8796aa;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
}

.maintenance-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(560px, 100%);
  margin-top: 42px;
  padding: 22px 24px;
  text-align: left;
  border: 1px solid rgba(104, 141, 192, .15);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 24, 40, .82), rgba(9, 17, 29, .85));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.card-glow {
  position: absolute;
  inset: auto auto -70px -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(28, 112, 255, .18);
  filter: blur(35px);
}

.card-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffe0aa;
  background: rgba(255, 158, 36, .11);
  border: 1px solid rgba(255, 171, 67, .18);
}

.maintenance-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #dbe6f4;
}

.maintenance-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #7e8da0;
  font-size: 14px;
  line-height: 1.55;
}

.domain-note {
  margin-top: 24px;
  color: #536277;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 30px);
  padding: 12px 15px;
  border: 1px solid rgba(102, 141, 192, .18);
  border-radius: 10px;
  color: #bdcad9;
  background: rgba(7, 13, 23, .96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2185ff;
  box-shadow: 0 0 12px rgba(33, 133, 255, .75);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .55; }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    justify-self: end;
  }

  .site-header.menu-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.menu-open .nav-links {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
  }

  .site-header.menu-open .header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding: 8px 4px 4px;
  }

  .site-header.menu-open .nav-item {
    width: 100%;
    text-align: left;
  }

  .site-header.menu-open .nav-item::after {
    display: none;
  }

  .hero {
    padding-top: 82px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 9px;
  }

  .site-header {
    top: 8px;
  }

  .brand {
    width: 118px;
  }

  .hero {
    min-height: calc(100vh - 100px);
    padding-inline: 8px;
  }

  .hero-logo-wrap {
    width: 155px;
  }

  .hero-copy {
    line-height: 1.65;
  }

  .maintenance-card {
    align-items: flex-start;
    padding: 19px;
  }

  .icon-row {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }
}
