:root {
    --bg0: #07080c;
    --bg1: #0b0b10;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.62);
    --border: rgba(255, 255, 255, 0.12);
    --card: rgba(255, 255, 255, 0.07);
    --card2: rgba(255, 255, 255, 0.1);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    --radius: 22px;
  
    --mx: 50%;
    --my: 35%;
    --x: 0px;
    --y: 0px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
      Helvetica, Arial;
    overflow-x: hidden;
    background: linear-gradient(180deg, var(--bg0), var(--bg1));
  }
  
  .bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #07080c;
    overflow: hidden;
  }
  
  .bg::before {
    content: "";
    position: absolute;
    inset: -12%;
    background: url("/images/space-quiet.png") center / cover no-repeat;
    transform: translate(var(--x), var(--y)) scale(1.06);
    will-change: transform;
    filter: saturate(1.05) contrast(1.05);
  }
  
  .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        520px 520px at var(--mx) var(--my),
        rgba(0, 214, 255, 0.14),
        transparent 60%
      ),
      radial-gradient(
        780px 780px at calc(var(--mx) + 6%) calc(var(--my) + 8%),
        rgba(122, 92, 255, 0.12),
        transparent 65%
      ),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72));
    pointer-events: none;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .bg::before {
      transform: none;
    }
  }
  
  .wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 18px;
  }
  
  .card {
    width: min(520px, 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(10, 10, 14, 0.5);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
  }
  
  .inner {
    padding: 34px 26px 22px;
  }
  
  .top {
    text-align: center;
    padding-bottom: 18px;
  }
  
  h1 {
    margin: 0;
    font-family: "Orbitron", sans-serif;
    font-weight: 300;
    font-size: clamp(34px, 4.6vw, 44px);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    line-height: 1.05;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6),
      0 0 18px rgba(160, 120, 255, 0.35);
  }
  
  .sub {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
  }
  
  .divider {
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.16),
      transparent
    );
    margin: 18px 0 22px;
  }
  
  .sectionLabel {
    margin: 14px 0 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  
  .grid {
    display: grid;
    gap: 12px;
  }
  
  .link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    transition: transform 0.12s ease, background 0.12s ease,
      border-color 0.12s ease;
    backdrop-filter: blur(8px);
  }
  
  .link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
  }
  
  .icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
  }
  
  .arrow {
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
  }
  
  footer {
    text-align: center;
    padding: 18px 10px 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
  }
  
  .link:focus {
    outline: 2px solid rgba(0, 214, 255, 0.35);
    outline-offset: 2px;
  }
  