@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg-void:   #010208;
  --bg-deep:   #03050e;
  --bg-base:   #060a18;
  --bg-raise:  #09102a;
  --bg-panel:  rgba(9, 13, 28, 0.72);
  --bg-glass:  rgba(255, 255, 255, 0.028);
  --bg-glass2: rgba(255, 255, 255, 0.048);
  --wallpaper-url: none;
  --wallpaper-opacity: 0;

  --line-0:    rgba(255,255,255,0.042);
  --line-1:    rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --line-3:    rgba(255,255,255,0.22);

  --t1: #eef2ff;
  --t2: rgba(220,230,255,0.70);
  --t3: rgba(196,212,255,0.42);
  --t4: rgba(175,195,255,0.24);

  --aqua:       #00cfff;
  --aqua-mid:   rgba(0,207,255,0.18);
  --aqua-dim:   rgba(0,207,255,0.08);
  --violet:     #8b68ff;
  --violet-mid: rgba(139,104,255,0.18);
  --violet-dim: rgba(139,104,255,0.08);
  --rose:       #ff4d9e;
  --rose-mid:   rgba(255,77,158,0.14);
  --rose-dim:   rgba(255,77,158,0.06);
  --amber:      #fbbf24;
  --good:       #22c55e;
  --bad:        #f43f5e;
  --silver:     #94a3b8;

  --glow-a: rgba(0,207,255,0.5);
  --glow-v: rgba(139,104,255,0.5);
  --glow-r: rgba(255,77,158,0.4);

  --shadow-xs: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-sm: 0 8px 32px rgba(0,0,0,0.48);
  --shadow-md: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 0.5px var(--line-0);
  --shadow-lg: 0 32px 90px rgba(0,0,0,0.65), 0 0 0 0.5px var(--line-1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --wrap: min(1300px, calc(100% - 48px));
  --gap:  22px;

  --spring: cubic-bezier(.22,.68,0,1.2);
  --smooth: cubic-bezier(.16,1,.3,1);
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  min-height: 100dvh;
  font-family: 'Inter', sans-serif;
  font-size: 15px; line-height: 1.65;
  color: var(--t1); background: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════
   BACKGROUND SCENE
═══════════════════════════════════════════════ */
.scene {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.scene-wallpaper{
  position:absolute; inset:0;
  background-image: var(--wallpaper-url);
  background-size: cover;
  background-position: center;
  opacity: var(--wallpaper-opacity);
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.05);
}
.scene-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); will-change: transform;
}
.scene-blob:nth-child(1) {
  width: 1000px; height: 700px; top: -220px; left: -280px;
  background: radial-gradient(ellipse, var(--aqua-dim), transparent 68%);
  transform: translate(calc(var(--mx,0) * 20px), calc(var(--my,0) * 12px));
  transition: transform 1.2s var(--smooth);
}
.scene-blob:nth-child(2) {
  width: 820px; height: 820px; top: -160px; right: -260px;
  background: radial-gradient(ellipse, var(--violet-mid), transparent 68%);
  transform: translate(calc(var(--mx,0) * -16px), calc(var(--my,0) * 18px));
  transition: transform 1.4s var(--smooth);
}
.scene-blob:nth-child(3) {
  width: 640px; height: 640px; bottom: -120px; left: 28%;
  background: radial-gradient(ellipse, var(--rose-dim), transparent 68%);
  transform: translate(calc(var(--mx,0) * 10px), calc(var(--my,0) * -10px));
  transition: transform 1.6s var(--smooth);
}
.scene-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at  7% 13%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 21% 67%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(1px 1px at 37%  8%, rgba(255,255,255,.42), transparent 60%),
    radial-gradient(1px 1px at 54% 81%, rgba(255,255,255,.32), transparent 60%),
    radial-gradient(1px 1px at 69% 31%, rgba(255,255,255,.26), transparent 60%),
    radial-gradient(1px 1px at 83% 57%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 90% 19%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 44% 44%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(1.5px 1.5px at 14% 44%, var(--glow-a), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 70%, var(--glow-v), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 27%, var(--glow-r), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 85%, var(--aqua-mid), transparent 60%);
  opacity: .65;
}
.scene-grid {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.014) 80px);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 20%, transparent 80%);
}

/* ═══════════════════════════════════════════════
   SHELL & WRAP
═══════════════════════════════════════════════ */
.site-shell { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: var(--wrap); margin: 0 auto; }

/* ═══════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 200;
  height: 80px; display: flex; align-items: center;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  background: rgba(1, 2, 8, 0.78);
  border-bottom: 0.5px solid var(--line-0);
}
.topbar::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua-mid), var(--violet-mid), transparent);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand--logo-only{gap:0}
.brand-logo{height:60px;width:auto;max-width:280px;object-fit:contain;display:block;filter:drop-shadow(0 14px 22px rgba(0,0,0,.45))}
.sigil {
  position: relative; width: 42px; height: 42px;
  border-radius: 12px; overflow: hidden;
  border: 0.5px solid rgba(255,255,255,.15); flex-shrink: 0;
}
.sigil-bg {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, var(--aqua), var(--violet), var(--rose), var(--aqua));
  animation: spin 9s linear infinite;
}
.sigil-inner {
  position: absolute; inset: 2px; border-radius: 10px;
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
}
.sigil-glyph {
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .06em;
  background: linear-gradient(135deg, var(--aqua), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand-text strong {
  display: block; font-family: 'Rajdhani', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; line-height: 1.1;
}
.brand-text small { display: block; font-size: 10px; color: var(--t3); letter-spacing: .09em; text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 7px 13px; font-size: 13px; font-weight: 500;
  color: var(--t3); border-radius: var(--r-sm); letter-spacing: .04em;
  transition: color .18s, background .18s; position: relative;
}
.nav a:hover { color: var(--t1); background: var(--bg-glass2); }
.nav a.active { color: var(--aqua); }
.nav a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1.5px; background: var(--aqua); border-radius: 2px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--t1);
  background: linear-gradient(135deg, var(--aqua-mid), var(--violet-mid));
  border: 0.5px solid rgba(0,207,255,.38); border-radius: var(--r-md); cursor: pointer;
  transition: transform .2s var(--spring), box-shadow .2s, border-color .2s;
}
.nav-cta:hover { transform: translateY(-1px); border-color: rgba(0,207,255,.65); box-shadow: 0 0 22px -4px var(--glow-a); }
.nav-cta::after { content: '→'; font-size: 14px; }

/* ═══════════════════════════════════════════════
   CARD
═══════════════════════════════════════════════ */
.card {
  background: var(--bg-panel); border: 0.5px solid var(--line-1);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  box-shadow: var(--shadow-md); border-radius: var(--r-lg);
}
.card-pad { padding: 24px; }
.card-pad-lg { padding: 32px; }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em;
  border-radius: var(--r-md); border: 0.5px solid var(--line-1); cursor: pointer;
  color: var(--t1);
  transition: transform .22s var(--spring), box-shadow .22s, border-color .22s, background .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, rgba(0,207,255,.22), rgba(139,104,255,.18), rgba(255,77,158,.14));
  border-color: rgba(0,207,255,.42);
}
.btn-primary:hover { box-shadow: 0 10px 36px -8px var(--glow-a); border-color: rgba(0,207,255,.75); }
.btn-ghost { background: var(--bg-glass); }
.btn-ghost:hover { background: var(--bg-glass2); border-color: var(--line-2); }
.btn-violet { background: linear-gradient(135deg, rgba(139,104,255,.22), rgba(255,77,158,.16)); border-color: rgba(139,104,255,.42); }
.btn-violet:hover { box-shadow: 0 10px 36px -8px var(--glow-v); border-color: rgba(139,104,255,.75); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-full { width: 100%; }
.btn.disabled, .btn[disabled] { opacity: .45; pointer-events: none; filter: saturate(.5); }

/* ═══════════════════════════════════════════════
   HERO (home)
═══════════════════════════════════════════════ */
.hero-section { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: center; }
.hero-left { display: flex; flex-direction: column; gap: 30px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; background: var(--bg-glass); border: 0.5px solid var(--line-1);
  border-radius: 999px; font-size: 12px; color: var(--t2); letter-spacing: .06em; width: fit-content;
}
.orb {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
  animation: orb-pulse 2.6s ease-in-out infinite; flex-shrink: 0;
}
.orb.bad { background: var(--bad); box-shadow: 0 0 0 2px rgba(244,63,94,.2); }
@keyframes orb-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.2), 0 0 8px rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0),  0 0 14px rgba(34,197,94,.55); }
}

.hero-headline {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: clamp(52px, 8vw, 96px); line-height: .88; letter-spacing: -.04em;
}
.hero-headline .grad {
  background: linear-gradient(120deg, var(--aqua) 0%, var(--violet) 48%, var(--rose) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 16px; line-height: 1.75; color: var(--t2); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-box {
  padding: 16px 12px; background: var(--bg-glass); border: 0.5px solid var(--line-0);
  border-radius: var(--r-md); text-align: center;
  transition: border-color .22s, background .22s, transform .22s var(--spring);
}
.stat-box:hover { background: var(--bg-glass2); border-color: var(--line-1); transform: translateY(-2px); }
.stat-box .lbl { display: block; font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.stat-box .val { display: block; font-family: 'Rajdhani', sans-serif; font-size: 19px; font-weight: 700; color: var(--t1); line-height: 1; }

/* Portal */
.portal-wrap { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.portal-visual { display: grid; place-items: center; min-height: 300px; }
.portal-ring { position: relative; width: 240px; height: 240px; border-radius: 50%; }
.portal-ring::before {
  content: ''; position: absolute; inset: -11px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,207,255,.8), rgba(139,104,255,.65), rgba(255,77,158,.65), rgba(0,207,255,.8));
  animation: spin 11s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 2px));
}
.portal-ring::after {
  content: ''; position: absolute; inset: -26px; border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(0,207,255,.12), rgba(139,104,255,.16), rgba(255,77,158,.10), rgba(0,207,255,.12));
  filter: blur(22px); animation: spin 16s linear infinite reverse;
}
.portal-inner {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(0,207,255,.13), transparent 60%),
    radial-gradient(circle at 70% 72%, rgba(139,104,255,.11), transparent 55%),
    var(--bg-deep);
  border: 0.5px solid var(--line-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 4px; z-index: 1;
}
.portal-label { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); }
.portal-season {
  font-family: 'Rajdhani', sans-serif; font-size: 40px; font-weight: 700;
  letter-spacing: -.025em; line-height: 1;
  background: linear-gradient(135deg, var(--aqua), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.portal-rates { font-size: 13px; color: var(--t2); }

.portal-ip-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 15px; background: var(--bg-glass); border: 0.5px solid var(--line-0); border-radius: var(--r-md);
}
.ip-stack small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--t3); margin-bottom: 4px; }
.ip-val { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--t1); }
.copy-btn {
  padding: 7px 13px; font-size: 11px; font-weight: 600; letter-spacing: .05em;
  color: var(--t2); background: var(--bg-glass); border: 0.5px solid var(--line-1);
  border-radius: var(--r-xs); cursor: pointer;
  transition: color .18s, border-color .18s, transform .18s;
}
.copy-btn:hover { color: var(--t1); border-color: var(--line-2); transform: translateY(-1px); }
.copy-btn.copied { color: var(--good); border-color: rgba(34,197,94,.4); }
.server-time-row { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--t3); text-align: center; padding: 4px 0; }
.portal-block { display: grid; gap: 12px; }
.portal-block-title { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: var(--t1); text-align: center; }
.portal-login-form { display: grid; gap: 10px; }
.portal-input { width: 100%; padding: 10px 12px; background: rgba(255,255,255,.03); border: 0.5px solid var(--line-1); color: var(--t1); border-radius: var(--r-sm); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-size: 13px; }
.portal-input::placeholder { color: var(--t4); }
.portal-input:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.portal-input:focus { border-color: rgba(0,207,255,.5); box-shadow: 0 0 0 3px rgba(0,207,255,.07), 0 0 24px -10px var(--glow-a); background: rgba(0,207,255,.03); }
.site-shell input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;border-radius:6px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);cursor:pointer;display:inline-block;vertical-align:middle}
.site-shell input[type=checkbox]:hover{border-color:rgba(0,230,118,.45)}
.site-shell input[type=checkbox]:focus{outline:none;box-shadow:0 0 0 3px rgba(0,230,118,.14),inset 0 1px 0 rgba(255,255,255,.06)}
.site-shell input[type=checkbox]:checked{border-color:rgba(0,230,118,.70);background:rgba(0,230,118,.12);background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%2300e676%22%20d%3D%22M9%2016.2%204.8%2012%203.4%2013.4%209%2019%2021%207%2019.6%205.6z%22/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:14px 14px}
.portal-sep { height: 1px; background: var(--line-1); margin: 8px 0; }
.portal-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.05); border: .5px solid var(--line-1); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.portal-user { color: var(--t1); font-size: 18px; font-weight: 700; }
.portal-user-sub { color: var(--t2); font-size: 13px; }
.portal-actions { display: grid; gap: 10px; }
.portal-empty { color: var(--t3); font-size: 13px; text-align: center; padding: 8px 0; }
.portal-market-list { display: grid; gap: 8px; }
.portal-market-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.02); border: .5px solid rgba(255,255,255,.06); border-radius: var(--r-sm); }
.pmi-icon { width: 28px; height: 28px; border-radius: 6px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); image-rendering: pixelated; }
.pmi-name { color: var(--t1); font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.pmi-price { margin-left: auto; color: var(--t2); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.pmi-cur { color: var(--aqua); margin-left: 6px; }

.market-char-card .rank-tooltip{width:100%;background:linear-gradient(180deg,rgba(6,8,16,.96),rgba(6,8,16,.88));border:1px solid rgba(255,185,110,.14);border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.6);overflow:visible}
.market-char-card .rank-tooltip{position:relative;top:auto;left:auto;opacity:1;visibility:visible;transform:none;pointer-events:auto}
.market-char-card .rank-tt-content{display:flex;gap:14px;align-items:stretch;padding:12px}
.market-char-card .rank-tt-left{flex:1;min-width:260px}
.market-char-card .rank-tt-right{flex:0 0 330px;display:flex;align-items:center;justify-content:center}
.market-char-card .rank-tt-left-card{padding:12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.market-char-card .rank-tt-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.market-char-card .rank-tt-top-left{display:flex;align-items:flex-start;gap:12px;min-width:0}
.market-char-card .rank-tt-id{min-width:0}
.market-char-card .rank-tt-name{font-size:18px;font-weight:900;color:#fff4e8;line-height:1.15}
.market-char-card .rank-tt-class{margin-top:4px;font-size:12px;letter-spacing:.06em;color:var(--t3);text-transform:none}
.market-char-card .rank-tt-status{font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);white-space:nowrap}
.market-char-card .rank-tt-status.is-online{color:#20d65a;border-color:rgba(32,214,90,.25);background:rgba(32,214,90,.08)}
.market-char-card .rank-tt-status.is-offline{color:#e03e3e;border-color:rgba(224,62,62,.25);background:rgba(224,62,62,.08)}
.market-char-card .rank-class-ico--tt{width:100px;height:100px;border-radius:16px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);image-rendering:pixelated;flex:0 0 auto}
.market-char-card .tt-stat{padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);font-size:12px}
.market-char-card .tt-lbl{color:var(--t3)}
.market-char-card .tt-val{font-weight:900}
.market-char-card .tt-body{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.market-char-card .rank-equip{width:330px;max-width:330px;display:flex;align-items:center;justify-content:center}
.market-char-card .rank-equip-loading{color:var(--t3);font-size:12px}
.market-char-card .rank-equip-frame{width:330px;max-width:330px;padding:9px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.market-char-card .rank-equip-head{font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#f6cb97;margin-bottom:10px}
.market-char-card .rank-equip-stage{position:relative;width:316px;height:316px;border-radius:14px;background-size:contain;background-position:center;background-repeat:no-repeat;overflow:visible}
.market-char-card .rank-equip-slot{position:absolute;width:66px;height:66px;background-size:contain;background-position:center;background-repeat:no-repeat}
.market-char-card .rank-equip-slot.ring-slot,.market-char-card .rank-equip-slot.pendant-slot{width:29px;height:29px;background-size:70%}
.market-char-card .rank-equip-slot.pet-slot{left:23px;top:36px}
.market-char-card .rank-equip-slot.helm-slot{left:125px;top:36px}
.market-char-card .rank-equip-slot.wings-slot{right:23px;top:36px}
.market-char-card .rank-equip-slot.left-hand-slot{left:23px;top:109px}
.market-char-card .rank-equip-slot.chest-slot{left:125px;top:109px}
.market-char-card .rank-equip-slot.right-hand-slot{right:23px;top:109px}
.market-char-card .rank-equip-slot.gloves-slot{left:23px;bottom:36px}
.market-char-card .rank-equip-slot.pants-slot{left:125px;bottom:36px}
.market-char-card .rank-equip-slot.boots-slot{right:23px;bottom:36px}
.market-char-card .rank-equip-slot.pendant-slot{left:90px;top:115px}
.market-char-card .rank-equip-slot.ring-left{left:90px;top:207px}
.market-char-card .rank-equip-slot.ring-right{right:102px;top:207px}
.market-char-card .rank-equip-slot.has-item{cursor:pointer}
.market-char-card .rank-equip-tip{display:none;position:absolute;left:50%;top:100%;transform:translate(-50%,10px);width:300px;max-width:300px;background:rgba(10,4,2,.96);border:1px solid rgba(255,185,110,.18);border-radius:14px;padding:10px;z-index:3000;box-shadow:0 16px 40px rgba(0,0,0,.55);text-align:left}
.market-char-card .rank-equip-slot:hover .rank-equip-tip{display:block}
.market-char-card .rank-equip-tip-title{color:#fff4e8;font-weight:900;font-size:13px;margin-bottom:8px}
.market-char-card .rank-equip-tip-line{color:var(--t2);font-size:12px;line-height:1.5;padding:4px 0;border-top:1px solid rgba(255,255,255,.06)}
.market-char-card .rank-equip-tip-line:first-of-type{border-top:none}
@media (max-width: 980px){
  .market-char-card .rank-tt-content{flex-direction:column}
  .market-char-card .rank-tt-right{flex:1 1 auto}
  .market-char-card .rank-equip-frame,.market-char-card .rank-equip{width:100%;max-width:100%}
  .market-char-card .rank-equip-stage{width:316px;height:316px}
}

/* ═══════════════════════════════════════════════
   FEATURES STRIP
═══════════════════════════════════════════════ */
.features-strip { border-top: 0.5px solid var(--line-0); border-bottom: 0.5px solid var(--line-0); }
.features-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.5px; background: var(--line-0); border-radius: var(--r-md); overflow: hidden;
}
.feat-item { padding: 20px; background: var(--bg-deep); display: flex; align-items: flex-start; gap: 14px; transition: background .18s; }
.feat-item:hover { background: rgba(255,255,255,.02); }
.feat-icon { width: 32px; height: 32px; border-radius: var(--r-xs); background: var(--bg-raise); border: 0.5px solid var(--line-1); display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.feat-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 3px; }
.feat-text span { font-size: 11px; color: var(--t3); line-height: 1.5; }

/* ═══════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════ */
.section { padding: 68px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 12px;
}
.section-label::before { content: ''; width: 20px; height: 1.5px; background: linear-gradient(90deg, var(--aqua), transparent); border-radius: 2px; }
.section-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(34px, 5.5vw, 62px); font-weight: 700; line-height: .92; letter-spacing: -.035em; margin-bottom: 16px; }
.section-sub { font-size: 15px; color: var(--t2); max-width: 52ch; line-height: 1.72; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }

/* ═══════════════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════════════ */
.page-header {
  padding: 52px 0 40px; border-bottom: 0.5px solid var(--line-0);
  margin-bottom: 48px; position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,207,255,.12) 30%, rgba(139,104,255,.12) 60%, transparent);
}
.page-header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: .9; letter-spacing: -.035em; }
.page-meta { font-size: 14px; color: var(--t3); max-width: 44ch; line-height: 1.6; margin-top: 10px; }

/* ═══════════════════════════════════════════════
   RANKING PAGE
═══════════════════════════════════════════════ */
.ranking-layout { display: grid; grid-template-columns: 1fr 310px; gap: var(--gap); align-items: start; padding-bottom: 64px; }

/* RANKING TOOLTIP */
.rank-row { position: relative; }
.rank-name-col { position: relative; cursor: pointer; }
.rank-name { font-weight: 600; color: var(--t1); border-bottom: 1px dashed rgba(255,255,255,.2); padding-bottom: 2px; }
.rank-name:hover { color: var(--primary); border-bottom-color: var(--primary); }

.rank-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 0;
  background: rgba(10,12,18,.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0,0,0,.8);
  width: 320px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .2s ease;
  pointer-events: none;
}
.rank-name-col.open .rank-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ranking-layout.single { grid-template-columns: 1fr; }
.ranking-layout.single .table-responsive { overflow: visible; }
.tt-header {
  padding: 14px;
  border-bottom: 1px solid var(--line-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.02);
}
.tt-name { color: var(--gold); font-weight: 700; font-size: 16px; }
.tt-class { color: var(--t2); font-size: 13px; font-family: "JetBrains Mono", monospace; }
.tt-body {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tt-col { display: grid; gap: 8px; }
.tt-stat { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 4px; }
.tt-lbl { color: var(--t3); }
.tt-val { font-weight: 600; }

.rank-pos {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; color: var(--t2); font-weight: 600;
}
.rank-row:nth-child(1) .rank-pos { background: rgba(255,215,0,.15); color: #ffd700; box-shadow: 0 0 15px rgba(255,215,0,.2); }
.rank-row:nth-child(2) .rank-pos { background: rgba(192,192,192,.15); color: #c0c0c0; }
.rank-row:nth-child(3) .rank-pos { background: rgba(205,127,50,.15); color: #cd7f32; }
.table-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.table-title { font-family: 'Rajdhani', sans-serif; font-size: 19px; font-weight: 700; }
.db-badge { padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .05em; }
.db-badge.ok { background: rgba(34,197,94,.1); border: 0.5px solid rgba(34,197,94,.28); color: #86efac; }
.db-badge.err { background: rgba(244,63,94,.1); border: 0.5px solid rgba(244,63,94,.28); color: #fda4af; }

.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table thead tr { border-bottom: 0.5px solid var(--line-1); }
.ranking-table th { padding: 10px 12px; text-align: left; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.ranking-table th:first-child { padding-left: 4px; }
.ranking-table td { padding: 13px 12px; font-size: 14px; border-bottom: 0.5px solid var(--line-0); color: var(--t2); vertical-align: middle; }
.ranking-table td:first-child { padding-left: 4px; }
.ranking-table tbody tr { transition: background .15s; }
.ranking-table tbody tr:hover { background: rgba(255,255,255,.022); }
.ranking-table tbody tr:last-child td { border-bottom: none; }

.rank-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--t3); display: inline-block; min-width: 22px; }
.rank-1 .rank-num { color: var(--amber); text-shadow: 0 0 10px rgba(251,191,36,.45); }
.rank-2 .rank-num { color: var(--silver); }
.rank-3 .rank-num { color: #cd7f32; }
.char-name { font-weight: 600; color: var(--t1); font-size: 14px; }
.class-tag { display: inline-block; padding: 2px 7px; background: var(--bg-raise); border: 0.5px solid var(--line-1); border-radius: var(--r-xs); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; color: var(--aqua); letter-spacing: .05em; }
.lvl-val { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--t1); }
.reset-badge { font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 700; color: var(--violet); }
.mr-badge { font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 700; color: var(--rose); }

.ranking-side { display: flex; flex-direction: column; gap: 16px; }
.side-card-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); margin-bottom: 16px; }
.db-list { display: flex; flex-direction: column; gap: 9px; }
.db-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; padding: 7px 0; border-bottom: 0.5px solid var(--line-0); }
.db-row:last-child { border-bottom: none; }
.db-row-label { color: var(--t3); }
.db-row-val { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--t2); }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item { padding: 12px 14px; background: var(--bg-glass); border: 0.5px solid var(--line-0); border-radius: var(--r-sm); transition: border-color .18s, background .18s; }
.feature-item:hover { background: var(--bg-glass2); border-color: var(--line-1); }
.feature-item strong { display: block; font-size: 12px; font-weight: 600; color: var(--t1); margin-bottom: 3px; }
.feature-item span { font-size: 11px; color: var(--t3); line-height: 1.5; }
.debug-box { margin-top: 14px; padding: 12px 14px; background: rgba(0,0,0,.3); border: 0.5px solid var(--line-0); border-radius: var(--r-sm); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--t3); display: grid; gap: 6px; }

/* ═══════════════════════════════════════════════
   REGISTER PAGE
═══════════════════════════════════════════════ */
.register-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; padding-bottom: 64px; max-width: 760px; margin: 0 auto; }
.register-layout .register-card{padding:28px 28px 24px}
.register-layout .register-header{margin-bottom:18px}
.register-layout .register-title{font-size:18px}
#cuentas .section-head{flex-direction:column;align-items:center;justify-content:center;text-align:center}
#cuentas .section-head .section-label{justify-content:center}
#cuentas .section-head .section-title{margin-left:auto;margin-right:auto}
#cuentas .section-head .section-sub{margin-left:auto;margin-right:auto;max-width:560px}
.register-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.register-title { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; }
.alert { padding: 13px 16px; border-radius: var(--r-md); border: 0.5px solid; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.alert-success { background: rgba(34,197,94,.09); border-color: rgba(34,197,94,.28); color: #86efac; }
.alert-error   { background: rgba(244,63,94,.09); border-color: rgba(244,63,94,.28); color: #fda4af; }
.register-form { display: flex; flex-direction: column; gap: 22px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.field input,
.field select,
.field textarea { width: 100%; padding: 11px 12px; background: rgba(255,255,255,.03); border: 0.5px solid var(--line-1); border-radius: var(--r-md); color: var(--t1); font-size: 13px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: var(--t4); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: rgba(0,207,255,.5); box-shadow: 0 0 0 3px rgba(0,207,255,.07), 0 0 24px -10px var(--glow-a); background: rgba(0,207,255,.03); }
.form-note { font-size: 13px; color: var(--t3); line-height: 1.55; }
.form-note .mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--aqua); }
.btn-submit { width: 100%; justify-content: center; padding: 14px; font-size: 14px; }
.req-list { display: flex; flex-direction: column; gap: 12px; }
.req-item { padding: 13px 15px; background: var(--bg-glass); border: 0.5px solid var(--line-0); border-radius: var(--r-md); transition: border-color .18s; }
.req-item:hover { border-color: var(--line-1); }
.req-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 4px; }
.req-item span { font-size: 12px; color: var(--t3); line-height: 1.5; }
.mono-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--aqua); }

/* ═══════════════════════════════════════════════
   DOWNLOADS PAGE
═══════════════════════════════════════════════ */
.downloads-layout { padding-bottom: 64px; }
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 28px; }
.dl-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; transition: transform .25s var(--spring), box-shadow .25s; }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dl-icon-wrap { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 24px; background: var(--bg-raise); border: 0.5px solid var(--line-1); }
.dl-icon-wrap.aqua   { background: var(--aqua-dim);   border-color: rgba(0,207,255,.22); }
.dl-icon-wrap.violet { background: var(--violet-dim);  border-color: rgba(139,104,255,.22); }
.dl-icon-wrap.rose   { background: var(--rose-dim);    border-color: rgba(255,77,158,.22); }
.dl-name { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.dl-desc { font-size: 13px; color: var(--t2); line-height: 1.6; }
.dl-meta { display: flex; flex-direction: column; gap: 7px; }
.dl-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.dl-meta-row span { color: var(--t3); }
.dl-meta-row strong { color: var(--t1); font-weight: 500; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.download-note { padding: 16px 20px; background: var(--bg-glass); border: 0.5px solid var(--line-0); border-radius: var(--r-md); font-size: 13px; color: var(--t2); line-height: 1.6; }
.download-note strong { color: var(--t1); }

/* ═══════════════════════════════════════════════
   EVENTS
═══════════════════════════════════════════════ */
.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.event-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s var(--spring), box-shadow .25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 0.5px var(--line-2); }
.event-when { display: inline-block; padding: 5px 12px; background: var(--bg-glass); border: 0.5px solid var(--line-1); border-radius: 999px; font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--t3); width: fit-content; }
.event-title { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--t1); }
.event-desc { font-size: 13px; color: var(--t2); line-height: 1.6; flex: 1; }
.event-line { height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--aqua), var(--violet), transparent); }

/* ═══════════════════════════════════════════════
   SOCIALS
═══════════════════════════════════════════════ */
.socials-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.social-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 116px; padding: 20px 12px; background: var(--bg-panel); border: 0.5px solid var(--line-1); border-radius: var(--r-lg); backdrop-filter: blur(20px); text-align: center; transition: transform .25s var(--spring), box-shadow .25s, border-color .25s; box-shadow: var(--shadow-md); }
.social-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 0.5px var(--line-2); }
.social-icon { font-size: 22px; line-height: 1; }
.social-name { font-size: 12px; font-weight: 600; color: var(--t2); letter-spacing: .05em; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { padding: 28px 0 36px; border-top: 0.5px solid var(--line-0); margin-top: auto; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand strong { display: block; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t1); }
.footer-brand small { display: block; font-size: 11px; color: var(--t3); margin-top: 2px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--t3); transition: color .18s; }
.footer-links a:hover { color: var(--t1); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portal-wrap { max-width: 460px; margin: 0 auto; }
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .ranking-layout, .register-layout { grid-template-columns: 1fr; }
  .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .socials-grid { grid-template-columns: repeat(3, 1fr); }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --wrap: calc(100% - 32px); }
  .topbar-inner { gap: 12px; }
  .nav { display: none; }
  .hero-section { padding: 44px 0 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .features-strip-inner { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .page-header { padding: 36px 0 28px; margin-bottom: 32px; }
  .page-header-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Ajustes visuales home: botones y stats más legibles */
:root {
  --emerald: #00e676;
  --emerald-soft: rgba(0, 230, 118, .16);
  --emerald-mid: rgba(0, 230, 118, .32);
  --emerald-glow: rgba(0, 230, 118, .45);
}

/* Fondo detrás de Crear cuenta / Descargar / Ranking */
.hero-actions {
  width: fit-content;
  padding: 12px;
  border-radius: var(--r-lg);
  background: rgba(1, 8, 10, .52);
  border: 1px solid rgba(0, 230, 118, .16);
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

/* Botones principales con más contraste */
.hero-actions .btn {
  background: rgba(4, 18, 20, .72);
  border-color: rgba(255,255,255,.14);
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, rgba(0,230,118,.30), rgba(0,207,255,.16));
  border-color: rgba(0,230,118,.55);
}

.hero-actions .btn-primary:hover {
  border-color: rgba(0,230,118,.85);
  box-shadow: 0 10px 34px -8px var(--emerald-glow);
}

/* Botones del Market en verde esmeralda */
.portal-wrap .btn,
.portal-actions .btn,
.market-char-card .btn,
a[href*="market"].btn,
a[href*="Market"].btn {
  background: linear-gradient(135deg, rgba(0,230,118,.24), rgba(0,170,120,.14));
  border-color: rgba(0,230,118,.50);
  color: #effff7;
}

.portal-wrap .btn:hover,
.portal-actions .btn:hover,
.market-char-card .btn:hover,
a[href*="market"].btn:hover,
a[href*="Market"].btn:hover {
  border-color: rgba(0,230,118,.85);
  box-shadow: 0 10px 34px -8px var(--emerald-glow);
}

/* Moneda/precios del market también en esmeralda */
.pmi-cur {
  color: var(--emerald);
  text-shadow: 0 0 10px rgba(0,230,118,.35);
}

/* Fondo para Versión / EXP / Drop / Reset / Cuentas / Personajes */
.stats-strip {
  width: fit-content;
  padding: 12px;
  border-radius: var(--r-lg);
  background: rgba(1, 8, 10, .48);
  border: 1px solid rgba(0, 230, 118, .13);
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.stat-box {
  background: rgba(4, 18, 20, .70);
  border-color: rgba(255,255,255,.12);
}

.stat-box:hover {
  background: rgba(6, 28, 26, .82);
  border-color: rgba(0,230,118,.34);
}

.stat-box .lbl {
  color: rgba(218,255,238,.62);
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

.stat-box .val {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,.75);
}

/* Mobile: que no quede apretado */
@media (max-width: 760px) {
  .hero-actions,
  .stats-strip {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

/* Forzar texto "Usuarios Online" desde CSS */
.stats-strip .stat-box:nth-child(7) .lbl {
  font-size: 0;
  color: #00ff84;
}

.stats-strip .stat-box:nth-child(7) .lbl::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #00ff84;
  box-shadow: 0 0 0 3px rgba(0,255,132,.14), 0 0 12px rgba(0,255,132,.65);
  vertical-align: 1px;
}

.stats-strip .stat-box:nth-child(7) .lbl::after {
  content: 'Usuarios Online';
  font-size: 10px;
  color: #00ff84;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: middle;
}

.stats-strip .stat-box:nth-child(7) .val {
  color: #00ff84;
  text-shadow: 0 0 12px rgba(0,255,132,.55), 0 2px 6px rgba(0,0,0,.75);
}

/* Forzar texto "Cuentas Creadas" desde CSS */
.stats-strip .stat-box:nth-child(5) .lbl {
  font-size: 0;
  color: #4cc9ff;
}

.stats-strip .stat-box:nth-child(5) .lbl::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #4cc9ff;
  box-shadow: 0 0 0 3px rgba(76,201,255,.14), 0 0 12px rgba(76,201,255,.65);
  vertical-align: 1px;
}

.stats-strip .stat-box:nth-child(5) .lbl::after {
  content: 'Cuentas Creadas';
  font-size: 10px;
  color: #4cc9ff;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: middle;
}

.stats-strip .stat-box:nth-child(5) .val {
  color: #9be7ff;
  text-shadow: 0 0 12px rgba(76,201,255,.45), 0 2px 6px rgba(0,0,0,.75);
}


/* Eventos: ocultar "Cada 2 horas", "Cada 3 horas", etc. */
.event-card .event-when {
  display: none;
}

/* Reemplazar descripciones desde CSS */
.event-card .event-desc {
  font-size: 0;
}

.event-card .event-desc::after {
  display: block;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.6;
}

/* Blood Castle */
.events-grid .event-card:nth-child(1) .event-desc::after {
  content: 'Enfrentate a oleadas de enemigos, rompé las puertas del castillo y competí por recompensas especiales.';
}

/* Devil Square */
.events-grid .event-card:nth-child(2) .event-desc::after {
  content: 'Resistí la invasión de monstruos, subí experiencia rápido y ganá premios según tu desempeño.';
}

/* Chaos Castle */
.events-grid .event-card:nth-child(3) .event-desc::after {
  content: 'Batalla todos contra todos en una arena cerrada. Solo los más fuertes sobreviven hasta el final.';
}

/* Invasiones */
.events-grid .event-card:nth-child(4) .event-desc::after {
  content: 'Apariciones especiales en distintos mapas con drops únicos y jefes para derrotar en grupo.';
}

/* Eventos: fondo y color renovado */
.event-card {
  background:
    linear-gradient(180deg, rgba(0, 40, 32, .86), rgba(2, 12, 18, .92));
  border-color: rgba(0, 230, 118, .24);
  box-shadow: 0 18px 46px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}

.event-card:hover {
  border-color: rgba(0, 230, 118, .50);
  box-shadow: 0 28px 70px rgba(0,0,0,.58), 0 0 28px rgba(0,230,118,.10);
}

.event-title {
  color: #eafff4;
  text-shadow: 0 0 14px rgba(0,230,118,.22);
}

.event-card .event-desc::after {
  color: #b8ffd8;
}

.event-line {
  background: linear-gradient(90deg, #00e676, #4cc9ff, transparent);
  box-shadow: 0 0 12px rgba(0,230,118,.35);
}

/* Redes y canales: nuevo estilo */
.socials-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: rgba(1, 8, 10, .42);
  border: 1px solid rgba(76, 201, 255, .14);
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.social-card {
  min-height: 94px;
  flex-direction: row;
  justify-content: flex-start;
  padding: 18px 20px;
  gap: 14px;
  background: linear-gradient(135deg, rgba(5, 24, 32, .86), rgba(3, 12, 20, .92));
  border-color: rgba(76, 201, 255, .22);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 14px 36px rgba(0,0,0,.35);
  text-align: left;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 118, .48);
  background: linear-gradient(135deg, rgba(0, 44, 36, .88), rgba(3, 16, 24, .94));
  box-shadow: 0 24px 60px rgba(0,0,0,.52), 0 0 24px rgba(0,230,118,.10);
}

.social-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 12px;
  font-size: 18px;
  background: rgba(76,201,255,.10);
  border: 1px solid rgba(76,201,255,.26);
  box-shadow: 0 0 18px rgba(76,201,255,.12);
}

.social-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #eafff4;
  letter-spacing: .02em;
}

/* Colores por red */
.social-card:nth-child(1) .social-icon {
  color: #ffffff;
  background: rgba(88,101,242,.18);
  border-color: rgba(88,101,242,.42);
}

.social-card:nth-child(2) .social-icon {
  color: #7dd3fc;
  background: rgba(24,119,242,.18);
  border-color: rgba(24,119,242,.42);
}

.social-card:nth-child(3) .social-icon {
  color: #ff8cc6;
  background: rgba(255,77,158,.18);
  border-color: rgba(255,77,158,.42);
}

.social-card:nth-child(4) .social-icon {
  color: #c084fc;
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.42);
}

.social-card:nth-child(5) .social-icon {
  color: #ff6b6b;
  background: rgba(255,0,0,.16);
  border-color: rgba(255,0,0,.38);
}

.social-card:nth-child(6) .social-icon {
  color: #86efac;
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.42);
}

/* Mobile */
@media (max-width: 760px) {
  .socials-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   HOME REDISEÑO MU PREMIUM / RESPONSIVE
═══════════════════════════════════════════════ */
.mu-premium-home {
  padding: 38px 0 44px;
}

.mu-home-wrap {
  max-width: 1320px;
}

.mu-hero-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 30px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 46px);
  background:
    linear-gradient(90deg, rgba(7, 9, 24, .92) 0%, rgba(9, 13, 32, .80) 43%, rgba(7, 10, 24, .94) 100%),
    radial-gradient(circle at 18% 25%, rgba(139, 104, 255, .23), transparent 38%),
    radial-gradient(circle at 83% 22%, rgba(0, 207, 255, .16), transparent 36%);
  border: 1px solid rgba(105, 128, 255, .22);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255,255,255,.06);
}

.mu-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,2,8,.18), transparent 32%, rgba(1,2,8,.58)),
    radial-gradient(circle at 52% 105%, rgba(255, 178, 55, .12), transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.mu-hero-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0,207,255,.22), transparent 34%, rgba(139,104,255,.22));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  z-index: 3;
}

.mu-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--wallpaper-url);
  background-size: cover;
  background-position: center;
  opacity: .34;
  filter: saturate(1.1) contrast(1.08);
  transform: scale(1.03);
}

.mu-hero-content,
.mu-status-panel {
  position: relative;
  z-index: 2;
}

.mu-hero-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.mu-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(118, 61, 255, .24);
  border: 1px solid rgba(201, 146, 255, .20);
  color: #f3d9ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 0 22px rgba(139,104,255,.12);
}

.mu-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 16px rgba(251,191,36,.75);
}

.mu-hero-title {
  margin-top: 22px;
  max-width: 780px;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 26px rgba(0,0,0,.55);
}

.mu-hero-text {
  margin-top: 16px;
  max-width: 58ch;
  color: rgba(230, 236, 255, .82);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 600;
}

.mu-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mu-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
  transition: transform .2s var(--spring), box-shadow .2s, border-color .2s, filter .2s;
  white-space: nowrap;
}

.mu-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.mu-action-primary {
  background: linear-gradient(135deg, #6d28d9, #9333ea 45%, #4f46e5);
  border-color: rgba(196, 181, 253, .42);
  box-shadow: 0 14px 30px rgba(109,40,217,.32);
}

.mu-action-secondary {
  background: linear-gradient(135deg, #0369a1, #0284c7 45%, #075985);
  border-color: rgba(125, 211, 252, .40);
  box-shadow: 0 14px 30px rgba(2,132,199,.26);
}

.mu-action-ghost {
  background: rgba(8, 14, 34, .72);
  border-color: rgba(148, 163, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.mu-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 680px;
}

.mu-quick-stat {
  min-width: 0;
  padding: 13px 12px;
  border-radius: 14px;
  background: rgba(3, 8, 24, .56);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.mu-quick-stat span {
  display: block;
  color: rgba(190, 203, 255, .58);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-quick-stat strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-status-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(5, 10, 24, .88), rgba(2, 6, 16, .92));
  border: 1px solid rgba(106, 133, 255, .20);
  box-shadow: 0 22px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
}

.mu-status-badge {
  align-self: flex-end;
  margin-bottom: -28px;
  position: relative;
  z-index: 3;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}

.mu-status-badge.is-online { background: linear-gradient(135deg, #16a34a, #22c55e); }
.mu-status-badge.is-offline { background: linear-gradient(135deg, #dc2626, #ff4d4d); }

.mu-online-card,
.mu-accounts-card {
  text-align: center;
  border-radius: 16px;
  background: rgba(0, 4, 14, .78);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.mu-online-card {
  padding: 32px 16px 19px;
  border-color: rgba(251, 191, 36, .18);
}

.mu-online-card strong {
  display: block;
  color: #ffd21f;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: .9;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(251,191,36,.22);
}

.mu-online-card span,
.mu-accounts-card span {
  display: block;
  margin-top: 9px;
  color: rgba(230,236,255,.78);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.mu-server-list {
  display: grid;
  gap: 9px;
}

.mu-server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(12, 20, 43, .72);
  border: 1px solid rgba(255,255,255,.08);
}

.mu-server-row > div { min-width: 0; }

.mu-server-name {
  display: block;
  max-width: 190px;
  color: #f7d66a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-server-row small {
  display: block;
  margin-top: 2px;
  color: rgba(190,203,255,.45);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mu-server-row b {
  flex: 0 0 auto;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
}

.mu-server-row b.is-online { color: #4ade80; }
.mu-server-row b.is-offline { color: #ff5c5c; }

.mu-accounts-card {
  padding: 18px 14px;
  background: rgba(18, 25, 48, .76);
}

.mu-accounts-card strong {
  display: block;
  margin-top: 5px;
  color: #ffd21f;
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.mu-updated {
  color: rgba(190,203,255,.52);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1180px) {
  .mu-hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    gap: 22px;
  }

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

@media (max-width: 900px) {
  .mu-premium-home {
    padding: 26px 0 34px;
  }

  .mu-hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mu-hero-content {
    max-width: none;
  }

  .mu-status-panel {
    width: 100%;
    align-self: stretch;
  }

  .mu-server-name {
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root { --wrap: min(100% - 24px, 1300px); }

  .mu-hero-card {
    border-radius: 20px;
    padding: 18px;
  }

  .mu-kicker {
    max-width: 100%;
    font-size: 11px;
  }

  .mu-hero-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .mu-hero-text {
    font-size: 14px;
  }

  .mu-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mu-action {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

  .mu-status-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .mu-status-badge {
    align-self: center;
    margin-bottom: -24px;
  }

  .mu-server-row {
    align-items: flex-start;
  }
}


/* ═══════════════════════════════════════════════
   GLOBALMU STYLE ADAPTADO A MU HOLOCAUSTO
   Mantiene estructura Kanon/PHP y solo rediseña la portada
═══════════════════════════════════════════════ */
.gm-portal-home{padding:42px 0 34px;position:relative;z-index:2}.gm-home-wrap{max-width:1180px}.gm-alert-card{position:relative;display:flex;align-items:center;gap:16px;min-height:86px;margin-bottom:18px;padding:13px 18px;border-radius:20px;overflow:hidden;background:linear-gradient(90deg,rgba(10,20,48,.96),rgba(10,26,62,.90) 48%,rgba(26,18,55,.82));border:1px solid rgba(150,170,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 34px rgba(0,0,0,.26)}.gm-alert-card:before{content:"";position:absolute;top:0;left:-32%;width:25%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);transform:skewX(-18deg);animation:gmShine 5s linear infinite}.gm-alert-orb{flex:0 0 auto;width:62px;height:62px;border-radius:50%;padding:5px;background:conic-gradient(from -90deg,#ffcc33 0 130deg,rgba(255,255,255,.09) 130deg 360deg);box-shadow:0 0 26px rgba(255,204,51,.12)}.gm-alert-orb span{display:block;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.08),transparent 34%),#09152f;border:1px solid rgba(255,255,255,.06)}.gm-alert-copy{min-width:0;flex:1}.gm-alert-copy strong{display:block;font-family:'Rajdhani',sans-serif;font-size:22px;line-height:1;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#fff3d0}.gm-alert-copy span{display:block;margin-top:5px;color:rgba(230,236,255,.68);font-size:13px}.gm-alert-link{position:relative;z-index:2;flex:0 0 auto;padding:11px 18px;border-radius:14px;background:linear-gradient(180deg,#f0c35c,#a2641f);color:#1c0d03!important;font-family:'Rajdhani',sans-serif;font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;box-shadow:0 12px 26px rgba(210,126,31,.24)}@keyframes gmShine{100%{left:125%}}
.gm-hero-box{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:30px;align-items:center;min-height:470px;padding:clamp(24px,4vw,52px);border-radius:24px;overflow:hidden;background:linear-gradient(90deg,rgba(8,12,26,.86),rgba(8,14,30,.62) 48%,rgba(6,10,22,.92)),url('/assets/img/class/fondoon.png') center center/cover no-repeat;border:1px solid rgba(170,114,206,.20);box-shadow:0 28px 85px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.06)}.gm-hero-box:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 24%,rgba(255,203,87,.13),transparent 31%),radial-gradient(circle at 68% 35%,rgba(170,114,206,.16),transparent 33%),linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.16));pointer-events:none}.gm-hero-left,.gm-status-card{position:relative;z-index:2}.gm-hero-kicker{width:max-content;max-width:100%;display:inline-flex;align-items:center;gap:9px;padding:8px 15px;border-radius:999px;background:rgba(255,204,51,.10);border:1px solid rgba(255,204,51,.18);color:#ffcc33;font-family:'Rajdhani',sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.09em;font-size:13px}.gm-hero-kicker i{width:8px;height:8px;border-radius:999px;background:#ffcc33;box-shadow:0 0 16px rgba(255,204,51,.8)}.gm-hero-left h1{max-width:720px;margin:20px 0 0;font-family:'Rajdhani',sans-serif;font-size:clamp(38px,5vw,72px);line-height:.88;font-weight:900;letter-spacing:-.04em;text-transform:uppercase;color:#fff;text-shadow:0 5px 28px rgba(0,0,0,.7)}.gm-hero-left p{max-width:58ch;margin-top:18px;color:rgba(235,239,255,.80);font-size:16px;line-height:1.72;font-weight:600}.gm-hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.gm-btn{min-height:54px;display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:18px;font-family:'Rajdhani',sans-serif;font-weight:900;font-size:15px;letter-spacing:.06em;text-transform:uppercase;border:1px solid rgba(255,255,255,.14);transition:transform .22s var(--spring),filter .22s,box-shadow .22s;white-space:nowrap}.gm-btn:hover{transform:translateY(-2px);filter:brightness(1.08)}.gm-btn-gold{background:linear-gradient(180deg,#ffd46d,#a96721);color:#1b0d02!important;box-shadow:0 16px 36px rgba(206,126,32,.26)}.gm-btn-red{background:linear-gradient(180deg,#7e2024,#111f3b);color:#fff!important;box-shadow:0 16px 36px rgba(150,34,40,.22)}.gm-btn-dark{background:rgba(6,11,25,.78);color:#fff!important;border-color:rgba(255,255,255,.16)}.gm-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:10px;margin-top:28px;max-width:640px}.gm-mini-stats div{min-width:0;padding:13px 12px;border-radius:15px;background:rgba(8,14,31,.66);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.gm-mini-stats span{display:block;color:rgba(220,226,255,.52);font-size:10px;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-mini-stats strong{display:block;margin-top:5px;color:#fff;font-family:'Rajdhani',sans-serif;font-size:18px;line-height:1;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-status-card{align-self:center;display:flex;flex-direction:column;gap:13px;padding:18px;border-radius:22px;background:linear-gradient(180deg,rgba(8,12,28,.91),rgba(5,8,18,.95));border:1px solid rgba(170,114,206,.18);box-shadow:0 24px 60px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.05)}.gm-status-pill{align-self:flex-end;margin-bottom:-28px;position:relative;z-index:3;padding:8px 18px;border-radius:999px;color:#fff;font-family:'Rajdhani',sans-serif;font-size:13px;font-weight:900;letter-spacing:.08em}.gm-status-pill.is-online{background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 12px 28px rgba(34,197,94,.20)}.gm-status-pill.is-offline{background:linear-gradient(135deg,#b91c1c,#ef4444)}.gm-online-big,.gm-registered-total{text-align:center;border-radius:17px;background:rgba(0,4,14,.75);border:1px solid rgba(255,255,255,.10)}.gm-online-big{padding:32px 16px 20px;border-color:rgba(255,204,51,.18)}.gm-online-big strong{display:block;color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:54px;line-height:.9;font-weight:900;text-shadow:0 0 24px rgba(255,204,51,.18)}.gm-online-big span,.gm-registered-total span{display:block;margin-top:8px;color:rgba(235,239,255,.78);font-family:'Rajdhani',sans-serif;font-size:13px;font-weight:900;letter-spacing:.10em;text-transform:uppercase}.gm-server-list{display:grid;gap:9px}.gm-server-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border-radius:14px;background:rgba(18,26,52,.68);border:1px solid rgba(255,255,255,.08)}.gm-server-item b{display:block;max-width:170px;color:#ffe08a;font-family:'Rajdhani',sans-serif;font-size:14px;font-weight:900;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-server-item small{display:block;color:rgba(220,226,255,.45);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.gm-server-item em{font-style:normal;font-family:'Rajdhani',sans-serif;font-size:13px;font-weight:900}.gm-server-item em.is-online{color:#4ade80}.gm-server-item em.is-offline{color:#ff5c5c}.gm-registered-total{padding:18px 14px}.gm-registered-total strong{display:block;margin-top:4px;color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:40px;line-height:1;font-weight:900}.gm-updated{font-family:'JetBrains Mono',monospace;color:rgba(220,226,255,.48);font-size:11px;text-align:center}
.gm-activity-section,.gm-info-section,.gm-community-section{position:relative;z-index:2;padding:34px 0}.gm-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.gm-section-head span{display:block;color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.gm-section-head h2{margin:5px 0 0;color:#fff;font-family:'Rajdhani',sans-serif;font-size:clamp(28px,3.5vw,42px);line-height:1;font-weight:900;text-transform:uppercase}.gm-section-head a{padding:10px 16px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);color:#fff;font-family:'Rajdhani',sans-serif;font-weight:900;text-transform:uppercase;font-size:13px}.gm-activity-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.gm-news-panel,.gm-latest-users-card,.gm-discord-card,.gm-info-card{border-radius:22px;background:linear-gradient(180deg,rgba(18,26,50,.78),rgba(8,13,28,.84));border:1px solid rgba(170,114,206,.14);box-shadow:0 18px 46px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.04);overflow:hidden}.gm-featured-news{position:relative;min-height:300px;padding:28px;background:linear-gradient(135deg,rgba(7,13,30,.82),rgba(15,25,55,.66)),radial-gradient(circle at 78% 20%,rgba(255,204,51,.14),transparent 30%)}.gm-news-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,204,51,.10);border:1px solid rgba(255,204,51,.20);color:#ffcc33;font-family:'Rajdhani',sans-serif;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.gm-featured-news h3{margin:22px 0 8px;color:#fff;font-family:'Rajdhani',sans-serif;font-size:34px;line-height:1.05;font-weight:900;text-transform:uppercase}.gm-featured-news time{color:rgba(220,226,255,.50);font-family:'JetBrains Mono',monospace;font-size:12px}.gm-featured-news p{max-width:68ch;margin-top:15px;color:rgba(235,239,255,.76);font-size:15px;line-height:1.68}.gm-read-more{display:inline-flex;margin-top:18px;color:#ffcc33!important;font-family:'Rajdhani',sans-serif;font-weight:900;text-transform:uppercase}.gm-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.06)}.gm-news-list article{min-width:0;padding:16px;background:rgba(6,10,24,.84)}.gm-news-list span{display:block;color:rgba(220,226,255,.46);font-family:'JetBrains Mono',monospace;font-size:11px}.gm-news-list strong{display:block;margin-top:6px;color:#fff;font-family:'Rajdhani',sans-serif;font-size:16px;line-height:1.12;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-side-column{display:grid;gap:18px}.gm-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 0}.gm-card-title span{color:#fff;font-family:'Rajdhani',sans-serif;font-size:22px;font-weight:900;text-transform:uppercase}.gm-card-title b{color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:22px}.gm-users-carousel{height:258px;overflow:hidden;margin:14px 12px 14px;border-radius:16px}.gm-users-track{display:grid;gap:10px;animation:gmUsersScroll 22s linear infinite}.gm-users-carousel:hover .gm-users-track{animation-play-state:paused}.gm-user-row{display:grid;grid-template-columns:44px minmax(0,1fr) 40px;align-items:center;gap:11px;padding:11px;border-radius:15px;background:rgba(6,11,25,.78);border:1px solid rgba(255,255,255,.08)}.gm-user-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#763dff,#152646);color:#fff;font-family:'Rajdhani',sans-serif;font-weight:900}.gm-user-row strong{display:block;color:#fff;font-family:'Rajdhani',sans-serif;font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-user-row small{display:block;color:rgba(220,226,255,.48);font-size:12px}.gm-user-row span{color:#ffcc33;font-family:'JetBrains Mono',monospace;font-size:12px;text-align:right}@keyframes gmUsersScroll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}.gm-discord-card{display:flex;min-height:174px;flex-direction:column;justify-content:flex-end;padding:22px;background:linear-gradient(160deg,rgba(55,65,164,.55),rgba(9,14,32,.88)),radial-gradient(circle at 20% 15%,rgba(110,168,255,.24),transparent 35%);color:#fff!important}.gm-discord-card span{color:#a9b7ff;font-family:'Rajdhani',sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:12px}.gm-discord-card strong{margin-top:7px;font-family:'Rajdhani',sans-serif;font-size:30px;line-height:1;font-weight:900;text-transform:uppercase}.gm-discord-card small{margin-top:9px;color:rgba(235,239,255,.66);font-size:13px;line-height:1.4}
.gm-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:22px}.gm-roadmap-list{display:grid;gap:12px;padding:18px}.gm-roadmap-list article{display:grid;grid-template-columns:78px minmax(0,1fr);gap:14px;align-items:start;padding:13px;border-radius:16px;background:rgba(7,12,26,.72);border:1px solid rgba(255,255,255,.08)}.gm-roadmap-list b{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:12px;background:rgba(255,204,51,.10);color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:13px;font-weight:900;text-align:center}.gm-roadmap-list strong{display:block;color:#fff;font-family:'Rajdhani',sans-serif;font-size:18px;line-height:1.1;text-transform:uppercase}.gm-roadmap-list small{display:block;margin-top:4px;color:rgba(235,239,255,.58);line-height:1.35}.gm-server-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px}.gm-server-info-grid div{padding:14px;border-radius:15px;background:rgba(7,12,26,.72);border:1px solid rgba(255,255,255,.08);min-width:0}.gm-server-info-grid span{display:block;color:rgba(220,226,255,.48);font-size:10px;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-server-info-grid strong{display:block;margin-top:5px;color:#fff;font-family:'Rajdhani',sans-serif;font-size:19px;line-height:1;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-empty-text{padding:20px;color:rgba(235,239,255,.62)}
@media(max-width:1100px){.gm-hero-box{grid-template-columns:1fr}.gm-status-card{max-width:100%;width:100%}.gm-activity-grid,.gm-info-grid{grid-template-columns:1fr}.gm-news-list{grid-template-columns:1fr}.gm-side-column{grid-template-columns:1fr 1fr}.gm-users-carousel{height:230px}}@media(max-width:760px){.gm-portal-home{padding:24px 0 26px}.gm-alert-card{align-items:flex-start;min-height:auto;padding:14px}.gm-alert-orb{width:50px;height:50px}.gm-alert-link{display:none}.gm-alert-copy strong{font-size:18px}.gm-hero-box{min-height:auto;padding:20px;border-radius:20px;background:linear-gradient(180deg,rgba(8,12,26,.74),rgba(8,14,30,.89) 52%,rgba(6,10,22,.97)),url('/assets/img/class/fondoon.png') center top/cover no-repeat}.gm-hero-left h1{font-size:clamp(34px,12vw,48px)}.gm-hero-left p{font-size:14px}.gm-hero-buttons{display:grid;grid-template-columns:1fr}.gm-btn{width:100%;white-space:normal;text-align:center}.gm-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-online-big strong{font-size:46px}.gm-section-head{align-items:flex-start;flex-direction:column}.gm-section-head a{width:100%;text-align:center}.gm-side-column{grid-template-columns:1fr}.gm-featured-news{min-height:auto;padding:20px}.gm-featured-news h3{font-size:28px}.gm-info-grid{gap:16px}.gm-roadmap-list article{grid-template-columns:1fr}.gm-roadmap-list b{justify-content:flex-start;padding:8px 10px}.gm-server-info-grid{grid-template-columns:1fr}.gm-users-carousel{height:248px}}@media(max-width:480px){:root{--wrap:min(100% - 24px,1300px)}.gm-alert-copy span{font-size:12px}.gm-hero-kicker{font-size:11px}.gm-mini-stats{grid-template-columns:1fr}.gm-status-card{padding:14px;border-radius:18px}.gm-server-item{align-items:flex-start}.gm-user-row{grid-template-columns:40px minmax(0,1fr) 34px}.gm-user-avatar{width:40px;height:40px}.gm-card-title span{font-size:19px}}

/* ═══════════════════════════════════════════════
   PLUS VISUAL PACK - ANALIZADO DESDE CSS EXTERNOS
   Se agregan solo estilos seguros/adaptados.
   NO se importa Bootstrap/Splide/Blueimp completo para evitar conflictos.
═══════════════════════════════════════════════ */

/* Variables suaves inspiradas en Bootstrap, sin pisar el layout */
:root{
  --gm-gold:#ffcc33;
  --gm-gold-2:#e8b64f;
  --gm-red:#7e2024;
  --gm-blue:#227f9e;
  --gm-purple:#aa72ce;
  --gm-panel:rgba(15,22,45,.78);
  --gm-panel-2:rgba(8,13,28,.90);
  --gm-border:rgba(170,114,206,.16);
  --gm-border-soft:rgba(255,255,255,.09);
}

/* Contenedores más sólidos sin depender de Bootstrap */
.gm-home-wrap,
.wrap{
  box-sizing:border-box;
}

/* Header/topbar: efecto premium similar al template, pero respetando tu estructura */
.topbar{
  background:rgba(9,14,31,.88) !important;
  border-bottom:1px solid rgba(170,114,206,.14) !important;
  box-shadow:0 10px 34px rgba(0,0,0,.22);
}
.topbar::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,204,51,.34),rgba(170,114,206,.30),transparent);
  pointer-events:none;
}
.nav a,
.nav-login,
.nav-user-btn{
  text-decoration:none !important;
}
.nav a:hover,
.nav a.active{
  color:var(--gm-gold) !important;
}
.nav a.active::after{
  background:linear-gradient(90deg,var(--gm-gold),var(--gm-purple)) !important;
  box-shadow:0 0 12px rgba(255,204,51,.35);
}

/* Hero: brillo animado del estilo global, aplicado solo a tu hero */
.gm-hero-box::after{
  content:"";
  position:absolute;
  top:0;
  left:-42%;
  width:28%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);
  transform:skewX(-18deg);
  animation:gmPlusHeroShine 7s linear infinite;
  pointer-events:none;
  z-index:1;
}
@keyframes gmPlusHeroShine{100%{left:128%;}}

/* Botones: más profundidad y estados hover del template */
.gm-btn,
.btn,
.nav-cta,
.gm-alert-link{
  position:relative;
  overflow:hidden;
  text-decoration:none !important;
}
.gm-btn::before,
.btn::before,
.nav-cta::before,
.gm-alert-link::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent);
  transform:translateX(-120%) skewX(-18deg);
  transition:opacity .2s ease, transform .55s ease;
  pointer-events:none;
}
.gm-btn:hover::before,
.btn:hover::before,
.nav-cta:hover::before,
.gm-alert-link:hover::before{
  opacity:1;
  transform:translateX(120%) skewX(-18deg);
}
.gm-btn-gold{
  border-color:rgba(255,224,138,.44) !important;
}
.gm-btn-red{
  border-color:rgba(255,90,96,.24) !important;
}
.gm-btn-dark{
  background:linear-gradient(180deg,rgba(14,24,54,.92),rgba(7,11,25,.92)) !important;
}

/* Cards: transición y profundidad reutilizable */
.gm-alert-card,
.gm-status-card,
.gm-news-panel,
.gm-latest-users-card,
.gm-discord-card,
.gm-info-card,
.card{
  transition:transform .28s var(--smooth), border-color .28s ease, box-shadow .28s ease, filter .28s ease;
}
.gm-news-panel:hover,
.gm-latest-users-card:hover,
.gm-discord-card:hover,
.gm-info-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,204,51,.18);
  box-shadow:0 22px 58px rgba(0,0,0,.42), 0 0 0 1px rgba(255,204,51,.035) inset;
}

/* Paginadores/dots por si luego se activa carrusel real; no rompe nada si no se usa */
.gm-dots,
.splide__pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.gm-dots button,
.splide__pagination__page{
  width:10px;
  height:4px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  opacity:1;
  transition:width .25s ease, background .25s ease, transform .25s ease;
}
.gm-dots button.is-active,
.splide__pagination__page.is-active{
  width:24px;
  background:var(--gm-gold);
  transform:none;
  box-shadow:0 0 12px rgba(255,204,51,.35);
}

/* Selects / filtros: tomo solo la idea de SlimSelect, adaptada a tu theme */
select,
.ss-main{
  width:100%;
  min-height:42px;
  color:#eef2ff !important;
  background:rgba(7,12,26,.78) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:14px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
select:focus,
.ss-main:focus{
  outline:none !important;
  border-color:rgba(255,204,51,.35) !important;
  box-shadow:0 0 0 3px rgba(255,204,51,.08), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.ss-content{
  background:#0b1228 !important;
  border:1px solid rgba(255,204,51,.16) !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:0 18px 42px rgba(0,0,0,.45) !important;
}
.ss-content .ss-list .ss-option{
  color:#eef2ff !important;
  background:transparent !important;
}
.ss-content .ss-list .ss-option:hover,
.ss-content .ss-list .ss-option.ss-highlighted{
  color:#1b0d02 !important;
  background:linear-gradient(180deg,#ffd46d,#c98426) !important;
}

/* Formularios/login: se integran mejor con el rediseño */
.portal-input,
input[type="text"],
input[type="password"],
input[type="email"],
textarea{
  background:rgba(7,12,26,.78) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#eef2ff !important;
  border-radius:14px !important;
}
.portal-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus{
  border-color:rgba(255,204,51,.35) !important;
  box-shadow:0 0 0 3px rgba(255,204,51,.08), 0 0 22px rgba(170,114,206,.10) !important;
}

/* Últimos registrados: carrusel más prolijo y compatible con mobile */
.gm-users-carousel{
  mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);
}
.gm-user-row{
  transition:transform .22s ease, background .22s ease, border-color .22s ease;
}
.gm-user-row:hover{
  transform:translateX(4px);
  background:rgba(15,24,52,.88);
  border-color:rgba(255,204,51,.16);
}
.gm-user-avatar{
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 20px rgba(0,0,0,.24);
}

/* Discord / comunidad: más contraste */
.gm-discord-card{
  position:relative;
}
.gm-discord-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 78% 18%,rgba(255,255,255,.10),transparent 30%),linear-gradient(180deg,transparent,rgba(0,0,0,.20));
  pointer-events:none;
}
.gm-discord-card > *{
  position:relative;
  z-index:2;
}

/* Mejoras responsivas tomadas de la idea Bootstrap, pero sin importar Bootstrap entero */
@media(max-width:1100px){
  .gm-home-wrap{max-width:min(100% - 32px, 920px);}
  .gm-alert-card{flex-wrap:wrap;}
}
@media(max-width:760px){
  .topbar{height:auto;min-height:72px;}
  .topbar-inner{gap:12px;}
  .brand-logo{max-width:210px;height:auto;max-height:56px;}
  .gm-hero-box::after{display:none;}
  .gm-users-carousel{
    mask-image:none;
    -webkit-mask-image:none;
  }
  .gm-users-track{
    animation-duration:28s;
  }
  .gm-server-item b,
  .gm-mini-stats strong,
  .gm-server-info-grid strong{
    white-space:normal;
  }
}
@media(max-width:480px){
  .gm-home-wrap{max-width:calc(100% - 22px);}
  .gm-alert-card,
  .gm-hero-box,
  .gm-status-card,
  .gm-news-panel,
  .gm-latest-users-card,
  .gm-discord-card,
  .gm-info-card{
    border-radius:18px;
  }
  .gm-users-track{
    animation:none;
  }
  .gm-users-carousel{
    height:auto;
    max-height:none;
    overflow:visible;
  }
}

/* =========================================================
   RESPONSIVE FINAL V2 - MU HOLOCAUSTO
   Soluciona mobile + mantiene Últimos Registrados como carrusel
   Pegar al final si lo usás como parche
========================================================= */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}

img,
video,
iframe,
svg{
  max-width:100%;
}

.wrap,
.container,
.gm-home-wrap,
.portal-container,
.main-container{
  width:min(100% - 28px, 1240px) !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Header */
@media(max-width:1100px){
  .topbar,
  .header{
    height:auto !important;
    min-height:72px !important;
  }

  .topbar-inner,
  .header__content{
    width:100% !important;
    min-height:72px !important;
    gap:12px !important;
  }

  .brand-logo,
  .header__logo img{
    max-width:210px !important;
    height:auto !important;
    max-height:58px !important;
  }

  .nav,
  .header__nav{
    gap:6px !important;
  }

  .nav a,
  .header__nav a{
    font-size:12px !important;
    padding:7px 9px !important;
  }
}

@media(max-width:768px){
  .topbar-inner,
  .header__content{
    flex-wrap:wrap !important;
    justify-content:center !important;
    padding:12px 0 !important;
  }

  .brand,
  .header__logo{
    width:100% !important;
    justify-content:center !important;
    margin:0 !important;
  }

  .brand-logo,
  .header__logo img{
    max-width:220px !important;
    max-height:62px !important;
  }

  .nav,
  .header__nav{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    position:relative !important;
    transform:none !important;
    top:auto !important;
    left:auto !important;
    bottom:auto !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
  }

  .nav a,
  .header__nav a{
    font-size:11px !important;
    padding:7px 9px !important;
    line-height:1.1 !important;
    text-align:center !important;
  }
}

@media(max-width:480px){
  .nav,
  .header__nav{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .nav a,
  .header__nav a{
    width:100% !important;
    justify-content:center !important;
  }
}

/* Hero principal */
.gm-portal-home,
.hero-section,
.hero{
  padding-top:42px !important;
  padding-bottom:42px !important;
}

.gm-hero-box,
.hero-grid,
.hero-main-grid,
.portal-hero-grid{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
}

.gm-hero-box{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 360px !important;
  align-items:center !important;
  gap:28px !important;
}

.gm-hero-left,
.gm-status-card,
.gm-side-column,
.gm-news-panel,
.gm-latest-users-card,
.gm-discord-card,
.gm-info-card{
  min-width:0 !important;
  max-width:100% !important;
}

.gm-hero-left h1,
.hero-headline,
.hero-title,
.hero__title{
  font-size:clamp(38px,6vw,82px) !important;
  line-height:.95 !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}

.gm-hero-left p,
.hero-sub,
.hero-text,
.hero__text{
  max-width:620px !important;
  font-size:clamp(14px,1.6vw,17px) !important;
  line-height:1.6 !important;
}

.gm-hero-buttons,
.hero-actions,
.hero__btns{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
}

.gm-btn,
.hero-actions .btn,
.hero__btn,
.btn{
  max-width:100% !important;
  white-space:normal !important;
  text-align:center !important;
}

.gm-mini-stats,
.stats-strip,
.hero-stats,
.portal-stats{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  max-width:680px !important;
}

.gm-mini-stat,
.stat-box,
.stat-card{
  min-width:0 !important;
}

.gm-mini-stat strong,
.stat-box .val,
.stat-card .val{
  overflow-wrap:anywhere !important;
}

/* Secciones */
.gm-activity-grid,
.activity-grid,
.news-activity-grid,
.server-activity-grid,
.portal-news-grid,
.info-grid,
.bottom-info-grid,
.roadmap-info-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr) !important;
  gap:22px !important;
  width:100% !important;
}

.gm-news-list{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.gm-news-list article,
.gm-featured-news,
.news-card,
.registered-card,
.discord-card,
.roadmap-card,
.server-info-card,
.portal-card,
.activity-card{
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
}

/* Tablas / ranking / market */
.table-wrap,
.ranking-table-wrap,
.market-table-wrap,
.rank-table-wrap{
  width:100% !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch !important;
}

.ranking-table,
.market-table,
.rank-table{
  min-width:680px !important;
}

.market-grid,
.rank-grid,
.characters-grid,
.guilds-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}

input,
select,
textarea,
.portal-input,
.form-control{
  max-width:100% !important;
}

/* Tablet */
@media(max-width:1100px){
  .gm-home-wrap,
  .wrap,
  .container,
  .portal-container,
  .main-container{
    width:min(100% - 28px, 920px) !important;
    max-width:920px !important;
  }

  .gm-hero-box,
  .hero-grid,
  .hero-main-grid,
  .portal-hero-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .gm-status-card,
  .hero-right,
  .portal-wrap,
  .status-panel,
  .server-status-card{
    max-width:560px !important;
    width:100% !important;
    margin:0 auto !important;
  }

  .gm-activity-grid,
  .activity-grid,
  .news-activity-grid,
  .server-activity-grid,
  .portal-news-grid,
  .info-grid,
  .bottom-info-grid,
  .roadmap-info-grid{
    grid-template-columns:1fr !important;
  }

  .gm-news-list{
    grid-template-columns:1fr !important;
  }

  .gm-side-column{
    grid-template-columns:1fr 1fr !important;
  }

  .market-grid,
  .rank-grid,
  .characters-grid,
  .guilds-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* Mobile */
@media(max-width:768px){
  .wrap,
  .container,
  .gm-home-wrap,
  .portal-container,
  .main-container{
    width:min(100% - 20px, 100%) !important;
    max-width:100% !important;
  }

  .gm-portal-home,
  .hero-section,
  .hero{
    padding-top:26px !important;
    padding-bottom:30px !important;
  }

  .gm-alert-card,
  .gm-hero-box,
  .gm-status-card,
  .gm-news-panel,
  .gm-latest-users-card,
  .gm-discord-card,
  .gm-info-card,
  .card-pad-lg,
  .card-pad,
  .hero-section .card,
  .hero-section .hero-card,
  .hero-section .hero-box,
  .hero-main-card,
  .mu-hero-card,
  .hero-box-innerbg{
    border-radius:20px !important;
  }

  .gm-hero-box{
    grid-template-columns:1fr !important;
    gap:20px !important;
    padding:20px !important;
    background:
      linear-gradient(180deg,rgba(8,12,26,.70) 0%,rgba(8,14,30,.88) 48%,rgba(6,10,22,.98) 100%),
      url('/assets/img/class/fondoon.png') center top/cover no-repeat !important;
  }

  .gm-hero-left h1,
  .hero-headline,
  .hero-title,
  .hero__title{
    font-size:clamp(34px,13vw,54px) !important;
    line-height:.95 !important;
    letter-spacing:-.03em !important;
  }

  .gm-hero-left p,
  .hero-sub,
  .hero-text,
  .hero__text{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  .gm-hero-buttons,
  .hero-actions,
  .hero__btns{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    gap:10px !important;
  }

  .gm-btn,
  .hero-actions .btn,
  .hero__btn,
  .btn{
    width:100% !important;
    min-height:46px !important;
    padding:12px 14px !important;
  }

  .gm-mini-stats,
  .stats-strip,
  .hero-stats,
  .portal-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    max-width:100% !important;
  }

  .gm-status-card,
  .portal-wrap,
  .status-panel,
  .server-status-card{
    padding:16px !important;
  }

  .gm-side-column,
  .gm-activity-grid,
  .activity-grid,
  .news-activity-grid,
  .server-activity-grid,
  .portal-news-grid,
  .info-grid,
  .bottom-info-grid,
  .roadmap-info-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .gm-featured-news{
    min-height:auto !important;
    padding:20px !important;
  }

  .gm-featured-news h3{
    font-size:28px !important;
  }

  .market-grid,
  .rank-grid,
  .characters-grid,
  .guilds-grid{
    grid-template-columns:1fr !important;
  }

  .section-title,
  .activity-title,
  .portal-section-title,
  .gm-section-head h2{
    font-size:24px !important;
    line-height:1.15 !important;
  }

  .section-subtitle,
  .activity-subtitle,
  .portal-section-subtitle{
    font-size:13px !important;
    line-height:1.45 !important;
  }
}

/* Últimos registrados: SIEMPRE carrusel vertical, también en móvil */
.gm-latest-users-card{
  overflow:hidden !important;
}

.gm-users-carousel{
  position:relative !important;
  height:258px !important;
  max-height:258px !important;
  overflow:hidden !important;
  margin:14px 12px 14px !important;
  border-radius:16px !important;
  mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%) !important;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%) !important;
}

.gm-users-track{
  display:grid !important;
  gap:10px !important;
  will-change:transform !important;
  animation:gmUsersScroll 22s linear infinite !important;
}

.gm-users-carousel:hover .gm-users-track{
  animation-play-state:paused !important;
}

.gm-user-row{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 40px !important;
  align-items:center !important;
  gap:11px !important;
  min-height:66px !important;
  padding:11px !important;
}

.gm-user-row strong{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.gm-user-row small{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.gm-user-avatar--bk{background:linear-gradient(135deg,#b91c1c,#3b0b0b) !important;}
.gm-user-avatar--sm{background:linear-gradient(135deg,#2563eb,#111b4f) !important;}
.gm-user-avatar--elf{background:linear-gradient(135deg,#16a34a,#11361d) !important;}
.gm-user-avatar--mg{background:linear-gradient(135deg,#9333ea,#271044) !important;}
.gm-user-avatar--dl{background:linear-gradient(135deg,#f59e0b,#3b2104) !important;}
.gm-user-avatar--sum{background:linear-gradient(135deg,#ec4899,#3b102b) !important;}
.gm-user-avatar--rf{background:linear-gradient(135deg,#f97316,#3a1603) !important;}
.gm-user-avatar--pj{background:linear-gradient(135deg,#64748b,#172033) !important;}

@media(max-width:768px){
  .gm-users-carousel{
    height:238px !important;
    max-height:238px !important;
    overflow:hidden !important;
    margin:12px !important;
    mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%) !important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%) !important;
  }

  .gm-users-track{
    animation:gmUsersScroll 20s linear infinite !important;
  }

  .gm-user-row{
    grid-template-columns:40px minmax(0,1fr) 36px !important;
    min-height:58px !important;
    gap:10px !important;
    padding:10px !important;
    border-radius:14px !important;
  }

  .gm-user-avatar{
    width:40px !important;
    height:40px !important;
    border-radius:13px !important;
    font-size:12px !important;
  }

  .gm-user-row strong{
    font-size:14px !important;
    line-height:1.15 !important;
  }

  .gm-user-row small{
    font-size:11px !important;
    line-height:1.2 !important;
  }
}

/* Mobile chico */
@media(max-width:480px){
  .wrap,
  .container,
  .gm-home-wrap,
  .portal-container,
  .main-container{
    width:min(100% - 16px,100%) !important;
  }

  .gm-alert-card,
  .gm-hero-box,
  .gm-status-card,
  .gm-news-panel,
  .gm-latest-users-card,
  .gm-discord-card,
  .gm-info-card{
    border-radius:17px !important;
  }

  .gm-hero-box{
    padding:14px !important;
  }

  .gm-hero-left h1,
  .hero-headline,
  .hero-title,
  .hero__title{
    font-size:clamp(30px,14vw,46px) !important;
  }

  .gm-hero-left p,
  .hero-sub,
  .hero-text,
  .hero__text{
    font-size:13px !important;
  }

  .gm-mini-stats,
  .stats-strip,
  .hero-stats,
  .portal-stats{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .gm-status-card,
  .portal-wrap,
  .status-panel,
  .server-status-card{
    padding:12px !important;
    border-radius:16px !important;
  }

  .gm-users-carousel{
    height:226px !important;
    max-height:226px !important;
    overflow:hidden !important;
    margin:10px !important;
  }

  .gm-users-track{
    animation:gmUsersScroll 18s linear infinite !important;
  }

  .gm-user-row{
    grid-template-columns:36px minmax(0,1fr) 32px !important;
    min-height:54px !important;
    gap:8px !important;
    padding:9px !important;
  }

  .gm-user-avatar{
    width:36px !important;
    height:36px !important;
    border-radius:12px !important;
    font-size:11px !important;
  }

  .gm-user-row strong{
    font-size:13px !important;
  }

  .gm-user-row span{
    font-size:11px !important;
  }
}

@media(max-width:360px){
  .gm-hero-left h1,
  .hero-headline,
  .hero-title,
  .hero__title{
    font-size:32px !important;
  }

  .gm-mini-stats,
  .stats-strip,
  .hero-stats,
  .portal-stats{
    grid-template-columns:1fr !important;
  }

  .gm-users-carousel{
    height:218px !important;
    max-height:218px !important;
  }
}

/* Versión compatible sin :has() */
.mu-premium-home .mu-home-wrap > div:first-of-type {
  display: none !important;
}

.mu-premium-home .mu-home-wrap > .mu-hero-card {
  display: grid !important;
}


/* =========================================================
   ÚLTIMOS REGISTRADOS - ICONOS DE RAZA ACTUALIZADOS
   Ruta: /assets/img/class/
========================================================= */

.gm-user-avatar {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 13px !important;

  font-size: 0 !important;
  color: transparent !important;

  background-color: rgba(3, 8, 18, 0.85) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 82% 82% !important;

  border: 1px solid rgba(255, 204, 51, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.35),
    0 0 16px rgba(255,204,51,.08) !important;
}

/* BK queda con la imagen vieja */
.gm-user-avatar--bk {
  background-image: url("/assets/img/class/BK.ico") !important;
}

/* DL */
.gm-user-avatar--dl {
  background-image: url("/assets/img/class/dl.png") !important;
}

/* DW / SM usan dw.png */
.gm-user-avatar--sm,
.gm-user-avatar--dw {
  background-image: url("/assets/img/class/dw.png") !important;
}

/* SUM */
.gm-user-avatar--sum,
.gm-user-avatar--summ {
  background-image: url("/assets/img/class/sum.png") !important;
}

/* RF */
.gm-user-avatar--rf {
  background-image: url("/assets/img/class/rf.png") !important;
}

/* ELF */
.gm-user-avatar--elf {
  background-image: url("/assets/img/class/elf.png") !important;
}

/* MG */
.gm-user-avatar--mg {
  background-image: url("/assets/img/class/mg.png") !important;
}

.gm-user-row:hover .gm-user-avatar {
  transform: scale(1.04);
  border-color: rgba(255, 204, 51, 0.48) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 22px rgba(0,0,0,.42),
    0 0 20px rgba(255,204,51,.16) !important;
}

@media (max-width: 640px) {
  .gm-user-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 12px !important;
    background-size: 84% 84% !important;
  }
}
/* =========================================================
   HOME DUAL CAROUSEL + MENU HAMBURGUESA MOBILE
   Agregado para MU Holocausto
========================================================= */
.nav-hamburger{
  display:none;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border-radius:14px;
  border:1px solid rgba(255,204,51,.18);
  background:rgba(255,255,255,.045);
  cursor:pointer;
  box-shadow:0 12px 24px rgba(0,0,0,.22);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.nav-hamburger:hover{
  transform:translateY(-1px);
  border-color:rgba(255,204,51,.38);
  background:rgba(255,204,51,.07);
}
.nav-hamburger span{
  display:block;
  width:21px;
  height:2px;
  border-radius:999px;
  background:#fff1c2;
  box-shadow:0 0 10px rgba(255,204,51,.16);
  transition:transform .22s ease,opacity .18s ease;
}
.nav-hamburger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-hamburger.is-open span:nth-child(2){opacity:0}
.nav-hamburger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.gm-side-column--dual{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:stretch !important;
  gap:18px !important;
}
.gm-side-column--dual .gm-latest-users-card{
  min-width:0 !important;
  height:100% !important;
}
.gm-ranking-card{
  background:linear-gradient(180deg,rgba(24,18,42,.82),rgba(8,13,28,.88)) !important;
  border-color:rgba(255,204,51,.16) !important;
}
.gm-ranking-card .gm-card-title b{
  color:#ffef9f !important;
}
.gm-rank-row span{
  color:#ffef9f !important;
  text-shadow:0 0 10px rgba(255,204,51,.18);
}
.gm-user-avatar{
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:82% 82% !important;
}
.gm-user-row > div:nth-child(2){
  min-width:0 !important;
}
.gm-user-row small{
  display:block !important;
}

@media(max-width:1280px){
  .gm-activity-grid{
    grid-template-columns:minmax(0,1fr) minmax(520px,.95fr) !important;
  }
}

@media(max-width:1100px){
  .gm-side-column--dual{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:860px){
  .topbar{
    min-height:74px !important;
  }
  .topbar-inner{
    position:relative !important;
    justify-content:space-between !important;
    gap:10px !important;
  }
  .nav-hamburger{
    display:flex !important;
    order:2;
  }
  .nav{
    position:absolute !important;
    top:calc(100% + 14px) !important;
    left:0 !important;
    right:0 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    padding:14px !important;
    border-radius:20px !important;
    background:linear-gradient(180deg,rgba(10,14,30,.98),rgba(5,8,18,.98)) !important;
    border:1px solid rgba(255,204,51,.16) !important;
    box-shadow:0 26px 70px rgba(0,0,0,.58) !important;
    z-index:9998 !important;
  }
  .nav.is-open{
    display:flex !important;
  }
  .nav a{
    width:100% !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.035) !important;
    border:1px solid rgba(255,255,255,.07) !important;
    color:#fff4e8 !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.06em !important;
  }
  .nav a.active,
  .nav a:hover{
    color:#ffcc33 !important;
    border-color:rgba(255,204,51,.22) !important;
    background:rgba(255,204,51,.07) !important;
  }
  .nav a.active::after{
    display:none !important;
  }
  .nav-right{
    order:3;
    gap:8px !important;
  }
  .nav-cta{
    display:none !important;
  }
  .brand{
    order:1;
    min-width:0 !important;
  }
  .brand-logo{
    max-width:min(210px,52vw) !important;
  }
}

@media(max-width:760px){
  .gm-side-column--dual{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:480px){
  .nav-login,
  .nav-user-btn{
    min-height:36px !important;
    padding:7px 11px !important;
    font-size:11px !important;
  }
  .nav-hamburger{
    width:40px !important;
    height:40px !important;
    border-radius:13px !important;
  }
}


/* =========================================================
   AJUSTE PEDIDO: carruseles arriba de noticias y más grandes
   ========================================================= */
.gm-activity-grid{
  grid-template-columns:1fr !important;
  gap:24px !important;
}
.gm-side-column--dual{
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
.gm-news-panel{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
}
.gm-side-column--dual .gm-latest-users-card{
  min-height:430px !important;
  border-radius:24px !important;
}
.gm-side-column--dual .gm-card-title{
  padding:22px 24px 0 !important;
}
.gm-side-column--dual .gm-card-title span{
  font-size:28px !important;
}
.gm-side-column--dual .gm-card-title b{
  font-size:26px !important;
}
.gm-side-column--dual .gm-users-carousel{
  height:330px !important;
  margin:18px 18px 20px !important;
  border-radius:18px !important;
}
.gm-side-column--dual .gm-users-track{
  gap:12px !important;
}
.gm-side-column--dual .gm-user-row{
  grid-template-columns:58px minmax(0,1fr) 54px !important;
  gap:14px !important;
  padding:14px !important;
  border-radius:18px !important;
}
.gm-side-column--dual .gm-user-avatar{
  width:58px !important;
  height:58px !important;
  border-radius:16px !important;
  background-size:cover !important;
  background-position:center !important;
  font-size:0 !important;
}
.gm-side-column--dual .gm-user-row strong{
  font-size:20px !important;
}
.gm-side-column--dual .gm-user-row small{
  margin-top:3px !important;
  font-size:14px !important;
  color:rgba(235,239,255,.64) !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.gm-side-column--dual .gm-user-row span{
  font-size:14px !important;
  color:#ffcc33 !important;
}

@media(max-width:900px){
  .gm-side-column--dual{
    grid-template-columns:1fr !important;
  }
  .gm-side-column--dual .gm-latest-users-card{
    min-height:390px !important;
  }
  .gm-side-column--dual .gm-users-carousel{
    height:295px !important;
  }
}

@media(max-width:480px){
  .gm-side-column--dual .gm-card-title span{
    font-size:22px !important;
  }
  .gm-side-column--dual .gm-user-row{
    grid-template-columns:48px minmax(0,1fr) 44px !important;
    padding:12px !important;
  }
  .gm-side-column--dual .gm-user-avatar{
    width:48px !important;
    height:48px !important;
  }
  .gm-side-column--dual .gm-user-row strong{
    font-size:17px !important;
  }
  .gm-side-column--dual .gm-user-row small{
    font-size:12px !important;
  }
}


/* =========================================================
   V5 - Noticias reinventadas: hero + tarjetas laterales
   ========================================================= */
.gm-news-panel--reinvented{
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr) !important;
  gap:18px !important;
  padding:18px !important;
  border-radius:26px !important;
  background:
    linear-gradient(135deg,rgba(10,16,34,.78),rgba(6,9,22,.88)),
    radial-gradient(circle at 18% 12%,rgba(255,204,51,.14),transparent 34%),
    radial-gradient(circle at 82% 18%,rgba(170,114,206,.16),transparent 36%) !important;
  border:1px solid rgba(255,204,51,.13) !important;
  box-shadow:0 22px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow:hidden !important;
}
.gm-news-hero-card{
  position:relative !important;
  min-height:290px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  padding:28px !important;
  border-radius:22px !important;
  background:
    linear-gradient(105deg,rgba(8,12,28,.92),rgba(12,18,42,.72) 58%,rgba(51,22,72,.52)),
    radial-gradient(circle at 84% 18%,rgba(255,204,51,.18),transparent 28%) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 16px 35px rgba(0,0,0,.28) !important;
  overflow:hidden !important;
}
.gm-news-hero-card:before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,204,51,.13),transparent 38%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px, transparent 1px 70px);
  opacity:.42;
  pointer-events:none;
}
.gm-news-hero-card > *{position:relative;z-index:1}
.gm-news-hero-top{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:16px !important;
}
.gm-news-hero-top time,
.gm-news-mini-card time{
  display:block !important;
  margin-top:9px !important;
  color:rgba(225,232,255,.48) !important;
  font-family:'JetBrains Mono',monospace !important;
  font-size:12px !important;
}
.gm-news-hero-top b{
  display:grid !important;
  place-items:center !important;
  min-width:58px !important;
  height:34px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  color:#050814 !important;
  background:linear-gradient(135deg,#ffcc33,#fff0a8) !important;
  font-family:'Rajdhani',sans-serif !important;
  font-size:15px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  box-shadow:0 10px 24px rgba(255,204,51,.18) !important;
}
.gm-news-hero-card h3{
  margin:22px 0 12px !important;
  color:#fff !important;
  font-family:'Rajdhani',sans-serif !important;
  font-size:clamp(34px,4.4vw,58px) !important;
  line-height:.92 !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:-.025em !important;
  text-shadow:0 12px 30px rgba(0,0,0,.55) !important;
}
.gm-news-hero-card p{
  max-width:70ch !important;
  color:rgba(235,239,255,.76) !important;
  font-size:15px !important;
  line-height:1.65 !important;
}
.gm-news-hero-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin-top:22px !important;
  flex-wrap:wrap !important;
}
.gm-read-more--button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:0 18px !important;
  border-radius:14px !important;
  color:#050814 !important;
  background:linear-gradient(135deg,#ffcc33,#f5a623) !important;
  box-shadow:0 14px 28px rgba(245,166,35,.16) !important;
}
.gm-news-hero-actions small{
  color:rgba(225,232,255,.42) !important;
  font-family:'JetBrains Mono',monospace !important;
  font-size:11px !important;
}
.gm-news-stack{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  min-width:0 !important;
}
.gm-news-stack-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:4px 4px 2px !important;
}
.gm-news-stack-head span{
  color:#fff !important;
  font-family:'Rajdhani',sans-serif !important;
  font-size:22px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}
.gm-news-stack-head b{
  color:#ffcc33 !important;
  font-family:'Rajdhani',sans-serif !important;
  font-size:22px !important;
}
.gm-news-mini-card{
  display:grid !important;
  grid-template-columns:54px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:center !important;
  min-height:104px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,rgba(5,9,22,.88),rgba(13,18,38,.72)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.gm-news-mini-icon{
  width:54px !important;
  height:54px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:16px !important;
  color:#ffcc33 !important;
  background:radial-gradient(circle at 40% 30%,rgba(255,204,51,.18),rgba(255,204,51,.05)),rgba(0,0,0,.26) !important;
  border:1px solid rgba(255,204,51,.18) !important;
  font-family:'JetBrains Mono',monospace !important;
  font-size:14px !important;
  font-weight:900 !important;
}
.gm-news-mini-body{min-width:0 !important}
.gm-news-mini-body strong{
  display:block !important;
  margin-top:4px !important;
  color:#fff !important;
  font-family:'Rajdhani',sans-serif !important;
  font-size:21px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.gm-news-mini-body p{
  margin-top:6px !important;
  color:rgba(225,232,255,.55) !important;
  font-size:12px !important;
  line-height:1.4 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.gm-news-mini-card--empty{opacity:.78 !important}

@media(max-width:1000px){
  .gm-news-panel--reinvented{grid-template-columns:1fr !important}
  .gm-news-hero-card{min-height:250px !important}
}
@media(max-width:560px){
  .gm-news-panel--reinvented{padding:12px !important;border-radius:20px !important}
  .gm-news-hero-card{padding:20px !important;border-radius:18px !important}
  .gm-news-hero-card h3{font-size:34px !important}
  .gm-news-hero-actions{align-items:flex-start !important;flex-direction:column !important}
  .gm-read-more--button{width:100% !important}
  .gm-news-mini-card{grid-template-columns:44px minmax(0,1fr) !important;gap:11px !important;min-height:92px !important;padding:12px !important}
  .gm-news-mini-icon{width:44px !important;height:44px !important;border-radius:13px !important;font-size:12px !important}
  .gm-news-mini-body strong{font-size:18px !important}
}


/* ===== GM COMMUNITY HUB V6 ===== */
.gm-community-head{align-items:flex-start}
.gm-community-copy{margin-top:12px;max-width:74ch;color:rgba(226,234,255,.70);font-size:14px;line-height:1.7}
.gm-community-hub{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(340px,.94fr);gap:22px;align-items:stretch}
.gm-community-main,.gm-community-grid-wrap{position:relative;border-radius:24px;overflow:hidden;border:1px solid rgba(170,114,206,.14);box-shadow:0 18px 46px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.04)}
.gm-community-main{background:linear-gradient(135deg,rgba(9,14,34,.92),rgba(14,24,54,.86)),radial-gradient(circle at 18% 18%,rgba(255,204,51,.13),transparent 28%),radial-gradient(circle at 88% 82%,rgba(83,132,255,.16),transparent 32%)}
.gm-community-main::after{content:'';position:absolute;right:-60px;bottom:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,204,51,.18),transparent 68%);filter:blur(18px);pointer-events:none}
.gm-community-main-inner{position:relative;z-index:1;display:flex;flex-direction:column;gap:18px;min-height:100%;padding:28px}
.gm-community-kicker{display:inline-flex;align-self:flex-start;padding:8px 12px;border-radius:999px;background:rgba(255,204,51,.10);border:1px solid rgba(255,204,51,.18);color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:12px;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
.gm-community-main h3{margin:0;color:#fff;font-family:'Rajdhani',sans-serif;font-size:clamp(28px,3.2vw,42px);line-height:.98;font-weight:900;text-transform:uppercase;max-width:11ch}
.gm-community-main p{margin:0;max-width:58ch;color:rgba(234,239,255,.78);font-size:14px;line-height:1.72}
.gm-community-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gm-community-point{padding:16px 14px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px)}
.gm-community-point strong{display:block;color:#fff;font-family:'Rajdhani',sans-serif;font-size:18px;font-weight:900;text-transform:uppercase;line-height:1}
.gm-community-point span{display:block;margin-top:8px;color:rgba(226,234,255,.62);font-size:12px;line-height:1.55}
.gm-community-primary{display:grid;grid-template-columns:68px minmax(0,1fr) 24px;align-items:center;gap:14px;margin-top:auto;padding:16px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(255,204,51,.16),rgba(255,204,51,.06) 32%,rgba(255,255,255,.03));border:1px solid rgba(255,204,51,.18);transition:transform .24s var(--spring),box-shadow .24s,border-color .24s}
.gm-community-primary:hover{transform:translateY(-3px);box-shadow:0 20px 34px rgba(0,0,0,.28);border-color:rgba(255,204,51,.30)}
.gm-community-primary-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:rgba(255,204,51,.10);border:1px solid rgba(255,204,51,.18);font-size:30px;line-height:1}
.gm-community-primary-copy strong{display:block;color:#fff;font-family:'Rajdhani',sans-serif;font-size:22px;font-weight:900;text-transform:uppercase;line-height:1.05}
.gm-community-primary-copy small{display:block;margin-top:5px;color:rgba(235,239,255,.66);font-size:13px}
.gm-community-primary-arrow{color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:28px;font-weight:900;text-align:right}
.gm-community-grid-wrap{display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(18,26,50,.78),rgba(8,13,28,.84))}
.gm-community-grid-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px}
.gm-community-grid-head span{color:#fff;font-family:'Rajdhani',sans-serif;font-size:26px;font-weight:900;text-transform:uppercase;line-height:1}
.gm-community-grid-head b{color:#ffcc33;font-family:'Rajdhani',sans-serif;font-size:28px;font-weight:900}
.gm-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.gm-community-tile{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px;min-height:94px;padding:16px;border-radius:20px;background:linear-gradient(180deg,rgba(8,14,30,.86),rgba(5,10,22,.96));border:1px solid rgba(255,255,255,.08);transition:transform .24s var(--spring),box-shadow .24s,border-color .24s}
.gm-community-tile:hover{transform:translateY(-3px);border-color:rgba(255,204,51,.22);box-shadow:0 16px 30px rgba(0,0,0,.25)}
.gm-community-tile.is-highlight{grid-column:1/-1;background:linear-gradient(135deg,rgba(255,204,51,.12),rgba(13,21,43,.94));border-color:rgba(255,204,51,.18)}
.gm-community-tile-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:24px;line-height:1}
.gm-community-tile-copy{min-width:0}
.gm-community-tile-copy strong{display:block;color:#fff;font-family:'Rajdhani',sans-serif;font-size:19px;font-weight:900;text-transform:uppercase;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-community-tile-copy small{display:block;margin-top:6px;color:rgba(226,234,255,.60);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
@media (max-width: 1120px){
  .gm-community-hub{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .gm-community-main-inner{padding:22px}
  .gm-community-points{grid-template-columns:1fr}
  .gm-community-grid{grid-template-columns:1fr}
  .gm-community-tile.is-highlight{grid-column:auto}
  .gm-community-grid-head span{font-size:22px}
  .gm-community-primary{grid-template-columns:58px minmax(0,1fr) 20px}
  .gm-community-primary-icon{width:58px;height:58px;font-size:24px}
  .gm-community-primary-copy strong{font-size:18px}
}

/* =========================================================
   RESPONSIVE FIX - CANALES OFICIALES / GM COMMUNITY HUB
   Pegar al final del CSS para que tenga prioridad
========================================================= */
.gm-community-section,
.gm-community-section *{
  max-width:100%;
}
.gm-community-hub{
  min-width:0;
}
.gm-community-main,
.gm-community-grid-wrap,
.gm-community-main-inner,
.gm-community-grid,
.gm-community-tile,
.gm-community-primary,
.gm-community-primary-copy,
.gm-community-tile-copy{
  min-width:0;
}
.gm-community-main h3,
.gm-community-main p,
.gm-community-copy,
.gm-community-primary-copy strong,
.gm-community-primary-copy small,
.gm-community-tile-copy strong,
.gm-community-tile-copy small{
  overflow-wrap:anywhere;
}

@media (max-width: 1180px){
  .gm-community-section .gm-home-wrap{
    width:min(100% - 36px, 920px);
  }
  .gm-community-hub{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .gm-community-main h3{
    max-width:none !important;
  }
  .gm-community-points{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .gm-community-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .gm-community-tile.is-highlight{
    grid-column:1 / -1 !important;
  }
}

@media (max-width: 820px){
  .gm-community-section{
    padding:28px 0 34px !important;
  }
  .gm-community-section .gm-home-wrap{
    width:calc(100% - 28px) !important;
  }
  .gm-community-head{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    margin-bottom:16px !important;
  }
  .gm-community-head h2{
    font-size:clamp(30px,8vw,40px) !important;
    line-height:.95 !important;
  }
  .gm-community-copy{
    max-width:100% !important;
    font-size:13px !important;
    line-height:1.65 !important;
    margin-top:9px !important;
  }
  .gm-community-main,
  .gm-community-grid-wrap{
    border-radius:22px !important;
  }
  .gm-community-main-inner{
    padding:22px !important;
    gap:15px !important;
  }
  .gm-community-main h3{
    font-size:clamp(30px,8.5vw,38px) !important;
    line-height:.98 !important;
    max-width:none !important;
  }
  .gm-community-main p{
    font-size:13px !important;
    line-height:1.65 !important;
  }
  .gm-community-points{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .gm-community-point{
    padding:14px !important;
    border-radius:16px !important;
  }
  .gm-community-point strong{
    font-size:17px !important;
  }
  .gm-community-point span{
    font-size:12px !important;
    margin-top:6px !important;
  }
  .gm-community-grid-head{
    padding:16px 16px 12px !important;
  }
  .gm-community-grid-head span{
    font-size:22px !important;
  }
  .gm-community-grid-head b{
    font-size:24px !important;
  }
  .gm-community-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
    padding:0 14px 14px !important;
  }
  .gm-community-tile.is-highlight{
    grid-column:auto !important;
  }
}

@media (max-width: 560px){
  .gm-community-section{
    padding:24px 0 28px !important;
  }
  .gm-community-section .gm-home-wrap{
    width:calc(100% - 22px) !important;
  }
  .gm-community-head{
    margin-bottom:14px !important;
  }
  .gm-community-head h2{
    font-size:31px !important;
    letter-spacing:-.02em !important;
  }
  .gm-community-copy{
    font-size:12.5px !important;
  }
  .gm-community-main,
  .gm-community-grid-wrap{
    border-radius:18px !important;
  }
  .gm-community-main::after{
    width:150px !important;
    height:150px !important;
    right:-70px !important;
    bottom:-70px !important;
    opacity:.55 !important;
  }
  .gm-community-main-inner{
    padding:18px !important;
    gap:13px !important;
  }
  .gm-community-kicker{
    padding:7px 10px !important;
    font-size:10px !important;
    letter-spacing:.09em !important;
  }
  .gm-community-main h3{
    font-size:29px !important;
    line-height:1 !important;
  }
  .gm-community-main p{
    font-size:12.5px !important;
    line-height:1.6 !important;
  }
  .gm-community-point{
    padding:12px !important;
    border-radius:14px !important;
  }
  .gm-community-primary{
    grid-template-columns:48px minmax(0,1fr) !important;
    gap:10px !important;
    padding:12px !important;
    border-radius:17px !important;
  }
  .gm-community-primary-icon{
    width:48px !important;
    height:48px !important;
    border-radius:14px !important;
    font-size:22px !important;
  }
  .gm-community-primary-copy strong{
    font-size:17px !important;
    line-height:1.05 !important;
  }
  .gm-community-primary-copy small{
    font-size:11.5px !important;
    line-height:1.35 !important;
  }
  .gm-community-primary-arrow{
    display:none !important;
  }
  .gm-community-grid-head{
    padding:14px 14px 10px !important;
  }
  .gm-community-grid-head span{
    font-size:20px !important;
  }
  .gm-community-grid-head b{
    font-size:22px !important;
  }
  .gm-community-grid{
    padding:0 12px 12px !important;
    gap:9px !important;
  }
  .gm-community-tile{
    grid-template-columns:44px minmax(0,1fr) !important;
    min-height:72px !important;
    padding:11px !important;
    gap:10px !important;
    border-radius:15px !important;
  }
  .gm-community-tile-icon{
    width:44px !important;
    height:44px !important;
    border-radius:13px !important;
    font-size:20px !important;
  }
  .gm-community-tile-copy strong{
    font-size:16px !important;
  }
  .gm-community-tile-copy small{
    margin-top:4px !important;
    font-size:10.5px !important;
  }
}

@media (max-width: 380px){
  .gm-community-section .gm-home-wrap{
    width:calc(100% - 18px) !important;
  }
  .gm-community-main-inner{
    padding:15px !important;
  }
  .gm-community-head h2{
    font-size:28px !important;
  }
  .gm-community-main h3{
    font-size:26px !important;
  }
  .gm-community-primary{
    grid-template-columns:42px minmax(0,1fr) !important;
  }
  .gm-community-primary-icon,
  .gm-community-tile-icon{
    width:42px !important;
    height:42px !important;
  }
  .gm-community-tile{
    grid-template-columns:42px minmax(0,1fr) !important;
  }
}



/* ===== GM LIVE OPS / EVENTS / INVASIONS ===== */
.gm-live-ops-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.gm-live-card{
  position:relative;
  overflow:hidden;
  min-height:250px;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(12,18,38,.82),rgba(5,10,24,.88));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 18px 46px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.045);
}
.gm-live-card::after{
  content:'';
  position:absolute;
  right:-60px;
  top:-70px;
  width:170px;
  height:170px;
  border-radius:50%;
  filter:blur(30px);
  pointer-events:none;
  opacity:.55;
}
.gm-live-card--events::after{background:rgba(0,207,255,.20)}
.gm-live-card--invasions::after{background:rgba(255,204,51,.20)}
.gm-live-card--kills::after{background:rgba(244,63,94,.18)}
.gm-live-card--market::after{background:rgba(0,207,255,.18)}
.gm-live-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.gm-live-head span{
  display:block;
  color:#ffcc33;
  font-family:'Rajdhani',sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1;
}
.gm-live-head strong{
  display:block;
  margin-top:6px;
  color:#fff;
  font-family:'Rajdhani',sans-serif;
  font-size:22px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1;
}
.gm-live-head b{
  display:grid;
  place-items:center;
  min-width:36px;
  height:36px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(255,204,51,.10);
  border:1px solid rgba(255,204,51,.18);
  color:#ffcc33;
  font-family:'Rajdhani',sans-serif;
  font-size:18px;
  font-weight:900;
}
.gm-live-list{
  position:relative;
  z-index:1;
  display:grid;
  gap:9px;
}
.gm-live-row,
.gm-kill-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  min-height:58px;
  padding:11px 12px;
  border-radius:18px;
  background:rgba(2,7,18,.58);
  border:1px solid rgba(255,255,255,.065);
}
.gm-live-row.is-active{
  border-color:rgba(34,197,94,.25);
  background:linear-gradient(90deg,rgba(34,197,94,.10),rgba(2,7,18,.58));
}
.gm-live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(148,163,184,.65);
  box-shadow:0 0 0 4px rgba(148,163,184,.08);
}
.gm-live-row.is-active .gm-live-dot{
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.14),0 0 18px rgba(34,197,94,.48);
  animation:gmLivePulse 1.7s ease-in-out infinite;
}
@keyframes gmLivePulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.25)}
}
.gm-live-row strong,
.gm-kill-row strong{
  display:block;
  color:#fff;
  font-family:'Rajdhani',sans-serif;
  font-size:17px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gm-live-row small,
.gm-kill-row small{
  display:block;
  margin-top:4px;
  color:rgba(226,234,255,.48);
  font-size:11px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gm-live-row > span{
  justify-self:end;
  padding:7px 9px;
  border-radius:999px;
  color:rgba(235,239,255,.72);
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.gm-live-row.is-active > span{
  color:#8cffb6;
  border-color:rgba(34,197,94,.20);
  background:rgba(34,197,94,.08);
}
.gm-kill-row{
  grid-template-columns:42px minmax(0,1fr);
}
.gm-kill-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  color:#ffb4c2;
  background:rgba(244,63,94,.09);
  border:1px solid rgba(244,63,94,.16);
}
.gm-kill-row em{
  color:rgba(226,234,255,.48);
  font-style:normal;
  font-weight:700;
  text-transform:none;
}
.gm-live-empty{
  padding:16px;
  border-radius:18px;
  color:rgba(226,234,255,.58);
  background:rgba(0,0,0,.22);
  border:1px dashed rgba(255,255,255,.10);
  font-size:12px;
  line-height:1.55;
}
.gm-live-empty b{color:#ffcc33;font-weight:900}
@media (max-width:1180px){
  .gm-live-ops-grid{grid-template-columns:1fr 1fr}
  .gm-live-card--kills{grid-column:1/-1}
}
@media (max-width:760px){
  .gm-live-ops-grid{grid-template-columns:1fr;gap:12px}
  .gm-live-card{min-height:auto;padding:16px;border-radius:20px}
  .gm-live-card--kills{grid-column:auto}
  .gm-live-head strong{font-size:20px}
  .gm-live-row{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}
  .gm-live-row > span{grid-column:2;justify-self:start;margin-top:4px}
}



/* ===== HOME LIVE OPS TOP + PVP KILLS RESPONSIVE ===== */
.gm-live-ops-grid--top{
  margin:0 0 18px !important;
}
.gm-live-card--kills .gm-live-head span{
  color:#ff5f7e;
}
.gm-live-card--kills .gm-live-head b{
  color:#ff8aa0;
  background:rgba(244,63,94,.10);
  border-color:rgba(244,63,94,.18);
}
.gm-kill-row strong{
  white-space:normal;
}
.gm-kill-row small{
  white-space:normal;
}
.gm-kill-icon{
  font-size:18px;
}
@media (max-width:1180px){
  .gm-live-ops-grid--top{
    grid-template-columns:1fr 1fr !important;
  }
  .gm-live-ops-grid--top .gm-live-card--market{
    grid-column:1/-1 !important;
  }
}
@media (max-width:760px){
  .gm-live-ops-grid--top{
    grid-template-columns:1fr !important;
    margin-bottom:14px !important;
  }
  .gm-live-ops-grid--top .gm-live-card--market{
    grid-column:auto !important;
  }
  .gm-live-row,
  .gm-kill-row{
    min-height:auto !important;
  }
  .gm-kill-row{
    grid-template-columns:38px minmax(0,1fr) !important;
  }
  .gm-kill-icon{
    width:38px !important;
    height:38px !important;
    border-radius:13px !important;
  }
}
@media (max-width:480px){
  .gm-live-card{
    padding:14px !important;
    border-radius:18px !important;
  }
  .gm-live-head{
    gap:8px !important;
  }
  .gm-live-head strong{
    font-size:18px !important;
  }
  .gm-live-head b{
    min-width:32px !important;
    height:32px !important;
    font-size:16px !important;
  }
  .gm-live-row strong,
  .gm-kill-row strong{
    font-size:15px !important;
  }
}


/* ===== MARKET FEED HOME CARD ===== */
.gm-live-card--market .gm-live-head span{
  color:#00cfff;
}
.gm-live-card--market .gm-live-head b{
  color:#7feaff;
  background:rgba(0,207,255,.10);
  border-color:rgba(0,207,255,.18);
}
.gm-market-feed-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-height:58px;
  padding:11px 12px;
  border-radius:18px;
  background:rgba(2,7,18,.58);
  border:1px solid rgba(255,255,255,.065);
}
.gm-market-feed-icon,
.gm-market-feed-img{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  color:#7feaff;
  background:rgba(0,207,255,.09);
  border:1px solid rgba(0,207,255,.16);
  font-family:'Rajdhani',sans-serif;
  font-size:13px;
  font-weight:900;
  object-fit:contain;
  image-rendering:pixelated;
}
.gm-market-feed-row strong{
  display:block;
  color:#fff;
  font-family:'Rajdhani',sans-serif;
  font-size:17px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gm-market-feed-row small{
  display:block;
  margin-top:4px;
  color:rgba(226,234,255,.48);
  font-size:11px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:760px){
  .gm-market-feed-row{
    grid-template-columns:38px minmax(0,1fr) !important;
    min-height:auto !important;
  }
  .gm-market-feed-icon,
  .gm-market-feed-img{
    width:38px !important;
    height:38px !important;
    border-radius:13px !important;
  }
}
@media (max-width:480px){
  .gm-market-feed-row strong{
    font-size:15px !important;
  }
  .gm-market-feed-row small{
    white-space:normal !important;
  }
}


/* ===== MARKET WEB CAROUSEL FIX ===== */
.gm-live-card{
  min-height:250px;
}
.gm-live-card--market{
  min-height:250px !important;
  max-height:250px !important;
}
.gm-market-feed-carousel{
  position:relative;
  z-index:1;
  height:178px;
  overflow:hidden;
  border-radius:18px;
}
.gm-market-feed-carousel::before,
.gm-market-feed-carousel::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:24px;
  z-index:2;
  pointer-events:none;
}
.gm-market-feed-carousel::before{
  top:0;
  background:linear-gradient(180deg,rgba(6,10,24,.92),transparent);
}
.gm-market-feed-carousel::after{
  bottom:0;
  background:linear-gradient(0deg,rgba(6,10,24,.92),transparent);
}
.gm-market-feed-track{
  display:grid;
  gap:9px;
  animation:gmMarketFeedScroll 24s linear infinite;
  will-change:transform;
}
.gm-market-feed-carousel:hover .gm-market-feed-track{
  animation-play-state:paused;
}
@keyframes gmMarketFeedScroll{
  0%{transform:translateY(0)}
  100%{transform:translateY(-50%)}
}
.gm-market-feed-row{
  min-height:52px !important;
  padding:8px 10px !important;
  border-radius:16px !important;
}
.gm-market-feed-img{
  background:rgba(0,0,0,.30) !important;
  padding:3px;
}
.gm-market-feed-row strong{
  font-size:15px !important;
}
.gm-market-feed-row small{
  font-size:10px !important;
}
@media (max-width:1180px){
  .gm-live-card--market{
    grid-column:1/-1;
  }
}
@media (max-width:760px){
  .gm-live-card--market{
    grid-column:auto;
    max-height:none !important;
  }
  .gm-market-feed-carousel{
    height:178px;
  }
}
@media (max-width:480px){
  .gm-market-feed-carousel{
    height:170px;
  }
  .gm-market-feed-row{
    min-height:50px !important;
  }
}


/* ===== LIVE OPS TWO CARDS: EVENTS + INVASIONS ===== */
.gm-live-ops-grid--two{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.gm-live-ops-grid--two .gm-live-card{
  min-height:250px;
  max-height:250px;
}
@media (max-width:760px){
  .gm-live-ops-grid--two{
    grid-template-columns:1fr !important;
  }
  .gm-live-ops-grid--two .gm-live-card{
    max-height:none;
  }
}


/* ===== EVENTOS E INVASIONES: LISTA DISPONIBLE EN CARRUSEL ===== */
.gm-live-ops-grid--two{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.gm-live-ops-grid--two .gm-live-card{
  min-height:250px !important;
  max-height:250px !important;
}
.gm-live-carousel{
  position:relative;
  height:178px;
  overflow:hidden;
  border-radius:18px;
}
.gm-live-carousel::before,
.gm-live-carousel::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:22px;
  z-index:2;
  pointer-events:none;
}
.gm-live-carousel::before{
  top:0;
  background:linear-gradient(180deg,rgba(7,12,26,.92),transparent);
}
.gm-live-carousel::after{
  bottom:0;
  background:linear-gradient(0deg,rgba(7,12,26,.92),transparent);
}
.gm-live-track{
  display:grid;
  gap:9px;
  animation:gmLiveListScroll 34s linear infinite;
  will-change:transform;
}
.gm-live-carousel:hover .gm-live-track{
  animation-play-state:paused;
}
@keyframes gmLiveListScroll{
  0%{transform:translateY(0)}
  100%{transform:translateY(-50%)}
}
.gm-live-row{
  min-height:52px !important;
  padding:8px 10px !important;
  border-radius:16px !important;
}
.gm-live-row strong{
  font-size:15px !important;
}
.gm-live-row small{
  font-size:10px !important;
}
@media (max-width:760px){
  .gm-live-ops-grid--two{
    grid-template-columns:1fr !important;
  }
  .gm-live-ops-grid--two .gm-live-card{
    max-height:none !important;
  }
  .gm-live-carousel{
    height:178px;
  }
}
@media (max-width:480px){
  .gm-live-carousel{
    height:170px;
  }
  .gm-live-row{
    min-height:50px !important;
  }
}


/* ===== HOME NEWS TITLE ROW ===== */
.gm-news-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:22px 0 12px;
}
.gm-news-title-row span{
  display:block;
  color:#ffcc33;
  font-family:'Rajdhani',sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1;
}
.gm-news-title-row h2{
  margin:7px 0 0;
  color:#fff;
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(28px,3.4vw,42px);
  font-weight:900;
  line-height:.95;
  text-transform:uppercase;
}
.gm-news-title-row a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  color:rgba(235,239,255,.70);
  font-family:'Rajdhani',sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.gm-news-title-row a:hover{
  color:#fff;
  border-color:rgba(255,204,51,.24);
}
@media (max-width:640px){
  .gm-news-title-row{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .gm-news-title-row h2{
    font-size:30px;
  }
}


/* ===== NEWS TITLE INSIDE NEWS PANEL ===== */
.gm-news-title-row--inside{
  margin:0 0 12px !important;
}
.gm-news-panel--reinvented{
  align-self:start;
}
@media (max-width:760px){
  .gm-news-title-row--inside{
    margin-top:2px !important;
  }
}


/* ===== NEWS TITLE OUTSIDE NEWS CARD ===== */
.gm-news-title-row--outside{
  grid-column:1 / -1;
  margin:0 0 -4px !important;
  padding:0 2px;
}
.gm-news-title-row--outside h2{
  text-shadow:0 10px 28px rgba(0,0,0,.45);
}
@media (max-width:760px){
  .gm-news-title-row--outside{
    margin:0 0 2px !important;
  }
}


/* ===== HERO MINI STATS 8 ITEMS ===== */
.gm-mini-stats{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:9px !important;
}
.gm-mini-stats > div{
  min-width:0;
}
.gm-mini-stats span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gm-mini-stats strong{
  white-space:nowrap;
}
@media (max-width:1100px){
  .gm-mini-stats{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}
@media (max-width:760px){
  .gm-mini-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:420px){
  .gm-mini-stats{
    grid-template-columns:1fr !important;
  }
}


/* ===== HOME: ACTIVIDAD MÁS GRANDE / USUARIOS Y RANKING MÁS COMPACTOS ===== */

/* Agrandar un poco Eventos e Invasiones */
.gm-live-ops-grid--two{
  gap:18px !important;
}
.gm-live-ops-grid--two .gm-live-card{
  min-height:305px !important;
  height:305px !important;
  max-height:305px !important;
  padding:20px !important;
}
.gm-live-ops-grid--two .gm-live-card--events,
.gm-live-ops-grid--two .gm-live-card--invasions{
  min-height:305px !important;
  height:305px !important;
  max-height:305px !important;
}
.gm-live-ops-grid--two .gm-live-carousel{
  height:225px !important;
}
.gm-live-ops-grid--two .gm-live-row{
  min-height:58px !important;
  padding:10px 12px !important;
}
.gm-live-ops-grid--two .gm-live-head{
  margin-bottom:16px !important;
}

/* Achicar Últimos registrados y Ranking PJs */
.gm-side-column--dual{
  gap:14px !important;
}
.gm-latest-users-card{
  min-height:218px !important;
  height:218px !important;
  max-height:218px !important;
  padding:16px !important;
}
.gm-latest-users-card .gm-card-title{
  margin-bottom:10px !important;
}
.gm-latest-users-card .gm-card-title span{
  font-size:22px !important;
}
.gm-users-carousel{
  height:150px !important;
  max-height:150px !important;
  overflow:hidden !important;
}
.gm-user-row{
  min-height:52px !important;
  padding:8px 10px !important;
  border-radius:15px !important;
}
.gm-user-avatar{
  width:42px !important;
  height:42px !important;
  border-radius:13px !important;
  font-size:10px !important;
}
.gm-user-row strong{
  font-size:15px !important;
}
.gm-user-row small{
  font-size:10px !important;
}
.gm-user-row > span{
  font-size:12px !important;
}

/* Mantener carruseles más lentos */
.gm-live-track{
  animation-duration:64s !important;
}
.gm-users-track{
  animation-duration:58s !important;
}
.gm-ranking-track{
  animation-duration:60s !important;
}

/* Responsive */
@media (max-width:900px){
  .gm-live-ops-grid--two .gm-live-card{
    height:auto !important;
    max-height:none !important;
    min-height:280px !important;
  }
  .gm-live-ops-grid--two .gm-live-carousel{
    height:215px !important;
  }
  .gm-latest-users-card{
    height:220px !important;
    max-height:220px !important;
  }
}
@media (max-width:560px){
  .gm-live-ops-grid--two .gm-live-card{
    min-height:270px !important;
    padding:16px !important;
  }
  .gm-live-ops-grid--two .gm-live-carousel{
    height:205px !important;
  }
  .gm-latest-users-card{
    min-height:210px !important;
    height:210px !important;
    max-height:210px !important;
    padding:14px !important;
  }
  .gm-users-carousel{
    height:142px !important;
    max-height:142px !important;
  }
}


/* ===== EVENTOS: AVAILABLE/DISPONIBLE VISUALMENTE ONLINE ===== */
.gm-live-row.is-active .gm-live-dot{
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14), 0 0 18px rgba(34,197,94,.55) !important;
  animation:gmLivePulse 1.7s ease-in-out infinite !important;
}
.gm-live-row.is-active > span{
  color:#8cffb6 !important;
  border-color:rgba(34,197,94,.24) !important;
  background:rgba(34,197,94,.10) !important;
}


/* ===== INVASIONES ACTIVAS / ONLINE EN VERDE ===== */
.gm-live-card--invasions .gm-live-row.is-active .gm-live-dot{
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14), 0 0 18px rgba(34,197,94,.55) !important;
  animation:gmLivePulse 1.7s ease-in-out infinite !important;
}
.gm-live-card--invasions .gm-live-row.is-active > span{
  color:#8cffb6 !important;
  border-color:rgba(34,197,94,.24) !important;
  background:rgba(34,197,94,.10) !important;
}


/* ===== HOME: MÁS FILAS VISIBLES + RANKING PJS/GUILD ===== */
.gm-side-column--dual .gm-latest-users-card{
  height:300px !important;
  min-height:300px !important;
  max-height:300px !important;
  padding:18px !important;
}

.gm-side-column--dual .gm-users-carousel{
  height:226px !important;
  max-height:226px !important;
  overflow:hidden !important;
  mask-image:linear-gradient(180deg,transparent 0,#000 4%,#000 96%,transparent 100%) !important;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 4%,#000 96%,transparent 100%) !important;
}

.gm-side-column--dual .gm-user-row{
  min-height:50px !important;
  padding:8px 10px !important;
  border-radius:15px !important;
}

.gm-side-column--dual .gm-user-avatar,
.gm-guild-logo{
  width:42px !important;
  height:42px !important;
  border-radius:13px !important;
  flex:0 0 42px !important;
}

.gm-side-column--dual .gm-user-row strong{
  font-size:15px !important;
}

.gm-side-column--dual .gm-user-row small{
  font-size:10.5px !important;
}

.gm-side-column--dual .gm-users-track,
.gm-side-column--dual .gm-ranking-track{
  gap:8px !important;
  animation-duration:78s !important;
}

/* Header con botones PJs / Guild */
.gm-ranking-title{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}

.gm-ranking-tabs{
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border-radius:999px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.08);
}

.gm-ranking-tab{
  appearance:none;
  border:0;
  cursor:pointer;
  min-height:28px;
  padding:6px 11px;
  border-radius:999px;
  color:rgba(235,239,255,.60);
  background:transparent;
  font-family:'Rajdhani',sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.gm-ranking-tab:hover{
  color:#fff;
  background:rgba(255,255,255,.06);
}

.gm-ranking-tab.is-active{
  color:#101522;
  background:linear-gradient(135deg,#ffcc33,#ff9f1c);
  box-shadow:0 8px 18px rgba(255,204,51,.18);
}

.gm-ranking-pane{
  display:none;
}

.gm-ranking-pane.is-active{
  display:block;
}

/* Guild row/logo */
.gm-guild-logo{
  display:grid;
  place-items:center;
  color:#ffdd77;
  font-family:'Rajdhani',sans-serif;
  font-size:15px;
  font-weight:900;
  letter-spacing:.04em;
  background:
    radial-gradient(circle at 35% 30%,rgba(255,204,51,.28),transparent 45%),
    linear-gradient(135deg,rgba(255,204,51,.13),rgba(139,104,255,.12));
  border:1px solid rgba(255,204,51,.20);
  box-shadow:0 0 0 1px rgba(255,255,255,.06) inset,0 10px 20px rgba(0,0,0,.26);
}

.gm-guild-row{
  border-color:rgba(255,204,51,.08) !important;
}

.gm-guild-row:hover{
  border-color:rgba(255,204,51,.20) !important;
}

/* Responsive */
@media (max-width:900px){
  .gm-side-column--dual .gm-latest-users-card{
    height:290px !important;
    max-height:290px !important;
  }
  .gm-side-column--dual .gm-users-carousel{
    height:218px !important;
    max-height:218px !important;
  }
}

@media (max-width:560px){
  .gm-ranking-title{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .gm-ranking-tabs{
    width:100%;
  }
  .gm-ranking-tab{
    flex:1;
  }
  .gm-side-column--dual .gm-latest-users-card{
    height:300px !important;
    max-height:300px !important;
  }
  .gm-side-column--dual .gm-users-carousel{
    height:226px !important;
    max-height:226px !important;
    mask-image:none !important;
    -webkit-mask-image:none !important;
  }
}


/* ===== GUILD LOGO REAL DESDE G_MARK ===== */
.gm-guild-logo--img{
  object-fit:contain !important;
  image-rendering:pixelated !important;
  padding:6px !important;
  background:
    radial-gradient(circle at 35% 30%,rgba(255,204,51,.18),transparent 45%),
    rgba(0,0,0,.28) !important;
}


/* ===== RANKING HOME SOLO PJS ===== */
.gm-ranking-tabs,
.gm-ranking-pane[data-ranking-pane="guilds"],
.gm-guild-carousel,
.gm-guild-row{
  display:none !important;
}
.gm-ranking-pane[data-ranking-pane="pjs"]{
  display:block !important;
}
.gm-ranking-card .gm-card-title{
  display:flex !important;
}



}


/* ===== NOTICIAS ARRIBA DEL HERO ===== */
.gm-news-panel--home-top{
  margin:0 0 22px !important;
}
.gm-activity-grid--only-side{
  grid-template-columns:1fr !important;
}
.gm-activity-grid--only-side .gm-side-column--dual{
  width:100% !important;
}
@media(max-width:760px){
  .gm-news-panel--home-top{
    margin-bottom:16px !important;
  }
}


/* ═══════════════════════════════════════════════
   CONTADOR TIEMPO ONLINE MU HOLOCAUSTO
═══════════════════════════════════════════════ */
.mh-opening-countdown,
.mh-opening-countdown *{
  box-sizing:border-box;
}
.mh-opening-countdown{
  width:100%;
  max-width:980px;
  margin:0 auto 28px;
  padding:0 10px;
  position:relative;
  z-index:2;
}
.mh-opening-countdown__inner{
  padding:28px;
  border-radius:22px;
  background:
    radial-gradient(circle at 50% -20%,rgba(34,197,94,.26),transparent 54%),
    linear-gradient(180deg,rgba(13,38,22,.94),rgba(3,14,8,.96));
  border:1px solid rgba(34,197,94,.68);
  box-shadow:0 0 42px rgba(34,197,94,.24),0 20px 60px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08);
  text-align:center;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.mh-opening-countdown__title{
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(21px,3vw,32px);
  line-height:1;
  font-weight:800;
  color:#f2fff6;
  text-transform:uppercase;
  letter-spacing:.10em;
  margin-bottom:20px;
  text-shadow:0 0 12px rgba(34,197,94,.82);
}
.mh-opening-countdown__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.mh-opening-countdown__box{
  min-width:0;
  min-height:124px;
  padding:20px 10px 18px;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.56);
  background:linear-gradient(180deg,rgba(38,74,48,.66),rgba(6,16,10,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -22px 30px rgba(0,0,0,.25),0 0 22px rgba(34,197,94,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.mh-opening-countdown__box strong{
  display:block;
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(38px,4.4vw,56px);
  font-weight:800;
  line-height:.9;
  color:#fff;
  letter-spacing:.04em;
  text-shadow:0 0 13px rgba(34,197,94,.88),0 2px 0 rgba(0,0,0,.35);
  word-break:normal;
  overflow-wrap:normal;
}
.mh-opening-countdown__box span{
  display:block;
  margin-top:12px;
  font-size:13px;
  font-weight:900;
  color:#22c55e;
  text-transform:uppercase;
  letter-spacing:.22em;
}
.gm-user-row small{
  color:rgba(235,239,255,.66) !important;
}
@media(max-width:900px){
  .mh-opening-countdown{
    max-width:720px;
    padding:0 8px;
    margin-bottom:18px;
  }
  .mh-opening-countdown__inner{
    padding:18px;
    border-radius:18px;
  }
  .mh-opening-countdown__title{
    font-size:clamp(17px,5vw,22px);
    line-height:1.15;
    letter-spacing:.055em;
    margin-bottom:14px;
  }
  .mh-opening-countdown__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .mh-opening-countdown__box{
    min-height:88px;
    padding:14px 6px 12px;
    border-radius:14px;
  }
  .mh-opening-countdown__box strong{
    font-size:clamp(32px,10vw,44px);
    line-height:.92;
  }
  .mh-opening-countdown__box span{
    margin-top:8px;
    font-size:10px;
    letter-spacing:.14em;
  }
}
@media(max-width:520px){
  .mh-opening-countdown{
    padding:0 4px;
  }
  .mh-opening-countdown__inner{
    padding:16px 12px;
  }
  .mh-opening-countdown__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:380px){
  .mh-opening-countdown{
    padding:0;
  }
  .mh-opening-countdown__inner{
    padding:14px 10px;
  }
  .mh-opening-countdown__grid{
    gap:8px;
  }
  .mh-opening-countdown__box{
    min-height:78px;
    padding:11px 4px 10px;
  }
  .mh-opening-countdown__box strong{
    font-size:30px;
  }
  .mh-opening-countdown__box span{
    font-size:9px;
    letter-spacing:.10em;
  }
  .gm-user-row{
    grid-template-columns:38px minmax(0,1fr) 30px !important;
    gap:8px !important;
  }
}