:root {
  --panel: rgba(15, 23, 42, .88);
  --gold: #ffd45a;
  --gold2: #ff9f1c;
  --blue: #38bdf8;
  --red: #fb7185;
  --green: #22c55e;
  --orange: #f97316;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, .10);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}

* {
  box-sizing: border-box;
}
.hero-actions .btn-ro:first-child {
    background: #5865F2;
    color: #fff;
    font-size: 1.1rem;
    padding: 14px 28px;
    box-shadow: 0 0 20px rgba(88,101,242,.45);
    animation: pulseDiscord 2s infinite;
}

@keyframes pulseDiscord {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.14), transparent 35%),
    radial-gradient(circle at top right, rgba(255,212,90,.14), transparent 30%),
    linear-gradient(180deg, #070a12 0%, #0f172a 48%, #070a12 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.xn-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 11, 18, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.status-strip {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  background: rgba(0,0,0,.28);
}

.status-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  font-size: 12px;
  color: var(--muted);
}

.status-pill strong {
  color: #fff;
  font-weight: 800;
}

.status-pill .online {
  color: var(--green);
  text-shadow: 0 0 14px rgba(34,197,94,.5);
}

.main-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  color: #dbeafe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0b1020;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-ro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 900;
  color: #111827;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 14px 36px rgba(255,159,28,.23);
  transition: .2s ease;
}

.btn-ro:hover {
  transform: translateY(-2px);
  color: #111827;
  filter: brightness(1.08);
}

.btn-ro.secondary {
  color: #e2e8f0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: none;
}

.btn-ro.secondary:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 172px 0 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.video-showcase-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,212,90,.24);
  box-shadow: var(--shadow);
}

.video-showcase {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,11,18,.82), rgba(8,11,18,.28));
}

.video-showcase-content {
  position: absolute;
  left: 40px;
  bottom: 40px;
  max-width: 520px;
  z-index: 2;
}

.video-showcase-content span {
  color: var(--gold);
  font-weight: 900;
}

.video-showcase-content h3 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

.video-showcase-content p {
  color: #cbd5e1;
}
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,11,18,.86) 0%, rgba(8,11,18,.62) 46%, rgba(8,11,18,.18) 100%),
    radial-gradient(circle at 70% 35%, rgba(255,212,90,.10), transparent 32%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,212,90,.12);
  border: 1px solid rgba(255,212,90,.32);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 900;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--gold);
  text-shadow: 0 0 28px rgba(255,212,90,.32);
}

.hero-lead {
  max-width: 670px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  max-width: 760px;
}

.mini-stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(15,23,42,.72);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}

.mini-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 5px;
}

.mini-stat strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.hero-ranking-card {
  background: linear-gradient(180deg, rgba(15,23,42,.94), rgba(15,23,42,.76));
  border: 1px solid rgba(255,212,90,.26);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-ranking-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255,212,90,.14);
  filter: blur(8px);
}

.rank-preview-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.rank-preview-title h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: #fff;
}

.rank-preview-title span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.top-player {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
  margin-bottom: 9px;
}

.top-player .place {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
}

.top-player .name {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-player .label {
  color: var(--muted);
  font-size: 11px;
}

.top-player .score {
  color: var(--gold);
  font-weight: 900;
  font-size: 15px;
}

.top-moment-group {
  display: none;
  animation: fadeRanking .4s ease;
}

.top-moment-group.active {
  display: block;
}

@keyframes fadeRanking {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  position: relative;
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .20em;
  font-weight: 900;
  margin-bottom: 8px;
}

.section-heading h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -.035em;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 720px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.rankings-section {
  background:
    radial-gradient(circle at top, rgba(255,212,90,.12), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.50), rgba(8,11,18,.20));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ranking-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,212,90,.10);
  border: 1px solid rgba(255,212,90,.20);
  color: #fef3c7;
  margin-bottom: 24px;
}

.ranking-topbar strong {
  color: #fff;
}

.countdown {
  color: var(--gold);
}

.ranking-reset {
  margin: -4px 0 14px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,212,90,.08);
  border: 1px solid rgba(255,212,90,.14);
  color: #fef3c7;
  font-size: 12px;
  font-weight: 700;
}

.ranking-tables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ranking-panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.ranking-panel.mvp {
  border-color: rgba(255,212,90,.28);
}

.ranking-panel.pvp {
  border-color: rgba(56,189,248,.28);
}

.ranking-panel.raider {
  border-color: rgba(251,113,133,.28);
}

.ranking-panel.cards {
  border-color: rgba(34,197,94,.28);
}

.ranking-panel.events {
  border-color: rgba(249,115,22,.28);
}

.ranking-panel h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.ranking-panel h3 small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  color: #fff;
  font-size: 13px;
}

.ranking-table th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0 10px 6px;
  font-weight: 900;
}

.ranking-table td {
  background: rgba(255,255,255,.055);
  padding: 11px 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ranking-table td:first-child {
  border-left: 1px solid rgba(255,255,255,.06);
  border-radius: 14px 0 0 14px;
  font-weight: 900;
  width: 44px;
}

.ranking-table td:last-child {
  border-right: 1px solid rgba(255,255,255,.06);
  border-radius: 0 14px 14px 0;
  text-align: right;
  color: var(--gold);
  font-weight: 900;
}

.ranking-table .rank-1 td {
  background: linear-gradient(90deg, rgba(255,212,90,.26), rgba(255,255,255,.055));
}

.ranking-table .rank-2 td {
  background: linear-gradient(90deg, rgba(203,213,225,.18), rgba(255,255,255,.055));
}

.ranking-table .rank-3 td {
  background: linear-gradient(90deg, rgba(217,119,6,.20), rgba(255,255,255,.055));
}

.ranking-empty {
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}

.system-card,
.info-card,
.register-card,
.download-card,
.pack-card {
  height: 100%;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  padding: 25px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  transition: .2s ease;
}

.system-card:hover,
.info-card:hover,
.pack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,212,90,.28);
}

.system-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255,212,90,.10);
  border: 1px solid rgba(255,212,90,.18);
  margin-bottom: 16px;
}

.system-card .icon img {
  max-width: 42px;
  max-height: 42px;
}

.system-card h4,
.info-card h3,
.register-card h3,
.download-card h3,
.pack-card h3 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 10px;
}

.system-card p,
.info-card p,
.register-card p,
.download-card p,
.pack-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.info-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
  color: #dbeafe;
  font-weight: 700;
  font-size: 13px;
}

.info-list i {
  color: var(--gold);
  margin-right: 6px;
}

.form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}

.form-control:focus {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,212,90,.60);
  color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255,212,90,.12);
}

.form-label,
.form-check-label {
  color: #e2e8f0;
  font-weight: 700;
}

small {
  color: var(--muted);
}

.download-card {
  background:
    linear-gradient(135deg, rgba(255,212,90,.16), rgba(56,189,248,.08)),
    var(--panel);
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.35);
  padding: 32px 0;
  color: var(--muted);
}

.footer strong {
  color: #fff;
}
.ranking-image-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.55));
  border: 1px solid rgba(255,212,90,.24);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  align-items: flex-end;
}

.ranking-image-card img {
  position: absolute;
  right: -10px;
  bottom: 0;
  max-height: 390px;
  max-width: 70%;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,.65));
  z-index: 2;
}

.ranking-image-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: 40px;
  border-radius: 50%;
  background: rgba(255,212,90,.18);
  filter: blur(30px);
}

.ranking-image-content {
  position: relative;
  z-index: 3;
  max-width: 260px;
}

.ranking-image-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ranking-image-content h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
}

.ranking-image-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111827;
  z-index: 999;
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .ranking-tables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 150px;
  }

  .main-nav {
    min-height: 72px;
  }

  .brand img {
    height: 52px;
  }

  .nav-actions {
    display: none;
  }

  .hero-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-tables {
    grid-template-columns: 1fr;
  }

  .info-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   XELNIC RO - PRO GAMER / MMORPG VISUAL UPGRADE
   Añadido sobre el CSS original para no romper la estructura.
   ========================================================== */

:root {
  --xn-cyan: #39e7ff;
  --xn-violet: #8b5cf6;
  --xn-magenta: #ff4fd8;
  --xn-gold: #ffd45a;
  --xn-dark: #050711;
  --xn-card: rgba(9, 14, 28, .78);
  --xn-glass: rgba(255,255,255,.055);
}

body {
  background:
    radial-gradient(circle at 18% 10%, rgba(57,231,255,.10), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(139,92,246,.10), transparent 25%),
    radial-gradient(circle at 50% 85%, rgba(255,79,216,.05), transparent 28%),
    linear-gradient(180deg, #04060d 0%, #090d19 46%, #050710 100%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
}

.xn-header {
  background: linear-gradient(180deg, rgba(3,5,12,.94), rgba(7,10,20,.78));
  box-shadow: 0 10px 45px rgba(0,0,0,.35), inset 0 -1px 0 rgba(57,231,255,.06);
}

.status-strip {
  background:
    linear-gradient(90deg, rgba(57,231,255,.04), rgba(139,92,246,.045), rgba(255,212,90,.04)),
    rgba(0,0,0,.35);
}

.status-pill {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.status-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: xnStatusScan 7s linear infinite;
}

@keyframes xnStatusScan { to { transform: translateX(115%); } }

.brand img {
  filter: drop-shadow(0 0 10px rgba(57,231,255,.12)) drop-shadow(0 0 22px rgba(255,212,90,.06));
  transition: transform .3s ease, filter .3s ease;
}

.brand:hover img {
  transform: translateY(-2px) scale(1.025);
  filter: drop-shadow(0 0 14px rgba(57,231,255,.24)) drop-shadow(0 0 30px rgba(255,212,90,.14));
}

.nav-links a {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: auto 18% 3px;
  height: 2px;
  border-radius: 99px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--xn-cyan), var(--xn-gold));
  box-shadow: 0 0 12px rgba(57,231,255,.45);
  transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(57,231,255,.12), rgba(139,92,246,.10));
  border-color: rgba(57,231,255,.18);
  box-shadow: inset 0 0 24px rgba(57,231,255,.04), 0 0 18px rgba(57,231,255,.04);
}

.nav-links a:hover::before,
.nav-links a.active::before { transform: scaleX(1); }

.btn-ro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255,159,28,.16), 0 0 0 1px rgba(255,255,255,.04) inset;
}

.btn-ro::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -70%;
  left: -25%;
  width: 22%;
  height: 240%;
  transform: rotate(24deg) translateX(-250%);
  background: rgba(255,255,255,.38);
  filter: blur(2px);
  transition: transform .55s ease;
}

.btn-ro:hover::after { transform: rotate(24deg) translateX(650%); }

.hero {
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 35%, rgba(57,231,255,.08), transparent 15%),
    radial-gradient(circle at 80% 58%, rgba(139,92,246,.06), transparent 20%),
    linear-gradient(to bottom, transparent 70%, #050710 100%);
}

.hero-particles {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles i {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  box-shadow: 0 0 9px rgba(57,231,255,.72);
  animation: xnFloatParticle linear infinite;
}

@keyframes xnFloatParticle {
  0% { transform: translate3d(0,0,0) scale(.7); opacity: 0; }
  10% { opacity: .7; }
  75% { opacity: .35; }
  100% { transform: translate3d(var(--drift, 20px), -108vh, 0) scale(1.5); opacity: 0; }
}

.hero h1 {
  text-shadow: 0 8px 35px rgba(0,0,0,.72);
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff2a8 0%, #ffd45a 35%, #47e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(57,231,255,.12));
  animation: xnTitleGlow 4s ease-in-out infinite;
}

@keyframes xnTitleGlow {
  0%,100% { filter: drop-shadow(0 0 12px rgba(57,231,255,.10)); }
  50% { filter: drop-shadow(0 0 22px rgba(255,212,90,.20)); }
}

.hero-badge {
  box-shadow: 0 0 24px rgba(255,212,90,.08), inset 0 0 20px rgba(255,212,90,.03);
}

.mini-stat,
.hero-ranking-card,
.system-card,
.info-card,
.register-card,
.download-card,
.pack-card,
.mvp-leagues-shell,
.events-simple-board,
.ranking-panel,
.ranking-image-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mini-stat {
  position: relative;
  overflow: hidden;
  border-color: rgba(57,231,255,.10);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mini-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(57,231,255,.11), transparent 40%);
  pointer-events: none;
}

.mini-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(57,231,255,.30);
  box-shadow: 0 18px 44px rgba(0,0,0,.26), 0 0 24px rgba(57,231,255,.05);
}

.hero-ranking-card {
  border-color: rgba(57,231,255,.20);
  background:
    radial-gradient(circle at 100% 0%, rgba(57,231,255,.10), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(139,92,246,.08), transparent 28%),
    linear-gradient(180deg, rgba(10,16,32,.92), rgba(7,12,25,.78));
  animation: xnCardIdle 6s ease-in-out infinite;
}

@keyframes xnCardIdle {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.top-player {
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.top-player:hover {
  transform: translateX(5px);
  background: rgba(57,231,255,.065);
  border-color: rgba(57,231,255,.16);
}

section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: min(980px, 76vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(57,231,255,.15), rgba(255,212,90,.14), transparent);
}

.section-heading .eyebrow {
  text-shadow: 0 0 14px rgba(255,212,90,.12);
}

.section-heading h2 {
  text-shadow: 0 8px 25px rgba(0,0,0,.30);
}

.system-card,
.info-card,
.pack-card,
.ranking-panel,
.event-simple-tag,
.events-simple-next {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.system-card:hover,
.info-card:hover,
.pack-card:hover,
.ranking-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(57,231,255,.23);
  box-shadow: 0 22px 60px rgba(0,0,0,.32), 0 0 28px rgba(57,231,255,.035);
}

.system-media img,
.system-media iframe {
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}

.system-card:hover .system-media img,
.system-card:hover .system-media iframe {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.02);
}

.ranking-panel {
  position: relative;
  overflow: hidden;
}

.ranking-panel::before {
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .45;
  animation: xnPanelScan 5s linear infinite;
}

@keyframes xnPanelScan { to { left: 110%; } }

.ranking-table tr {
  transition: transform .18s ease, filter .18s ease;
}

.ranking-table tbody tr:hover {
  transform: translateX(3px);
  filter: brightness(1.1);
}

.mvp-league-card {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
}

.mvp-league-card:hover {
  transform: translateY(-2px);
}

.events-simple-board {
  background:
    radial-gradient(circle at 15% 0%, rgba(57,231,255,.07), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(139,92,246,.06), transparent 30%),
    rgba(7,11,22,.88);
}

.event-simple-tag:hover,
.events-simple-next:hover {
  transform: translateY(-3px);
  border-color: rgba(57,231,255,.22);
  background: rgba(57,231,255,.055);
}

.event-simple-tag.is-next {
  box-shadow: 0 0 18px color-mix(in srgb, var(--event-accent) 12%, transparent), inset 2px 0 0 var(--event-accent);
}

.video-showcase-card {
  border-color: rgba(57,231,255,.18);
  box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 38px rgba(57,231,255,.04);
}

.video-showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), inset 0 -80px 80px rgba(4,6,13,.22);
}

.register-card .form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(57,231,255,.09), 0 0 24px rgba(57,231,255,.07);
  border-color: rgba(57,231,255,.48);
}

.back-to-top {
  box-shadow: 0 0 26px rgba(255,212,90,.28);
  animation: xnBackTopPulse 2.8s ease-in-out infinite;
}

@keyframes xnBackTopPulse {
  0%,100% { box-shadow: 0 0 18px rgba(255,212,90,.20); }
  50% { box-shadow: 0 0 32px rgba(255,212,90,.42); }
}

/* Mouse glow: solo escritorio */
.xn-mouse-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(57,231,255,.055), transparent 65%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity .25s ease;
}

body:hover .xn-mouse-glow { opacity: 1; }

@media (max-width: 991px), (pointer: coarse) {
  .xn-mouse-glow { display:none; }
  .hero-ranking-card { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
