:root {
  --bg-night: #16071f;
  --bg-deep: #26113d;
  --bg-soft: #3d205f;
  --glow-main: #d18dff;
  --glow-secondary: #f3d8ff;
  --text-main: #fff9ff;
  --text-soft: #ddc7eb;
  --line-soft: rgba(255, 255, 255, 0.13);
  --card-bg: rgba(28, 11, 44, 0.56);
  --card-strong: rgba(42, 18, 66, 0.78);
  --shadow: 0 22px 60px rgba(5, 0, 13, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(248, 207, 255, 0.62), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(215, 163, 255, 0.42), transparent 16%),
    radial-gradient(circle at 25% 76%, rgba(237, 224, 255, 0.2), transparent 18%),
    radial-gradient(circle at 91% 67%, rgba(247, 188, 255, 0.34), transparent 14%),
    linear-gradient(155deg, #52286d 0%, #34174f 28%, #251138 56%, #14071d 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 30% 65%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.7px),
    radial-gradient(circle at 62% 51%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 45% 14%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.4px),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px);
  opacity: 0.65;
}

body::after {
  background:
    linear-gradient(112deg, transparent 0 60%, rgba(255, 255, 255, 0.07) 60.8%, transparent 61.2%) 72% 20% / 180px 180px no-repeat,
    linear-gradient(196deg, transparent 0 48%, rgba(255, 255, 255, 0.07) 48.6%, transparent 49.2%) 72% 20% / 180px 180px no-repeat,
    linear-gradient(159deg, transparent 0 44%, rgba(255, 255, 255, 0.07) 44.7%, transparent 45.3%) 72% 20% / 180px 180px no-repeat;
  opacity: 0.7;
}

.petal-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.ranking-quick-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 9;
  display: none;
  gap: 12px;
  width: 72px;
  max-height: min(76vh, 520px);
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(41, 20, 60, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 44px rgba(5, 0, 13, 0.34);
  transform: translateY(-50%);
  overflow: visible;
}

.ranking-quick-nav.is-visible {
  display: grid;
}

.ranking-quick-nav-item {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(206, 144, 255, 0.05));
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ranking-quick-nav-item img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.ranking-quick-nav-item:hover,
.ranking-quick-nav-item:focus-visible,
.ranking-quick-nav-item.is-active {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 168, 223, 0.44);
  background: linear-gradient(135deg, rgba(255, 163, 219, 0.22), rgba(135, 68, 196, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 244, 0.06),
    0 0 16px rgba(255, 138, 210, 0.16);
}

.ranking-quick-nav-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--text-main);
  white-space: nowrap;
  text-align: left;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 154, 219, 0.14), transparent 46%),
    linear-gradient(135deg, rgba(38, 16, 57, 0.96), rgba(28, 12, 43, 0.94));
  box-shadow:
    0 16px 30px rgba(5, 0, 13, 0.24),
    0 0 22px rgba(255, 131, 210, 0.12);
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ranking-quick-nav-tooltip strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ranking-quick-nav-tooltip small {
  color: rgba(255, 222, 241, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ranking-quick-nav-item:hover .ranking-quick-nav-tooltip,
.ranking-quick-nav-item:focus-visible .ranking-quick-nav-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(21, 8, 31, 0.54);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 14px 26px rgba(201, 145, 255, 0.22))
    drop-shadow(0 0 18px rgba(234, 194, 255, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}

.brand-copy small {
  color: var(--text-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(2) {
  transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.navbar.menu-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.navbar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.menu-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-links a,
.button,
.social-links a {
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a i {
  font-size: 0.88rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-main);
  transform: translateY(-1px);
}

.live-now-link {
  color: #ffb6cd !important;
}

.nav-links a.live-now-link {
  padding: 12px 18px;
  border: 1px solid rgba(255, 120, 149, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 88, 129, 0.24), rgba(129, 28, 60, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 182, 205, 0.08),
    0 0 18px rgba(255, 87, 128, 0.16);
  animation: liveButtonPulse 1.8s ease-in-out infinite;
}

.nav-links a.live-now-link i {
  color: #ff8fb8;
  filter: drop-shadow(0 0 8px rgba(255, 143, 184, 0.45));
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button:hover,
.button:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(241, 180, 255, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  padding: 82px 0 54px;
  align-items: center;
}

.eyebrow,
.section-tag,
.feature-label,
.player-role,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #f3dfff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.motto {
  font-family: "Cinzel", serif;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 62ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.motto {
  max-width: 26ch;
  margin: 26px 0 0;
  color: var(--glow-secondary);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 14px 22px;
}

.button.primary {
  color: #1b0c25;
  background: linear-gradient(135deg, #fff2ff 0%, #d9abff 55%, #ac62e6 100%);
}

.button.secondary {
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.logo-showcase {
  width: 100%;
}

.logo-tilt-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 0;
}

.logo-tilt-card:hover {
}

.logo-tilt-card:hover img {
  transform: perspective(1200px) rotateX(10deg) rotateY(-12deg) translateY(-10px) scale(1.05);
  filter:
    drop-shadow(0 28px 34px rgba(5, 0, 13, 0.46))
    drop-shadow(0 0 38px rgba(222, 169, 255, 0.32));
}

.logo-tilt-card img {
  width: min(100%, 360px);
  height: auto;
  display: block;
  transform-origin: center;
  transition: transform 260ms ease, filter 260ms ease;
  filter:
    drop-shadow(0 22px 28px rgba(5, 0, 13, 0.42))
    drop-shadow(0 0 34px rgba(222, 169, 255, 0.26));
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.rooster-section {
  padding: 42px 0 28px;
}

.rooster-section-ghost {
  padding-top: 58px;
}

.rooster-heading {
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
  max-width: 980px;
}

.rooster-intro {
  max-width: 78ch;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.rooster-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.player-role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 110px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 120, 194, 0.55);
  border-radius: 12px;
  color: #ffd7ef;
  background: rgba(109, 15, 63, 0.38);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.player-role-tag img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.player-info h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 56px;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(205, 161, 255, 0.42);
  border-radius: 14px;
  background: rgba(238, 215, 255, 0.08);
  font-family: "Cinzel", serif;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.player-info p {
  margin: 0;
  width: 100%;
  padding: 16px 16px 18px;
  border: 1px solid rgba(124, 220, 255, 0.28);
  border-radius: 18px;
  background: rgba(17, 14, 31, 0.42);
  color: var(--text-soft);
  line-height: 1.8;
  text-align: left;
}

.ghost-showcase {
  align-items: start;
  gap: 26px;
}

.ghost-player {
  flex: 0 1 340px;
  width: min(100%, 340px);
  position: relative;
  min-height: 0;
  margin-inline: 0;
  isolation: isolate;
  overflow: visible;
  border-radius: 36px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 173, 232, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 186, 236, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(26, 10, 39, 0.94), rgba(14, 7, 23, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 20px 44px rgba(7, 0, 14, 0.22);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease, background 260ms ease;
}

.ghost-player::before {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 194, 236, 0.44), transparent);
  opacity: 0.76;
  z-index: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.ghost-player:hover::before {
  opacity: 1;
  transform: scaleX(1.06);
}

.ghost-player-stage {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: 0 12px;
  z-index: 1;
}

.ghost-player-stage::before,
.ghost-player-stage::after {
  position: absolute;
  left: 50%;
  bottom: 92px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(255, 186, 233, 0.88);
  white-space: pre;
  line-height: 1.9;
  text-shadow:
    0 0 10px rgba(255, 147, 218, 0.34),
    0 0 22px rgba(244, 132, 255, 0.18);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.ghost-player-stage::before {
  content: "\f005      \f005\a   \f005         \f005\a       \f005";
  font-size: 0.56rem;
  letter-spacing: 18px;
  transform: translateX(-142px) translateY(30px) rotate(-7deg) scale(0.78);
  filter: blur(0.15px);
}

.ghost-player-stage::after {
  content: "   \f005       \f005\a\f005            \f005\a      \f005";
  font-size: 0.46rem;
  letter-spacing: 14px;
  transform: translateX(-38px) translateY(38px) rotate(6deg) scale(0.74);
  filter: blur(0.2px);
}

.ghost-player-aura {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 72%;
  height: 74%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 150, 225, 0.24), rgba(145, 94, 255, 0.12) 48%, transparent 74%);
  filter: blur(24px);
  opacity: 0.82;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.ghost-player-orbit {
  position: absolute;
  top: 38px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 196, 236, 0.16);
  border-radius: 50%;
  opacity: 0.62;
  transition: transform 260ms ease, opacity 260ms ease, border-color 260ms ease;
}

.ghost-player-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 210, 241, 0.72);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(255, 182, 232, 0.46);
}

.ghost-player-orbit-left {
  left: 10px;
}

.ghost-player-orbit-right {
  right: 10px;
}

.ghost-player-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  align-items: end;
  justify-items: center;
  z-index: 1;
}

.ghost-player-visual::before,
.ghost-player-visual::after {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.ghost-player-visual::before {
  content: "";
  left: 50%;
  bottom: 32px;
  width: 72%;
  height: 84%;
  border-radius: 50%;
  transform: translateX(-50%) scale(0.98);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 142, 223, 0.14), rgba(255, 142, 223, 0.04) 52%, transparent 74%);
  filter: blur(8px);
}

.ghost-player-visual::after {
  content: "";
  display: none;
}

.ghost-player-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 320ms ease, filter 320ms ease;
  filter:
    brightness(0.98)
    saturate(1.05)
    drop-shadow(0 24px 46px rgba(3, 0, 10, 0.38))
    drop-shadow(0 0 18px rgba(243, 153, 226, 0.04));
}

.ghost-player-info-shell {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding: 0 8px 0;
}

.ghost-player-content {
  width: 100%;
  padding: 20px 20px 18px;
  opacity: 1;
  transform: translateY(0);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(34, 14, 52, 0.94), rgba(17, 8, 28, 0.96)),
    radial-gradient(circle at 10% 0%, rgba(255, 171, 236, 0.12), transparent 26%);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(5, 0, 13, 0.26);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.ghost-player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ghost-player-serial {
  color: rgba(255, 216, 243, 0.52);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ghost-player-content h3 {
  margin: 14px 0 8px;
  font-family: "Cinzel", serif;
  font-size: 1.72rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #f6b4f0 0%, #d991ff 42%, #9ec8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ghost-player-content p {
  margin: 0;
  color: rgba(255, 241, 249, 0.9);
  line-height: 1.7;
}

.rooster-empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  text-align: center;
  color: var(--text-soft);
  background: rgba(18, 8, 27, 0.22);
}

.rooster-empty-state h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-family: "Cinzel", serif;
}

.rooster-empty-state p {
  margin: 0;
}

.live-section {
  padding: 26px 0 10px;
}

.ranking-section {
  padding: 28px 0 18px;
}

.ranking-board {
  display: grid;
  gap: 16px;
}

.ranking-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 208, 244, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(30, 12, 46, 0.76), rgba(18, 8, 28, 0.92));
  box-shadow: 0 24px 60px rgba(5, 0, 13, 0.26);
}

.ranking-card.is-top-1 {
  border-color: rgba(255, 214, 116, 0.38);
}

.ranking-card.is-top-2 {
  border-color: rgba(206, 219, 255, 0.28);
}

.ranking-card.is-top-3 {
  border-color: rgba(240, 177, 129, 0.3);
}

.ranking-trophy-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  z-index: 2;
}

.ranking-trophy-badge.rank-1 {
  color: #2c1a00;
  background: linear-gradient(135deg, #ffeaa0 0%, #ffd15c 100%);
}

.ranking-trophy-badge.rank-2 {
  color: #192131;
  background: linear-gradient(135deg, #edf3ff 0%, #c3d2f7 100%);
}

.ranking-trophy-badge.rank-3 {
  color: #2f1804;
  background: linear-gradient(135deg, #ffd0ab 0%, #d99662 100%);
}

.ranking-card-top,
.ranking-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ranking-card-top {
  padding-right: 96px;
}

.ranking-card-bottom {
  display: block;
}

.ranking-latest-match {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.ranking-latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ranking-latest-head h4 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ranking-latest-head span {
  color: var(--text-soft);
}

.ranking-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ranking-tabs-row,
.ranking-act-tabs,
.ranking-overview-head,
.ranking-highlight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ranking-tabs-row {
  flex-wrap: wrap;
}

.ranking-act-tabs {
  flex-wrap: wrap;
}

.ranking-queue-pill,
.ranking-act-tab,
.ranking-act-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
}

.ranking-queue-pill {
  color: #fff2f8;
  font-weight: 800;
  background: linear-gradient(135deg, #ff587d, #ff7e9f);
}

.ranking-act-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font: inherit;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.ranking-act-tab.is-active {
  color: var(--text-main);
  border-color: rgba(255, 152, 205, 0.26);
  background: rgba(255, 90, 133, 0.16);
}

.ranking-act-empty {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
}

.ranking-overview-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.ranking-overview-head h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  text-transform: uppercase;
}

.ranking-overview-head span {
  color: var(--text-soft);
}

.ranking-position,
.ranking-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
}

.ranking-position {
  color: #1b0c25;
  font-weight: 800;
  background: linear-gradient(135deg, #fff2ff 0%, #e2afff 52%, #8fc8ff 100%);
}

.ranking-game-pill {
  color: var(--glow-secondary);
  background: rgba(255, 255, 255, 0.06);
}

.ranking-player-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.ranking-player-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 220px;
  padding: 0;
  background: transparent;
  overflow: visible;
  align-items: end;
  justify-items: center;
}

.ranking-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.ranking-role-hover {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(19, 11, 29, 0.78);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  white-space: nowrap;
}

.ranking-role-hover img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ranking-player-avatar:hover .ranking-role-hover {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ranking-player-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ranking-overline,
.ranking-subline,
.ranking-stat span {
  color: var(--text-soft);
}

.ranking-overline {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ranking-player-copy h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
  background: linear-gradient(135deg, #f6b4f0 0%, #d991ff 42%, #9ec8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ranking-subline {
  display: inline-block;
  max-width: 44ch;
  line-height: 1.7;
}

.ranking-card-actions {
  display: flex;
  justify-content: flex-end;
}

.ranking-highlight-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ranking-highlight-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
}

.ranking-ring-track,
.ranking-ring-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ranking-ring-track {
  background: conic-gradient(#1cd584 0deg 180deg, #e14b63 180deg 360deg);
  opacity: 0.18;
}

.ranking-ring-fill {
  background: conic-gradient(#1cd584 0deg var(--win-angle), #e14b63 var(--win-angle) 360deg);
}

.ranking-highlight-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(29, 15, 43, 0.98);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ranking-ring-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  text-align: center;
}

.ranking-ring-copy strong,
.ranking-ring-copy span {
  display: block;
}

.ranking-ring-copy strong {
  font-size: 1.4rem;
  color: #95ffca;
}

.ranking-ring-copy span {
  color: #ff9fb1;
}

.ranking-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.ranking-rank-gem {
  position: relative;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 20px;
  transform: rotate(45deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.26);
}

.ranking-rank-gem::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.ranking-rank-copy {
  display: grid;
  gap: 6px;
}

.ranking-rank-copy span {
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ranking-rank-copy strong {
  font-size: 2rem;
  line-height: 1;
}

.rank-iron { background: linear-gradient(135deg, #7f8590 0%, #515560 100%); }
.rank-bronze { background: linear-gradient(135deg, #9f6d47 0%, #69452e 100%); }
.rank-silver { background: linear-gradient(135deg, #dce4ef 0%, #99aabf 100%); }
.rank-gold { background: linear-gradient(135deg, #f7df94 0%, #d2a33f 100%); }
.rank-platinum { background: linear-gradient(135deg, #86fff0 0%, #32b8a6 100%); }
.rank-diamond { background: linear-gradient(135deg, #e3a6ff 0%, #8e5dff 100%); }
.rank-ascendant { background: linear-gradient(135deg, #7af1a2 0%, #21a36a 100%); }
.rank-immortal { background: linear-gradient(135deg, #ff8fc1 0%, #d93c83 100%); }
.rank-radiant { background: linear-gradient(135deg, #ffe3a1 0%, #ff8e42 100%); }

.ranking-highlight-meta {
  flex-direction: column;
  align-items: flex-start;
}

.ranking-highlight-meta span {
  color: var(--text-soft);
}

.ranking-highlight-meta strong {
  font-size: 1.4rem;
}

.ranking-tracker-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

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

.ranking-stat-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(12, 19, 28, 0.34);
}

.ranking-stat-card span {
  color: #9db0c5;
  font-weight: 700;
}

.ranking-stat-card strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.ranking-stat-card.is-emphasis {
  background: rgba(22, 32, 44, 0.78);
}

.ranking-stat-card small {
  color: rgba(255, 255, 255, 0.46);
}

.live-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.live-channel-card {
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(24, 10, 38, 0.5);
  backdrop-filter: blur(14px);
}

.live-channel-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 18px;
}

.live-channel-card.is-live {
  border-color: rgba(255, 163, 219, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 163, 219, 0.08), 0 22px 60px rgba(5, 0, 13, 0.35);
}

.live-channel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.live-channel-title-wrap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.live-platform,
.live-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.live-platform {
  color: var(--glow-secondary);
  background: rgba(255, 255, 255, 0.06);
}

.live-badge {
  color: #fff5fb;
  background: rgba(255, 255, 255, 0.08);
}

.live-channel-card.is-live .live-badge {
  background: linear-gradient(135deg, rgba(255, 108, 178, 0.9), rgba(211, 150, 255, 0.8));
}

.live-channel-card h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
}

.live-channel-title-wrap p {
  margin: 0;
  color: var(--text-soft);
}

.live-embed-frame,
.live-embed-fallback {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(15, 7, 23, 0.68);
}

.live-embed-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-embed-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.live-embed-fallback {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 220px;
  color: var(--text-soft);
  text-align: center;
}

.live-embed-fallback i {
  color: var(--glow-secondary);
  font-size: 1.4rem;
}

.live-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

@keyframes liveButtonPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 rgba(255, 87, 128, 0.18),
      0 0 0 rgba(255, 87, 128, 0.08);
  }

  50% {
    box-shadow:
      0 0 22px rgba(255, 87, 128, 0.45),
      0 0 42px rgba(255, 87, 128, 0.22);
  }
}

@keyframes roosterSparkleDrift {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-8px) scale(1.04);
  }
}

@keyframes roosterSparkleLeft {
  0% {
    transform: translateX(-142px) translateY(34px) rotate(-9deg) scale(0.74);
    opacity: 0;
  }

  18% {
    opacity: 0.68;
  }

  48% {
    transform: translateX(-156px) translateY(-4px) rotate(-4deg) scale(0.88);
    opacity: 0.86;
  }

  100% {
    transform: translateX(-170px) translateY(-84px) rotate(-1deg) scale(0.76);
    opacity: 0;
  }
}

@keyframes roosterSparkleRight {
  0% {
    transform: translateX(-38px) translateY(42px) rotate(8deg) scale(0.72);
    opacity: 0;
  }

  24% {
    opacity: 0.62;
  }

  52% {
    transform: translateX(-20px) translateY(-10px) rotate(3deg) scale(0.84);
    opacity: 0.8;
  }

  100% {
    transform: translateX(-2px) translateY(-80px) rotate(0deg) scale(0.72);
    opacity: 0;
  }
}

.ghost-player:hover .ghost-player-visual img {
  transform: translateY(-24px) scale(1.04);
  filter:
    brightness(1)
    saturate(1.14)
    contrast(1.03)
    drop-shadow(0 36px 62px rgba(3, 0, 10, 0.5))
    drop-shadow(0 0 18px rgba(255, 165, 228, 0.26))
    drop-shadow(0 0 34px rgba(255, 112, 207, 0.22))
    drop-shadow(0 0 64px rgba(239, 140, 255, 0.14));
}

.ghost-player:hover .ghost-player-visual::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.03);
}

.ghost-player:hover .ghost-player-stage::before {
  opacity: 0.9;
  animation: roosterSparkleLeft 3.1s ease-in-out infinite;
}

.ghost-player:hover .ghost-player-stage::after {
  opacity: 0.82;
  animation: roosterSparkleRight 3.5s ease-in-out infinite;
}

.ghost-player:hover .ghost-player-content {
  transform: translateY(-6px);
  border-color: rgba(255, 180, 236, 0.22);
  box-shadow: 0 24px 56px rgba(5, 0, 13, 0.34);
  background:
    linear-gradient(180deg, rgba(40, 16, 61, 0.96), rgba(18, 8, 30, 0.98)),
    radial-gradient(circle at 10% 0%, rgba(255, 171, 236, 0.16), transparent 26%);
}

.ghost-player:hover {
  border-color: rgba(255, 180, 236, 0.34);
  background: linear-gradient(180deg, rgba(34, 13, 49, 0.72), rgba(16, 7, 26, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 177, 236, 0.06),
    0 20px 48px rgba(5, 0, 13, 0.24);
  transform: translateY(-4px);
}

.ghost-player:hover .ghost-player-aura {
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
  filter: blur(30px);
}

.ghost-player:hover .ghost-player-orbit {
  opacity: 0.94;
  border-color: rgba(255, 208, 241, 0.28);
}

.ghost-player:hover .ghost-player-orbit-left {
  transform: translate(-6px, -10px);
}

.ghost-player:hover .ghost-player-orbit-right {
  transform: translate(6px, -6px);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 0 18px;
  color: var(--text-soft);
}

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-copy p,
.footer-copy small {
  margin: 0;
}

.footer-copy small {
  color: rgba(255, 255, 255, 0.66);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
  .navbar,
  .footer,
  .hero,
  .rooster-showcase {
    grid-template-columns: 1fr;
  }

  .navbar,
  .footer {
    border-radius: 28px;
    padding: 18px;
  }

  .navbar,
  .footer,
  .hero {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  .ghost-player-stage {
    min-height: 400px;
  }

  .live-channels-grid {
    grid-template-columns: 1fr;
  }

  .live-channel-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .live-channel-title-wrap {
    justify-items: start;
    text-align: left;
  }

  .ranking-card-main,
  .ranking-card-top {
    flex-direction: column;
    align-items: stretch;
  }

  .ranking-card-actions {
    justify-content: flex-start;
  }

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

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

@media (max-width: 720px) {
  .ranking-quick-nav {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    width: min(calc(100vw - 28px), 520px);
    max-width: 520px;
    max-height: none;
    grid-auto-flow: column;
    grid-auto-columns: 56px;
    padding: 12px;
    border-radius: 999px;
    transform: translateX(-50%);
    overflow-y: hidden;
    overflow-x: auto;
  }

  .ranking-quick-nav.is-visible {
    display: grid;
  }

  .ranking-quick-nav-item {
    width: 56px;
    min-width: 56px;
  }

  .ranking-quick-nav-item::after {
    display: none;
  }

  .ranking-quick-nav-tooltip {
    display: none;
  }

  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .navbar {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border-radius: 28px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.14em;
  }

  .brand-copy small {
    letter-spacing: 0.16em;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    justify-self: end;
  }

  .nav-links,
  .nav-links {
    display: none;
  }

  .navbar.menu-open .nav-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
    gap: 12px;
    padding-top: 8px;
  }

  .navbar.menu-open .nav-links a {
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    min-height: 50px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(193, 141, 236, 0.05));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  }

  .navbar.menu-open .nav-links a i {
    width: 18px;
    color: rgba(255, 230, 244, 0.82);
  }

  .navbar.menu-open .nav-links a.live-now-link {
    justify-content: center;
    justify-self: stretch;
    min-height: 56px;
    margin-top: 4px;
    color: #fff4f8 !important;
    font-weight: 800;
    border-color: rgba(255, 109, 163, 0.34);
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 128, 190, 0.18), transparent 70%),
      linear-gradient(135deg, rgba(255, 92, 146, 0.42), rgba(121, 38, 79, 0.72));
    box-shadow:
      inset 0 0 0 1px rgba(255, 179, 220, 0.16),
      0 0 18px rgba(255, 95, 168, 0.22),
      0 0 38px rgba(219, 121, 255, 0.16);
  }

  .navbar.menu-open .nav-links a.live-now-link i {
    color: #ff8fb8;
    filter: drop-shadow(0 0 8px rgba(255, 143, 184, 0.55));
  }

  .navbar.menu-open .nav-links a:not(.live-now-link):hover,
  .navbar.menu-open .nav-links a:not(.live-now-link):focus-visible {
    box-shadow: 0 0 20px rgba(225, 183, 255, 0.12);
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .motto {
    font-size: 1.04rem;
  }

  .rooster-section {
    padding-top: 18px;
  }

  .ghost-player-content h3 {
    font-size: 1.45rem;
  }

  .ghost-player-stage {
    min-height: 360px;
    padding: 0 8px;
  }

  .ghost-player-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-card-top,
  .ranking-player-identity,
  .ranking-highlight-cluster {
    flex-direction: column;
    align-items: center;
  }

  .ranking-card {
    padding: 18px;
    border-radius: 22px;
  }

  .ranking-overview-head {
    align-items: flex-start;
  }

  .ranking-overview-head h3 {
    font-size: 1.18rem;
    line-height: 1.25;
  }

  .ranking-card-main {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .ranking-player-identity {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 12px;
  }

  .ranking-rank-badge {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .ranking-player-avatar {
    width: min(100%, 220px);
    max-width: 220px;
    height: auto;
    min-height: 260px;
    margin: 0 auto;
  }

  .ranking-player-avatar img {
    width: 100%;
    height: auto;
    max-height: 260px;
  }

  .ranking-card-top {
    padding-right: 0;
  }

  .ranking-tabs-row {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .ranking-queue-pill,
  .ranking-act-tab,
  .ranking-trophy-badge {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .ranking-trophy-badge {
    position: static;
    justify-content: center;
    min-width: 0;
  }

  .ranking-highlight-cluster,
  .ranking-player-copy,
  .ranking-latest-head {
    width: 100%;
  }

  .ranking-player-identity,
  .ranking-player-copy {
    text-align: center;
  }

  .ranking-player-copy {
    justify-items: center;
    align-content: start;
    gap: 10px;
  }

  .ranking-overline {
    display: block;
    text-align: center;
  }

  .ranking-player-copy h3 {
    text-align: center;
  }

  .ranking-highlight-cluster {
    width: 100%;
    justify-content: center;
    gap: 14px;
    align-items: center;
    text-align: center;
  }

  .ranking-highlight-meta {
    align-items: center;
    text-align: center;
  }

  .ranking-latest-head {
    align-items: flex-start;
  }

  .ranking-stats-grid {
    grid-template-columns: 1fr;
  }

  .ranking-latest-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    justify-items: center;
    text-align: center;
  }

  .footer-copy,
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .ranking-tabs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .ranking-queue-pill,
  .ranking-act-tab {
    width: 100%;
  }

  .ranking-trophy-badge {
    grid-column: 1 / -1;
    width: 100%;
  }
}
