:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f4f5f7;
  --muted: #8f929a;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #0a18ff;
  --cyan: #4bd6ff;
  --rose: #c96f8c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Eurostile", "Bank Gothic", "Orbitron", "Rajdhani", Arial, sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

.site-shell {
  min-height: 100vh;
  background: #050505;
}

.snow {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px clamp(24px, 5vw, 82px);
}

.brand {
  --brand-logo-image: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 45% 35%, rgba(75, 214, 255, 0.38), transparent 32%),
    radial-gradient(circle at 60% 62%, rgba(10, 24, 255, 0.65), transparent 38%),
    rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 28px rgba(10, 24, 255, 0.3);
  font-size: 9px;
  line-height: 1;
  text-align: center;
  transform: rotate(-9deg);
}

.brand strong {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0;
}

.brand.has-brand-logo {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2)),
    var(--brand-logo-image),
    rgba(0, 0, 0, 0.38);
  background-position: center;
  background-size: cover;
  transform: none;
}

.brand.has-brand-logo span,
.brand.has-brand-logo strong {
  opacity: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 34px);
  min-width: 0;
}

.topbar-icon {
  --topbar-icon-image: none;
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.24)),
    var(--topbar-icon-image),
    rgba(0, 0, 0, 0.42);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 24px rgba(75, 214, 255, 0.2);
}

.topbar-icon.has-topbar-icon {
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(28px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transition: width 180ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("https://img1.pic.in.th/images/S__2867202.jpg");
  background-position: center;
  background-size: cover;
  filter: grayscale(1) brightness(0.82) contrast(1.04);
  transform: scale(1.03);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28) 70%, #050505 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.42) 76%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 34%, transparent 65%, rgba(0, 0, 0, 0.32));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 150px 20px 120px;
  text-align: center;
}

.eyebrow,
.rank {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.86;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.08);
}

.hero h1 span {
  font-weight: 900;
}

.hero h1 b {
  position: relative;
  color: var(--blue);
  font-weight: 900;
  text-shadow: 0 0 26px rgba(10, 24, 255, 0.7);
}

.hero h1 b::after {
  position: absolute;
  top: -4px;
  right: -12px;
  width: 48px;
  height: 48px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, white 0 12%, transparent 13%),
    conic-gradient(from 10deg, transparent 0 10%, white 10% 14%, transparent 14% 29%, white 29% 32%, transparent 32% 100%);
  opacity: 0.88;
  transform: rotate(21deg);
}

.primary-action {
  margin-top: 34px;
  min-width: 250px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 30px rgba(10, 24, 255, 0.45);
  color: white;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-action:hover {
  background: #1029ff;
  box-shadow: 0 0 42px rgba(10, 24, 255, 0.7);
  transform: translateY(-2px);
}

.secondary-action,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.secondary-action {
  margin-top: 28px;
  padding: 0 24px;
}

.back-link {
  margin-bottom: 26px;
  padding: 0 20px;
}

.secondary-action:hover,
.back-link:hover {
  border-color: rgba(75, 214, 255, 0.65);
  background: rgba(75, 214, 255, 0.1);
  transform: translateY(-2px);
}

.music-player {
  position: fixed;
  left: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 9;
  display: grid;
  grid-template-columns: 50px minmax(100px, 1fr) 38px;
  align-items: center;
  gap: 14px;
  width: min(270px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
}

.disc {
  --disc-image: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 214, 255, 0.24), rgba(10, 24, 255, 0.16) 44%, #010101 45%);
  color: white;
  font-size: 10px;
  font-weight: 900;
  animation: spin 8s linear infinite;
}

.music-player.paused .disc {
  animation-play-state: paused;
}

.disc.has-disc-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2)),
    var(--disc-image),
    #010101;
  background-position: center;
  background-size: cover;
}

.disc.has-disc-image span {
  opacity: 0;
}

.track {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-family: Arial, sans-serif;
}

.track strong,
.track span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track strong {
  font-size: 17px;
}

.track span {
  font-size: 15px;
  font-weight: 800;
}

.play-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.play-btn span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
}

.music-player:not(.paused) .play-btn span {
  width: 14px;
  height: 18px;
  margin-left: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 5px solid white;
  border-right: 5px solid white;
}

.band {
  background: #050505;
  padding: 96px clamp(20px, 5vw, 76px);
}

.members-band {
  background:
    linear-gradient(180deg, rgba(10, 24, 255, 0.1), transparent 36%),
    #070707;
}

.roster-shell {
  min-height: 100vh;
}

.roster-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 76px) 110px;
}

.roster-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.roster-content h1 {
  margin: 10px 0 12px;
  font-size: clamp(50px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 10px;
  text-transform: uppercase;
}

.roster-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.roster-tools {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.roster-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
}

.roster-search span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.roster-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: 800 18px/1.2 Arial, sans-serif;
  user-select: text;
}

.roster-search input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.clear-search,
.page-btn {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font: 900 12px/1 Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.clear-search {
  padding: 0 14px;
}

.clear-search:hover,
.clear-search:focus-visible,
.page-btn:hover,
.page-btn:focus-visible {
  border-color: rgba(75, 214, 255, 0.72);
  outline: 0;
}

.roster-empty {
  display: none;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 64, 72, 0.32);
  border-radius: 8px;
  background: rgba(255, 64, 72, 0.08);
  color: #ff9aa0;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.roster-empty.is-visible {
  display: block;
}

.stat-card {
  --stat-accent: #f4f5f7;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 126px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--stat-accent) 12%, transparent), transparent 3px),
    rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.stat-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--stat-accent) 20%, transparent), transparent 48%);
  opacity: 0.85;
  pointer-events: none;
}

.stat-card strong,
.stat-card span {
  position: relative;
  z-index: 1;
}

.stat-card:hover,
.stat-card:focus-visible {
  border-color: color-mix(in srgb, var(--stat-accent) 62%, transparent);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.32),
    0 0 24px color-mix(in srgb, var(--stat-accent) 18%, transparent);
  outline: 0;
  transform: translateY(-3px);
}

.stat-card strong {
  color: var(--stat-accent);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 24px color-mix(in srgb, var(--stat-accent) 26%, transparent);
}

.stat-card span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.stat-boss {
  --stat-accent: #d6b64a;
}

.stat-leader {
  --stat-accent: #ff4048;
}

.stat-members {
  --stat-accent: #4b8dff;
}

.stat-total {
  --stat-accent: #f4f5f7;
}

.roster-group {
  scroll-margin-top: 120px;
  --group-accent: #4bd6ff;
  margin-top: 58px;
}

#the-boss {
  --group-accent: #d6b64a;
}

#leader {
  --group-accent: #ff4048;
}

#members {
  --group-accent: #4b8dff;
}

.roster-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 0 0 14px 18px;
  position: relative;
}

.roster-heading::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  content: "";
  background: var(--group-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--group-accent) 60%, transparent);
}

.roster-heading span {
  order: 2;
  color: var(--group-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.roster-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 24px;
}

.roster-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.member-pagination[hidden] {
  display: none;
}

.page-btn {
  min-width: 86px;
  padding: 0 14px;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.profile-card {
  position: relative;
  --card-top: #010101;
  --card-panel: #211720;
  --card-border: #504052;
  --card-accent: #4bd6ff;
  --card-bg-image: none;
  --avatar-accent: #d6b64a;
  display: block;
  min-height: 306px;
  isolation: isolate;
  overflow: visible;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 28%),
    linear-gradient(180deg, var(--card-top) 0 112px, color-mix(in srgb, var(--card-panel) 96%, transparent) 112px);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.profile-card::before {
  position: absolute;
  inset: -1px;
  z-index: 4;
  content: "";
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent),
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 32%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.profile-card::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: 112px;
  border-radius: 8px 8px 0 0;
  content: "";
  background: var(--card-top);
  pointer-events: none;
}

.profile-card.has-background-image::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--card-accent) 20%, transparent), transparent 34%),
    var(--card-bg-image),
    var(--card-top);
  background-position: center;
  background-size:
    auto,
    auto,
    cover,
    auto;
}

.profile-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  padding: 182px 24px 24px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.profile-panel::before {
  position: absolute;
  top: -45%;
  left: -150%;
  width: 42%;
  height: 190%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg);
  transition: none;
}

.profile-card:hover .profile-panel,
.profile-card:focus-visible .profile-panel {
  transform: none;
}

.profile-card:hover,
.profile-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent) 72%, transparent);
  box-shadow:
    0 20px 65px rgba(0, 0, 0, 0.46),
    0 0 28px color-mix(in srgb, var(--card-accent) 24%, transparent);
  transform: translateY(-7px);
}

.profile-card:hover .profile-panel::before,
.profile-card:focus-visible .profile-panel::before {
  left: 132%;
  opacity: 1;
  transition:
    left 650ms ease,
    opacity 80ms ease;
}

.profile-card:hover::before,
.profile-card:focus-visible::before {
  opacity: 1;
  transform: none;
}

.profile-card:hover .profile-avatar,
.profile-card:focus-visible .profile-avatar {
  transform: none;
}

.profile-card:focus-visible {
  outline: 2px solid rgba(75, 214, 255, 0.85);
  outline-offset: 5px;
}

.profile-avatar {
  position: absolute;
  top: 62px;
  left: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  background: #191b23;
  color: white;
  font-size: 36px;
  font-weight: 900;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 35px rgba(0, 0, 0, 0.4);
  transition: transform 220ms ease;
}

.profile-avatar,
.modal-avatar {
  isolation: isolate;
  overflow: visible;
  font-size: 0;
  font-family: Arial, sans-serif;
  line-height: 1;
  text-align: center;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.profile-avatar::before,
.modal-avatar::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  content: "";
  background: #191b23;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 35px rgba(0, 0, 0, 0.42);
}

.profile-avatar::after,
.modal-avatar::after {
  position: absolute;
  inset: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  content: attr(data-letter);
  background:
    radial-gradient(circle at 31% 28%, rgba(255, 255, 255, 0.32), transparent 0 18%, transparent 25%),
    linear-gradient(135deg, #1518ef 0%, #1518ef 28%, #101119 48%, #d6b64a 72%, #8e7d2f 100%);
  color: white;
  font-size: 36px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.08),
    inset 0 -18px 34px rgba(0, 0, 0, 0.18);
}

.modal-avatar::after {
  inset: 15px;
  background:
    radial-gradient(circle at 31% 28%, rgba(255, 255, 255, 0.32), transparent 0 18%, transparent 25%),
    linear-gradient(135deg, #1518ef 0%, #1518ef 28%, #101119 48%, #d6b64a 72%, #8e7d2f 100%);
  font-size: 42px;
}

.profile-avatar.has-avatar-image::after,
.modal-avatar.has-avatar-image::after {
  content: "";
  background:
    radial-gradient(circle at 31% 28%, rgba(255, 255, 255, 0.2), transparent 0 18%, transparent 25%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18)),
    var(--avatar-image);
  background-position: center;
  background-size: cover;
}

.member-code {
  position: absolute;
  top: 22px;
  right: 24px;
  color: color-mix(in srgb, var(--card-accent) 80%, white 20%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.member-code.is-custom-badge {
  top: 18px;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 50%, transparent);
}

.profile-panel strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 20px);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.profile-panel em {
  display: block;
  margin-top: 10px;
  color: var(--card-accent);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.profile-panel small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.member-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  --modal-top: #020202;
  --modal-panel: #221d13;
  --modal-border: #5b4b24;
  --modal-accent: #d6b64a;
  --modal-bg-image: none;
  --modal-avatar-accent: var(--modal-accent);
  width: min(620px, 100%);
  overflow: hidden;
  padding: 196px 34px 34px;
  border: 1px solid var(--modal-border);
  border-radius: 8px;
  background: var(--modal-panel);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.65),
    0 0 40px color-mix(in srgb, var(--modal-accent) 18%, transparent);
  transform: translateY(18px) scale(0.96);
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.36, 1);
}

.modal-card > * {
  position: relative;
  z-index: 2;
}

.member-modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card::before {
  position: absolute;
  top: -40%;
  left: -70%;
  width: 48%;
  height: 190%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
  transform: skewX(-18deg);
  z-index: 1;
}

.modal-card::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 118px;
  content: "";
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--modal-accent) 18%, transparent), transparent 34%),
    var(--modal-top);
  z-index: 0;
}

.modal-card.has-background-image::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56)),
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--modal-accent) 18%, transparent), transparent 34%),
    var(--modal-bg-image),
    var(--modal-top);
  background-position: center;
  background-size:
    auto,
    auto,
    cover,
    auto;
}

.member-modal.is-open .modal-card::before {
  animation: modal-sweep 900ms ease 180ms forwards;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font: 900 17px/1 Arial, sans-serif;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: color-mix(in srgb, var(--modal-accent) 75%, transparent);
  outline: 0;
}

.modal-avatar {
  position: absolute;
  top: 54px;
  left: 34px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 0;
  font-weight: 900;
}

.modal-kicker {
  margin: 0 0 10px;
  color: var(--modal-accent);
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.modal-card h2 {
  margin: 0;
  font-size: clamp(38px, 7vw, 68px);
  letter-spacing: 2px;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.modal-card p:not(.modal-kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.55;
}

.modal-card b {
  display: inline-flex;
  margin-top: 24px;
  color: color-mix(in srgb, var(--modal-accent) 82%, white 18%);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px 0 12px;
  border: 1px solid color-mix(in srgb, var(--modal-accent) 48%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.facebook-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1877f2;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.facebook-link:hover,
.facebook-link:focus-visible {
  border-color: color-mix(in srgb, var(--modal-accent) 82%, white 18%);
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.titans-grid,
.member-list {
  display: grid;
  gap: 16px;
}

.titans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.titans-grid article,
.member-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.titans-grid article {
  min-height: 210px;
  padding: 28px;
}

.titans-grid span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.titans-grid h3,
.member-list h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.titans-grid p,
.member-list p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.member-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-list article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #141414 58%, var(--rose));
  font-weight: 900;
}

.protected-view {
  user-select: none;
  -webkit-user-select: none;
}

.protected-view input,
.protected-view textarea {
  user-select: text;
  -webkit-user-select: text;
}

.protected-view img,
.protected-view .brand,
.protected-view .disc,
.protected-view .topbar-icon,
.protected-view .profile-avatar,
.protected-view .modal-avatar,
.protected-view .profile-card,
.protected-view .hero-bg {
  -webkit-user-drag: none;
}

.privacy-shield {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.92);
  color: white;
  font-size: clamp(34px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: 8px;
  text-transform: uppercase;
  transition: opacity 140ms ease;
}

.privacy-shield-active .privacy-shield {
  opacity: 1;
}

@media print {
  body > * {
    visibility: hidden !important;
  }

  body::before {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: visible;
    content: "PROTECTED";
    background: #000;
    color: #fff;
    font: 900 48px/1 Arial, sans-serif;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes modal-sweep {
  to {
    left: 130%;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 24px 20px;
  }

  .brand {
    width: 48px;
    height: 48px;
  }

  .topbar-actions {
    gap: 12px;
  }

  .topbar-icon {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    gap: 18px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero h1 {
    flex-wrap: wrap;
    letter-spacing: 6px;
  }

  .hero h1 b::after {
    width: 34px;
    height: 34px;
  }

  .titans-grid,
  .member-list {
    grid-template-columns: 1fr;
  }

  .roster-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roster-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .roster-heading span {
    order: 0;
  }

  .roster-grid,
  .roster-grid-featured {
    grid-template-columns: 1fr;
  }

  .roster-hero {
    padding-top: 126px;
  }

  .music-player {
    grid-template-columns: 42px minmax(74px, 1fr) 32px;
    padding: 12px 14px;
  }

  .disc {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .hero-content {
    padding-top: 170px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .roster-content h1 {
    font-size: 42px;
    letter-spacing: 5px;
  }

  .roster-stats {
    gap: 10px;
  }

  .roster-search {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .roster-search input {
    font-size: 16px;
  }

  .clear-search {
    width: 100%;
  }

  .stat-card {
    min-height: 104px;
  }

  .stat-card strong {
    font-size: 34px;
  }

  .stat-card span {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .primary-action {
    min-width: 210px;
    padding: 16px 24px;
    font-size: 14px;
  }

  .roster-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .profile-card {
    min-height: 292px;
  }

  .profile-card::before {
    height: 104px;
  }

  .profile-card::after {
    height: 104px;
  }

  .profile-avatar {
    top: 54px;
    left: 22px;
    width: 96px;
    height: 96px;
    border-width: 11px;
    font-size: 32px;
  }

  .profile-panel {
    min-height: 214px;
    padding: 160px 20px 22px;
  }

  .profile-panel strong {
    font-size: 26px;
  }

  .profile-panel em {
    font-size: 17px;
  }

  .profile-panel small {
    margin-top: 14px;
    font-size: 14px;
  }

  .modal-card {
    padding: 180px 24px 28px;
  }

  .modal-avatar {
    top: 52px;
    left: 24px;
    width: 112px;
    height: 112px;
    border-width: 13px;
  }

  .modal-card h2 {
    font-size: 38px;
  }
}

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