:root {
  --frames-bg-1: #12051f;
  --frames-bg-2: #2b0a44;
  --frames-bg-3: #4b1360;
  --frames-pink: #ff2f75;
  --frames-redpink: #ff4f88;
  --frames-teal: #23d1d8;
  --frames-cyan: #52e9ff;
  --frames-text: #f4efff;
  --glass-bg: rgba(25, 14, 40, 0.45);
  --glass-border: rgba(130, 245, 255, 0.26);
  --logo-shadow-cyan: rgba(35, 209, 216, 0.45);
  --logo-shadow-pink: rgba(255, 79, 136, 0.42);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body,
.frames-body {
  margin: 0;
  color: var(--frames-text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.78), rgba(6, 9, 16, 0.84)),
    url('/images/Wallpaper_FM.jpg') center / cover fixed no-repeat,
    radial-gradient(circle at 16% 12%, rgba(103, 130, 158, 0.2) 0%, rgba(10, 13, 20, 0) 42%),
    radial-gradient(circle at 84% 14%, rgba(84, 108, 132, 0.14) 0%, rgba(8, 10, 16, 0) 40%),
    linear-gradient(180deg, #0a0d13 0%, #0c1017 50%, #090c12 100%);
  overflow-x: hidden;
}

.frames-body {
  position: relative;
  isolation: isolate;
}

.frames-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(167, 182, 198, 0.08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(167, 182, 198, 0.08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(32deg, rgba(111, 130, 151, 0.06) 0 1px, transparent 1px 120px),
    radial-gradient(circle at 26% 34%, rgba(160, 178, 196, 0.08) 0 2px, transparent 2.6px),
    radial-gradient(circle at 72% 62%, rgba(129, 148, 170, 0.08) 0 2px, transparent 2.6px),
    linear-gradient(180deg, rgba(9, 12, 18, 0.72), rgba(8, 10, 15, 0.85));
  background-size: 56px 56px, 56px 56px, 180px 180px, 280px 280px, 260px 260px, auto;
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: industrialGridShift 40s linear infinite;
  pointer-events: none;
  z-index: -2;
}

.frames-body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center 62%, rgba(120, 140, 162, 0.1) 0%, rgba(120, 140, 162, 0.02) 34%, rgba(0, 0, 0, 0) 68%),
    radial-gradient(circle at 50% 88%, rgba(180, 70, 70, 0.08) 0%, rgba(180, 70, 70, 0) 30%),
    linear-gradient(180deg, rgba(5, 8, 14, 0) 0%, rgba(4, 6, 12, 0.5) 100%);
  filter: blur(7px);
  pointer-events: none;
  z-index: -2;
}

h1,
h2,
h3,
.navbar-brand,
.frames-brand-text {
  font-family: 'Rajdhani', 'Outfit', sans-serif;
  letter-spacing: 0.03em;
}

a {
  color: var(--frames-teal);
}

a:hover {
  color: var(--frames-redpink);
}

.animated-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.58;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 330px;
  height: 330px;
  left: -80px;
  top: 60px;
  background: radial-gradient(circle, rgba(255, 47, 117, 0.34), rgba(255, 47, 117, 0));
}

.orb-2 {
  width: 290px;
  height: 290px;
  right: -60px;
  top: 180px;
  background: radial-gradient(circle, rgba(35, 209, 216, 0.3), rgba(35, 209, 216, 0));
  animation-delay: 1.5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  right: 16%;
  bottom: -220px;
  background: radial-gradient(circle, rgba(176, 70, 255, 0.35), rgba(176, 70, 255, 0));
  animation-delay: 3.5s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(146, 164, 182, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 164, 182, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.65), transparent 90%);
  animation: industrialSweep 44s linear infinite;
}

.frames-navbar {
  background: linear-gradient(90deg, rgba(24, 7, 38, 0.9), rgba(89, 17, 95, 0.86));
  border-color: rgba(255, 79, 136, 0.4) !important;
  backdrop-filter: blur(10px);
}

.content-shell {
  position: relative;
  max-width: 1160px;
}

.frames-brand,
.frames-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--frames-text);
  text-decoration: none;
}

.frames-brand-text {
  font-weight: 700;
  font-size: 1.2rem;
}

.fm-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.9;
  text-transform: uppercase;

  position: relative;
  top: -50px;
}

.fm-wordmark-top {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.8em;
  color: #ecf0ff;
  text-shadow: 0 0 10px rgba(82, 233, 255, 0.26);
}

.fm-wordmark-bottom {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 1.05em;
  background: linear-gradient(90deg, #5ae7ff 0%, #b55bff 40%, #ff4f88 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-14deg) translateY(-2px);
  text-shadow: 0 0 12px rgba(255, 79, 136, 0.28);
}

.fm-wordmark--compact {
  font-size: 1rem;
}

.fm-wordmark--hero {
  display: inline-flex;
  margin: -0.35rem 0 0.35rem;
  font-size: clamp(4rem, 12.4vw, 8rem);
}

.fm-wordmark--hero .fm-wordmark-top {
  font-size: 0.42em;
  letter-spacing: 0.18em;
}

.fm-wordmark--hero .fm-wordmark-bottom {
  font-size: 0.66em;
  letter-spacing: 0.18em;
  font-style: normal;
  transform: translateY(0);
  background: none;
  color: #ecf0ff;
  text-shadow: 0 0 10px rgba(82, 233, 255, 0.26);
}

.fm-wordmark--footer {
  font-size: 0.88rem;
}

.fm-wordmark--footer .fm-wordmark-bottom {
  font-style: normal;
  transform: translateY(0);
}

.frames-nav-link {
  color: var(--frames-text) !important;
  opacity: 0.92;
  transition: color .2s ease, text-shadow .2s ease;
}

.frames-navbar .navbar-nav {
  gap: 0.6rem;
}

.frames-navbar .nav-item {
  margin-right: 0.35rem;
}

.nav-fm-mini-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 0.38rem;
  vertical-align: -7px;
  filter: drop-shadow(0 0 6px rgba(82, 233, 255, 0.35));
}

.frames-nav-link:hover,
.frames-nav-link:focus-visible {
  color: var(--frames-cyan) !important;
  text-shadow: 0 0 12px rgba(35, 209, 216, 0.65);
}

.frames-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 100%;
  border-radius: 10px;
  mix-blend-mode: screen;
  filter: saturate(0.85) contrast(1.08) brightness(0.9) drop-shadow(0 0 8px var(--logo-shadow-cyan)) drop-shadow(0 0 10px var(--logo-shadow-pink));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.frames-logo-nav {
  max-height: 100px;
}

.frames-logo-footer {
  max-height: 42px;
}

.frames-brand:hover .frames-logo,
.frames-footer-brand:hover .frames-logo {
  filter: drop-shadow(0 0 12px rgba(35, 209, 216, 0.72)) drop-shadow(0 0 18px rgba(255, 47, 117, 0.72));
  transform: translateY(-2px) scale(1.015);
}

.glass-panel,
.glass-card {
  background: rgba(18, 14, 32, 0.72);
  border: 1px solid rgba(145, 225, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(6, 4, 16, 0.45);
}

.clean-esports-page {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.6rem;
  position: relative;
  isolation: isolate;
  padding: 0.4rem 0.35rem 1.2rem;
}

.clean-esports-page::before {
  content: "";
  position: absolute;
  inset: -0.5rem -1rem auto -1rem;
  min-height: 46vh;
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.62) 0%, rgba(8, 7, 18, 0.84) 70%, rgba(10, 8, 20, 0.98) 100%);
  border-radius: 20px;
  z-index: 0;
  box-shadow: none;
}

.clean-esports-page::after {
  content: "";
  position: absolute;
  inset: 32% -4% 8% -4%;
  background:
    linear-gradient(155deg, rgba(142, 26, 174, 0.62), rgba(43, 24, 106, 0.65)),
    url('/images/Wallpaper_FM.jpg') center / cover no-repeat;
  clip-path: polygon(0 8%, 100% 0, 96% 100%, 4% 100%);
  opacity: 0.58;
  z-index: 0;
  filter: saturate(1.15) contrast(1.05);
  box-shadow: none;
}

.clean-esports-page>* {
  position: relative;
  z-index: 1;
}

.lightning-ring-bg {
  position: absolute;
  inset: 6% -8% auto -8%;
  min-height: 44vh;
  border-radius: 22px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at center, rgba(7, 6, 18, 0.95) 0%, rgba(8, 7, 20, 0.86) 32%, rgba(10, 8, 24, 0.18) 58%, rgba(10, 8, 24, 0) 70%),
    conic-gradient(from 18deg at 50% 49%, rgba(105, 198, 255, 0.76) 0deg 26deg, rgba(0, 0, 0, 0) 26deg 56deg, rgba(150, 98, 255, 0.72) 56deg 86deg, rgba(0, 0, 0, 0) 86deg 126deg, rgba(102, 232, 255, 0.7) 126deg 156deg, rgba(0, 0, 0, 0) 156deg 196deg, rgba(176, 70, 255, 0.76) 196deg 226deg, rgba(0, 0, 0, 0) 226deg 266deg, rgba(99, 212, 255, 0.75) 266deg 296deg, rgba(0, 0, 0, 0) 296deg 336deg, rgba(255, 88, 208, 0.7) 336deg 360deg),
    radial-gradient(circle at 50% 50%, rgba(114, 196, 255, 0) 46%, rgba(114, 196, 255, 0.85) 50%, rgba(164, 116, 255, 0.78) 54%, rgba(0, 0, 0, 0) 61%);
  filter: blur(0.3px) saturate(1.22) brightness(1.08) drop-shadow(0 0 12px rgba(82, 233, 255, 0.36)) drop-shadow(0 0 18px rgba(161, 97, 255, 0.34));
  animation: lightningPulse 6.5s ease-in-out infinite alternate;
}

.lightning-ring-bg::before,
.lightning-ring-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.lightning-ring-bg::before {
  background:
    repeating-conic-gradient(from 8deg at 50% 50%, rgba(180, 232, 255, 0.7) 0deg 1.2deg, rgba(0, 0, 0, 0) 1.2deg 11deg, rgba(119, 188, 255, 0.72) 11deg 12.3deg, rgba(0, 0, 0, 0) 12.3deg 21deg, rgba(190, 132, 255, 0.68) 21deg 22.2deg, rgba(0, 0, 0, 0) 22.2deg 31deg),
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 40%, rgba(100, 220, 255, 0.24) 48%, rgba(0, 0, 0, 0) 58%);
  clip-path: ellipse(44% 32% at 50% 50%);
  opacity: 0.55;
  animation: lightningArcShift 14s linear infinite;
}

.lightning-ring-bg::after {
  background:
    radial-gradient(circle at 30% 44%, rgba(95, 193, 255, 0.46) 0%, rgba(95, 193, 255, 0) 30%),
    radial-gradient(circle at 66% 58%, rgba(190, 120, 255, 0.42) 0%, rgba(190, 120, 255, 0) 32%),
    radial-gradient(circle at 54% 36%, rgba(255, 102, 214, 0.28) 0%, rgba(255, 102, 214, 0) 20%);
  opacity: 0.72;
  animation: lightningSparkle 7.2s ease-in-out infinite;
}

.hero-stage {
  min-height: 68vh;
  border-radius: 1.15rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  gap: 1.4rem;
  align-items: center;
  border: none;
  background:
    linear-gradient(110deg, rgba(8, 10, 22, 0.92) 0%, rgba(8, 10, 22, 0.72) 45%, rgba(8, 10, 22, 0.62) 100%),
    url('/images/rankedwallpapeer.png') center 26% / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 46%, rgba(82, 233, 255, 0.16), rgba(82, 233, 255, 0));
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(120deg, #66eeff 0%, #be5cff 45%, #ff4f88 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-stage__content {
  position: relative;
  z-index: 1;
}

.hero-stage__claim {
  margin: 0 0 0.7rem;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(1.8rem, 5vw, 4rem);
}

.hero-stage__claim span {
  color: #ff365f;
  text-shadow: 0 0 14px rgba(255, 54, 95, 0.55);
}

.hero-stage .lead {
  max-width: 56ch;
  color: rgba(233, 242, 255, 0.86);
}

.hero-stage__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-stage__logo img {
  width: min(100%, 340px);
  filter: drop-shadow(0 0 16px rgba(82, 233, 255, 0.28)) drop-shadow(0 0 22px rgba(255, 79, 136, 0.28));
  opacity: 0.9;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.stats-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  background: rgba(16, 12, 34, 0.46);
  border: 1px solid rgba(255, 79, 136, 0.16);
  border-radius: 0.8rem;
}

.stats-strip i {
  grid-row: 1 / span 2;
  color: #ff4f88;
  font-size: 0.92rem;
}

.stats-strip strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.stats-strip span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: rgba(206, 220, 247, 0.74);
}

.tekken-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  gap: 1.1rem;
  align-items: center;
}

.tekken-stage h2 {
  margin: 0.1rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-transform: uppercase;
}

.tekken-stage__text>p {
  color: rgba(223, 234, 255, 0.83);
  max-width: 62ch;
}

.tekken-stage__facts {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tekken-stage__facts .glass-card {
  padding: 1rem;
}

.tekken-stage__facts i {
  color: var(--frames-cyan);
  margin-bottom: 0.45rem;
}

.tekken-stage__facts h3 {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  font-size: 1rem;
}

.tekken-stage__facts p {
  margin: 0;
  color: rgba(230, 236, 255, 0.72);
  font-size: 0.88rem;
}

.tekken-stage__visual {
  min-height: 340px;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 79, 136, 0.28);
  background:
    linear-gradient(125deg, rgba(10, 8, 26, 0.35), rgba(10, 8, 26, 0.35)),
    url('/images/t6.webp') center / cover no-repeat;
  box-shadow: 0 14px 30px rgba(6, 4, 16, 0.45);
}

.community-panel--cta {
  text-align: center;
  padding: clamp(1.5rem, 3.8vw, 2.8rem) 1.2rem;
}

.community-panel--cta h2 {
  margin: 0.3rem 0 0.6rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
}

.community-panel--cta h2 span {
  color: #ff2f49;
}

.community-panel--cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 62ch;
  color: rgba(233, 240, 255, 0.8);
}

.community-panel--cta .intro-band__actions {
  justify-content: center;
}

.intro-band {
  margin-top: 0.8rem;
  padding: 1.35rem 1.2rem 1.2rem;
  border-radius: 1rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.intro-band::after {
  content: none;
  position: absolute;
  inset: auto -30% -60% auto;
  width: 380px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 47, 117, 0.22), rgba(255, 47, 117, 0));
  pointer-events: none;
}

.intro-band__left {
  display: grid;
  gap: 0.55rem;
}

.intro-band .lead {
  margin: 0;
  max-width: 68ch;
  color: rgba(238, 245, 255, 0.9);
}

.intro-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.frames-section {
  padding: 0.25rem 0 0.7rem;
}

#features.frames-section {
  margin-top: 6rem;
}

.section-shell {
  border: 1px solid rgba(86, 190, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(18, 14, 36, 0.68), rgba(16, 10, 30, 0.42));
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 79, 136, 0.16);
  pointer-events: none;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.88;
}

.feature-wordmark-top {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.58em;
  color: #f0f4ff;
  text-shadow: 0 0 8px rgba(82, 233, 255, 0.32);
}

.feature-wordmark-bottom {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: 0.95em;
  background: linear-gradient(90deg, #66eeff 0%, #be5cff 44%, #ff4f88 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-14deg) translateY(-2px);
}

.section-chip {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.52rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #95f1ff;
  border: 1px solid rgba(82, 233, 255, 0.35);
  border-radius: 999px;
  background: rgba(26, 26, 52, 0.55);
}

.cyber-panel {
  box-shadow: inset 0 0 0 1px rgba(255, 79, 136, 0.1), 0 14px 30px rgba(5, 2, 12, 0.48);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.features-grid>.glass-card {
  grid-column: 1;
  width: 100%;
}

.roster-link-card {
  display: block;
  color: inherit;
}

.roster-link-card:hover,
.roster-link-card:focus-visible {
  color: inherit;
}

.discord-page {
  margin-top: 1rem;
  padding: 1.2rem;
}

.discord-page__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 616px;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.discord-page__quotes {
  display: grid;
  gap: 1.35rem;
}

.discord-page__quote {
  margin: 0;
  align-self: start;
  justify-self: start;
  max-width: 36rem;
  padding: 0.85rem 1.15rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.04rem, 2.25vw, 1.56rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffe6f0;
  border: 1px solid rgba(255, 79, 136, 0.5);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(255, 47, 117, 0.24), rgba(90, 33, 120, 0.2));
  box-shadow: 0 0 18px rgba(255, 79, 136, 0.24);
}

.discord-page__heidi-box {
  justify-self: end;
  width: 605px;
  padding: 0.55rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 79, 136, 0.45);
  background: rgba(16, 12, 34, 0.62);
  box-shadow: 0 0 16px rgba(82, 233, 255, 0.18);
}

.discord-page__heidi {
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
  display: block;
  cursor: zoom-in;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(3px);
  display: none;
  place-items: center;
  padding: 1rem;
}

.image-zoom-overlay.is-open {
  display: grid;
}

.image-zoom-content {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid rgba(82, 233, 255, 0.4);
  box-shadow: 0 0 24px rgba(82, 233, 255, 0.3), 0 0 38px rgba(255, 79, 136, 0.2);
}

.image-zoom-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(13, 18, 32, 0.82);
  color: #f4efff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.discord-page__widget-wrap {
  border: 1px solid rgba(86, 190, 255, 0.3);
  border-radius: 0.95rem;
  padding: 1.1rem;
  background: rgba(10, 10, 24, 0.58);
  display: grid;
  place-items: stretch;
}

.discord-page__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.discord-widget-replacement {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.main-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 140px;
  margin-bottom: 24px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 55px 12px 55px 12px;
  background: rgba(20, 13, 35, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.main-button::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(120deg, rgba(155, 92, 255, 0.18), rgba(255, 63, 142, 0.16), rgba(54, 228, 218, 0.13));
  transition: opacity .25s ease;
}

.main-button:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 92, 255, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 25px rgba(155, 92, 255, 0.18);
}

.main-button:hover::before {
  opacity: 1;
}

.main-button-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.button-icon {
  display: grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 22px;
  font-size: 34px;
  background: linear-gradient(135deg, #9b5cff, #ff3f8e);
  box-shadow: 0 10px 25px rgba(155, 92, 255, 0.3);
}

.button-text {
  flex: 1;
}

.button-text h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 4vw, 30px);
}

.button-text p {
  margin: 0;
  color: #c9c6d3;
  line-height: 1.5;
}

.button-arrow {
  font-size: 28px;
  transition: transform .25s ease;
}

.main-button:hover .button-arrow {
  transform: translateX(7px);
}

.fm-button {
  border-color: rgba(255, 63, 142, 0.25);
}

.contact-toggle {
  margin-bottom: 24px;
}

.contact-toggle__summary {
  list-style: none;
  cursor: pointer;
  margin-bottom: 0;
}

.contact-toggle__summary::-webkit-details-marker {
  display: none;
}

.contact-toggle__arrow {
  transition: transform .25s ease;
}

.contact-toggle[open] .contact-toggle__arrow {
  transform: rotate(90deg);
}

.contact-toggle__panel {
  margin-top: -8px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0 0 14px 14px;
  background: rgba(20, 13, 35, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.discord-contact-form .form-control {
  background: rgba(13, 11, 27, 0.72);
  border: 1px solid rgba(98, 209, 255, 0.3);
  color: #f4efff;
}

.discord-contact-form .form-control::placeholder {
  color: rgba(216, 226, 244, 0.58);
}

.discord-contact-form .form-label {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(178, 228, 255, 0.9);
}

.contact-status-message {
  font-size: 0.92rem;
  color: rgba(201, 198, 211, 0.95);
}

.contact-status-message.is-success {
  color: #7bffb8;
}

.contact-status-message.is-error {
  color: #ff9baf;
}

.widget-panel {
  position: relative;
  min-height: 480px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(20, 13, 35, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.widget-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #9b5cff, #ff3f8e, #ff304f, #36e4da);
}

.server-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.server-information {
  display: flex;
  align-items: center;
  gap: 18px;
}

.server-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #9b5cff, #ff304f);
}

.server-name {
  margin: 0 0 5px;
  font-size: 24px;
}

.server-join-btn {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c9c6d3;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23a55a;
  box-shadow: 0 0 12px rgba(35, 165, 90, 0.8);
}

.refresh-button {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  transition: background .2s ease, transform .2s ease;
}

.refresh-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.widget-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
}

.widget-column {
  min-width: 0;
}

.column-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px;
  font-size: 18px;
}

.count-badge {
  min-width: 34px;
  padding: 5px 10px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  background: #5865f2;
}

.channel-list,
.member-list {
  display: grid;
  gap: 10px;
}

.channel-item,
.member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.channel-item:hover,
.member-item:hover {
  transform: translateX(4px);
  border-color: rgba(155, 92, 255, 0.35);
  background: rgba(155, 92, 255, 0.09);
}

.channel-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.16);
}

.member-avatar-wrapper {
  position: relative;
  flex: 0 0 42px;
}

.member-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #2b2d31;
}

.member-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  border: 3px solid #181220;
  border-radius: 50%;
  background: #23a55a;
}

.member-name {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.member-activity {
  margin-top: 4px;
  color: #c9c6d3;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.empty-message,
.loading-message,
.error-message {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #c9c6d3;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.error-message {
  color: #ff9baf;
  border-color: rgba(255, 48, 79, 0.35);
}

.hidden {
  display: none;
}

.live-comms-toggle {
  padding: 0;
}

.live-comms-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.45rem;
}

.live-comms-summary::-webkit-details-marker {
  display: none;
}

.live-comms-panel {
  padding: 0 1.45rem 1.35rem;
  border-top: 1px solid rgba(82, 233, 255, 0.28);
  background: rgba(10, 7, 22, 0.68);
}

.live-comms-panel ol {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.live-comms-panel li {
  margin-bottom: 0.45rem;
  color: rgba(239, 247, 255, 0.92);
}

.live-comms-panel li:last-child {
  margin-bottom: 0;
}

.glass-card {
  border-radius: 0.95rem;
  padding: 1.45rem;
  background: linear-gradient(155deg, rgba(27, 19, 52, 0.84), rgba(17, 13, 36, 0.84));
  border: 1px solid rgba(86, 190, 255, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(8, 4, 20, 0.35);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(82, 233, 255, 0.16), transparent);
  transition: left .45s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 136, 0.52);
  box-shadow: 0 18px 32px rgba(8, 4, 20, 0.45), 0 0 16px rgba(82, 233, 255, 0.18);
}

.glass-card:hover::before {
  left: 115%;
}

.live-comms-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t3.jpg') center 24% / cover no-repeat;
}

.ranked-mindset-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t4.jpg') center 24% / cover no-repeat;
}

.member-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t9.jpg') center 24% / cover no-repeat;
}

.creative-content-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t5.jpg') center 24% / cover no-repeat;
}

.combo-news-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t6.webp') center 24% / cover no-repeat;
}

.discord-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t7.jpg') center 24% / cover no-repeat;
}

.clanwar-card {
  background:
    linear-gradient(155deg, rgba(15, 10, 34, 0.82), rgba(8, 6, 20, 0.85)),
    url('/images/t8.webp') center 24% / cover no-repeat;
}

.clanwar-card .card-icon {
  background: linear-gradient(135deg, rgba(255, 47, 117, 0.42), rgba(255, 152, 64, 0.28));
  border-color: rgba(255, 213, 170, 0.62);
  box-shadow: 0 0 18px rgba(255, 95, 109, 0.38), 0 0 26px rgba(255, 171, 82, 0.2);
}

.clanwar-card .card-icon i {
  color: #ffe8d5;
  text-shadow: 0 0 12px rgba(255, 134, 59, 0.55);
}

.card-icon {
  font-size: 1.4rem;
  color: #f8fbff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, rgba(82, 233, 255, 0.3), rgba(255, 47, 117, 0.24));
  border: 1px solid rgba(198, 240, 255, 0.36);
  box-shadow: 0 0 14px rgba(82, 233, 255, 0.24);
}

.btn-neon,
.btn-neon-outline {
  border-radius: 999px;
  padding: .68rem 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-neon {
  background: linear-gradient(135deg, #60218c, #ff2f75);
  border: 1px solid rgba(242, 193, 255, 0.48);
  box-shadow: 0 10px 20px rgba(255, 47, 117, 0.25);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 47, 117, 0.45), 0 0 22px rgba(82, 233, 255, 0.24);
}

.btn-neon-outline {
  border: 1px solid rgba(82, 233, 255, 0.65);
  color: var(--frames-text);
}

.btn-neon-outline:hover {
  color: #0d172a;
  background: rgba(82, 233, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(82, 233, 255, 0.52);
}

.community-panel {
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fm-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.fm-roster {
  width: min(100%, 1280px);
  margin: 60px auto;
  padding: 30px;
  color: #ffffff;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(82, 233, 255, 0.14), rgba(82, 233, 255, 0) 42%),
    radial-gradient(circle at 82% 0%, rgba(255, 47, 117, 0.2), rgba(255, 47, 117, 0) 44%),
    linear-gradient(145deg, rgba(31, 14, 46, 0.76), rgba(19, 10, 34, 0.78));
  border: 1px solid rgba(108, 226, 255, 0.3);
  box-shadow: 0 22px 44px rgba(4, 3, 12, 0.45), 0 0 20px rgba(82, 233, 255, 0.12);
}

.fm-roster__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.fm-roster__eyebrow {
  color: #36e4da;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.fm-roster__header h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 5vw, 48px);
}

.fm-roster__count {
  display: grid;
  min-width: 48px;
  min-height: 38px;
  padding: 8px 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.fm-roster__count-wrap {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
}

.fm-roster__count-label {
  color: rgba(230, 243, 255, 0.78);
  font-weight: 600;
  letter-spacing: .03em;
}

.fm-roster__toolbar {
  display: grid;
  gap: .55rem;
  margin-bottom: .8rem;
}

.fm-roster__search-label {
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(210, 246, 255, 0.84);
}

.fm-roster__search {
  width: 100%;
  padding: .82rem 1rem;
  border-radius: .9rem;
  border: 1px solid rgba(113, 220, 255, 0.32);
  background: linear-gradient(140deg, rgba(13, 18, 37, 0.82), rgba(19, 11, 34, 0.8));
  color: #ecf5ff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.fm-roster__search:focus {
  border-color: rgba(255, 79, 136, 0.56);
  box-shadow: 0 0 0 3px rgba(255, 79, 136, 0.18), 0 0 14px rgba(82, 233, 255, 0.2);
}

.fm-roster__search::placeholder {
  color: rgba(225, 232, 245, 0.62);
}

.fm-roster__results {
  margin: 0 0 1rem;
  color: rgba(206, 244, 255, 0.82);
  font-size: .92rem;
}

.fm-roster__state {
  margin-bottom: 1rem;
}

.fm-roster__spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: .55rem;
  border: 2px solid rgba(82, 233, 255, 0.2);
  border-top-color: #52e9ff;
  border-radius: 50%;
  vertical-align: -4px;
  animation: fmSpin .8s linear infinite;
}

.fm-roster__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fm-player-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(121, 229, 255, 0.28);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 14% 12%, rgba(82, 233, 255, 0.18), rgba(82, 233, 255, 0) 42%),
    radial-gradient(circle at 85% 0%, rgba(255, 47, 117, 0.24), rgba(255, 47, 117, 0) 45%),
    linear-gradient(165deg, rgba(26, 15, 46, 0.78), rgba(17, 10, 31, 0.82));
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(7, 4, 18, 0.45), 0 0 16px rgba(82, 233, 255, 0.12);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.fm-player-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(110deg, rgba(8, 7, 20, 0.22), rgba(8, 7, 20, 0));
}

.fm-player-card::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  content: "";
  border-radius: 999px;
  opacity: 0.75;
  background: linear-gradient(90deg, #8b4dff, #ff3f91, #ff304f, #36e4da);
}

.fm-player-card__content {
  display: flex;
  min-height: 250px;
  padding: 1.35rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.fm-player-card__tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(54, 228, 218, 0.3);
  border-radius: 999px;
  color: #36e4da;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  background: rgba(5, 3, 11, 0.62);
}

.fm-player-card__name {
  margin: 0;
  color: transparent;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, #8b4dff, #ff3f91, #ff304f, #36e4da);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}

.fm-player-card__id {
  margin: 10px 0 0;
  color: #aaa5b5;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.fm-player-card__meta {
  margin: .46rem 0 0;
  color: rgba(233, 242, 255, 0.92);
  font-size: .92rem;
}

.fm-player-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(131, 231, 255, 0.48);
  margin-bottom: .65rem;
  box-shadow: 0 0 12px rgba(82, 233, 255, 0.2);
}

.fm-player-card__status {
  font-weight: 700;
}

.fm-player-card__status--online {
  color: #76ffd6;
}

.fm-player-card__status--idle {
  color: #ffd27a;
}

.fm-player-card__status--dnd {
  color: #ff8ea6;
}

.fm-player-card__profile {
  display: inline-flex;
  margin-top: auto;
  padding: .45rem .75rem;
  border-radius: .7rem;
  color: #dff7ff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(93, 220, 255, 0.44);
  background: linear-gradient(145deg, rgba(44, 170, 208, 0.26), rgba(160, 65, 255, 0.24));
  box-shadow: 0 0 10px rgba(82, 233, 255, 0.2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fm-player-card__profile:hover {
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 79, 136, 0.55);
  box-shadow: 0 0 14px rgba(255, 79, 136, 0.28), 0 0 18px rgba(82, 233, 255, 0.28);
}

.fm-player-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 79, 136, 0.55);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.52), 0 0 20px rgba(82, 233, 255, 0.22), 0 0 26px rgba(255, 79, 136, 0.2);
}

.fm-roster__message {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: #aaa5b5;
  text-align: center;
}

.members-page {
  display: grid;
  gap: 1rem;
}

.members-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(32, 14, 54, 0.72), rgba(18, 11, 33, 0.8));
  border: 1px solid rgba(113, 220, 255, 0.25);
}

.members-page__head h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.8vw, 2.3rem);
}

.members-page__head p {
  margin: .35rem 0 0;
  color: rgba(226, 244, 255, 0.86);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.member-data-card {
  padding: 1.1rem;
  border-radius: .95rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(82, 233, 255, 0.16), rgba(82, 233, 255, 0) 44%),
    linear-gradient(165deg, rgba(26, 15, 46, 0.78), rgba(17, 10, 31, 0.82));
  border: 1px solid rgba(121, 229, 255, 0.26);
  box-shadow: 0 10px 24px rgba(7, 4, 18, 0.35);
}

.member-data-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.2rem;
}

.member-data-card p {
  margin: .35rem 0;
  color: rgba(233, 242, 255, 0.92);
}

.member-data-card a {
  display: inline-flex;
  margin-top: .75rem;
  padding: .45rem .75rem;
  border-radius: .7rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(93, 220, 255, 0.44);
  background: linear-gradient(145deg, rgba(44, 170, 208, 0.26), rgba(160, 65, 255, 0.24));
  color: #dff7ff;
}

.members-page__error {
  padding: 1rem;
  border-radius: .85rem;
  border: 1px solid rgba(255, 48, 79, 0.38);
  background: rgba(90, 20, 42, 0.36);
  color: #ffd4df;
}

.members-page__empty {
  padding: 1rem;
  border-radius: .85rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(233, 242, 255, 0.84);
}

@keyframes fmSpin {
  to {
    transform: rotate(360deg);
  }
}

.fm-member-card {
  background: linear-gradient(155deg, rgba(26, 18, 50, 0.82), rgba(17, 12, 33, 0.82));
  border: 1px solid rgba(82, 233, 255, 0.24);
  backdrop-filter: blur(14px);
  border-radius: 1.05rem;
  padding: 1rem;
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fm-member-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  margin-bottom: .8rem;
}

.fm-member-card h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
}

.fm-member-card p {
  margin: 0;
  color: rgba(244, 239, 255, 0.86);
  font-size: .92rem;
}

.fm-member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 136, 0.52);
  box-shadow: 0 18px 32px rgba(8, 4, 20, 0.45), 0 0 12px rgba(82, 233, 255, 0.2);
}

.frames-footer {
  background: linear-gradient(90deg, rgba(30, 10, 43, 0.9), rgba(62, 14, 66, 0.9));
  border-color: rgba(35, 209, 216, 0.25) !important;
  margin-top: 2rem;
}

.frames-footer,
.frames-footer a,
.frames-footer-brand {
  color: var(--frames-text);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem rgba(35, 209, 216, 0.8);
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(20px, -16px, 0) scale(1.08);
  }
}

@keyframes gridShift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(42px);
  }
}

@keyframes industrialGridShift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 56px, 56px 0, 28px 18px, -20px 24px, 16px -18px, 0 0;
  }
}

@keyframes industrialSweep {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.45;
  }
  50% {
    opacity: 0.58;
  }
  to {
    transform: translate3d(0, 54px, 0);
    opacity: 0.45;
  }
}

@keyframes lightningPulse {
  0% {
    opacity: 0.5;
    transform: translate3d(0, 0, 0) scale(0.985);
  }
  100% {
    opacity: 0.7;
    transform: translate3d(0, -4px, 0) scale(1.015);
  }
}

@keyframes lightningArcShift {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.03);
  }
}

@keyframes lightningSparkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

@media (max-width: 991.98px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stage__logo {
    justify-content: start;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tekken-stage {
    grid-template-columns: 1fr;
  }

  .tekken-stage__visual {
    min-height: 260px;
  }

  .intro-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .features-grid>.glass-card {
    grid-column: span 6;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band__actions {
    width: 100%;
  }

  .section-shell {
    padding: 0.9rem;
  }

  .fm-roster__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .tekken-stage__facts {
    grid-template-columns: 1fr;
  }

  .discord-page__head {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .discord-page__content {
    grid-template-columns: 1fr;
  }

  .main-button {
    min-height: 120px;
    padding: 23px;
    border-radius: 35px 10px 35px 10px;
  }

  .button-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 27px;
  }

  .button-arrow {
    display: none;
  }

  .widget-panel {
    padding: 24px 18px;
  }

  .server-header,
  .server-information {
    align-items: flex-start;
  }

  .server-header {
    flex-direction: column;
  }

  .widget-grid {
    grid-template-columns: 1fr;
  }

  .refresh-button {
    width: 100%;
  }

  .discord-page__quote {
    max-width: none;
    justify-self: stretch;
  }

  .discord-page__heidi-box {
    justify-self: center;
    width: min(605px, 100%);
  }

  .discord-page__widget-wrap iframe {
    min-height: 520px;
  }

  .fm-wordmark--compact {
    font-size: 0.88rem;
  }

  .clean-esports-page::before {
    min-height: 36vh;
    inset: -0.4rem -0.5rem auto -0.5rem;
  }

  .lightning-ring-bg {
    inset: 8% -10% auto -10%;
    min-height: 34vh;
    opacity: 0.5;
  }

  .clean-esports-page::after {
    inset: 30% -2% 10% -2%;
    opacity: 0.52;
  }

  .features-grid {
    gap: 0.8rem;
  }

  .features-grid>.glass-card {
    grid-column: span 12;
  }

  .members-page__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .fm-roster {
    padding: 18px;
  }

  .fm-roster__grid {
    grid-template-columns: 1fr;
  }

  .fm-player-card,
  .fm-player-card__content {
    min-height: 190px;
  }

  .fm-player-card {
    border-radius: 30px 12px 30px 12px;
  }

  .intro-band {
    padding: 1.05rem 0.9rem;
  }

  .intro-band__actions .btn {
    width: 100%;
  }

  .community-panel {
    padding: 1.05rem 0.95rem;
  }

  .section-shell {
    padding: 0.78rem;
  }

  .section-chip {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    animation-duration: 18s;
    filter: blur(6px);
  }
}
a,
a:link,
a:visited,
a:hover {
    text-decoration: none !important;
}
