:root {
  --green-0: #f0ff57;
  --green-1: #aee619;
  --green-2: #75b10a;
  --green-3: #336000;
  --glass: rgba(21, 39, 48, 0.82);
  --glass-2: rgba(14, 31, 39, 0.88);
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.66);
  --cyan: #35e4ff;
  --violet: #b760ff;
  --pink: #ff69d7;
  --shadow: rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #142a25;
  color: var(--text);
}

body::selection {
  background: rgba(190, 255, 32, 0.4);
}


.nxe-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1400px;
  background:
    radial-gradient(circle at 20% 10%, rgba(212,255,67,0.34), transparent 24%),
    radial-gradient(circle at 85% 35%, rgba(135,255,239,0.16), transparent 22%),
    linear-gradient(135deg, #24481e 0%, #7db107 25%, #d6efef 52%, #43525d 76%, #18252b 100%);
  transition: opacity 980ms ease, visibility 980ms ease, transform 980ms ease;
}

.nxe-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.loader-grid {
  position: absolute;
  inset: auto -8vw -16vh -8vw;
  height: 48vh;
  transform: perspective(900px) rotateX(72deg);
  transform-origin: center top;
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,0.12) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.10) 0 1px, transparent 1px 68px);
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0));
}

.loader-card-stack {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(64vw, 1080px);
  height: min(34vw, 460px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.loader-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(52vw, 820px);
  height: min(16vw, 240px);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 24px 60px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
}

.lc1 {
  transform: translate(-50%, -50%) rotate(-10deg) translateX(-90px) translateY(22px);
  opacity: 0.34;
  animation: loaderCardFloatA 4.2s ease-in-out infinite;
}

.lc2 {
  transform: translate(-50%, -50%) rotate(7deg) translateX(84px) translateY(-16px);
  opacity: 0.28;
  animation: loaderCardFloatB 5.4s ease-in-out infinite;
}

.lc3 {
  transform: translate(-50%, -50%) rotate(-2deg) translateY(2px);
  opacity: 0.16;
  animation: loaderCardFloatC 6s ease-in-out infinite;
}

.loader-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 26%),
    repeating-radial-gradient(circle at center, rgba(255,255,255,0.11) 0 2px, transparent 3px 30px);
  opacity: 0.6;
  animation: loaderBackdropSpin 24s linear infinite;
}

.loader-core {
  position: relative;
  width: min(44vw, 470px);
  aspect-ratio: 1;
  min-width: 270px;
  z-index: 2;
  filter: drop-shadow(0 28px 54px rgba(0,0,0,0.28));
  transform-style: preserve-3d;
  animation: loaderCoreFloat 4.6s ease-in-out infinite;
}

.loader-orbit,
.loader-pulse,
.loader-sphere,
.loader-scan,
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.loader-orbit-a {
  border: 2px solid rgba(255,255,255,0.32);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.1), 0 0 28px rgba(205,255,76,0.18);
  animation: loaderOrbitA 4.8s cubic-bezier(.4,0,.2,1) infinite;
}

.loader-orbit-b {
  inset: 11%;
  border: 2px solid rgba(95,240,255,0.32);
  box-shadow: inset 0 0 28px rgba(183,96,255,0.16), 0 0 22px rgba(95,240,255,0.14);
  animation: loaderOrbitB 3.6s cubic-bezier(.4,0,.2,1) infinite reverse;
}

.loader-pulse {
  inset: 23%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.96), rgba(226,255,155,0.82) 24%, rgba(113,196,11,0.86) 52%, rgba(37,74,4,0.22) 72%, transparent 78%);
  animation: loaderPulse 2.3s ease-in-out infinite;
}

.loader-sphere {
  inset: 33%;
  background: radial-gradient(circle at 36% 34%, rgba(255,255,255,0.92), rgba(118,241,255,0.52) 32%, rgba(183,96,255,0.45) 58%, rgba(0,0,0,0) 72%);
  box-shadow: 0 0 46px rgba(113,196,11,0.16);
  animation: loaderSphere 3.4s ease-in-out infinite;
}

.loader-scan {
  inset: 0;
  background: conic-gradient(from 180deg, transparent 0 24%, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.22) 31%, transparent 40% 100%);
  animation: loaderScan 2.9s linear infinite;
  mix-blend-mode: screen;
}

.loader-x-grid {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 92%;
}

.loader-x {
  position: absolute;
  color: rgba(255,255,255,0.92);
  font-size: clamp(20px, 2vw, 32px);
  text-shadow: 0 0 18px rgba(255,255,255,0.28), 0 0 26px rgba(190,255,67,0.22);
  animation: loaderXFloat 2.8s ease-in-out infinite;
}

.lx1 { left: 8%; top: 18%; animation-delay: 0s; }
.lx2 { right: 12%; top: 22%; animation-delay: .4s; }
.lx3 { left: 18%; bottom: 10%; animation-delay: .8s; }
.lx4 { right: 16%; bottom: 16%; animation-delay: 1.2s; }

.loader-copy {
  position: relative;
  z-index: 3;
  margin-top: 30px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: loaderCopyFade 760ms ease both;
}

.loader-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.8;
}

.loader-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.04em;
}

.loader-copy p {
  margin: 10px 0 18px;
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(255,255,255,0.84);
}

.loader-progress {
  width: min(340px, 68vw);
  height: 10px;
  margin: 0 auto;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(8,18,21,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
  overflow: hidden;
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(211,255,85,0.82), rgba(255,255,255,0.95), rgba(95,240,255,0.85), rgba(183,96,255,0.72), rgba(211,255,85,0.82));
  background-size: 200% 100%;
  transform-origin: left center;
  animation: loaderProgress 3.25s ease-in-out forwards, loaderProgressShine 1.05s linear infinite;
}

.loader-ring-a {
  inset: 6%;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
  transform: translateZ(30px);
  animation: loaderRingA 4.8s linear infinite;
}

.loader-ring-b {
  inset: 19%;
  border: 1px solid rgba(210,255,78,0.24);
  box-shadow: 0 0 26px rgba(95,240,255,0.12), inset 0 0 18px rgba(183,96,255,0.12);
  transform: translateZ(50px);
  animation: loaderRingB 3.8s linear infinite reverse;
}

.loader-x-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) translateZ(60px);
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 0 18px rgba(255,255,255,0.3), 0 0 36px rgba(190,255,67,0.26);
  animation: loaderXCenter 2.8s ease-in-out infinite;
}

.loader-shards {
  position: absolute;
  inset: 0;
}

.loader-shards span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(210,255,78,0.24));
  box-shadow: 0 0 14px rgba(255,255,255,0.12);
}

.ls1 { left: 20%; top: 50%; width: 90px; height: 2px; transform: rotate(38deg); animation: loaderShardA 3s ease-in-out infinite; }
.ls2 { right: 16%; top: 36%; width: 70px; height: 2px; transform: rotate(-28deg); animation: loaderShardB 3.4s ease-in-out infinite; }
.ls3 { left: 33%; bottom: 18%; width: 58px; height: 2px; transform: rotate(-62deg); animation: loaderShardC 3.2s ease-in-out infinite; }
.ls4 { right: 26%; bottom: 24%; width: 84px; height: 2px; transform: rotate(26deg); animation: loaderShardD 3.7s ease-in-out infinite; }

@keyframes loaderBackdropSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.06); }
}

@keyframes loaderOrbitA {
  0%,100% { transform: rotate(0deg) scale(0.98); }
  50% { transform: rotate(180deg) scale(1.03); }
}

@keyframes loaderOrbitB {
  0%,100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(0.94); }
}

@keyframes loaderPulse {
  0%,100% { transform: scale(0.92); opacity: 0.76; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loaderSphere {
  0%,100% { transform: translateY(0) scale(0.95); }
  50% { transform: translateY(-6px) scale(1.05); }
}

@keyframes loaderScan {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loaderXFloat {
  0%,100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-10px) scale(1.14) rotate(8deg); opacity: 1; }
}

@keyframes loaderProgress {
  0% { transform: scaleX(0.04); }
  100% { transform: scaleX(1); }
}

@keyframes loaderProgressShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

button, article { -webkit-tap-highlight-color: transparent; }

.nxe-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 21% 5%, rgba(201, 255, 37, 0.9), transparent 27%),
    radial-gradient(circle at 82% 42%, rgba(237, 255, 57, 0.62), transparent 20%),
    radial-gradient(circle at 55% 58%, rgba(234, 255, 255, 0.48), transparent 21%),
    linear-gradient(135deg, #276800 0%, #7bb900 22%, #cce5d9 47%, #405158 76%, #1f2d35 100%);
}

.nxe-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.34) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.16) 0 2px, transparent 3px);
  background-size: 68px 68px, 132px 132px;
  background-position: 0 0, 28px 18px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

@keyframes loaderCoreFloat {
  0%,100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-8px) rotateX(4deg); }
}

@keyframes loaderCopyFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderRingA {
  from { transform: translateZ(30px) rotate(0deg); }
  to { transform: translateZ(30px) rotate(360deg); }
}

@keyframes loaderRingB {
  from { transform: translateZ(50px) rotate(0deg) scale(1); }
  50% { transform: translateZ(50px) rotate(180deg) scale(0.96); }
  to { transform: translateZ(50px) rotate(360deg) scale(1); }
}

@keyframes loaderXCenter {
  0%,100% { transform: translate(-50%, -50%) translateZ(60px) scale(1); }
  50% { transform: translate(-50%, -50%) translateZ(60px) scale(1.12); }
}

@keyframes loaderShardA {
  0%,100% { transform: rotate(38deg) translateX(0); opacity: 0.48; }
  50% { transform: rotate(38deg) translateX(16px); opacity: 1; }
}

@keyframes loaderShardB {
  0%,100% { transform: rotate(-28deg) translateX(0); opacity: 0.5; }
  50% { transform: rotate(-28deg) translateX(-14px); opacity: 1; }
}

@keyframes loaderShardC {
  0%,100% { transform: rotate(-62deg) translateY(0); opacity: 0.46; }
  50% { transform: rotate(-62deg) translateY(-12px); opacity: 0.92; }
}

@keyframes loaderShardD {
  0%,100% { transform: rotate(26deg) translateY(0); opacity: 0.42; }
  50% { transform: rotate(26deg) translateY(10px); opacity: 0.9; }
}

@keyframes loaderCardFloatA {
  0%,100% { transform: translate(-50%, -50%) rotate(-10deg) translateX(-90px) translateY(22px); }
  50% { transform: translate(-50%, -50%) rotate(-12deg) translateX(-108px) translateY(8px); }
}

@keyframes loaderCardFloatB {
  0%,100% { transform: translate(-50%, -50%) rotate(7deg) translateX(84px) translateY(-16px); }
  50% { transform: translate(-50%, -50%) rotate(9deg) translateX(106px) translateY(-2px); }
}

@keyframes loaderCardFloatC {
  0%,100% { transform: translate(-50%, -50%) rotate(-2deg) translateY(2px); }
  50% { transform: translate(-50%, -50%) rotate(1deg) translateY(-10px); }
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-one {
  width: 520px;
  height: 520px;
  left: -160px;
  top: -140px;
  background: radial-gradient(circle, rgba(204,255,32,0.8), transparent 68%);
}

.ambient-two {
  width: 460px;
  height: 460px;
  right: -80px;
  bottom: 190px;
  background: radial-gradient(circle, rgba(255,255,85,0.48), transparent 70%);
}

.bubble-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.45;
  pointer-events: none;
}

.bubble-field::before,
.bubble-field::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.12);
  width: 62px;
  height: 62px;
  left: 41vw;
  top: 24vh;
  box-shadow:
    180px -92px 0 -20px rgba(255,255,255,0.16),
    340px -45px 0 -6px rgba(255,255,255,0.08),
    520px 88px 0 -16px rgba(255,255,255,0.15),
    -210px 160px 0 -17px rgba(255,255,255,0.12),
    -390px 250px 0 -23px rgba(255,255,255,0.18),
    690px 204px 0 -7px rgba(255,255,255,0.1);
}

.bubble-field::after {
  left: 70vw;
  top: 7vh;
  width: 84px;
  height: 84px;
  opacity: 0.55;
  box-shadow:
    -560px 82px 0 -24px rgba(255,255,255,0.18),
    -270px 186px 0 -35px rgba(255,255,255,0.14),
    140px 350px 0 -22px rgba(255,255,255,0.17),
    -780px 550px 0 -20px rgba(255,255,255,0.12),
    80px 620px 0 -32px rgba(255,255,255,0.16);
}

.horizon {
  position: absolute;
  left: -10vw;
  right: -10vw;
  top: 58vh;
  height: 22vh;
  transform: skewY(-4deg);
  background: linear-gradient(to bottom, rgba(37, 48, 58, 0.78), rgba(209, 224, 225, 0.72) 35%, rgba(117, 126, 135, 0.5));
  box-shadow: 0 -24px 68px rgba(255,255,255,0.26);
}

.floor-reflection {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 87% 48%, rgba(255,255,255,0.18), transparent 7%),
    repeating-radial-gradient(ellipse at 87% 48%, rgba(255,255,255,0.22) 0 2px, transparent 3px 21px),
    linear-gradient(to bottom, rgba(176, 187, 194, 0.58), rgba(61, 71, 82, 0.72));
  opacity: 0.72;
}

.blade-nav {
  position: absolute;
  z-index: 20;
  left: clamp(28px, 7.3vw, 112px);
  top: clamp(34px, 8.8vh, 96px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  user-select: none;
}

.blade-nav p {
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.blade-kicker {
  color: rgba(255,255,255,0.18);
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 700;
}

.blade-faded {
  color: rgba(255,255,255,0.34);
  font-size: clamp(18px, 1.8vw, 31px);
  font-weight: 800;
}

.blade-title {
  color: #fff;
  font-size: clamp(38px, 4.1vw, 66px);
  font-weight: 800;
}

.dashboard {
  position: absolute;
  z-index: 25;
  inset: 0;
  perspective: 1000px;
}

.tile-stage {
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(1840px, 92vw);
  height: clamp(520px, 60vh, 760px);
  transform: translate(-50%, -34%);
  transform-style: preserve-3d;
}

.tile {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(400px, 34vw, 780px);
  height: clamp(300px, 26vw, 520px);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  color: white;
  transform-origin: center center;
  transition: transform 520ms cubic-bezier(.19,1,.22,1), opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
  background:
    radial-gradient(circle at 20% 19%, rgba(255,255,255,0.7), transparent 19%),
    radial-gradient(circle at 84% 12%, rgba(255,255,255,0.18), transparent 19%),
    linear-gradient(to bottom, #dbfb32 0%, #a6dc12 45%, #5a9803 73%, #1e4200 100%);
  box-shadow: 0 24px 46px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.5);
  will-change: transform, opacity, filter;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.38) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.22) 0 10px, transparent 12px);
  background-size: 56px 56px, 140px 140px;
  background-position: 14px 22px, -12px 90px;
}

.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -46%;
  height: 72%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.17), transparent 45%);
  transform: scaleY(-1);
  opacity: 0.16;
  pointer-events: none;
}

.tile:focus-visible {
  outline: 4px solid rgba(255,255,255,0.7);
  outline-offset: 8px;
}

.tile.is-active {
  box-shadow:
    0 32px 70px rgba(0,0,0,0.38),
    0 0 38px rgba(204,255,33,0.28),
    0 0 0 4px rgba(255,255,255,0.74),
    0 0 0 10px rgba(255,255,255,0.30),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.tile-gloss {
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.44), rgba(255,255,255,0.05));
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
}

.tile-copy {
  position: relative;
  z-index: 3;
  padding: 34px 28px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.tile h1 {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 43px);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.tile-copy p {
  margin: 8px 0 0;
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.08;
  color: rgba(255,255,255,0.86);
}

.profile-tile {
  width: clamp(430px, 36vw, 820px);
  height: clamp(318px, 27vw, 560px);
  overflow: visible;
  isolation: isolate;
  perspective: 1200px;
  --hover-rx: 0deg;
  --hover-ry: 0deg;
  --hover-lift: 0px;
  --hover-shift-x: 0px;
  --hover-shift-y: 0px;
  --hover-scale: 1;
}

.profile-tile .tile-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 180px 24px 34px;
  max-width: none;
}

.profile-tile .tile-copy h1 {
  font-size: clamp(36px, 3.2vw, 56px);
  margin-bottom: 6px;
}

.profile-tile .tile-copy p {
  margin-top: 0;
  font-size: clamp(20px, 1.75vw, 30px);
}

.profile-tile .tile-copy,
.profile-tile .xbox-avatar,
.profile-tile .xbox-avatar * {
  pointer-events: none;
}

.profile-tile::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -26px;
  bottom: -26px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.48;
  background: radial-gradient(circle, rgba(89,214,255,0.28) 0%, rgba(183,96,255,0.20) 38%, transparent 72%);
  filter: blur(14px);
  transition: transform 280ms ease, opacity 280ms ease;
}

.profile-tile.is-hovering::after {
  opacity: 0.72;
  transform: translate3d(0, -10px, 0) scale(1.05);
}

.tile-caption {
  position: absolute;
  z-index: 5;
  left: 26px;
  bottom: 26px;
  font-size: clamp(17px, 1.55vw, 26px);
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.tile-icon {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 45%;
  width: 160px;
  height: 108px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 14px rgba(0,0,0,0.24));
}


.hero-cover-tile {
  background: linear-gradient(180deg, #1e2a33 0%, #0f141a 100%);
}

.hero-cover-tile .feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-cover-tile .feature-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 13, 22, 0.10), rgba(5, 9, 14, 0.36) 48%, rgba(4, 8, 12, 0.72) 100%);
}

.hero-cover-tile.realms-feature .feature-tint {
  background: linear-gradient(180deg, rgba(20, 18, 56, 0.08), rgba(14, 18, 44, 0.18) 46%, rgba(6, 9, 25, 0.56) 100%);
}

.feature-caption {
  z-index: 5;
  font-size: clamp(21px, 1.75vw, 29px);
}

.feature-logo {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 10px;
  width: clamp(88px, 7.6vw, 140px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.unicore-badge {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: clamp(180px, 16vw, 300px);
  transform: translate(-42%, -50%);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.36));
}

.feature-disc {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 18px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(180deg, #c8ff67, #78ba00);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 18px rgba(0,0,0,0.3);
}

.feature-disc::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0 14%, #eefadc 15% 46%, #7fce09 47% 100%);
}

.feature-disc::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  width: 20px;
  height: 28px;
  border-radius: 50% 50% 46% 46%;
  background: rgba(255,255,255,0.92);
  transform: rotate(-34deg);
  clip-path: polygon(0 0, 100% 15%, 84% 100%, 0 84%);
}

.hero-cover-tile .feature-sigil {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.75);
  box-shadow: 0 0 0 7px rgba(112,219,255,0.14), 0 0 28px rgba(127,89,255,0.35);
}

.hero-cover-tile .feature-sigil::before,
.hero-cover-tile .feature-sigil::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 52px;
  background: rgba(255,255,255,0.84);
  transform: translate(-50%, -50%) rotate(0deg);
}

.hero-cover-tile .feature-sigil::after {
  width: 52px;
  height: 2px;
}

.footprint-icon::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 20px;
  width: 64px;
  height: 86px;
  border-radius: 48px 48px 42px 42px;
  background: linear-gradient(180deg, #ffffff, #e7eef1 58%, #a8df0d 59%, #d1ff3c);
  transform: rotate(16deg);
  box-shadow: inset 0 -8px 18px rgba(0,0,0,0.10);
}

.footprint-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 22px -4px 0 0 #f7ffff, 44px -2px 0 0 #f7ffff, 63px 7px 0 0 #f7ffff;
}

.gamepad-icon::before {
  content: "";
  position: absolute;
  inset: 18px 7px;
  border-radius: 42px 42px 55px 55px;
  background: linear-gradient(160deg, #fff, #e1e1e1 55%, #9ab20d 56%, #bff128);
  clip-path: polygon(12% 24%, 36% 15%, 45% 28%, 55% 28%, 64% 15%, 88% 24%, 99% 87%, 74% 94%, 61% 70%, 39% 70%, 26% 94%, 1% 87%);
}

.gamepad-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 72px;
  top: 19px;
  border-radius: 999px;
  background: #80a900;
  box-shadow: 0 0 0 7px rgba(0,0,0,0.04);
}

.monitor-icon::before {
  content: "";
  position: absolute;
  inset: 10px 18px 38px;
  border-radius: 16px;
  background: linear-gradient(135deg, #faffff, #d9e4e7 58%, #9ce20d 59%, #c9ff2b);
  box-shadow: inset 0 -12px 30px rgba(0,0,0,0.12);
}

.monitor-icon::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 16px;
  left: 39px;
  bottom: 18px;
  border-radius: 999px;
  background: #f8fff3;
  box-shadow: 0 -18px 0 -3px #f8fff3;
}

.car-icon::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 64px;
  left: 10px;
  top: 35px;
  border-radius: 70px 80px 26px 26px;
  background: linear-gradient(135deg, #fff, #dcebf0 55%, #a9e40b 56%, #d9ff2e);
  clip-path: polygon(6% 60%, 22% 32%, 41% 18%, 67% 22%, 84% 42%, 96% 56%, 95% 82%, 7% 82%);
}

.car-icon::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  left: 34px;
  top: 85px;
  border-radius: 999px;
  background: #334047;
  box-shadow: 69px 0 0 #334047, 0 0 0 5px #eef7f1, 69px 0 0 5px #eef7f1;
}

.wrench-icon::before {
  content: "";
  position: absolute;
  width: 116px;
  height: 32px;
  left: 24px;
  top: 52px;
  border-radius: 18px;
  background: linear-gradient(90deg, #f9ffff, #c9ff35);
  transform: rotate(-36deg);
}

.wrench-icon::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  left: 85px;
  top: 18px;
  border-radius: 50%;
  border: 17px solid #f8ffff;
  border-right-color: transparent;
  transform: rotate(23deg);
}

.server-icon::before,
.server-icon::after {
  content: "";
  position: absolute;
  left: 24px;
  width: 112px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9ffff, #dce7e9 61%, #b5ee13 62%);
  box-shadow: 0 45px 0 rgba(249,255,255,0.95);
}

.server-icon::before { top: 16px; }
.server-icon::after {
  top: 28px;
  width: 11px;
  height: 11px;
  left: 43px;
  border-radius: 50%;
  background: #6dac00;
  box-shadow: 22px 0 0 #6dac00, 0 45px 0 #6dac00, 22px 45px 0 #6dac00;
}

.music-icon::before {
  content: "";
  position: absolute;
  left: 69px;
  top: 12px;
  width: 21px;
  height: 85px;
  background: linear-gradient(to bottom, #fff, #d7ff2e);
  border-radius: 8px;
  box-shadow: 43px -12px 0 -2px #fff;
}

.music-icon::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 83px;
  width: 48px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 43px -12px 0 -1px #e8ff78;
}

.orb-icon {
  border-radius: 999px;
  width: 126px;
  height: 126px;
  background: radial-gradient(circle at 32% 26%, #fff 0 20%, #d9e5e4 21% 52%, #97c900 53% 62%, #f4ff91 63% 67%, #405345 68%);
  box-shadow: inset -18px -22px 20px rgba(0,0,0,0.22), 0 22px 32px rgba(0,0,0,0.24);
}

.orb-icon::before,
.orb-icon::after {
  content: "";
  position: absolute;
  left: 55px;
  top: 5px;
  width: 16px;
  height: 116px;
  background: #75b900;
  border-radius: 999px;
  transform: rotate(43deg);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
}

.orb-icon::after { transform: rotate(-43deg); }

 .xbox-avatar {
  position: absolute;
  z-index: 9;
  right: -96px;
  bottom: -118px;
  width: clamp(336px, 24.3vw, 480px);
  height: clamp(528px, 43.5vw, 750px);
  filter: drop-shadow(0 26px 26px rgba(0,0,0,0.22));
  transform-style: preserve-3d;
  will-change: transform, filter;
  transform: translate3d(var(--hover-shift-x), var(--hover-shift-y), 58px) rotateX(var(--hover-rx)) rotateY(var(--hover-ry)) scale(var(--hover-scale));
  transition: transform 240ms ease, filter 240ms ease;
}

.xbox-avatar::before {
  content: "";
  position: absolute;
  inset: 34px 24px 20px 24px;
  border-radius: 44% 44% 34% 34%;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.22), rgba(54,216,255,0.12) 32%, rgba(183,96,255,0.14) 62%, transparent 76%);
  filter: blur(10px);
  transform: translateZ(-16px);
  opacity: 0.9;
}

.xbox-avatar::after {
  content: "";
  position: absolute;
  right: 44px;
  top: 42px;
  width: 82px;
  height: 148px;
  border-radius: 50%;
  background: linear-gradient(165deg, rgba(255,255,255,0.38), transparent 48%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0.55;
  transform: translateZ(36px) rotate(-10deg);
}

.profile-tile.is-hovering .xbox-avatar {
  filter: drop-shadow(0 34px 34px rgba(0,0,0,0.28));
}

.avatar-shadow {
  position: absolute;
  width: 174px;
  height: 34px;
  left: 60px;
  bottom: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.24);
  filter: blur(7px);
}

.avatar-hi-bubble {
  position: absolute;
  right: 166px;
  top: 8px;
  z-index: 8;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(226,255,146,0.9));
  color: #263100;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.05;
  white-space: nowrap;
  max-width: 280px;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 22px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  opacity: 0;
  transform: translateY(10px) scale(0.75);
}

.avatar-hi-bubble::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: rgba(236,255,168,0.96);
  border-right: 1px solid rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
}

.hero-avatar-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform-origin: 52% 92%;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.hero-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.12));
  user-select: none;
  pointer-events: none;
  transform: rotateY(0deg) rotate(0deg) translateX(0px) translateZ(0) scale(1.01);
  transform-origin: 50% 92%;
}

.xbox-avatar.is-hello .avatar-hi-bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.82);
}

.xbox-avatar.is-chatting .avatar-hi-bubble {
  animation: chatBubble 4.8s 0s cubic-bezier(.22,.8,.22,1) both;
}

.xbox-avatar.is-hello .hero-avatar-wrap {
  animation: heroHello 2.9s 0.08s cubic-bezier(.2,.8,.2,1) both;
}

.xbox-avatar.is-idle .avatar-hi-bubble {
  opacity: 0;
}

.xbox-avatar.is-idle.mode-bob .hero-avatar-wrap {
  animation: heroIdleBob 5.8s cubic-bezier(.42,0,.22,1) infinite;
}

.xbox-avatar.is-idle.mode-sway .hero-avatar-wrap {
  animation: heroIdleSway 6.2s cubic-bezier(.42,0,.22,1) infinite;
}

.xbox-avatar.is-idle.mode-bounce .hero-avatar-wrap {
  animation: heroIdleBounce 4.9s cubic-bezier(.38,0,.22,1) infinite;
}

.xbox-avatar.is-idle.mode-dance .hero-avatar-wrap {
  animation: heroIdleDance 6.6s cubic-bezier(.4,0,.2,1) infinite;
}

.xbox-avatar.is-idle.mode-wave .hero-avatar-wrap {
  animation: heroIdleWave 5.4s cubic-bezier(.42,0,.22,1) infinite;
}

@keyframes hiBubble {
  0% { opacity: 0; transform: translateY(10px) scale(0.75); }
  24% { opacity: 1; transform: translateY(-4px) scale(1); }
  70% { opacity: 1; transform: translateY(-6px) scale(1); }
  100% { opacity: 0; transform: translateY(-18px) scale(0.92); }
}


@keyframes chatBubble {
  0% { opacity: 0; transform: translateY(16px) scale(0.72); }
  10% { opacity: 1; transform: translateY(-6px) scale(1.06); }
  18% { opacity: 1; transform: translateY(-3px) scale(1); }
  84% { opacity: 1; transform: translateY(-3px) scale(1); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.96); }
}

@keyframes heroHello {
  0% { opacity: 0; transform: translateY(28px) scale(0.84) rotate(-8deg); }
  18% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  34% { transform: translateY(-4px) rotate(-12deg); }
  46% { transform: translateY(-2px) rotate(10deg); }
  58% { transform: translateY(-5px) rotate(-11deg); }
  70% { transform: translateY(-1px) rotate(7deg); }
  82% { transform: translateY(-3px) rotate(-5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes heroIdleBob {
  0%, 100% { transform: translateY(0) rotate(-1.2deg) scale(1); }
  18% { transform: translateY(-4px) rotate(0.6deg) scale(1.008); }
  36% { transform: translateY(-8px) rotate(1.4deg) scale(1.012); }
  54% { transform: translateY(-5px) rotate(0.2deg) scale(1.009); }
  72% { transform: translateY(-10px) rotate(-0.8deg) scale(1.013); }
  88% { transform: translateY(-3px) rotate(-0.2deg) scale(1.005); }
}

@keyframes heroIdleSway {
  0%, 100% { transform: translateY(0) rotate(-2.4deg) translateX(0); }
  20% { transform: translateY(-3px) rotate(-0.8deg) translateX(4px); }
  40% { transform: translateY(-6px) rotate(1.8deg) translateX(8px); }
  60% { transform: translateY(-4px) rotate(0.8deg) translateX(3px); }
  80% { transform: translateY(-7px) rotate(-1.6deg) translateX(-4px); }
}

@keyframes heroIdleBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  16% { transform: translateY(-4px) scale(1.007); }
  32% { transform: translateY(-9px) scale(1.014); }
  48% { transform: translateY(-2px) scale(1.004); }
  64% { transform: translateY(-7px) scale(1.01); }
  82% { transform: translateY(-3px) scale(1.006); }
}

@keyframes heroIdleDance {
  0%, 100% { transform: translateY(0) rotate(-1.8deg) translateX(0); }
  14% { transform: translateY(-4px) rotate(1deg) translateX(5px); }
  28% { transform: translateY(-7px) rotate(2.2deg) translateX(8px); }
  42% { transform: translateY(-3px) rotate(0.4deg) translateX(2px); }
  58% { transform: translateY(-8px) rotate(-1.8deg) translateX(-6px); }
  74% { transform: translateY(-5px) rotate(-0.6deg) translateX(-2px); }
  88% { transform: translateY(-2px) rotate(0.6deg) translateX(3px); }
}

@keyframes heroIdleWave {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  18% { transform: translateY(-3px) rotate(1.4deg); }
  36% { transform: translateY(-6px) rotate(2deg); }
  54% { transform: translateY(-4px) rotate(0.6deg); }
  72% { transform: translateY(-7px) rotate(-1.6deg); }
  88% { transform: translateY(-2px) rotate(-0.4deg); }
}

@keyframes modalFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50% { transform: translateY(-14px) rotate(2deg) scale(1.018); }
}

.now-panel {
  position: absolute;
  z-index: 40;
  top: clamp(92px, 11vh, 140px);
  right: clamp(18px, 4vw, 70px);
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(11, 29, 34, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 20px 42px rgba(0,0,0,0.17);
  backdrop-filter: blur(16px);
}

.now-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green-0);
  box-shadow: 0 0 20px var(--green-0), inset 0 -3px 5px rgba(0,0,0,0.2);
}

.now-panel strong {
  display: block;
  font-size: 17px;
  line-height: 1.05;
  white-space: nowrap;
  max-width: 280px;
  line-height: 1.15;
}

.now-panel p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nxe-footer {
  position: absolute;
  z-index: 45;
  left: clamp(26px, 7.3vw, 115px);
  right: clamp(22px, 7vw, 110px);
  bottom: clamp(24px, 5vh, 60px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  user-select: none;
}

.counter {
  font-size: clamp(18px, 1.5vw, 25px);
  color: rgba(28,39,48,0.72);
  font-weight: 800;
  margin-bottom: 15px;
}

.actions {
  position: absolute;
  left: 0;
  bottom: -11px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(14px, 1.2vw, 21px);
  font-weight: 700;
}

.btn-a,
.btn-b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  color: #1d3303;
  font-size: 14px;
  box-shadow: inset 0 -5px 6px rgba(0,0,0,0.28), 0 2px 5px rgba(0,0,0,0.35);
}

.btn-a { background: linear-gradient(#e9ff84, #76c50a); }
.btn-b { background: linear-gradient(#ff7373, #bf1c1c); color: white; }

.hint { color: rgba(255,255,255,0.54); }

.orb-button {
  position: relative;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: radial-gradient(circle at 28% 22%, #fff 0 19%, #d9e7e2 20% 54%, #68b100 55% 65%, #f4ff96 66% 70%, #4f5e59 71%);
  box-shadow: inset -9px -12px 16px rgba(0,0,0,0.33), 0 16px 24px rgba(0,0,0,0.3);
}

.orb-button span::before,
.orb-button span::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 12px;
  width: 8px;
  height: 50px;
  border-radius: 999px;
  background: #70b900;
}

.orb-button span::before { transform: rotate(42deg); }
.orb-button span::after { transform: rotate(-42deg); }

.modal-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 16, 18, 0.16);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 340ms ease, background 340ms ease, backdrop-filter 340ms ease;
}

.modal-backdrop::before {
  content: "";
  position: absolute;
  left: var(--launch-x, 50vw);
  top: var(--launch-y, 50vh);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(201,255,68,0.55) 20%, rgba(73,210,255,0.18) 46%, transparent 72%);
  box-shadow: 0 0 40px rgba(223,255,122,0.45);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.19,1,.22,1), opacity 260ms ease;
}

.modal-backdrop.is-visible {
  opacity: 1;
  background: rgba(5, 16, 18, 0.42);
  backdrop-filter: blur(12px);
}

.modal-backdrop.is-visible::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(34);
}

.modal-backdrop[hidden] { display: none; }

.xbox-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 44%) 1fr;
  width: min(1180px, 94vw);
  min-height: min(650px, 84vh);
  color: var(--text);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(26px) scale(0.9) rotateX(9deg);
  transition: opacity 300ms ease, transform 480ms cubic-bezier(.19,1,.22,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-backdrop.is-visible .xbox-modal {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.xbox-modal::after {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 18%, transparent 36%);
  transform: translateX(-120%) skewX(-14deg);
  opacity: 0;
}

.modal-backdrop.is-visible .xbox-modal::after {
  animation: modalSweep 700ms 140ms ease-out both;
}

@keyframes modalSweep {
  0% { transform: translateX(-120%) skewX(-14deg); opacity: 0; }
  14% { opacity: 0.92; }
  100% { transform: translateX(135%) skewX(-14deg); opacity: 0; }
}

.profile-panel-left,
.profile-panel-right {
  min-height: 600px;
  background: linear-gradient(180deg, rgba(30,54,63,0.95), rgba(13,31,40,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 64px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

.profile-panel-left {
  border-radius: 10px 0 0 10px;
  padding: 24px;
}

.profile-panel-right {
  position: relative;
  margin-top: 64px;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 32px 320px 34px 34px;
  overflow: hidden;
}

.profile-panel-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 10%, rgba(255,255,255,0.1), transparent 23%), linear-gradient(135deg, rgba(255,255,255,0.05), transparent 50%);
  pointer-events: none;
}

.gamertag-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: rgba(5,14,18,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.avatar-badge {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #35e4ff, #ff60d4);
  border: 3px solid rgba(255,255,255,0.25);
}

.avatar-badge img {
  width: 130%;
  height: 130%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: translate(-10%, -4%);
}

.gamertag-row h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.gamertag-row p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
}


.profile-level-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.profile-level-current {
  font-size: clamp(17px, 1.9vw, 30px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #8fcd3b;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
  position: relative;
  top: 3px;
}

.profile-level-next {
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1;
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.48);
  position: relative;
  left: 3px;
  top: 5px;
  align-self: center;
  display: inline-block;
}

.modal-menu {
  margin-top: 24px;
}

.modal-menu button {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  text-align: left;
  color: rgba(255,255,255,0.72);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: clamp(19px, 1.7vw, 30px);
  letter-spacing: -0.03em;
  transition: 170ms ease;
}

.modal-menu button:hover,
.modal-menu button.is-active {
  color: white;
  background: linear-gradient(to bottom, rgba(223,255,129,0.92), rgba(106,194,12,0.92));
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 24px rgba(0,0,0,0.22);
}

.modal-footnote {
  margin: 26px 12px 0;
  color: rgba(255,255,255,0.38);
  font-size: 13px;
}

.modal-close {
  position: absolute;
  z-index: 5;
  right: 15px;
  top: 15px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  background: rgba(9,20,25,0.5);
  font-size: 27px;
  cursor: pointer;
  line-height: 34px;
}

.content-block {
  position: relative;
  z-index: 2;
}

.content-block h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.7vw, 42px);
  letter-spacing: -0.04em;
  font-weight: 500;
}

.content-block .lead {
  margin: 0 0 24px;
  max-width: 620px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.48;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  max-width: 620px;
}

.stat-card {
  padding: 15px 16px;
  border-radius: 13px;
  background: rgba(3,11,15,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}

.stat-card strong {
  display: block;
  font-size: 29px;
  line-height: 1;
  color: #d5ff4e;
  letter-spacing: -0.04em;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.stat-note {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.52);
  font-size: 10px;
  line-height: 1.15;
  font-style: normal;
}

.progress-list {
  display: grid;
  gap: 13px;
  max-width: 600px;
}

.progress-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,0.76);
}

.progress-bar {
  height: 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.56);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.55);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, #7fd500, #d6ff47);
  box-shadow: 0 0 16px rgba(199,255,45,0.46);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 660px;
}

.chip {
  padding: 9px 13px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.project-list {
  display: grid;
  gap: 12px;
  max-width: 660px;
}

.project-item {
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(3,11,15,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.project-item strong {
  display: block;
  margin-bottom: 4px;
  color: #eaff9b;
  font-size: 20px;
}

.project-item p {
  margin: 0;
  color: rgba(255,255,255,0.64);
  line-height: 1.42;
}

.modal-avatar-showcase {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 155px;
  width: 280px;
  height: 390px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.modal-avatar-showcase img {
  width: 268px;
  max-width: none;
  filter: drop-shadow(0 28px 24px rgba(0,0,0,0.35));
  animation: modalFloat 3.6s ease-in-out infinite;
}

.modal-avatar-ring {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,255,37,0.17), transparent 66%);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .now-panel { display: none; }

  .hero-cover-tile .feature-disc,
  .hero-cover-tile .feature-sigil {
    transform: scale(.9);
    transform-origin: bottom right;
  }
  .hero-cover-tile .feature-logo {
    width: 110px;
  }

  .tile-stage {
    left: 50%;
    right: auto;
    top: 55%;
    width: min(94vw, 1200px);
    height: 560px;
    transform: translate(-50%, -34%);
  }
  .tile,
  .profile-tile {
    width: min(700px, 84vw);
    height: 430px;
  }
  .profile-tile {
    width: min(720px, 86vw);
    height: 448px;
  }
  .xbox-avatar { transform: scale(.96); transform-origin: bottom right; right: -74px; bottom: -96px; }
  .xbox-modal {
    grid-template-columns: 1fr;
    overflow: auto;
    max-height: 88vh;
  }
  .profile-panel-left,
  .profile-panel-right {
    min-height: auto;
    border-radius: 10px;
  }
  .profile-panel-right {
    margin-top: 12px;
    padding: 28px;
  }
  .modal-avatar-showcase { display: none; }
  .modal-menu button { font-size: 21px; }
}

@media (max-width: 640px) {
  body { overflow: hidden; }
  .loader-core { width: min(66vw, 300px); min-width: 220px; }
  .loader-copy { padding-inline: 18px; }

  .hero-cover-tile .feature-disc,
  .hero-cover-tile .feature-sigil {
    right: 10px;
    bottom: 10px;
    transform: scale(.76);
    transform-origin: bottom right;
  }
  .hero-cover-tile .feature-logo {
    width: 92px;
    right: 12px;
    bottom: 10px;
  }

  .blade-nav { left: 22px; top: 32px; }
  .blade-faded { display: none; }
  .tile-stage { left: 50%; top: 50%; width: calc(100vw - 28px); height: 430px; transform: translate(-50%, -28%); }
  .tile,
  .profile-tile { width: calc(100vw - 36px); height: 360px; }
  .profile-tile .tile-copy { padding: 18px 120px 18px 18px; }
  .xbox-avatar { transform: scale(.82); transform-origin: bottom right; right: -58px; bottom: -96px; }
  .actions { gap: 11px; flex-wrap: wrap; bottom: -24px; }
  .hint { display: none; }
  .orb-button { width: 62px; height: 62px; }
  .counter { margin-bottom: 27px; }
  .modal-backdrop { padding: 10px; }
  .stat-grid { grid-template-columns: 1fr; }
  .progress-row { grid-template-columns: 1fr; gap: 6px; }
  .profile-panel-left { padding: 16px; }
  .profile-panel-right { padding: 22px 18px; }
}

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

.unicore-feature .feature-bg { filter: saturate(0.78) brightness(0.9); }
.realms-feature .feature-bg { object-position: center center; }

.unicore-feature .feature-tint {
  background: linear-gradient(180deg, rgba(8, 10, 20, 0.06), rgba(8, 10, 18, 0.12) 42%, rgba(7, 8, 15, 0.28) 100%);
}
.unicore-feature .feature-bg { object-position: center center; }


.controller-status {
  color: rgba(255,255,255,0.52);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 700;
}

.controller-status.is-connected {
  color: rgba(226,255,102,0.92);
  text-shadow: 0 0 12px rgba(194,255,37,0.28);
}




.profile-card-text h3 {
  margin-bottom: 4px;
}

.profile-unlocked {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.48);
  font-size: clamp(14px, 1.05vw, 18px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.profile-scrollbox {
  position: relative;
  max-width: 690px;
  max-height: min(48vh, 430px);
  overflow-y: auto;
  padding: 18px 20px 18px 20px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(206,255,57,0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -34px 48px rgba(0,0,0,0.12),
    0 18px 34px rgba(0,0,0,0.14);
  scrollbar-width: thin;
  scrollbar-color: rgba(200,255,38,0.86) rgba(255,255,255,0.07);
}

.profile-scrollbox::before {
  content: "";
  position: sticky;
  display: block;
  top: -18px;
  height: 14px;
  margin: -18px -20px 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,30,35,0.84), transparent);
  z-index: 2;
}

.profile-scrollbox::after {
  content: "";
  position: sticky;
  display: block;
  bottom: -18px;
  height: 28px;
  margin: 0 -20px -18px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7,18,22,0.88), transparent);
  z-index: 2;
}

.profile-scrollbox p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.78);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.55;
}

.profile-scrollbox p:last-child {
  margin-bottom: 0;
}

.profile-scrollbox strong {
  color: rgba(234,255,124,0.94);
  font-weight: 850;
}

.profile-scrollbox::-webkit-scrollbar {
  width: 14px;
}

.profile-scrollbox::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(0,0,0,0.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.profile-scrollbox::-webkit-scrollbar-thumb {
  min-height: 46px;
  border-radius: 999px;
  border: 4px solid rgba(8,22,26,0.86);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(206,255,57,0.96) 36%, rgba(96,177,0,0.96));
  box-shadow:
    0 0 18px rgba(204,255,33,0.30),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.profile-scrollbox::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(226,255,96,1) 36%, rgba(126,216,0,1));
}

@media (max-width: 720px) {
  .profile-scrollbox {
    max-height: 48vh;
    padding: 15px 16px;
  }
}
