:root {
  --bg-1: #0b1020;
  --bg-2: #121a33;
  --orb-1: #4770db;
  --orb-2: #6c5cff;

  --accent: #4770db;
  --accent-2: #63b3ff;

  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);

  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(140, 170, 255, 0.42);

  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.04);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);

  --icon-bg: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --blue-shadow: rgba(71, 112, 219, 0.3);
  --blur: 24px;
}

:root[data-theme="light"] {
  --bg-1: #eef4ff;
  --bg-2: #ffffff;
  --orb-1: #8fb3ff;
  --orb-2: #c8d8ff;

  --accent: #4770db;
  --accent-2: #6aa8ff;

  --text: #101728;
  --text-soft: rgba(16, 23, 40, 0.72);
  --text-muted: rgba(16, 23, 40, 0.46);

  --border: rgba(16, 23, 40, 0.12);
  --border-strong: rgba(71, 112, 219, 0.35);

  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(255, 255, 255, 0.48);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-hover: rgba(255, 255, 255, 0.95);

  --icon-bg: rgba(71, 112, 219, 0.09);
  --shadow: 0 22px 60px rgba(35, 55, 100, 0.16);
  --blue-shadow: rgba(71, 112, 219, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

body {
  min-height: 100vh;
}

button,
a {
  font: inherit;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}

.bg-orb-one {
  width: 520px;
  height: 520px;
  background: var(--orb-1);
  top: -120px;
  left: -120px;
}

.bg-orb-two {
  width: 600px;
  height: 600px;
  background: var(--orb-2);
  right: -180px;
  bottom: -180px;
  animation-delay: -7s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  opacity: 0.25;
}

:root[data-theme="light"] .bg-grid {
  background-image: radial-gradient(circle at center, rgba(71,112,219,.12) 1px, transparent 1px);
  opacity: 0.36;
}

.profile-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
}

/* TOP CONTROLS */

.top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  transition: 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow: 0 10px 24px var(--blue-shadow);
}

/* LANGUAGE */

.language-switcher {
  display: flex;
  justify-content: flex-end;
}

.language-buttons {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.language-buttons button {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
  font-weight: 700;
}

.language-buttons button:hover {
  color: var(--text);
}

.language-buttons button.is-active {
  background: var(--text);
  color: var(--bg-2);
}

/* HEADER */

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 16px;
}

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-row h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.profile-header p {
  max-width: 560px;
  margin: 18px auto 0;
  line-height: 1.7;
  color: var(--text-soft);
  font-size: 17px;
}

/* TRUST */

.trust-badges {
  margin: 24px auto 0;
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(140,170,255,.22);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: .25s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.trust-badge.highlight {
  background: linear-gradient(
    135deg,
    rgba(71,112,219,.35),
    rgba(99,179,255,.22)
  );
  border-color: rgba(140,190,255,.48);
  box-shadow: 0 8px 25px rgba(71,112,219,.18);
}

:root[data-theme="light"] .trust-badge.highlight {
  background: linear-gradient(
    135deg,
    rgba(71,112,219,.14),
    rgba(99,179,255,.18)
  );
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* SECTIONS */

.link-section {
  margin-top: 34px;
}

.section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* SHOP LINKS */

.links {
  display: grid;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: .28s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.link-card.primary {
  background: linear-gradient(135deg, #4770db, #63b3ff);
  color: #ffffff;
  border: 0;
  box-shadow: 0 14px 34px var(--blue-shadow);
}

.link-card.primary .link-text small {
  color: rgba(255,255,255,.92);
}

.icon-wrap {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
}

.link-card.primary .icon-wrap {
  background: rgba(255,255,255,.16);
}

.icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.link-text {
  flex: 1;
  min-width: 0;
}

.link-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.link-text small {
  display: block;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 14px;
}

.arrow {
  margin-left: auto;
  font-size: 24px;
  opacity: .7;
  transition: .25s ease;
}

.link-card:hover .arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* SOCIAL ICONS */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-icon {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  background: var(--surface);
  border: 1px solid var(--border);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: .25s ease;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.04);
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px var(--blue-shadow);
}

.social-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* FOOTER */

.site-footer {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ANIMATION */

@keyframes float {
  0%,100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-25px) translateX(10px);
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .page {
    padding: 20px 12px;
  }

  .profile-card {
    padding: 18px;
    border-radius: 24px;
  }

  .top-controls {
    margin-bottom: 24px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .language-buttons {
    gap: 4px;
    padding: 5px;
  }

  .language-buttons button {
    padding: 9px 12px;
  }

  .brand-row h1 {
    font-size: 28px;
  }

  .profile-header p {
    font-size: 15px;
  }

  .trust-badges {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .trust-badge {
    min-height: 54px;
    padding: 12px 10px;
    font-size: 12.5px;
    border-radius: 15px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .link-card {
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
  }

  .icon-wrap {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .icon-wrap img {
    width: 24px;
    height: 24px;
  }

  .link-text strong {
    font-size: 16px;
  }

  .link-text small {
    font-size: 13px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .social-icon img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 390px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }

  .top-controls {
    gap: 10px;
  }

  .language-buttons button {
    padding: 8px 10px;
  }
}