:root {
  --bg: #03040b;
  --panel: rgba(10, 12, 28, 0.78);
  --panel-strong: rgba(15, 18, 42, 0.96);
  --white: #ffffff;
  --muted: #b8bdd8;
  --soft: #7f86a8;
  --purple: #a855f7;
  --purple-hot: #d946ef;
  --blue: #00c2ff;
  --blue-deep: #2563eb;
  --green: #2dd46f;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --radius: 28px;
  --tilt-x: 0px;
  --tilt-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(3, 4, 11, 0.44), rgba(3, 4, 11, 0.9)),
    radial-gradient(circle at 20% 12%, rgba(168, 85, 247, 0.28), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(0, 194, 255, 0.24), transparent 24rem),
    url("img/game-background.png") center / cover fixed no-repeat,
    linear-gradient(145deg, #02030a 0%, #08081a 46%, #02040a 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 4, 11, 0.6), transparent 28%, transparent 72%, rgba(3, 4, 11, 0.62)),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 84%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.56) 72%);
}

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

.page-shell {
  position: relative;
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-layer {
  display: none;
}

.bio-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 8, 20, 0.34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), 0 0 40px rgba(0, 194, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px) saturate(1.25);
  overflow: hidden;
}

.bio-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), transparent 42%, rgba(0, 194, 255, 0.09));
  opacity: 0.38;
}

.profile,
.links-title,
.links,
.cta,
.footer {
  position: relative;
  z-index: 1;
}

.ambient {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.34;
  pointer-events: none;
}

.ambient-one {
  top: -72px;
  left: -88px;
  background: var(--purple);
  transform: translate(var(--tilt-x), var(--tilt-y));
}

.ambient-two {
  right: -92px;
  bottom: 24%;
  background: var(--blue);
  transform: translate(calc(var(--tilt-x) * -1), calc(var(--tilt-y) * -1));
}

.profile {
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-hot), var(--blue));
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.38), 0 0 42px rgba(0, 194, 255, 0.24);
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  border: 4px solid #080a18;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 21%;
}

.status-pulse {
  position: absolute;
  right: 13px;
  bottom: 15px;
  width: 18px;
  height: 18px;
  border: 3px solid #080a18;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(45, 212, 111, 0.82);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 8vw, 3.35rem);
  line-height: 0.98;
  font-weight: 800;
}

.subtitle {
  margin-bottom: 12px;
  color: #edf1ff;
  font-size: clamp(1rem, 3.5vw, 1.18rem);
  font-weight: 600;
}

.intro {
  max-width: 460px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.description {
  max-width: 520px;
  margin: 0 auto 10px;
  color: #dfe6ff;
  font-size: 0.98rem;
  line-height: 1.58;
}

.links-title {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 14px;
}

.link-button {
  position: relative;
  min-height: 82px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.048);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  overflow: hidden;
}

.link-button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 450ms ease, opacity 180ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 194, 255, 0.42);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28), 0 0 28px rgba(0, 194, 255, 0.14);
  outline: none;
}

.link-button:hover::before,
.link-button:focus-visible::before {
  opacity: 1;
  transform: translateX(100%);
}

.link-button.is-pressed {
  transform: scale(0.98);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.link-button strong,
.link-button small {
  display: block;
}

.link-button strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
  font-weight: 800;
}

.link-button small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.arrow {
  color: var(--soft);
  font-size: 1.1rem;
  transition: color 180ms ease, transform 180ms ease;
}

.link-button:hover .arrow,
.link-button:focus-visible .arrow {
  color: var(--white);
  transform: translate(2px, -2px);
}

.instagram .icon {
  color: #ff4fd8;
  background: rgba(217, 70, 239, 0.14);
}

.whatsapp .icon {
  color: var(--green);
  background: rgba(45, 212, 111, 0.13);
}

.youtube .icon {
  color: #ff3d3d;
  background: rgba(255, 61, 61, 0.14);
}

.pro .icon {
  color: #f4c96b;
  background: rgba(244, 201, 107, 0.14);
}

.expert .icon {
  color: #00c2ff;
  background: rgba(0, 194, 255, 0.14);
}

.course .icon {
  color: #f4c96b;
  background: rgba(244, 201, 107, 0.14);
}

.course-card {
  min-height: 126px;
  grid-template-columns: 86px 1fr 28px;
  border-color: rgba(244, 201, 107, 0.42);
  background:
    linear-gradient(135deg, rgba(244, 201, 107, 0.14), rgba(168, 85, 247, 0.1)),
    rgba(255, 255, 255, 0.048);
}

.pro-card {
  min-height: 126px;
  grid-template-columns: 104px 1fr 28px;
  gap: 18px;
  border-color: rgba(244, 201, 107, 0.44);
  background:
    linear-gradient(135deg, rgba(244, 201, 107, 0.15), rgba(0, 194, 255, 0.07)),
    rgba(255, 255, 255, 0.048);
}

.expert-card {
  min-height: 126px;
  grid-template-columns: 104px 1fr 28px;
  gap: 18px;
  border-color: rgba(0, 194, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.13), rgba(244, 201, 107, 0.08)),
    rgba(255, 255, 255, 0.048);
}

.discord .icon {
  color: #8ea1ff;
  background: rgba(88, 101, 242, 0.16);
}

.discord-card {
  border-color: rgba(88, 101, 242, 0.44);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(0, 194, 255, 0.07)),
    rgba(255, 255, 255, 0.046);
}

.ebook .icon {
  color: var(--blue);
  background: rgba(0, 194, 255, 0.14);
}

.featured {
  border-color: rgba(168, 85, 247, 0.46);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(0, 194, 255, 0.08)),
    rgba(255, 255, 255, 0.052);
}

.ebook-card {
  min-height: 126px;
  grid-template-columns: 86px 1fr 28px;
  border-color: rgba(236, 185, 81, 0.38);
}

.ebook-card::after {
  position: absolute;
  inset: auto 72px -28px 96px;
  height: 56px;
  content: "";
  background: radial-gradient(ellipse, rgba(236, 185, 81, 0.24), transparent 68%);
  pointer-events: none;
}

.product-cover {
  position: relative;
  width: 78px;
  height: 98px;
  display: block;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), 0 0 22px rgba(236, 185, 81, 0.14);
  transform: perspective(520px) rotateY(-8deg) rotateZ(-1.5deg);
  overflow: hidden;
}

.product-cover::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 78%, rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.product-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.course-cover {
  width: 98px;
  height: 98px;
  padding: 5px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), 0 0 24px rgba(244, 201, 107, 0.18);
  transform: perspective(520px) rotateY(-6deg) rotateZ(-1deg);
}

.course-cover img {
  object-fit: contain;
}

.pro-cover {
  width: 98px;
  height: 98px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), 0 0 24px rgba(244, 201, 107, 0.18);
  transform: perspective(520px) rotateY(-6deg) rotateZ(-1deg);
}

.expert-cover {
  width: 98px;
  height: 98px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), 0 0 24px rgba(0, 194, 255, 0.18);
  transform: perspective(520px) rotateY(-6deg) rotateZ(-1deg);
}

.cta {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(37, 99, 235, 0.12)),
    var(--panel-strong);
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 194, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.cta h2 {
  max-width: 520px;
  margin: 0 auto;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  line-height: 1.16;
}

.footer {
  padding-top: 22px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(180deg, rgba(3, 4, 11, 0.02), rgba(3, 4, 11, 0.58)),
      radial-gradient(circle at 8% 14%, rgba(217, 70, 239, 0.56), transparent 17rem),
      radial-gradient(circle at 92% 18%, rgba(0, 194, 255, 0.52), transparent 16rem),
      radial-gradient(circle at 50% 88%, rgba(168, 85, 247, 0.34), transparent 15rem),
      url("img/game-background.png") center top / auto 100% no-repeat,
      linear-gradient(145deg, #02030a 0%, #08081a 46%, #02040a 100%);
  }

  body::before {
    background:
      linear-gradient(90deg, rgba(3, 4, 11, 0.2), transparent 35%, transparent 70%, rgba(3, 4, 11, 0.28)),
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, 34px 34px, 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 92%);
  }

  body::after {
    background:
      radial-gradient(circle at 50% 18%, transparent 0%, rgba(0, 0, 0, 0.1) 54%, rgba(0, 0, 0, 0.34) 100%),
      linear-gradient(180deg, transparent 0%, rgba(3, 4, 11, 0.42) 86%);
  }

  .page-shell {
    padding: 18px 12px;
    align-items: flex-start;
  }

  .game-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
    overflow: hidden;
  }

  .game-shape {
    position: absolute;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 0 18px rgba(0, 194, 255, 0.36));
  }

  .game-dpad {
    left: -18px;
    top: 92px;
    width: 112px;
    height: 112px;
    opacity: 0.68;
    transform: rotate(-12deg);
  }

  .game-dpad::before,
  .game-dpad::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(0, 194, 255, 0.58);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.12), rgba(168, 85, 247, 0.14));
    box-shadow: 0 0 28px rgba(0, 194, 255, 0.18), inset 0 0 18px rgba(255, 255, 255, 0.05);
  }

  .game-dpad::before {
    inset: 38px 0;
  }

  .game-dpad::after {
    inset: 0 38px;
  }

  .game-buttons {
    right: -20px;
    top: 154px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 28% 30%, rgba(217, 70, 239, 0.88) 0 11px, transparent 12px),
      radial-gradient(circle at 68% 38%, rgba(0, 194, 255, 0.88) 0 11px, transparent 12px),
      radial-gradient(circle at 40% 72%, rgba(255, 255, 255, 0.72) 0 9px, transparent 10px),
      radial-gradient(circle at 76% 76%, rgba(168, 85, 247, 0.8) 0 10px, transparent 11px);
    opacity: 0.78;
    transform: rotate(10deg);
  }

  .game-reticle {
    left: 50%;
    top: 20px;
    width: 156px;
    height: 156px;
    border: 1px solid rgba(0, 194, 255, 0.28);
    border-radius: 999px;
    opacity: 0.45;
    transform: translateX(-50%);
  }

  .game-reticle::before,
  .game-reticle::after {
    position: absolute;
    content: "";
    background: rgba(0, 194, 255, 0.42);
    box-shadow: 0 0 18px rgba(0, 194, 255, 0.38);
  }

  .game-reticle::before {
    left: 50%;
    top: -18px;
    width: 1px;
    height: 192px;
  }

  .game-reticle::after {
    left: -18px;
    top: 50%;
    width: 192px;
    height: 1px;
  }

  .game-chip {
    right: 18px;
    bottom: 48px;
    width: 138px;
    height: 92px;
    border: 1px solid rgba(168, 85, 247, 0.52);
    border-radius: 18px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(0, 194, 255, 0.1));
    background-size: 18px 18px, 18px 18px, auto;
    box-shadow: 0 0 34px rgba(168, 85, 247, 0.22);
    opacity: 0.52;
    transform: rotate(-8deg);
  }

  .game-chip::before,
  .game-chip::after {
    position: absolute;
    inset: 18px;
    content: "";
    border: 1px solid rgba(0, 194, 255, 0.32);
    border-radius: 10px;
  }

  .game-chip::after {
    inset: -10px 18px auto;
    height: 8px;
    border-width: 0 1px;
    border-radius: 0;
    box-shadow:
      18px 0 0 rgba(0, 194, 255, 0.3),
      36px 0 0 rgba(0, 194, 255, 0.3),
      54px 0 0 rgba(0, 194, 255, 0.3),
      72px 0 0 rgba(0, 194, 255, 0.3);
  }

  .bio-card {
    padding: 24px 16px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(12, 14, 34, 0.28), rgba(7, 9, 24, 0.48)),
      rgba(8, 10, 24, 0.26);
    backdrop-filter: blur(4px) saturate(1.3);
    box-shadow:
      0 22px 70px rgba(0, 0, 0, 0.34),
      0 0 38px rgba(0, 194, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.13);
  }

  .bio-card::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), transparent 46%, rgba(0, 194, 255, 0.08));
    opacity: 0.28;
  }

  .avatar-wrap {
    width: 126px;
    height: 126px;
  }

  .intro {
    margin-bottom: 18px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .description {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .links-title {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .link-button {
    min-height: 76px;
    grid-template-columns: 46px 1fr 22px;
    gap: 12px;
    padding: 14px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.04);
  }

  .icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .icon svg {
    width: 23px;
    height: 23px;
  }

  .link-button small {
    font-size: 0.8rem;
  }

  .ebook-card,
  .course-card,
  .pro-card,
  .expert-card {
    min-height: 104px;
    grid-template-columns: 82px 1fr 22px;
    gap: 14px;
  }

  .course-card {
    grid-template-columns: 82px 1fr 22px;
  }

  .product-cover {
    width: 58px;
    height: 76px;
    border-radius: 8px;
  }

  .course-cover {
    width: 78px;
    height: 78px;
    padding: 4px;
  }

  .pro-cover,
  .expert-cover {
    width: 78px;
    height: 78px;
  }

  .cta {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
