:root {
  --bg: #020817;
  --bg2: #06142c;
  --card: rgba(7, 18, 40, 0.72);
  --card2: rgba(12, 33, 68, 0.78);
  --text: #ffffff;
  --muted: #a8c3df;
  --soft: #dff7ff;
  --blue: #00b7ff;
  --blue2: #006dff;
  --cyan: #4cecff;
  --purple: #7c4dff;
  --line: rgba(89, 205, 255, 0.28);
  --line-strong: rgba(76, 236, 255, 0.48);
  --shadow: 0 30px 90px rgba(0, 128, 255, 0.22);
  --shadow-strong: 0 35px 110px rgba(0, 183, 255, 0.30);
  --radius: 28px;
  --max: 1180px;
  --header-h: 82px;
}

/* ============================================================
   Base
============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body::selection {
  color: #00101f;
  background: var(--cyan);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(76, 236, 255, 0.75);
  outline-offset: 4px;
}

/* ============================================================
   Background
============================================================ */

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  background:
    radial-gradient(circle at 50% 5%, rgba(0, 183, 255, 0.23), transparent 24%),
    radial-gradient(circle at 15% 45%, rgba(0, 109, 255, 0.20), transparent 30%),
    radial-gradient(circle at 85% 55%, rgba(76, 236, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(124, 77, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #02050d, #051226 45%, #02050d);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    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: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 30%, rgba(0, 183, 255, 0.10), transparent 42%),
    linear-gradient(250deg, transparent 42%, rgba(0, 109, 255, 0.12), transparent 54%);
  animation: bgMove 12s linear infinite;
}

@keyframes bgMove {
  0% {
    transform: translate3d(-2%, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(2%, -1%, 0) rotate(1deg);
  }

  100% {
    transform: translate3d(-2%, 0, 0) rotate(0deg);
  }
}

/* ============================================================
   Header / Navigation
============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  min-height: var(--header-h);
  margin: 16px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.header.is-scrolled {
  background: rgba(2, 8, 23, 0.88);
  border-color: rgba(76, 236, 255, 0.36);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.brand {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 12px 8px 18px;
  border: 1px solid rgba(76, 236, 255, 0.25);
  border-radius: 999px;
  background:
    radial-gradient(circle at 86% 50%, rgba(0, 183, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(0, 183, 255, 0.12), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 12px 34px rgba(0, 183, 255, 0.12);
  overflow: visible;
  font-weight: 950;
  letter-spacing: 1px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  background:
    radial-gradient(circle at 86% 50%, rgba(76, 236, 255, 0.30), transparent 36%),
    linear-gradient(135deg, rgba(0, 183, 255, 0.18), rgba(255, 255, 255, 0.04));
  border-color: rgba(76, 236, 255, 0.44);
  transform: translateY(-1px);
}

.brand img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  object-fit: contain;
  border-radius: 50%;
  padding: 2px;
  background: rgba(2, 8, 23, 0.62);
  box-shadow:
    0 0 0 1px rgba(76, 236, 255, 0.30),
    0 0 24px rgba(0, 183, 255, 0.72);
  filter: drop-shadow(0 0 18px rgba(0, 183, 255, 0.8));
}

.brand span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-top: 2px;
  color: #f7fcff;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 1.8px;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(0, 183, 255, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(0, 183, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(76, 236, 255, 0.24);
}

.nav a:hover {
  transform: translateY(-2px) scale(1.03);
}

.menu-btn {
  position: relative;
  isolation: isolate;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.09);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-3px) scale(1.035);
  background: rgba(0, 183, 255, 0.16);
  border-color: var(--line-strong);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 20px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn.is-open span:nth-child(1),
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2),
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3),
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   Layout
============================================================ */

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title h2,
.about-card h2,
.links-section h2,
.community-cta h2,
.join-section h2,
.feature-section h2,
.profile-showcase h2,
.media-section h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.hero__text,
.section-title p,
.about-card p,
.profile-bio,
.game-card p,
.feature-card p,
.join-card p,
.community-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

/* ============================================================
   Hero
============================================================ */

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1,
.profile-info h1 {
  margin-bottom: 16px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero h1 span,
.profile-info h1 {
  color: #fff;
  text-shadow:
    0 0 22px rgba(0, 183, 255, 0.6),
    0 0 55px rgba(0, 109, 255, 0.4);
}

.hero__actions,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 18px 38px rgba(0, 119, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 24px 55px rgba(0, 183, 255, 0.44);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: #e9f8ff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  transform: translateY(-4px) scale(1.035);
  border-color: var(--line-strong);
  background: rgba(0, 183, 255, 0.12);
}

.hero__kickers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-stat {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(76, 236, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(76, 236, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.20);
}

.hero-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
}

.hero-stat b {
  color: #fff;
  font-size: 15px;
}

.hero__visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: min(520px, 84vw);
  height: min(520px, 84vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 183, 255, 0.16), transparent 62%),
    conic-gradient(from 180deg, rgba(76, 236, 255, 0.22), transparent, rgba(124, 77, 255, 0.18), transparent);
  filter: blur(2px);
  animation: slowRotate 18s linear infinite;
}

.hero__badge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  width: 100%;
  overflow: hidden;
}

.hero__badge img {
  position: relative;
  z-index: 2;
  width: min(340px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 183, 255, 0.75));
  animation: float 4s ease-in-out infinite;
}

.badge-ring,
.badge-ring::before,
.badge-ring::after {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(76, 236, 255, 0.32);
}

.badge-ring {
  width: 420px;
  height: 420px;
  max-width: 82vw;
  max-height: 82vw;
  box-shadow:
    inset 0 0 70px rgba(0, 183, 255, 0.12),
    0 0 90px rgba(0, 109, 255, 0.16);
}

.badge-ring::before {
  content: "";
  inset: 28px;
  border-style: dashed;
  animation: spin 22s linear infinite;
}

.badge-ring::after {
  content: "";
  inset: 70px;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-orbit {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid rgba(76, 236, 255, 0.32);
  border-radius: 999px;
  color: #f7fcff;
  background: rgba(2, 8, 23, 0.76);
  box-shadow: 0 16px 44px rgba(0, 183, 255, 0.18);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.5px;
}

.hero-orbit--one {
  top: 92px;
  right: 36px;
}

.hero-orbit--two {
  left: 32px;
  top: 48%;
}

.hero-orbit--three {
  right: 92px;
  bottom: 68px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slowRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ============================================================
   Games
============================================================ */

.game-strip {
  padding-top: 46px;
}

.game-grid,
.feature-grid,
.join-grid {
  display: grid;
  gap: 18px;
}

.game-grid {
  grid-template-columns: repeat(4, 1fr);
}

.game-card,
.feature-card,
.join-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 12%, rgba(76, 236, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(7, 18, 40, 0.78), rgba(4, 11, 25, 0.52));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card::after,
.feature-card::after,
.join-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.12);
  filter: blur(16px);
  pointer-events: none;
}

.game-card:hover,
.feature-card:hover,
.join-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
}

.game-card span,
.feature-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 950;
}

.game-card h3,
.feature-card h3,
.join-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.1;
}

/* ============================================================
   Streamers
============================================================ */

.streamer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-height: 560px;
  perspective: 1200px;
}

.streamer-grid--art {
  align-items: center;
  gap: clamp(14px, 2.8vw, 34px);
  min-height: 620px;
}

.streamer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(76, 236, 255, 0.32);
  border-radius: 30px;
  background: rgba(7, 18, 40, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.streamer-art-card {
  min-height: 0;
  aspect-ratio: 535 / 725;
  border: 0;
  border-radius: 36px;
  background: rgba(1, 8, 20, 0.45);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(0) rotate(-2.5deg);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.streamer-art-card--center {
  aspect-ratio: 560 / 765;
  transform: translateY(-18px) scale(1.06) rotate(1.5deg);
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(0, 183, 255, 0.28));
}

.streamer-art-card--right {
  transform: translateY(0) rotate(2.5deg);
}

.streamer-art-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(to top, rgba(1, 5, 12, 0.88), transparent 48%),
    radial-gradient(circle at 50% 12%, rgba(76, 236, 255, 0.22), transparent 38%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.streamer-art-card::after {
  display: none;
}

.streamer-art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.07);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.34));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.streamer-art-card__label {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(76, 236, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 8, 23, 0.68);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  font-weight: 950;
}

.streamer-art-card:hover {
  z-index: 10;
  transform: translateY(-44px) scale(1.11) rotate(0deg);
  filter: saturate(1.15) contrast(1.08) drop-shadow(0 0 34px rgba(0, 183, 255, 0.45));
  box-shadow: 0 28px 80px rgba(0, 183, 255, 0.22);
}

.streamer-art-card:hover::before {
  opacity: 1;
}

.streamer-art-card:hover img {
  transform: scale(1.11);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.38)) brightness(1.08);
}

/* Old overlay support kept safe in case older cards are reused later */
.streamer-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(1, 5, 12, 0.96) 0%, rgba(0, 31, 75, 0.42) 45%, rgba(0, 0, 0, 0.05) 100%);
}

.streamer-card__content {
  position: absolute;
  z-index: 4;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.streamer-card__content span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(76, 236, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 183, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.streamer-card__content h3 {
  margin: 0 0 6px;
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: 1px;
  text-shadow: 0 0 22px rgba(0, 183, 255, 0.55);
}

.streamer-card__content p {
  margin: 0;
  color: var(--muted);
}

/* ============================================================
   About / Community / Features
============================================================ */

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.about-card,
.detail-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(7, 18, 40, 0.72), rgba(4, 11, 25, 0.48));
  box-shadow: var(--shadow);
  padding: 30px;
}

.about-card {
  overflow: hidden;
}

.about-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.about-card--glow::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.18);
  filter: blur(22px);
  pointer-events: none;
}

.about-card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(76, 236, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 250px;
}

.feature-card span {
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(76, 236, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.12);
}

/* ============================================================
   Community CTA / Join
============================================================ */

.community-cta {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 24px;
  padding: 44px;
  border: 1px solid rgba(76, 236, 255, 0.32);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 183, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(124, 77, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(7, 18, 40, 0.82), rgba(4, 11, 25, 0.58));
  box-shadow: var(--shadow);
}

.community-cta__content {
  position: relative;
  z-index: 2;
}

.community-cta__panel {
  display: grid;
  gap: 14px;
}

.community-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid rgba(76, 236, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.community-line span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.community-line b {
  color: #fff;
  font-size: 18px;
}

.join-grid {
  grid-template-columns: repeat(3, 1fr);
}

.join-card {
  min-height: 210px;
}

/* ============================================================
   Profile pages
============================================================ */

.profile-page .section {
  padding-top: 72px;
  padding-bottom: 56px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 44px;
}

.profile-hero--premium {
  position: relative;
  min-height: calc(100vh - 120px);
  padding-top: 92px;
}

.profile-hero--premium::before {
  content: "";
  position: absolute;
  inset: 42px 0 20px;
  z-index: -1;
  border: 1px solid rgba(76, 236, 255, 0.16);
  border-radius: 44px;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 183, 255, 0.14), transparent 34%),
    radial-gradient(circle at 85% 78%, rgba(124, 77, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(7, 18, 40, 0.28), rgba(4, 11, 25, 0.18));
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.20);
}

.profile-info {
  max-width: 740px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(76, 236, 255, 0.28);
  border-radius: 999px;
  color: #effbff;
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 236, 255, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 30px rgba(0, 183, 255, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.angled-frame {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(76, 236, 255, 0.36);
  border-radius: 34px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  background: rgba(7, 18, 40, 0.7);
  box-shadow: 0 28px 90px rgba(0, 183, 255, 0.18);
}

.profile-image--featured {
  position: relative;
  min-height: 640px;
  border-color: rgba(76, 236, 255, 0.46);
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 183, 255, 0.18), transparent 38%),
    rgba(7, 18, 40, 0.76);
  box-shadow:
    0 28px 90px rgba(0, 183, 255, 0.20),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}

.profile-image--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(2, 8, 23, 0.42), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(76, 236, 255, 0.20), transparent 42%);
  pointer-events: none;
}

.angled-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.12);
}

.profile-image.angled-frame img {
  filter: saturate(1.08) contrast(1.04);
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.profile-details--premium {
  padding-top: 30px;
}

.detail-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-details--premium .detail-card {
  overflow: hidden;
  min-height: 138px;
  background:
    radial-gradient(circle at 16% 20%, rgba(76, 236, 255, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(7, 18, 40, 0.78), rgba(4, 11, 25, 0.54));
}

.profile-details--premium .detail-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.10);
  filter: blur(16px);
  pointer-events: none;
}

.detail-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.detail-card b {
  color: #fff;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.25;
}

.profile-showcase {
  position: relative;
}

.profile-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.media-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-card {
  min-height: 300px;
}

.profile-cta {
  margin-top: 30px;
}

.profile-cta .profile-actions {
  justify-content: flex-start;
}

.profile-cta .community-line b {
  direction: ltr;
  text-align: left;
}

/* ============================================================
   Socials / Footer
============================================================ */

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.socials a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 132px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  color: #eaf9ff;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-4px) scale(1.035);
  border-color: var(--line-strong);
  background: rgba(0, 183, 255, 0.13);
  box-shadow: 0 16px 38px rgba(0, 183, 255, 0.17);
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid rgba(76, 236, 255, 0.14);
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   Click / Hover FX
============================================================ */

a,
button,
.btn,
.nav a,
.socials a,
.streamer-card,
.streamer-art-card {
  -webkit-tap-highlight-color: transparent;
}

.btn::after,
.nav a::after,
.socials a::after,
.menu-btn::after {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.34), transparent 65%);
  transform: translateX(-80%) rotate(10deg);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.btn:hover::after,
.nav a:hover::after,
.socials a:hover::after,
.menu-btn:hover::after {
  opacity: 1;
  animation: novaShine 0.75s ease forwards;
}

.brand:hover img {
  animation: novaLogoPulse 1.1s ease infinite;
}

.click-ripple {
  position: absolute;
  z-index: 20;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(76, 236, 255, 0.75), rgba(0, 183, 255, 0.35) 45%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: novaRipple 0.62s ease-out forwards;
}

.is-clicked {
  animation: novaPress 0.28s ease;
}

@keyframes novaShine {
  from {
    transform: translateX(-90%) rotate(10deg);
  }

  to {
    transform: translateX(90%) rotate(10deg);
  }
}

@keyframes novaRipple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

@keyframes novaPress {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes novaLogoPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 18px rgba(0, 183, 255, 0.8));
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(76, 236, 255, 1));
  }
}

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 1100px) {
  .nav a {
    padding-inline: 11px;
    font-size: 14px;
  }

  .game-grid,
  .feature-grid,
  .profile-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero,
  .profile-hero,
  .about,
  .community-cta,
  .media-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
    text-align: center;
  }

  .profile-hero--premium {
    min-height: auto;
    padding-top: 58px;
  }

  .profile-hero--premium::before {
    inset: 22px 0 8px;
    border-radius: 32px;
  }

  .hero__actions,
  .profile-actions,
  .profile-cta .profile-actions {
    justify-content: center;
  }

  .profile-tags {
    justify-content: center;
  }

  .hero__kickers {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .profile-info {
    max-width: 100%;
    text-align: center;
  }

  .hero__visual,
  .hero__badge {
    min-height: 340px;
  }

  .streamer-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .streamer-grid--art {
    min-height: auto;
    gap: 22px;
  }

  .streamer-art-card,
  .streamer-art-card--center,
  .streamer-art-card--right,
  .streamer-art-card:hover {
    width: min(430px, 100%);
    aspect-ratio: 535 / 725;
    margin: 0 auto;
    transform: none;
  }

  .streamer-art-card img,
  .streamer-art-card:hover img {
    transform: scale(1.04);
  }

  .angled-frame,
  .profile-image--featured {
    width: min(520px, 100%);
    min-height: 430px;
    margin: 0 auto;
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  }

  .join-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 100px;
  }

  .header {
    border-radius: 24px;
    align-items: center;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(2, 8, 23, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    text-align: center;
  }
}

@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .nav a:hover,
  .socials a:hover,
  .menu-btn:hover,
  .brand:hover,
  .streamer-art-card:hover,
  .streamer-card:hover,
  .game-card:hover,
  .feature-card:hover,
  .join-card:hover {
    transform: none;
  }

  .streamer-art-card:hover img,
  .streamer-card:hover img {
    transform: scale(1.04);
  }

  .brand:hover img {
    animation: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 96px;
  }

  .site-bg::after {
    inset: 0;
    animation: none;
    transform: none;
  }

  .header {
    width: min(var(--max), calc(100% - 22px));
    min-height: 74px;
    margin-top: 10px;
    padding: 10px;
  }

  .brand {
    gap: 10px;
    min-height: 50px;
    padding: 7px 10px 7px 14px;
  }

  .brand img {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .brand span {
    font-size: 13px;
    letter-spacing: 1.2px;
  }

  .section {
    width: min(100% - 22px, var(--max));
    padding: 58px 0;
  }

  .profile-page .section {
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero h1,
  .profile-info h1 {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .hero__text,
  .section-title p,
  .about-card p,
  .profile-bio,
  .game-card p,
  .feature-card p,
  .join-card p,
  .community-cta p {
    font-size: 16px;
  }

  .section-title h2,
  .about-card h2,
  .links-section h2,
  .community-cta h2,
  .join-section h2,
  .feature-section h2,
  .profile-showcase h2,
  .media-section h2 {
    font-size: 36px;
  }

  .hero__kickers,
  .game-grid,
  .feature-grid,
  .profile-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    min-height: auto;
  }

  .hero__visual,
  .hero__badge {
    min-height: 320px;
  }

  .hero__badge img {
    width: min(250px, 68vw);
  }

  .badge-ring {
    width: 310px;
    height: 310px;
  }

  .hero-orbit {
    display: none;
  }

  .streamer-art-card {
    border-radius: 26px;
  }

  .about-card,
  .detail-card,
  .game-card,
  .feature-card,
  .join-card {
    padding: 24px;
    border-radius: 22px;
  }

  .community-cta {
    padding: 26px;
    border-radius: 26px;
  }

  .community-line {
    display: grid;
    gap: 4px;
    justify-content: stretch;
    text-align: center;
  }

  .profile-cta .community-line b {
    text-align: center;
  }

  .angled-frame,
  .profile-image--featured {
    min-height: 400px;
    border-radius: 26px;
  }

  .profile-tags span {
    min-height: 36px;
    font-size: 12px;
  }

  .socials a {
    width: 100%;
  }

  .footer {
    width: min(100% - 22px, var(--max));
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }

  .hero h1,
  .profile-info h1 {
    font-size: 42px;
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .profile-actions {
    width: 100%;
  }

  .angled-frame,
  .profile-image--featured {
    min-height: 360px;
  }
}

/* ============================================================
   Reduced motion
============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .click-ripple,
  .is-clicked,
  .btn::after,
  .nav a::after,
  .socials a::after,
  .menu-btn::after,
  .brand:hover img {
    animation: none !important;
  }
}