:root{
  --bg0:#070814;
  --bg1:#0b0c1c;
  --text:#f2f2ff;
  --muted: rgba(242,242,255,.72);

  --card: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.14);
  --shadow: 0 16px 45px rgba(0,0,0,.45);

  --pink:#ff3db7;
  --purple:#8a5cff;
  --blue:#2fe3ff;

  --r1: 22px;
  --r2: 16px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 900px at 18% 8%, rgba(138,92,255,.22), transparent 60%),
    radial-gradient(900px 700px at 85% 18%, rgba(47,227,255,.16), transparent 65%),
    radial-gradient(900px 700px at 60% 92%, rgba(255,61,183,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* subtle map grid texture */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity:.18;
}

/* soft glow blobs */
body::after{
  content:"";
  position:fixed;
  inset:-160px;
  pointer-events:none;
  background:
    radial-gradient(320px 320px at 22% 38%, rgba(255,61,183,.18), transparent 62%),
    radial-gradient(360px 360px at 72% 28%, rgba(47,227,255,.14), transparent 64%),
    radial-gradient(420px 420px at 56% 78%, rgba(138,92,255,.16), transparent 65%);
  filter: blur(26px);
  opacity:.75;
}

.container{
  position:relative;
  z-index:1;
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 18px 78px;
}

/* top bar */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 26px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.logo{
  width:42px;
  height:42px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 25%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 28px rgba(138,92,255,.18), 0 10px 24px rgba(255,61,183,.14);
  flex:0 0 auto;
}
.brandText{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.brandName{
  font-weight: 850;
  letter-spacing:.2px;
  font-size: 1.05rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brandSub{
  color: var(--muted);
  font-size:.94rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* buttons (less circular, less boxy) */
.navLinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.navBtn{
  text-decoration:none;
  color: rgba(255,255,255,.92);
  padding: 10px 14px;
  border-radius: 14px; /* key: not super pill, not box */
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.navBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
}
.navBtn:focus{
  outline: 2px solid rgba(47,227,255,.28);
  outline-offset: 3px;
}

/* content blocks */
.hero{
  margin-bottom: 18px;
}
.h1{
  margin:0 0 10px;
  font-size: clamp(2.05rem, 3.2vw, 2.55rem);
  font-weight: 900;
  letter-spacing:.2px;
}
.lead{
  margin:0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

/* glass card */
.card{
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border-radius: var(--r1);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sectionTitle{
  margin:0 0 8px;
  font-size: 1.05rem;
  font-weight: 850;
}
.sectionHint{
  margin:0 0 14px;
  color: var(--muted);
  font-size: .96rem;
}

.list{
  list-style:none;
  margin: 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* row cards like the app list */
.item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,28,.32);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.item:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: rgba(10,12,28,.48);
}

.itemLeft{
  display:flex;
  gap: 12px;
  min-width:0;
}

.iconDot{
  width:44px;
  height:44px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(18px 18px at 30% 25%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(135deg, rgba(47,227,255,.25), rgba(255,61,183,.18));
  flex:0 0 auto;
}

.itemText{
  min-width:0;
}
.itemText .primary{
  margin:0;
  font-weight: 800;
  font-size: 1rem;
}
.itemText .secondary{
  margin:6px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

a.link{
  color: rgba(255,255,255,.92);
  text-decoration:none;
}
a.link:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.footer{
  margin-top: 14px;
  color: var(--muted);
  font-size: .95rem;
}

/* small screens */
@media (max-width: 640px){
  .header{ flex-direction:column; align-items:flex-start; }
  .navLinks{ justify-content:flex-start; }
}
