/*
  Ranglar va shriftni faqat shu blokdan almashtiring.
  Hozirgi qiymatlar vaqtinchalik: bodytester.uz dizaynini ko'ra olmadim,
  shuning uchun uning haqiqiy ranglari bilan almashtirilishi kerak.
*/
:root {
  --bg:        #0b1020;
  --bg-2:      #131a33;
  --surface:   rgba(255, 255, 255, 0.06);
  --surface-h: rgba(255, 255, 255, 0.11);
  --border:    rgba(255, 255, 255, 0.12);
  --text:      #f4f6ff;
  --muted:     #a6aecb;
  --accent:    #5eead4;   /* asosiy urg'u rangi */
  --accent-2:  #6366f1;   /* gradient uchun ikkinchi rang */
  --radius:    16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(99, 102, 241, 0.28), transparent 60%),
    radial-gradient(50rem 36rem at -10% 110%, rgba(94, 234, 212, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-color: var(--bg);
  background-attachment: fixed;
  line-height: 1.4;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

/* --- profil --- */
.profile { text-align: center; margin-bottom: 32px; }

.logo {
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(99, 102, 241, 0.25));
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
}
.logo img { width: 86px; height: 86px; display: block; }

h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.tagline { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* --- guruhlar --- */
.group { margin-bottom: 28px; }
.group h2 {
  margin: 0 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.links { list-style: none; display: grid; gap: 10px; }

/* --- havola kartalari --- */
.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-h);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.link:active { transform: translateY(0); }

.link--primary {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.16), rgba(99, 102, 241, 0.22));
  border-color: rgba(94, 234, 212, 0.45);
}

.ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}
.ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.txt { flex: 1; min-width: 0; display: grid; }
.txt strong { font-size: 1rem; font-weight: 600; }
.txt small { color: var(--muted); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.arrow { flex: none; color: var(--muted); font-size: 1.1rem; transition: transform 0.18s ease, color 0.18s ease; }
.link:hover .arrow,
.link:focus-visible .arrow { transform: translateX(3px); color: var(--accent); }

.foot { margin-top: 36px; text-align: center; color: var(--muted); font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  .link, .arrow { transition: none; }
  .link:hover, .link:focus-visible { transform: none; }
}
