:root{
  --bg0:#070A12;
  --bg1:#0A1024;

  --text: rgba(255,255,255,.92);
  --sub: rgba(255,255,255,.70);
  --muted: rgba(255,255,255,.55);

  --card: rgba(255,255,255,.05);
  --stroke: rgba(255,255,255,.10);

  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --shadowSoft: 0 10px 26px rgba(0,0,0,.35);
  --shadowIcon: 0 16px 30px rgba(0,0,0,.35);

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;

  --ease: cubic-bezier(.2,.9,.2,1);
}

*{ box-sizing:border-box; }
html, body { height: auto; }
body{
  min-height: 100vh;
  margin: 0;
  background: transparent;
  position: relative;
  overflow-x: hidden;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(124,92,255,.25), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(51,214,255,.18), transparent 55%),
    linear-gradient(180deg, #070A12, #0A1024);
}

a{ color:inherit; text-decoration:none; }

.topbar{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.brand__mark{
  width:32px;
  height:32px;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.06);
  box-shadow: var(--shadowSoft);
  border: 1px solid rgba(255,255,255,.16);

  overflow: hidden;
}

.brand__mark img{
  width:100%;
  height:100%;

  image-rendering: pixelated;
  image-rendering: crisp-edges;

  display:block;
}

.brand__name{ font-weight: 750; line-height: 1.1; color: var(--muted); }
.brand__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.topnav{ display:flex; gap: 10px; }
.topnav__link{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--sub);
  border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.topnav__link:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 56px;
}

.section{ margin-top: 18px; }
.section__head{ margin-bottom: 10px; }
.section__title{
  margin:0;
  font-size: 22px;
  color: var(--sub);
  letter-spacing:-.01em;
}
.section__desc{
  margin:6px 0 0;
  color: var(--sub);
  line-height: 1.7;
  font-size: 14px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 10px;
}

.app{
  position: relative;
  border-radius: var(--r20);
  padding: 12px;
  border: 1px solid var(--stroke);
  background: var(--card);
  transition: transform .20s var(--ease), background .20s var(--ease), border-color .20s var(--ease);
  cursor: pointer;
  outline: none;
  display:block;
}
.app:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.icon{
  width: 160px;
  height: 160px;
  border-radius: 26px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadowIcon);
  border: 1px solid rgba(255,255,255,.14);
  transform: translateZ(0);
  transition: transform .22s var(--ease), filter .22s var(--ease);
  background: rgba(255,255,255,.06);
}
.app:hover .icon{
  transform: scale(1.06);
  filter: saturate(1.06) brightness(1.04);
}
.icon img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.app__name{
  margin-top: 12px;
  text-align:center;
  color: var(--muted);
  font-weight: 750;
  letter-spacing: -0.01em;
}
.app__meta{
  margin-top: 4px;
  text-align:center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.tooltip{
  position: fixed;
  z-index: 999;
  width: min(360px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 18px;
  background: rgba(15,18,34,.88);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  transform: translateY(6px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.tooltip.is-open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.tooltip__title{ font-weight: 800; letter-spacing: -.01em; color: var(--muted); }
.tooltip__desc{ margin-top: 6px; color: var(--sub); line-height: 1.7; font-size: 14px; white-space: pre-line; }
.tooltip__meta{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.badge{
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.support{
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--r20);
  border: 1px solid var(--stroke);
  background: var(--card);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.support__right{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.support-x{
  display:flex;
  align-items:center;
  gap:10px;

  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);

  color: var(--text);
  font-weight: 600;
  text-decoration: none;

  transition: transform .15s var(--ease),
              background .2s var(--ease),
              filter .2s var(--ease);
}

.support-x img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.9);
  transition: filter .2s ease;
}

.support-x:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
}

.support-x:hover img{
  filter: none;
}


.btn{
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color: var(--text);
  transition: transform .15s var(--ease), filter .2s var(--ease), background .2s var(--ease);
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.06); background: rgba(255,255,255,.14); }
.btn--ghost{ background: rgba(255,255,255,.06); }

.footer{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 13px;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}


.authbar{
  display:flex;
  align-items:center;
  gap: 10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.pill::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.pill--ok{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.pill--ok::before{ background: rgba(90,255,170,.95); }

.pill--warn::before{ background: rgba(255,200,80,.95); }
.pill--bad::before{ background: rgba(255,90,90,.95); }
.pill--idle::before{ background: rgba(160,160,160,.95); }

.topbar__inner,
.brand,
.topnav,
.authbar {
  min-width: 0;
}

.brand__text {
  min-width: 0;
}

.topbar__inner {
  flex-wrap: wrap;
}

.topnav {
  flex-wrap: wrap;
  align-items: center;
}


.topnav__link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.authbar {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .brand {
    flex: 1 1 100%;
  }

  .topnav {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .topnav__link {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .authbar {
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .pill {
    max-width: 100%;
  }
}


