:root{
  --bg-image: none;
  --panel: rgba(0, 170, 255, 0.22);
  --panel2: rgba(0, 170, 255, 0.35);
  --stroke: rgba(255,255,255,0.35);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.75);
  --shadow: 0 12px 30px rgba(0,0,0,0.25);
  --radius: 20px;
  --blue: #0bbcff;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans Thai", sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

.bg{
  position: fixed;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05);
  z-index: -3;
}

.bgOverlay{
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,140,255,0.25), rgba(0,0,0,0.55)),
              linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  z-index: -2;
}

.topBrand{
  position: fixed;
  right: 26px;
  top: 18px;
  display:flex;
  align-items:center;
  gap:12px;
  z-index: 5;
  user-select: none;
}

.brandLogo{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}

.brandText{ line-height: 1.1; }
.brandName{
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.brandSub{
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.85;
}

.wrap{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 90px 40px 70px 40px;
  gap: 22px;
}

.leftDock{
  display:flex;
  flex-direction: column;
  gap: 14px;
  width: 120px;
  flex: 0 0 auto;
}

.dockBtn{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 8px;
  text-decoration:none;
  color: var(--text);
  width: 92px;
  padding: 14px 10px;
  border-radius: 999px;
  background: rgba(0,160,255,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.dockBtn:hover{
  transform: translateY(-2px);
  background: rgba(0,180,255,0.35);
}

.dockIcon{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.20);
}

.dockIcon svg{ width: 22px; height: 22px; fill: #fff; opacity: 0.95; }
.dockLabel{
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  opacity: 0.95;
}

.rightLinks{
  width: min(720px, 100%);
  display:flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.linksTitle{
  width: 100%;
  max-width: 560px;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.9;
  text-align: right;
  padding-right: 6px;
}

.linksList{
  width: 100%;
  max-width: 560px;
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.linkPill{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,190,255,0.42), rgba(0,150,255,0.22));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.linkPill:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.pillLeft{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 120px;
}

.rankBadge{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
}

.latency{
  font-weight: 800;
  font-size: 14px;
  opacity: 0.95;
}

.pillMid{
  flex: 1 1 auto;
  display:flex;
  flex-direction: column;
  gap: 2px;
}

.pillTitle{
  font-size: 16px;
  font-weight: 800;
}

.pillSub{
  font-size: 12px;
  opacity: 0.85;
}

.pillRight{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
}

.accessBtn{
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  font-weight: 900;
}

.footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align:center;
  font-size: 18px;
  font-weight: 700;
  opacity: 0.9;
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

@media (max-width: 860px){
  .wrap{
    flex-direction: column;
    align-items: stretch;
    padding: 90px 18px 70px 18px;
  }
  .leftDock{
    flex-direction: row;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .rightLinks{
    align-items: center;
  }
  .linksTitle, .linksList{
    max-width: 680px;
  }
  .linksTitle{ text-align: center; padding-right: 0; }
  .topBrand{
    right: 14px;
    top: 12px;
  }
  .brandName{ font-size: 34px; }
}
