:root {
  --bg: #0b1e52;
  --bg-deep: #140a5a;
  --panel-top: #5d79f7;
  --panel-bottom: #5d2ec5;
  --panel-dark: #2a2f82;
  --ink: #ffffff;
  --ink-soft: #d6dcff;
  --yellow: #63acff;
  --yellow-dark: #4a78e6;
  --line: rgba(255, 255, 255, 0.2);
  --shadow: 0 20px 50px rgba(8, 11, 44, 0.62);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at 50% -20%, #3657d3 0%, var(--bg) 40%, var(--bg-deep) 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
.brand {
  font-family: "Bungee", sans-serif;
  letter-spacing: 0.03em;
  margin: 0;
  text-transform: uppercase;
}

h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: none;
}

p {
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 16%, rgba(116, 166, 255, 0.24) 0, rgba(116, 166, 255, 0) 28%),
    radial-gradient(circle at 87% 18%, rgba(192, 136, 255, 0.2) 0, rgba(192, 136, 255, 0) 24%),
    radial-gradient(circle at 50% 130%, rgba(89, 149, 255, 0.24) 0, rgba(89, 149, 255, 0) 28%);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 35%, rgba(176, 188, 255, 0.08) 0, rgba(176, 188, 255, 0) 46%),
    radial-gradient(ellipse at 80% 70%, rgba(193, 146, 255, 0.08) 0, rgba(193, 146, 255, 0) 46%);
  pointer-events: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(212, 226, 255, 0.9) 0 1px, transparent 1.7px),
    radial-gradient(circle at 22% 34%, rgba(212, 226, 255, 0.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 37% 21%, rgba(212, 226, 255, 0.75) 0 1px, transparent 1.7px),
    radial-gradient(circle at 55% 30%, rgba(212, 226, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle at 71% 16%, rgba(212, 226, 255, 0.82) 0 1px, transparent 1.7px),
    radial-gradient(circle at 83% 38%, rgba(212, 226, 255, 0.78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 14% 70%, rgba(212, 226, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle at 31% 82%, rgba(212, 226, 255, 0.75) 0 1px, transparent 1.7px),
    radial-gradient(circle at 48% 74%, rgba(212, 226, 255, 0.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 66% 84%, rgba(212, 226, 255, 0.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 79% 72%, rgba(212, 226, 255, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 91% 86%, rgba(212, 226, 255, 0.78) 0 1px, transparent 1.7px),
    repeating-linear-gradient(
      120deg,
      rgba(194, 208, 255, 0.12) 0,
      rgba(194, 208, 255, 0.12) 1px,
      transparent 1px,
      transparent 120px
    );
  mix-blend-mode: screen;
  opacity: 0.055;
  pointer-events: none;
}

.top-nav-wrap {
  display: flex;
  justify-content: center;
  padding: 1.2rem 1rem 0;
}

.top-nav {
  max-width: 1150px;
  width: 100%;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(67, 86, 201, 0.95) 0%, rgba(67, 35, 153, 0.96) 100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  color: #f8fdff;
}

.brand img {
  width: auto;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(8, 11, 44, 0.35));
}

.nav {
  display: flex;
  gap: 1.8rem;
  font-weight: 700;
  color: #dde8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.nav a:hover,
.nav a.nav-active {
  color: #c0bcff;
}

.nav a.nav-active {
  text-shadow: 0 0 10px rgba(175, 195, 255, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  border: 1px solid rgba(220, 233, 255, 0.95);
  background: linear-gradient(180deg, #cfe6ff 0%, #7ac0ff 42%, #4f7dff 100%);
  color: #102b66;
  padding: 0.75rem 1.2rem;
  border-radius: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 7px 0 #2f56c5, 0 0 0 2px rgba(127, 180, 255, 0.3), 0 14px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.tab {
  border: 1px solid rgba(182, 206, 255, 0.4);
  border-radius: 12px 12px 0 0;
  min-height: 44px;
  text-transform: uppercase;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.08em;
  color: #d8e6ff;
  background: linear-gradient(180deg, rgba(54, 63, 147, 0.95) 0%, rgba(43, 47, 135, 0.95) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease, text-shadow 0.2s ease;
}

.tab:hover {
  transform: translateY(-1px);
  color: #f0f5ff;
}

.tab.active {
  color: #112f70;
  border-color: rgba(218, 231, 255, 0.95);
  background: linear-gradient(180deg, #d9ecff 0%, #89c7ff 40%, #5f8fff 100%);
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: tabTextPop 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #e2f0ff 0%, #92cbff 42%, #608bff 100%);
  box-shadow: 0 7px 0 #2f56c5, 0 0 0 3px rgba(149, 196, 255, 0.42), 0 18px 40px rgba(0, 0, 0, 0.42);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #2f56c5, 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:focus-visible,
.tab:focus-visible,
.ip-strip__copy:focus-visible,
.creature-mini:focus-visible,
.nav a:focus-visible {
  outline: 2px solid rgba(214, 230, 255, 0.95);
  outline-offset: 2px;
}

.btn--small {
  padding: 0.58rem 1rem;
  font-size: 0.78rem;
}

.btn--hero {
  margin-top: 1rem;
  min-width: 220px;
  min-height: 62px;
  font-size: 1.4rem;
}

main {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1rem 1.1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.3rem;
}

.hero h1 {
  font-size: clamp(3.3rem, 9vw, 7rem);
  line-height: 1;
  margin-top: 0.2rem;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(192, 102, 255, 0.55);
}

.hero__line {
  margin: 0;
  text-transform: uppercase;
  font-family: "Bungee", sans-serif;
  letter-spacing: 0.22em;
  color: #c2a8ff;
}

.hero__subtitle {
  max-width: 480px;
  margin-top: 0.6rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-creatures {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-creatures span {
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(171, 182, 255, 0.45);
  background: linear-gradient(180deg, rgba(97, 111, 242, 0.35) 0%, rgba(68, 38, 146, 0.42) 100%);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e8ecff;
}

.hero__right {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
}

.avatar-glow {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(121, 173, 255, 0.5) 0%, rgba(121, 173, 255, 0) 70%);
  position: absolute;
  animation: glowPulse 3.6s ease-in-out infinite;
}

.avatar {
  width: 340px;
  height: 340px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  box-shadow: none;
}

.avatar__img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  object-position: center;
  transform: scale(1.12);
  filter: drop-shadow(0 14px 28px rgba(8, 11, 44, 0.48));
  animation: avatarDrop 0.95s cubic-bezier(0.18, 0.9, 0.2, 1) 0.05s both,
    avatarFloat 4.1s ease-in-out 1.02s infinite;
}

.gem {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  transform: rotate(45deg);
  animation: gemFloat 4s ease-in-out infinite;
}

.gem-1 {
  left: 60px;
  top: 65px;
  background: #71d2ff;
}

.gem-2 {
  left: 32px;
  top: 155px;
  background: #97b8ff;
  animation-delay: 0.8s;
}

.gem-3 {
  right: 60px;
  top: 52px;
  background: #d9abff;
  animation-delay: 0.2s;
}

.gem-4 {
  right: 36px;
  top: 168px;
  background: #8fb2ff;
  animation-delay: 1.3s;
}

.gem-5 {
  left: 95px;
  bottom: 42px;
  background: #ceb2ff;
  animation-delay: 0.5s;
}

.section-title {
  text-align: center;
  margin-top: 1.4rem;
}

.section-title p {
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
}

.section-title h2 {
  margin-top: 0.2rem;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  color: #bfb7ff;
  text-shadow: 0 0 20px rgba(212, 96, 255, 0.4);
}

.join {
  margin-top: 0.7rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(78, 93, 214, 0.98) 0%, rgba(67, 35, 153, 0.98) 100%);
  box-shadow: var(--shadow);
}

.join-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hidden {
  display: none !important;
}

.join-card {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(26, 7, 72, 0.55);
}

.join-card__left {
  display: grid;
  gap: 0.8rem;
}

.join-input {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(111, 102, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-input span {
  display: block;
  text-transform: uppercase;
  font-size: 0.82rem;
  opacity: 0.85;
}

.join-input strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.join-card__right h3 {
  font-size: 2rem;
}

.join-card__right p {
  margin: 0.5rem 0 0.9rem;
  color: #ece6ff;
  max-width: 34ch;
}

.copy-feedback {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  color: #9fd0ff;
  font-size: 0.92rem;
}

.platforms {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.platforms span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.discord {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
}

.discord__text h2 {
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.discord__text p {
  max-width: 44ch;
  text-transform: uppercase;
  color: #e6def7;
}

.discord-live-counters {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.discord-live-counters span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(189, 210, 255, 0.14);
  border: 1px solid rgba(210, 224, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #eaf2ff;
}

.discord-live-counters strong {
  color: #b7d6ff;
  font-size: 0.9rem;
}

.discord-widget {
  margin-top: 1rem;
  width: 100%;
  max-width: 370px;
  border-radius: 16px;
  border: 1px solid rgba(198, 216, 255, 0.26);
  background: rgba(22, 11, 58, 0.55);
  box-shadow: 0 16px 34px rgba(9, 6, 35, 0.35);
  overflow: hidden;
}

.discord-widget iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.discord__illustration {
  min-height: 290px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(65, 84, 184, 0.75) 0%, rgba(44, 27, 112, 0.85) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.creature-showcase {
  position: relative;
  z-index: 1;
  width: min(82%, 380px);
  padding: 1rem 1rem 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(216, 225, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(103, 85, 194, 0.16) 100%);
  box-shadow: 0 24px 50px rgba(10, 8, 44, 0.34);
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creature-showcase:hover {
  box-shadow: 0 30px 60px rgba(10, 8, 44, 0.44);
}

.creature-badge {
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(178, 195, 255, 0.15);
  border: 1px solid rgba(201, 213, 255, 0.24);
  color: #eef3ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creature-frame {
  position: relative;
  margin-top: 0.9rem;
  min-height: 190px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.creature-frame::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 30px;
  bottom: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(150, 185, 255, 0.34) 0%, rgba(150, 185, 255, 0) 72%);
  filter: blur(8px);
}

.discord-creature {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(8, 11, 44, 0.48));
  animation: creatureFloat 4.4s ease-in-out infinite;
  transition: opacity 0.16s ease;
}

.discord-creature.is-switching {
  opacity: 0.2;
}

.creature-name {
  margin: 0.15rem 0 0;
  text-align: center;
  font-family: "Bungee", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #eef3ff;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(127, 155, 255, 0.35);
}

.creature-roster {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.creature-mini {
  appearance: none;
  border-radius: 12px;
  border: 1px solid rgba(191, 206, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(114, 92, 208, 0.18) 100%);
  padding: 0.45rem 0.35rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.creature-mini:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 201, 255, 0.58);
  box-shadow: 0 10px 18px rgba(8, 11, 44, 0.28);
}

.creature-mini img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(8, 11, 44, 0.42));
}

.creature-mini span {
  margin-top: 0.18rem;
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #eaf1ff;
}

.creature-mini--active {
  border-color: rgba(168, 201, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(168, 201, 255, 0.2);
  background: linear-gradient(180deg, rgba(192, 216, 255, 0.2) 0%, rgba(114, 92, 208, 0.28) 100%);
}

.bubble {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
}

.bubble-a {
  width: 140px;
  height: 140px;
  left: -20px;
  top: -20px;
  background: rgba(76, 165, 255, 0.4);
}

.bubble-b {
  width: 180px;
  height: 180px;
  right: -20px;
  bottom: -30px;
  background: rgba(255, 150, 244, 0.36);
}

.bubble-c {
  width: 120px;
  height: 120px;
  right: 40%;
  top: 12px;
  background: rgba(131, 169, 255, 0.24);
}

.stats {
  margin-top: 2rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(6, 2, 16, 0.42);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.stat {
  min-height: 112px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(33, 17, 78, 0.85) 0%, rgba(20, 7, 52, 0.88) 100%);
}

.stat__number {
  margin: 0;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: #fff;
}

.stat__label {
  margin: 0;
  color: #cbc3eb;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.ip-strip {
  max-width: 1150px;
  margin: 0.2rem auto 0;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(199, 213, 255, 0.28);
  background:
    radial-gradient(circle at 14% 35%, rgba(165, 194, 255, 0.24) 0%, rgba(165, 194, 255, 0) 36%),
    radial-gradient(circle at 86% 25%, rgba(195, 151, 255, 0.24) 0%, rgba(195, 151, 255, 0) 34%),
    linear-gradient(180deg, rgba(67, 86, 201, 0.95) 0%, rgba(67, 35, 153, 0.96) 100%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.ip-strip::after {
  content: "";
  position: absolute;
  left: -12%;
  top: -130%;
  width: 46%;
  height: 300%;
  transform: rotate(17deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(214, 228, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
}

.ip-strip:hover::after {
  animation: stripShine 1.1s ease-out 1;
}

.ip-strip__left {
  display: grid;
  gap: 0.22rem;
  z-index: 1;
}

.ip-strip__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d4e5ff;
  opacity: 0.95;
}

.ip-strip__left strong {
  text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(176, 200, 255, 0.28);
}

.ip-strip__left span {
  font-size: 0.86rem;
  text-transform: uppercase;
  color: #dbe8ff;
  max-width: 44ch;
}

.ip-strip__right {
  display: grid;
  justify-items: end;
  gap: 0.38rem;
  z-index: 1;
}

.ip-strip__copy {
  border: 1px solid rgba(220, 233, 255, 0.95);
  background: linear-gradient(180deg, #cfe6ff 0%, #7ac0ff 42%, #4f7dff 100%);
  color: #173873;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  min-height: 44px;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 0 #355dc8, 0 12px 24px rgba(7, 12, 43, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ip-strip__copy:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #e2f0ff 0%, #92cbff 42%, #608bff 100%);
  box-shadow: 0 7px 0 #355dc8, 0 16px 32px rgba(7, 12, 43, 0.42);
}

#copyFeedbackInline {
  color: #d5e7ff;
  font-size: 0.86rem;
  min-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ip-strip__spark {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
}

.ip-strip__spark--a {
  width: 44px;
  height: 44px;
  right: 230px;
  top: 14px;
  background: rgba(164, 198, 255, 0.45);
}

.ip-strip__spark--b {
  width: 34px;
  height: 34px;
  right: 170px;
  bottom: 10px;
  background: rgba(203, 164, 255, 0.45);
}

.footer {
  max-width: 1150px;
  margin: 1.15rem auto 2.3rem;
  padding: 0 1rem 0.25rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  position: relative;
}

.footer > div {
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(186, 201, 255, 0.18);
  background:
    radial-gradient(circle at 86% 10%, rgba(171, 191, 255, 0.12) 0, rgba(171, 191, 255, 0) 42%),
    linear-gradient(180deg, rgba(49, 24, 110, 0.9) 0%, rgba(25, 8, 61, 0.96) 100%);
  box-shadow: 0 14px 34px rgba(9, 6, 35, 0.32);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer > div::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -35px;
  top: -45px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194, 214, 255, 0.18) 0%, rgba(194, 214, 255, 0) 70%);
  pointer-events: none;
}

.footer > div:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 216, 255, 0.3);
  box-shadow: 0 22px 42px rgba(9, 6, 35, 0.42);
}

.footer > div:nth-child(1) {
  border-radius: 28px 28px 36px 18px;
}

.footer > div:nth-child(2) {
  border-radius: 22px 32px 22px 30px;
}

.footer > div:nth-child(3) {
  border-radius: 32px 22px 30px 22px;
}

.footer h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #eef3ff;
}

.footer a:not(.btn) {
  display: block;
  margin-top: 0.5rem;
  color: #bdd1ff;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:not(.btn):hover {
  color: #d9e7ff;
  transform: translateX(3px);
}

.footer .btn {
  display: inline-flex;
  margin-top: 0.75rem;
  width: max-content;
  color: #102b66;
}

.footer p {
  color: #afc2ee;
  margin: 0.2rem 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.68s cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 0.68s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .discord,
  .footer {
    grid-template-columns: 1fr;
  }

  .platforms,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-card {
    grid-template-columns: 1fr;
  }

  .hero__left {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-creatures {
    justify-content: center;
  }

  .btn--hero {
    margin-left: auto;
    margin-right: auto;
  }

  .discord-live-counters span {
    width: 100%;
    justify-content: space-between;
  }

  .discord-widget {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .top-nav-wrap {
    padding-top: 0.8rem;
  }

  .top-nav {
    padding: 0.65rem 0.75rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand img {
    height: 40px;
  }

  .stats,
  .platforms {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 1.3rem;
    gap: 1rem;
  }

  .avatar {
    width: 240px;
    height: 240px;
  }

  .avatar__img {
    width: 240px;
    height: 240px;
    object-position: center;
    transform: scale(1.08);
  }

  .ip-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .ip-strip__right {
    width: 100%;
    justify-items: stretch;
  }

  .ip-strip__copy {
    width: 100%;
  }

  .ip-strip__spark--a,
  .ip-strip__spark--b {
    right: auto;
    left: 10px;
  }
}

@keyframes gemFloat {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(-9px) rotate(45deg);
  }
}

@keyframes avatarDrop {
  0% {
    opacity: 0;
    transform: translateY(-150px) scale(0.8) rotate(-4deg);
  }

  70% {
    opacity: 1;
    transform: translateY(14px) scale(1.02) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes creatureFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes stripShine {
  0%,
  100% {
    opacity: 0;
    transform: rotate(17deg) translateX(0);
  }

  35% {
    opacity: 1;
    transform: rotate(17deg) translateX(150px);
  }

  70% {
    opacity: 0;
    transform: rotate(17deg) translateX(260px);
  }
}

@keyframes sparkDrift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes tabTextPop {
  0% {
    transform: scale(0.96);
    letter-spacing: 0.08em;
  }

  60% {
    transform: scale(1.05);
    letter-spacing: 0.14em;
  }

  100% {
    transform: scale(1);
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
