*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: #070a12;
  color: rgba(255, 255, 255, 0.92);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(124, 77, 255, 0.22), transparent 55%),
    radial-gradient(800px 520px at 80% 20%, rgba(0, 229, 255, 0.18), transparent 55%),
    radial-gradient(900px 650px at 30% 90%, rgba(0, 255, 170, 0.12), transparent 58%),
    radial-gradient(700px 500px at 90% 85%, rgba(255, 0, 128, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
  filter: saturate(120%) contrast(110%);
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: 0.08;
  transform: rotate(-6deg);
  mask-image: radial-gradient(circle at 50% 35%, black 45%, transparent 70%);
}

.bg::after {
  opacity: 0.07;
  transform: rotate(12deg) scale(1.04);
  filter: blur(0.2px);
}

.shell {
  min-height: 100%;
  width: min(420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.hero {
  width: 100%;
  padding: 0 10px 6px;
  text-align: center;
}

.badge {
  display: none;
}

.title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

.panel {
  width: 100%;
  padding: 10px 8px 6px;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.panelTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 12px;
}

.panelTitle {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.panelHint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.linkCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  min-height: 66px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
  position: relative;
  overflow: hidden;
}

.linkCard::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 260px at 10% 10%, rgba(0, 229, 255, 0.22), transparent 55%),
    radial-gradient(520px 260px at 85% 25%, rgba(124, 77, 255, 0.18), transparent 55%);
  opacity: 0.35;
  transition: opacity 180ms ease, transform 180ms ease;
}

.linkCard:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.linkCard:hover::before {
  opacity: 0.5;
  transform: scale(1.02);
}

.linkCard:focus-visible {
  outline: 2px solid rgba(0, 229, 255, 0.55);
  outline-offset: 2px;
}

.linkCard.isDisabled {
  opacity: 0.72;
  filter: saturate(85%);
  cursor: not-allowed;
}

.linkCard.isDisabled:hover {
  transform: none;
  filter: saturate(85%);
}

.linkCard.isDisabled::before {
  opacity: 0.18;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(124, 77, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.icon svg {
  width: 22px;
  height: 22px;
  opacity: 0.92;
}

.linkContent {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.linkTitle {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.linkDesc {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  text-align: center;
  max-width: 40ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.linkMeta {
  margin-top: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.cta {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  transition: background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.linkCard:hover .cta {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 6px;
  color: rgba(255, 255, 255, 0.58);
}

.footLeft {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  display: none;
}

.footText {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.footLink {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.footLink:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.arrow {
  margin-left: 6px;
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 24px);
    padding: 32px 0 18px;
  }

  .title {
    font-size: 30px;
  }
}
