:root {
  --bg: #001B3D;
  --accent: #003161;
  --accentSoft: rgba(0, 49, 97, 0.12);

  --card: rgba(255, 255, 255, 0.92);
  --radius: 18px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.26);

  --textOnBg: rgba(255, 255, 255, 0.92);
  --mutedOnBg: rgba(255, 255, 255, 0.72);

  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--textOnBg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 600px at 18% 10%, rgba(255, 255, 255, 0.10), transparent 62%),
    radial-gradient(900px 520px at 82% 0%, rgba(255, 255, 255, 0.06), transparent 62%),
    radial-gradient(900px 520px at 50% 120%, rgba(0, 0, 0, 0.46), transparent 55%);
  opacity: 0.9;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 22px auto 64px;
  padding: 0 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.top-left {
  flex: 1 1 auto;
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.top-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.iconbtn svg {
  width: 20px;
  height: 20px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero {
  padding: 18px;
  margin-bottom: 14px;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 86px;
  height: 64px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
}

.brand-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.slogan {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(15, 23, 42, 0.62);
  font-weight: 400;
}

.badge {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(15, 23, 42, 0.66);
}

.desc {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.74);
  font-weight: 400;
}

.links {
  padding: 12px;
}

.link {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.95);
}

.link-button {
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.l-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(15, 23, 42, 0.08));
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
}

.l-ic svg {
  width: 20px;
  height: 20px;
}

.l-left {
  display: grid;
  gap: 2px;
}

.l-title {
  font-weight: 600;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.92);
}

.l-sub {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.56);
  font-weight: 400;
}

.l-right {
  font-size: 22px;
  color: rgba(15, 23, 42, 0.28);
}

.section-title {
  margin: 4px 2px 12px;
  color: rgba(15, 23, 42, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer {
  margin-top: 14px;
  color: var(--mutedOnBg);
  font-size: 12px;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 14, 22, 0.92);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1001;
  font-size: 13px;
}

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

@media (max-width: 640px) {
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .top-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .iconbtn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 110px;
    height: 60px;
  }
}