:root {
  --bg: #0f0506;
  --bg-soft: rgba(15, 5, 6, 0.76);
  --panel: rgba(15, 5, 6, 0.74);
  --panel-strong: rgba(15, 5, 6, 0.9);
  --line: rgba(255, 255, 255, 0.12);
  --line-hot: rgba(235, 73, 42, 0.45);
  --text: #fff0e8;
  --muted: #ffd8ca;
  --hot: #e85a3d;
  --hot-strong: #ff6b42;
  --gold: #ffb08d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --title-font: "Cinzel", "Trajan Pro", "Palatino Linotype", serif;
  --body-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --cursor-default: url("cursor/normal cursor.cur"), auto;
  --cursor-alt: url("cursor/alternate select.cur"), default;
  --cursor-link: url("cursor/link select.cur"), pointer;
  --cursor-text: url("cursor/text.cur"), text;
  --cursor-busy: url("cursor/busy.cur"), wait;
  --cursor-progress: url("cursor/wib.cur"), progress;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: var(--cursor-default);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 104, 72, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.82), rgba(15, 5, 6, 0.92)),
    var(--bg);
  cursor: var(--cursor-default);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.78), rgba(0, 0, 0, 0.16) 18%, rgba(15, 5, 6, 0.72) 100%),
    radial-gradient(circle at center, transparent 0 24%, rgba(15, 5, 6, 0.34) 65%, rgba(15, 5, 6, 0.82) 100%),
    url("img/background.webp") center top / cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(235, 73, 42, 0.2), transparent 22%),
    radial-gradient(circle at 17% 84%, rgba(235, 73, 42, 0.14), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(235, 73, 42, 0.14), transparent 16%);
  pointer-events: none;
  z-index: -1;
}

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

a,
button,
[role="button"],
label[for],
select,
summary {
  cursor: var(--cursor-link);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
[contenteditable="true"] {
  cursor: var(--cursor-text);
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: var(--cursor-alt);
}

[hidden] {
  display: none !important;
}

[data-guest-only][hidden] {
  display: none !important;
}

[data-auth-only][hidden] {
  display: none !important;
}

.embers-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
  filter: drop-shadow(0 0 10px rgba(255, 144, 114, 0.18));
}

.action-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: var(--cursor-link);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#inicio,
#registro,
#descargar,
#rankings,
#info,
#eventos,
#login {
  scroll-margin-top: 7rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.96), rgba(34, 9, 10, 0.82)),
    rgba(15, 5, 6, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.8rem;
  flex: 0 0 auto;
  min-width: 0;
  font-family: var(--title-font);
  letter-spacing: 0.08em;
}

.brand-icon {
  width: clamp(2.5rem, 4vw, 3rem);
  height: clamp(2.5rem, 4vw, 3rem);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 104, 72, 0.28));
  flex: 0 0 auto;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}

.brand-mark {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff0e8;
  text-shadow: 0 0 16px rgba(255, 104, 72, 0.42);
}

.brand-name {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.84), rgba(12, 10, 11, 0.94)),
    rgba(15, 5, 6, 0.9);
  cursor: var(--cursor-link);
}

.menu-toggle__lines {
  display: inline-grid;
  gap: 0.24rem;
}

.menu-toggle__lines span {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open .menu-toggle__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-toggle.is-open .menu-toggle__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar-panel {
  display: contents;
}

.topbar-panel__inner,
.main-nav,
.top-actions,
.hero-actions {
  display: flex;
}

.topbar-panel__inner {
  display: contents;
}

.main-nav {
  grid-column: 2;
  gap: clamp(1rem, 2vw, 2.2rem);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: max-content;
}

.main-nav a,
.action-link {
  position: relative;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff0e8;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.main-nav a::after,
.action-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--hot-strong), transparent);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.action-link:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 104, 72, 0.55);
}

.main-nav a:hover::after,
.action-link:hover::after {
  transform: scaleX(1);
}

.action-link.is-authenticated {
  color: #fff0e8;
  font-weight: 700;
  text-shadow:
    0 0 10px rgba(255, 188, 168, 0.45),
    0 0 22px rgba(255, 104, 72, 0.38),
    0 0 38px rgba(184, 48, 34, 0.22);
  cursor: var(--cursor-alt);
  filter: saturate(1.2) brightness(1.05);
  transform-origin: center;
  will-change: transform, text-shadow, filter, color;
  animation: account-breathe 2.8s ease-in-out infinite;
}

.action-link.is-authenticated::after {
  transform: scaleX(0);
}

.top-actions {
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--line-hot);
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(73, 20, 10, 0.55), rgba(39, 24, 12, 0.92)),
    rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(189, 97, 14, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 115, 95, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 36px rgba(235, 73, 42, 0.3);
}

.button-small {
  min-width: 9.5rem;
  padding: 0.8rem 1.2rem;
}

.button-primary {
  background:
    linear-gradient(180deg, rgba(166, 38, 18, 0.9), rgba(74, 37, 10, 0.98)),
    rgba(69, 36, 10, 0.88);
}

.button-secondary {
  background:
    linear-gradient(180deg, rgba(44, 44, 46, 0.84), rgba(11, 11, 11, 0.94)),
    rgba(15, 15, 15, 0.92);
}

.hero {
  position: relative;
  min-height: min(60rem, calc(100dvh - 5.5rem));
  display: grid;
  place-items: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 3vw, 1.5rem) clamp(2.5rem, 5vw, 4rem);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68) 78%, rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at center, rgba(235, 73, 42, 0.08), transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(100%, 64rem);
  padding: clamp(0.9rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  animation: rise-in 700ms ease-out both;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: clamp(1.1rem, 2.8vw, 2rem);
}

.hero-copyblock {
  position: relative;
  isolation: isolate;
  width: min(100%, 56rem);
  padding: clamp(1rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2.4rem);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-copyblock::before,
.section-head::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(15, 5, 6, 0.88) 0%, rgba(15, 5, 6, 0.66) 42%, rgba(15, 5, 6, 0.22) 74%, transparent 100%);
  filter: blur(10px);
  opacity: 0.95;
  transform: scale(1.06, 1.16);
  pointer-events: none;
  z-index: -1;
}

.hero-copyblock .hero-logo {
  justify-items: center;
}

.hero-presence {
  order: -1;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 auto clamp(0.2rem, 1vw, 0.6rem);
}

.online-orb {
  position: relative;
  width: clamp(11.75rem, 19vw, 14rem);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: clamp(1.1rem, 2.1vw, 1.5rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 188, 168, 0.9);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 236, 228, 0.24), rgba(255, 104, 72, 0.1) 18%, rgba(184, 48, 34, 0.4) 42%, rgba(34, 9, 10, 0.86) 68%, rgba(15, 5, 6, 0.97) 100%),
    radial-gradient(circle at 50% 68%, rgba(235, 73, 42, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(34, 9, 10, 0.92), rgba(15, 5, 6, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(254, 217, 215, 0.08),
    inset 0 0 48px rgba(251, 157, 58, 0.12),
    0 0 0 1px rgba(252, 170, 86, 0.16),
    0 0 34px rgba(251, 143, 40, 0.18),
    0 0 82px rgba(121, 63, 15, 0.3);
  transform-origin: center;
  will-change: transform, filter;
  animation: online-orb-breathe 2.8s ease-in-out infinite;
}

.online-orb::before,
.online-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.online-orb::before {
  inset: 0.65rem;
  border: 1px solid rgba(253, 193, 161, 0.34);
  box-shadow:
    inset 0 0 24px rgba(252, 149, 91, 0.1),
    0 0 18px rgba(251, 149, 61, 0.16);
}

.online-orb::after {
  inset: -10%;
  background:
    radial-gradient(circle, rgba(235, 73, 42, 0.2) 0, rgba(235, 73, 42, 0.08) 40%, rgba(235, 73, 42, 0) 70%);
  filter: blur(16px);
  opacity: 0.82;
  z-index: -1;
  animation: online-orb-pulse 2.4s ease-in-out infinite;
}

.online-orb__embers {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.72;
  background:
    radial-gradient(circle at 32% 32%, rgba(254, 210, 196, 0.44) 0 0.12rem, transparent 0.16rem),
    radial-gradient(circle at 66% 28%, rgba(252, 166, 114, 0.35) 0 0.14rem, transparent 0.18rem),
    radial-gradient(circle at 71% 63%, rgba(253, 213, 174, 0.26) 0 0.1rem, transparent 0.14rem),
    radial-gradient(circle at 26% 68%, rgba(252, 149, 86, 0.3) 0 0.11rem, transparent 0.15rem),
    radial-gradient(circle at 50% 80%, rgba(203, 149, 126, 0.2) 0 0.1rem, transparent 0.14rem),
    radial-gradient(circle at 54% 44%, rgba(251, 160, 66, 0.14), transparent 24%);
  mix-blend-mode: screen;
  animation: online-orb-embers 3.5s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 144, 114, 0.28));
}

.online-orb__core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 0.22rem;
  width: 100%;
  text-align: center;
}

.online-orb__count {
  display: block;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff0e8;
  text-shadow:
    0 0 18px rgba(255, 188, 168, 0.34),
    0 0 36px rgba(255, 104, 72, 0.24),
    0 10px 28px rgba(0, 0, 0, 0.54);
}

.online-orb__label {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.online-orb__meta {
  display: none;
}

.online-orb.is-live {
  border-color: rgba(255, 188, 168, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.08),
    inset 0 0 70px rgba(255, 104, 72, 0.16),
    0 0 0 1px rgba(255, 144, 114, 0.24),
    0 0 48px rgba(255, 104, 72, 0.24),
    0 0 126px rgba(184, 48, 34, 0.4);
}

.online-orb.is-error {
  border-color: rgba(255, 144, 114, 0.46);
  filter: saturate(0.76);
}

.eyebrow,
.section-kicker,
.status-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-shadow:
    0 0 10px rgba(235, 73, 42, 0.26),
    0 4px 14px rgba(0, 0, 0, 0.92);
  text-transform: uppercase;
}

.hero-logo {
  margin: 0.35rem 0 0.9rem;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  font-family: var(--title-font);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-logo-mu {
  font-size: clamp(4.5rem, 10vw, 8.8rem);
  letter-spacing: 0.06em;
  color: #fff3ed;
  text-shadow:
    0 0 18px rgba(255, 188, 168, 0.26),
    0 0 34px rgba(255, 104, 72, 0.26),
    0 12px 30px rgba(0, 0, 0, 0.82),
    0 24px 56px rgba(0, 0, 0, 0.58);
}

.hero-logo-name {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  letter-spacing: 0.1em;
  color: #fff2ec;
  text-shadow:
    0 0 16px rgba(255, 236, 228, 0.22),
    0 0 28px rgba(255, 104, 72, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.84),
    0 20px 44px rgba(0, 0, 0, 0.6);
}

.hero-copy {
  width: min(100%, 44rem);
  margin: 0;
  color: #fff3ed;
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.75;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 6px 20px rgba(0, 0, 0, 0.74);
  text-wrap: pretty;
}

.hero-actions {
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-image-button {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(11rem, 18vw, 14rem);
  aspect-ratio: 656 / 161;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: drop-shadow(0 0 16px rgba(235, 73, 42, 0.28));
  text-indent: -999rem;
  white-space: nowrap;
  transition: transform 180ms ease, filter 180ms ease;
  animation: dynamicGlow 2.5s ease-in-out infinite;
}

.hero-image-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05) drop-shadow(0 0 20px rgba(235, 73, 42, 0.4));
}

.hero-image-button:focus-visible {
  outline: 2px solid rgba(255, 177, 156, 0.92);
  outline-offset: 0.2rem;
  border-radius: 0.35rem;
}

.hero-image-button--register {
  background-image: url("img/register-bttn.webp");
}

.hero-image-button--download {
  background-image: url("img/descarga-bttn.webp");
}

.button-hero {
  min-width: 13.5rem;
  padding: 1rem 2rem;
  border-color: rgba(255, 144, 114, 0.55);
}

.button-hero-solid {
  background:
    linear-gradient(180deg, rgba(255, 104, 72, 0.96), rgba(110, 28, 20, 0.98)),
    rgba(110, 28, 20, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.06),
    0 0 42px rgba(255, 104, 72, 0.32);
}

@keyframes online-orb-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1) brightness(1);
  }

  50% {
    transform: translateY(0.18rem) scale(1.028);
    filter: saturate(1.05) brightness(1.04);
  }
}

@keyframes online-orb-pulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes online-orb-embers {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate3d(0.3rem, -0.5rem, 0) scale(1.03);
    opacity: 0.84;
  }

  100% {
    transform: translate3d(-0.18rem, -0.9rem, 0) scale(0.98);
    opacity: 0.6;
  }
}

@keyframes dynamicGlow {
  0% {
    filter: drop-shadow(0 0 16px rgba(235, 73, 42, 0.28)) brightness(1);
  }
  50% {
  filter: drop-shadow(0 0 28px rgba(235, 73, 42, 0.5)) brightness(1.08);
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(235, 73, 42, 0.28)) brightness(1);
  }
}

.welcome {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.section-head {
  position: relative;
  isolation: isolate;
  width: min(100%, 56rem);
  margin: 0 auto 2.5rem;
  padding: clamp(0.95rem, 2.8vw, 1.65rem) clamp(1.2rem, 4vw, 2.3rem);
  text-align: center;
}

.section-head--compact {
  margin-bottom: 1.85rem;
}

.section-head h2 {
  margin: 0.7rem 0 1rem;
  color: #fff3ed;
  font-family: var(--title-font);
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 16px rgba(255, 236, 228, 0.2),
    0 0 30px rgba(255, 104, 72, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.88),
    0 22px 48px rgba(0, 0, 0, 0.62);
  text-transform: uppercase;
}

.section-head p:last-child {
  margin: 0;
  color: #fff1eb;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.8;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.94),
    0 6px 18px rgba(0, 0, 0, 0.76);
  text-wrap: pretty;
}

.section-anchor {
  display: block;
  width: 100%;
  height: 0;
  visibility: hidden;
}

.ranking-panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line-hot);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(8, 6, 7, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ranking-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 104, 72, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(235, 73, 42, 0.12), transparent 28%);
  pointer-events: none;
}

.ranking-panel__hero,
.ranking-tools,
.ranking-row,
.ranking-row__stats {
  position: relative;
  z-index: 1;
}

.ranking-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.4rem;
}

.ranking-panel__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ranking-panel__lead h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ranking-panel__lead p:last-child {
  width: min(100%, 40rem);
  margin: 0.85rem 0 0;
  color: #f4d5ca;
  line-height: 1.75;
}

.ranking-panel__champion {
  display: grid;
  gap: 0.4rem;
  align-content: center;
  min-width: 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.82), rgba(12, 9, 10, 0.94)),
    rgba(15, 5, 6, 0.82);
}

.ranking-panel__label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ranking-panel__champion strong {
  font-family: var(--title-font);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ranking-panel__champion span:last-child {
  color: #ffd8ca;
  line-height: 1.6;
}

.ranking-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.ranking-tools__field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 18rem;
}

.ranking-tools__field--compact {
  flex: 0 1 7.5rem;
}

.ranking-tools__field span {
  color: #fff0e8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ranking-tools input,
.ranking-tools select {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(7, 6, 7, 0.98)),
    rgba(15, 5, 6, 0.96);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ranking-tools input:focus,
.ranking-tools select:focus {
  border-color: rgba(255, 144, 114, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 104, 72, 0.12);
}

.ranking-tools input::placeholder {
  color: rgba(255, 240, 232, 0.52);
}

.ranking-tools__refresh {
  min-width: 10rem;
  min-height: 3.15rem;
}

.ranking-panel__feedback {
  position: relative;
  z-index: 1;
  min-height: 1.5rem;
  margin: 0 0 0.95rem;
  color: #ffd8ca;
  line-height: 1.5;
}

.ranking-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.ranking-empty {
  padding: 1.2rem;
  border: 1px solid rgba(255, 144, 114, 0.22);
  color: #f4d5ca;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.ranking-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(17rem, auto);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.9);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ranking-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 144, 114, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.ranking-row.is-podium-1 {
  border-color: rgba(255, 144, 114, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 188, 168, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.32);
}

.ranking-row.is-podium-2,
.ranking-row.is-podium-3 {
  border-color: rgba(255, 144, 114, 0.32);
}

.ranking-row__place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 144, 114, 0.35);
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  background: rgba(255, 104, 72, 0.08);
}

.ranking-row__identity {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  align-content: center;
}

.ranking-row__character {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  min-width: 0;
}

.ranking-row__portrait {
  width: 5.85rem;
  height: 5.85rem;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 144, 114, 0.28);
  background:
    radial-gradient(circle at center, rgba(110, 28, 20, 0.92), rgba(8, 6, 7, 0.96)),
    rgba(15, 5, 6, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

.ranking-row__text {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.ranking-row__name {
  display: block;
  padding: 0;
  border: 0;
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  background: transparent;
  cursor: var(--cursor-default);
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.ranking-row__name:hover {
  color: #fff0e8;
  text-shadow: none;
}

.ranking-row__name:focus-visible {
  outline: 1px solid rgba(255, 144, 114, 0.65);
  outline-offset: 0.22rem;
}

.ranking-row__meta {
  display: block;
  color: #ffd8ca;
  line-height: 1.55;
}

.ranking-row__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  min-width: min(100%, 21rem);
}

.ranking-row__metric {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.ranking-row__metric span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ranking-row__metric strong {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.ranking-row__metric--accent strong {
  color: #fff0e8;
  text-shadow: 0 0 18px rgba(251, 149, 61, 0.2);
}

.account-shell {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.account-panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 144, 114, 0.34);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.94), rgba(15, 5, 6, 0.97)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.account-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(251, 149, 61, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 188, 168, 0.1), transparent 32%);
  pointer-events: none;
}

.account-panel__hero,
.account-vip,
.account-panel__feedback,
.account-chars-grid {
  position: relative;
  z-index: 1;
}

.account-vip {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  width: min(100%, 36rem);
  margin: 0 auto 1.3rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.9), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 26px rgba(0, 0, 0, 0.22);
}

.account-vip[data-state="active"] {
  border-color: rgba(255, 188, 168, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.04),
    0 0 24px rgba(255, 104, 72, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.26);
}

.account-vip[data-state="inactive"] {
  border-color: rgba(255, 144, 114, 0.24);
}

.account-vip__status {
  display: grid;
  gap: 0.28rem;
  justify-items: center;
}

.account-vip__eyebrow {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.account-vip__status strong {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-vip__status span:last-child {
  color: #fff0e8;
  line-height: 1.6;
}

.account-vip__actions {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.account-vip__wallet {
  color: #fff0e8;
  font-size: 0.94rem;
  line-height: 1.5;
}

.account-vip__wallet strong {
  color: #ffffff;
  font-family: var(--title-font);
  letter-spacing: 0.04em;
}

.account-vip__button {
  min-width: 15rem;
}

.account-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1rem;
}

.account-panel__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.account-panel__lead h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-panel__lead p:last-child {
  margin: 0.85rem 0 0;
  color: #f4d5ca;
  line-height: 1.75;
}

.account-panel__aside {
  display: grid;
  gap: 0.95rem;
}

.account-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-stat {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 1rem 0.85rem;
  border: 1px solid rgba(255, 144, 114, 0.22);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.78), rgba(15, 5, 6, 0.92)),
    rgba(255, 255, 255, 0.025);
}

.account-stat span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-stat strong {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
}

.account-panel__refresh {
  justify-self: end;
}

.account-panel__feedback {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  color: #ffd8ca;
  line-height: 1.5;
}

.account-panel__feedback[data-state="error"] {
  color: #fff0e8;
}

.account-panel__feedback[data-state="success"] {
  color: #fff0e8;
}

.account-chars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: flex-start;
}

.account-chars-grid > .charmini,
.account-chars-grid > .account-empty {
  flex: 1 1 calc(50% - 0.475rem);
  max-width: calc(50% - 0.475rem);
}

.account-empty {
  padding: 1.2rem;
  border: 1px solid rgba(255, 144, 114, 0.22);
  color: #f4d5ca;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.charmini {
  position: relative;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  align-self: start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.9);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 220ms ease;
}

.charmini::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 228, 0.9), transparent);
  box-shadow: 0 0 18px rgba(255, 104, 72, 0.32);
  opacity: 0;
  pointer-events: none;
}

.charmini > * {
  position: relative;
  z-index: 1;
}

.charmini:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 144, 114, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.charmini.is-open {
  border-color: rgba(255, 188, 168, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.3);
}

.charmini.is-open::before {
  opacity: 1;
  animation: charmini-scan 900ms ease;
}

.charmini__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.78rem;
  border-bottom: 1px solid rgba(255, 144, 114, 0.14);
}

.charmini__id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.charmini__face {
  width: 6.1rem;
  height: 6.1rem;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 144, 114, 0.28);
  background:
    radial-gradient(circle at center, rgba(110, 28, 20, 0.92), rgba(8, 6, 7, 0.96)),
    rgba(15, 5, 6, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

.charmini__identity {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.charmini__name {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1rem, 1.85vw, 1.28rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.charmini__meta {
  color: #ffb19a;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.charmini__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 144, 114, 0.35);
  cursor: var(--cursor-link);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.44), rgba(15, 5, 6, 0.94)),
    rgba(255, 104, 72, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px rgba(255, 104, 72, 0.12);
}

.charmini__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 144, 114, 0.6);
  box-shadow: 0 0 18px rgba(255, 104, 72, 0.18);
}

.charmini__toggle-icon {
  width: 0.82rem;
  height: 0.82rem;
  margin-top: -0.15rem;
  border-right: 2px solid #fff0e8;
  border-bottom: 2px solid #fff0e8;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.charmini.is-open .charmini__toggle-icon {
  margin-top: 0.18rem;
  transform: rotate(-135deg);
}

.charmini__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.charmini__stat,
.charmini__detail-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.8rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 144, 114, 0.12);
  background:
    linear-gradient(180deg, rgba(42, 13, 13, 0.88), rgba(15, 5, 6, 0.96)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 220ms ease;
}

.charmini__stat:hover,
.charmini__detail-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 144, 114, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.charmini__stat span,
.charmini__detail-card span {
  color: #ffb19a;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.charmini__stat strong,
.charmini__detail-card strong {
  justify-self: end;
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.charmini__stat strong {
  font-size: 1rem;
}

.charmini__stat--accent,
.charmini__detail-card--total {
  border-color: rgba(255, 144, 114, 0.28);
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.82), rgba(15, 5, 6, 0.96)),
    rgba(34, 9, 10, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 188, 168, 0.04),
    0 0 24px rgba(255, 104, 72, 0.08);
}

.charmini__stat--wide,
.charmini__detail-card--total {
  grid-column: 1 / -1;
}

.charmini__stat--wide strong,
.charmini__detail-card--total strong {
  color: #fff0e8;
  font-size: 1.06rem;
}

.charmini__details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}

.charmini.is-open .charmini__details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.charmini__details-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 0.15rem;
}

.charmini__detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.48rem;
  padding-top: 0.05rem;
}

.charmini__detail-card {
  opacity: 0;
  transform: translateY(0.55rem);
}

.charmini.is-open .charmini__detail-card {
  opacity: 1;
  transform: translateY(0);
}

.charmini.is-open .charmini__detail-card:nth-child(1) {
  transition-delay: 30ms;
}

.charmini.is-open .charmini__detail-card:nth-child(2) {
  transition-delay: 60ms;
}

.charmini.is-open .charmini__detail-card:nth-child(3) {
  transition-delay: 90ms;
}

.charmini.is-open .charmini__detail-card:nth-child(4) {
  transition-delay: 120ms;
}

.charmini.is-open .charmini__detail-card:nth-child(5) {
  transition-delay: 150ms;
}

.charmini.is-open .charmini__detail-card:nth-child(6) {
  transition-delay: 180ms;
}

.charmini.is-open .charmini__detail-card:nth-child(7) {
  transition-delay: 210ms;
}


.charmini__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.charmini__actions .button {
  min-width: 0;
}

.charmini__equip-button,
.charmini__full-button {
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
  justify-self: stretch;
  margin-top: 0.95rem;
  padding: 0.72rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  box-shadow: none;
}

.charmini__equip-button {
  margin-top: 0;
}

.charmini__full-button {
  margin-top: 0;
  border-color: rgba(255, 144, 114, 0.44);
  box-shadow: 0 0 18px rgba(255, 104, 72, 0.12);
}

@keyframes charmini-scan {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(420%);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-modal__panel.equipment-modal__panel {
  width: min(100%, 36rem);
  max-height: min(100dvh - 2rem, 39rem);
  overflow: auto;
  padding: 1rem;
  scrollbar-width: thin;
}

.login-modal__panel.equipment-modal__panel::-webkit-scrollbar {
  width: 10px;
}

.login-modal__panel.equipment-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.login-modal__panel.equipment-modal__panel::-webkit-scrollbar-track {
  background: transparent;
}

.equipment-modal__close {
  z-index: 3;
}

.equipment-modal__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0.7rem;
  align-items: start;
}

.equipment-board {
  position: relative;
  width: min(100%, 26.25rem);
  margin-inline: auto;
  aspect-ratio: 270 / 250;
  border: 1px solid rgba(255, 144, 114, 0.22);
  background:
    url("img/inventory/equipment_bg.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, rgba(34, 9, 10, 0.88), rgba(15, 5, 6, 0.95));
  overflow: hidden;
}

.equipment-slot,
.equipment-slot:hover,
.equipment-slot.is-selected,
.equipment-slot.is-filled {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: var(--cursor-link);
  transition: transform 160ms ease, background 160ms ease;
}

.equipment-slot:hover {
  transform: translateY(-1px);
}

.equipment-slot img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.equipment-slot__label {
  display: none;
}

.equipment-slot[data-slot="8"] {
  left: 1.7%;
  top: 0%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="2"] {
  left: 35%;
  top: 0%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="7"] {
  left: 68%;
  top: 1%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="0"] {
  left: 1%;
  top: 32%;
  width: 27%;
  height: 30%;
}

.equipment-slot[data-slot="3"] {
  left: 39%;
  top: 33%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="1"] {
  left: 70%;
  top: 33%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="5"] {
  left: 1%;
  top: 65%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="4"] {
  left: 37%;
  top: 67%;
  width: 26.7%;
  height: 28.8%;
}

.equipment-slot[data-slot="6"] {
  left: 74.1%;
  top: 70%;
  width: 25.6%;
  height: 28.8%;
}

.equipment-slot[data-slot="9"] {
  left: 25.5%;
  top: 31%;
  width: 13.3%;
  height: 14.4%;
}

.equipment-slot[data-slot="10"] {
  left: 25.9%;
  top: 63%;
  width: 14.8%;
  height: 16%;
}

.equipment-slot[data-slot="11"] {
  left: 61.4%;
  top: 63%;
  width: 14.8%;
  height: 16%;
}

.equipment-info {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.82), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.02);
}

.equipment-info__empty,
.equipment-info__muted {
  color: #ffd8ca;
  font-size: 0.96rem;
  line-height: 1.55;
}

.equipment-info__titleline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.equipment-info__name {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2.7vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.equipment-info__name.is-excellent {
  color: #fff0e8;
  text-shadow: 0 0 16px rgba(255, 144, 114, 0.28);
}

.equipment-info__level {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.equipment-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0.38rem 0 0.24rem;
}

.equipment-tag {
  padding: 0.2rem 0.46rem;
  border: 1px solid rgba(255, 144, 114, 0.22);
  color: #fff0e8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 5, 6, 0.8);
}

.equipment-tag--excellent {
  border-color: rgba(255, 144, 114, 0.46);
  color: #fff0e8;
}

.equipment-tag--ancient {
  border-color: rgba(255, 144, 114, 0.5);
  color: #fff0e8;
}

.equipment-tag--luck {
  border-color: rgba(255, 188, 168, 0.38);
  color: #fff5ef;
}

.equipment-tag--skill {
  border-color: rgba(255, 144, 114, 0.42);
  color: #fff0e8;
}

.equipment-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem 0.8rem;
  margin-top: 0.28rem;
  color: #fff0e8;
  font-size: 1rem;
}

.equipment-info__meta strong {
  color: #fff0e8;
}

.equipment-info__subtitle {
  margin-top: 0.62rem;
  color: #fff0e8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.equipment-info__list {
  margin: 0.28rem 0 0;
  padding-left: 1.15rem;
  color: #fff0e8;
  line-height: 1.55;
  font-size: 0.93rem;
}

.equipment-name-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.32rem;
  width: min(100%, 30rem);
  margin-inline: auto;
}

.equipment-name-list__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  min-height: 2.2rem;
  padding: 0.36rem 0.48rem;
  border: 1px solid rgba(255, 144, 114, 0.16);
  background: rgba(15, 5, 6, 0.92);
  color: #fff0e8;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.equipment-name-list__button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 168, 0.48);
  box-shadow: 0 0 16px rgba(255, 104, 72, 0.14);
}

.equipment-name-list__button.is-selected {
  border-color: rgba(255, 236, 228, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 144, 114, 0.28);
}

.equipment-name-list__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.equipment-name-list__level {
  flex: 0 0 auto;
  color: #fff0e8;
  font-size: 0.68rem;
  font-weight: 700;
}

.equipment-name-list__empty {
  grid-column: 1 / -1;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 144, 114, 0.16);
  background: rgba(15, 5, 6, 0.9);
  color: #ffd8ca;
}

.vip-modal__panel,
.fullchar-modal__panel {
  width: min(100%, 28rem);
  max-height: min(100dvh - 2rem, 33rem);
  overflow: hidden;
  padding: 0.95rem 0.9rem 0.9rem;
}



.vip-modal .login-modal__eyebrow,
.fullchar-modal .login-modal__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
}

.vip-modal h2,
.fullchar-modal h2 {
  max-width: 20ch;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  line-height: 1.06;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.vip-modal .login-modal__copy,
.fullchar-modal .login-modal__copy {
  margin: 0.55rem 0 0.8rem;
  font-size: 0.93rem;
  line-height: 1.45;
}

.vip-modal__toolbar,
.vip-modal__feedback,
.vip-modal__benefits,
.vip-modal__editor,
.fullchar-modal__note,
.fullchar-modal__feedback,
.fullchar-modal__actions,
.vip-modal__actions {
  position: relative;
  z-index: 1;
}

.vip-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.vip-modal__feedback {
  min-height: 1rem;
  margin: 0 0 0.35rem;
  color: #ffd8ca;
  line-height: 1.4;
}

.vip-modal__feedback[data-state="error"] {
  color: #fff0e8;
}

.vip-modal__feedback[data-state="success"] {
  color: #fff0e8;
}

.fullchar-modal__note {
  margin: 0 0 0.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  color: #fff0e8;
  line-height: 1.5;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.88), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.02);
}

.fullchar-modal__feedback {
  min-height: 1rem;
  margin: 0 0 0.55rem;
  color: #ffd8ca;
  line-height: 1.4;
}

.fullchar-modal__feedback[data-state="error"] {
  color: #fff0e8;
}

.fullchar-modal__feedback[data-state="success"] {
  color: #fff0e8;
}

.fullchar-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.vip-modal__benefits {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.vip-modal__benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.88), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.02);
}

.vip-modal__benefit-mark {
  color: var(--gold);
  font-family: var(--title-font);
  font-size: 1rem;
  line-height: 1;
}

.vip-modal__benefit-text {
  color: #fff0e8;
  font-size: 0.9rem;
  line-height: 1.35;
}

.vip-modal__editor {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.vip-modal__editor span {
  color: #fff0e8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vip-modal__editor textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(7, 6, 7, 0.98)),
    rgba(15, 5, 6, 0.96);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  resize: vertical;
}

.vip-modal__editor textarea:focus {
  border-color: rgba(255, 144, 114, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 104, 72, 0.12);
}

.vip-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

@media (max-width: 960px) {
  .account-vip {
    width: 100%;
  }

  .vip-modal__toolbar,
  .fullchar-modal__actions,
  .vip-modal__actions {
    flex-direction: column;
  }

  .account-panel__hero {
    grid-template-columns: 1fr;
  }

  .account-panel__refresh {
    justify-self: stretch;
  }

  .account-chars-grid {
    display: block;
  }

  .account-chars-grid > .charmini,
  .account-chars-grid > .account-empty {
    max-width: 100%;
  }

  .account-chars-grid > * + * {
    margin-top: 0.95rem;
  }
}

@media (max-width: 960px) {
  .login-modal__panel.equipment-modal__panel {
    width: min(100%, 31rem);
  }
}

@media (max-width: 640px) {
  .account-vip__button {
    width: 100%;
    min-width: 0;
  }

  .vip-modal__panel {
    width: min(100%, 27rem);
    max-height: min(100dvh - 1rem, 31rem);
    padding: 0.9rem 0.8rem 0.85rem;
  }

  .login-modal.vip-modal .login-modal__panel,
  .login-modal.fullchar-modal .login-modal__panel {
    width: min(100%, calc(100vw - 1rem));
    max-height: calc(100dvh - 0.9rem);
    overflow: visible;
    padding: 1rem 0.85rem 0.85rem;
  }

  .vip-modal h2,
  .fullchar-modal h2 {
    max-width: 14ch;
    font-size: clamp(1.2rem, 6vw, 1.65rem);
  }

  .vip-modal .login-modal__copy,
  .fullchar-modal .login-modal__copy {
    margin: 0.45rem 0 0.7rem;
    font-size: 0.9rem;
  }

  .vip-modal__benefit {
    padding: 0.52rem 0.6rem;
  }

  .login-modal__panel.equipment-modal__panel {
    width: min(100%, 30rem);
    max-height: min(100dvh - 1rem, 31rem);
    padding: 0.85rem;
  }

  .equipment-board,
  .equipment-name-list {
    width: 100%;
  }

  .account-panel__stats,
  .charmini__stats {
    grid-template-columns: 1fr;
  }

  .charmini__detail-grid {
    grid-template-columns: 1fr;
  }

  .charmini__top {
    flex-direction: column;
    align-items: stretch;
  }

  .charmini__face {
    width: 5rem;
    height: 5rem;
  }

  .charmini__toggle {
    align-self: flex-end;
  }

  .charmini__stat,
  .charmini__detail-card {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .charmini__stat strong,
  .charmini__detail-card strong {
    justify-self: start;
    text-align: left;
  }

  .charmini__actions {
    flex-direction: column;
  }

  .charmini__equip-button,
  .charmini__full-button {
    width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.feature-card {
  position: relative;
  min-width: 0;
  padding: 1.8rem 1.6rem 1.7rem;
  border: 1px solid var(--line-hot);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.9), rgba(8, 6, 7, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 104, 72, 0.16), transparent 26%),
    linear-gradient(-135deg, rgba(255, 104, 72, 0.08), transparent 25%);
  pointer-events: none;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 144, 114, 0.45);
  color: var(--gold);
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.14em;
  background: rgba(255, 104, 72, 0.08);
}

.feature-card h3 {
  margin: 1.25rem 0 0.8rem;
  font-family: var(--title-font);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0 0 1.4rem;
  color: #ffd8ca;
  line-height: 1.7;
}

.feature-card a {
  position: relative;
  display: inline-block;
  color: #fff0e8;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--hot-strong), transparent);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.2rem);
  width: min(100% - 2rem, 76rem);
  margin: clamp(0.35rem, 2vw, 1rem) auto clamp(1.75rem, 4vw, 2.75rem);
  opacity: 0.98;
}

.section-divider__line {
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 122, 92, 0.2) 16%,
      rgba(255, 188, 150, 0.68) 50%,
      rgba(255, 122, 92, 0.2) 84%,
      transparent 100%
    );
  box-shadow: 0 0 18px rgba(235, 73, 42, 0.14);
}

.section-divider__mark {
  display: block;
  flex: 0 0 auto;
  position: relative;
  isolation: isolate;
  width: clamp(15rem, 32vw, 24rem);
  aspect-ratio: 2172 / 724;
  background: url("img/separador.webp") center / contain no-repeat;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(235, 73, 42, 0.14));
  animation: divider-breathe-fast 1.18s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

.section-divider__mark::before,
.section-divider__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/separador.webp") center / contain no-repeat;
  pointer-events: none;
}

.section-divider__mark::before {
  inset: -4%;
  z-index: -2;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter:
    blur(10px)
    brightness(1.22)
    saturate(1.75)
    sepia(0.55)
    hue-rotate(-18deg)
    drop-shadow(0 0 14px rgba(255, 104, 72, 0.42))
    drop-shadow(0 0 28px rgba(255, 168, 112, 0.2));
  animation: divider-fire-aura 0.95s ease-in-out infinite alternate;
}

.section-divider__mark::after {
  inset: -1.5%;
  z-index: -1;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter:
    blur(3px)
    brightness(1.26)
    saturate(1.52)
    sepia(0.4)
    hue-rotate(-12deg)
    drop-shadow(0 0 9px rgba(255, 126, 84, 0.34));
  animation: divider-fire-flicker 0.42s steps(2, end) infinite;
}

@keyframes divider-breathe-fast {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28))
      drop-shadow(0 0 18px rgba(235, 73, 42, 0.14));
  }

  50% {
    transform: translateY(0.08rem) scale(1.032);
    filter:
      drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32))
      drop-shadow(0 0 24px rgba(255, 111, 78, 0.24));
  }
}

@keyframes divider-fire-aura {
  0% {
    transform: translate3d(-0.15rem, 0.12rem, 0) scale(0.995);
    opacity: 0.56;
  }

  50% {
    transform: translate3d(0.12rem, -0.1rem, 0) scale(1.02);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(0.18rem, -0.18rem, 0) scale(1.03);
    opacity: 0.68;
  }
}

@keyframes divider-fire-flicker {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.34;
  }

  25% {
    transform: translate3d(0.12rem, -0.1rem, 0) scale(1.012);
    opacity: 0.56;
  }

  50% {
    transform: translate3d(-0.08rem, -0.18rem, 0) scale(1.02);
    opacity: 0.64;
  }

  75% {
    transform: translate3d(0.06rem, -0.06rem, 0) scale(1.008);
    opacity: 0.44;
  }
}

.server-info {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.server-info__shell {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 144, 114, 0.34);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(8, 6, 7, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.server-info__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 104, 72, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(235, 73, 42, 0.1), transparent 30%);
  pointer-events: none;
}

.server-info__toolbar,
.server-info__feedback,
.server-info__grid {
  position: relative;
  z-index: 1;
}

.server-info__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.server-info__admin {
  display: grid;
  gap: 0.22rem;
}

.server-info__admin strong {
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.server-info__admin-badge {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.server-info__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.server-info__feedback {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  color: #f4d5ca;
  line-height: 1.5;
}

.server-info__feedback[data-state="info"] {
  color: #ffd8ca;
}

.server-info__feedback[data-state="success"] {
  color: #fff0e8;
}

.server-info__feedback[data-state="error"] {
  color: #fff0e8;
}

.server-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.server-info-card {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(255, 144, 114, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.86), rgba(11, 9, 10, 0.94)),
    rgba(15, 5, 6, 0.88);
}

.server-info-card:nth-child(3) {
  grid-column: 1 / -1;
}

.server-info-card__eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.server-info-card h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.server-info-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10.5rem;
  padding: 0.5rem 0 0.8rem;
  overflow: visible;
  animation: server-card-float 5.8s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

.server-info-card__image {
  display: block;
  width: clamp(11rem, 30vw, 15rem);
  max-height: 10rem;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(235, 73, 42, 0.26));
  animation: server-card-breathe 3.9s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}

.server-info-card:nth-child(2n) .server-info-card__media {
  animation-delay: -2.9s;
}

.server-info-card:nth-child(2n) .server-info-card__image {
  animation-delay: -1.95s;
}

.server-info-card__divider {
  width: 100%;
  height: 1px;
  margin: 0.15rem 0 0.35rem;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 144, 114, 0.32) 14%,
      rgba(255, 188, 168, 0.68) 50%,
      rgba(255, 144, 114, 0.32) 86%,
      transparent 100%
    );
  box-shadow: 0 0 18px rgba(235, 73, 42, 0.16);
}

.server-info-card p {
  margin: 0;
  color: #fff0e8;
  line-height: 1.75;
  white-space: pre-wrap;
}

.server-info-card__field {
  display: grid;
  gap: 0.45rem;
}

.server-info-card__field span {
  color: #fff0e8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.server-info-card__field input,
.server-info-card__field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(7, 6, 7, 0.98)),
    rgba(15, 5, 6, 0.96);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.server-info-card__field input:focus,
.server-info-card__field textarea:focus {
  border-color: rgba(255, 144, 114, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 104, 72, 0.12);
}

.server-info-card__field textarea {
  min-height: 10.5rem;
  resize: vertical;
  white-space: pre-wrap;
}

.events-section {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.events-panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 144, 114, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.events-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 104, 72, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 188, 168, 0.08), transparent 30%);
  pointer-events: none;
}

.events-panel > * {
  position: relative;
  z-index: 1;
}

.events-panel__legend,
.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.75fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.events-panel__legend {
  margin-bottom: 0.9rem;
  padding: 0 0.25rem;
}

.events-panel__legend span,
.event-row__label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.events-panel__feedback {
  min-height: 1.5rem;
  margin: 0 0 0.95rem;
  color: #ffd8ca;
  line-height: 1.5;
}

.events-panel__list {
  display: grid;
  gap: 0.85rem;
}

.event-row {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.9);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.event-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 144, 114, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.event-row.is-disabled {
  opacity: 0.78;
}

.event-row.is-live {
  border-color: rgba(255, 104, 72, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(255, 144, 114, 0.12),
    0 0 24px rgba(255, 104, 72, 0.18);
}

.event-row__name {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.event-row__name strong {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.event-row__meta,
.event-row__map {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.event-row__time {
  font-family: var(--title-font);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-row__time.is-live {
  color: #ffd8ca;
  text-shadow: 0 0 14px rgba(255, 104, 72, 0.35);
}

.event-row__map-list {
  margin: 0;
  color: #fff0e8;
  line-height: 1.7;
}

.event-row__progress {
  position: relative;
  grid-column: 1 / -1;
  height: 0.48rem;
  margin-top: 0.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 144, 114, 0.2);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.95);
}

.event-row__progress-bar {
  display: block;
  height: 100%;
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(255, 144, 114, 0.85), rgba(255, 188, 168, 0.96));
  box-shadow: 0 0 16px rgba(255, 144, 114, 0.22);
  transition:
    width 700ms linear,
    background 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.event-row__progress-bar.is-live {
  background:
    linear-gradient(90deg, rgba(255, 104, 72, 0.98), rgba(255, 144, 114, 1));
  box-shadow:
    0 0 18px rgba(255, 104, 72, 0.52),
    0 0 30px rgba(255, 104, 72, 0.28);
  animation: event-live-pulse 1.6s ease-in-out infinite;
}

@keyframes event-live-pulse {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }

  50% {
    filter: saturate(1.15) brightness(1.2);
  }
}

.gallery-showcase {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.gallery-showcase .section-divider {
  width: 100%;
  margin-top: 0;
}

.gallery-showcase__shell {
  position: relative;
  padding: clamp(1rem, 2.6vw, 1.45rem);
  border: 1px solid rgba(255, 144, 114, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.92), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-showcase__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 104, 72, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 188, 168, 0.1), transparent 28%);
  pointer-events: none;
}

.gallery-showcase__header,
.gallery-carousel {
  position: relative;
  z-index: 1;
}

.gallery-showcase__header {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.95rem;
}

.gallery-showcase__eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-showcase__header h2 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.3rem, 2.7vw, 1.95rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-carousel {
  display: grid;
  gap: 0.9rem;
}

.gallery-carousel__stage {
  position: relative;
  min-height: clamp(16rem, 42vw, 32rem);
  border: 1px solid rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.96);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 520ms ease,
    transform 1600ms ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.16), rgba(15, 5, 6, 0.05) 24%, rgba(15, 5, 6, 0.44) 100%),
    linear-gradient(90deg, rgba(15, 5, 6, 0.3), transparent 20%, transparent 80%, rgba(15, 5, 6, 0.28));
  pointer-events: none;
}

.gallery-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-carousel__meta {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(15, 5, 6, 0.7);
  backdrop-filter: blur(8px);
}

.gallery-carousel__meta::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ffd8ca;
  box-shadow: 0 0 12px rgba(255, 144, 114, 0.35);
}

.gallery-carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gallery-carousel__dot {
  width: 0.85rem;
  height: 0.85rem;
  padding: 0;
  border: 1px solid rgba(255, 144, 114, 0.34);
  border-radius: 999px;
  background: rgba(34, 9, 10, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.gallery-carousel__dot:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 168, 0.52);
}

.gallery-carousel__dot.is-active {
  border-color: rgba(255, 236, 228, 0.78);
  background: rgba(255, 144, 114, 0.94);
  box-shadow:
    0 0 16px rgba(251, 160, 66, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.community-showcase {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 clamp(1.75rem, 3vw, 2.6rem);
}

.community-showcase__slot {
  display: grid;
}

.server-info-card--community {
  min-height: clamp(18rem, 34vw, 21rem);
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
}

.server-info-card--community h3,
.server-info-card--community .server-info-card__eyebrow {
  width: 100%;
  text-align: center;
}

.server-info-card--community .server-info-card__media {
  min-height: clamp(9rem, 18vw, 12rem);
  padding: 0.35rem 0 0.35rem;
}

.server-info-card__community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 18px;
  text-decoration: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
  transition: transform 180ms ease, filter 180ms ease;
}

.server-info-card__community-link:hover {
  transform: translateY(-2px) scale(1.015);
  filter: drop-shadow(0 0 18px rgba(37, 211, 102, 0.22));
}

.server-info-card__community-link:hover .server-info-card__image {
  filter:
    drop-shadow(0 0 20px rgba(37, 211, 102, 0.22))
    drop-shadow(0 0 42px rgba(17, 110, 54, 0.18));
}

.server-info-card--community .server-info-card__image {
  width: clamp(14.5rem, 31vw, 21rem);
  max-height: 13.5rem;
}

.server-info-card__community-copy {
  display: grid;
  gap: 0.18rem;
  width: min(100%, 31rem);
  margin-inline: auto;
  text-align: center;
  justify-items: center;
  align-self: center;
  white-space: normal;
}

.server-info-card__community-copy-main,
.server-info-card__community-copy-sub {
  display: block;
}

.server-info-card__community-copy-main {
  color: #25d366;
  font-family: var(--body-font);
  font-size: clamp(0.98rem, 1.12vw, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.42;
  text-wrap: balance;
}

.server-info-card__community-copy-sub {
  color: #d8e5dc;
  font-size: clamp(0.89rem, 0.96vw, 0.96rem);
  line-height: 1.52;
  max-width: 26rem;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 0 0 4rem;
  gap: 1rem;
}

.status-card {
  min-width: 0;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 9, 10, 0.82), rgba(15, 5, 6, 0.92)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.status-card strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--title-font);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.login-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(110, 28, 20, 0.18), rgba(0, 0, 0, 0.82)),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.login-modal__panel {
  position: relative;
  width: min(100%, 30rem);
  max-height: min(100dvh - 2rem, 42rem);
  overflow: auto;
  padding: 2.2rem 2rem 2rem;
  border: 1px solid rgba(255, 144, 114, 0.45);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.96), rgba(15, 5, 6, 0.97)),
    rgba(15, 5, 6, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.66),
    0 0 36px rgba(255, 104, 72, 0.18);
  animation: modal-in 220ms ease-out both;
}

.login-modal.vip-modal .login-modal__panel {
  width: min(100%, 34rem);
  max-height: calc(100dvh - 1.4rem);
  overflow: visible;
  padding: 1.25rem 1.25rem 1.1rem;
}

.login-modal.download-modal .login-modal__panel {
  width: min(100%, 34rem);
}

.download-modal__actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin: 1.45rem 0 1rem;
}

.download-modal__button {
  width: min(100%, 18rem);
}

.download-modal__feedback {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
}

.download-modal__admin {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 144, 114, 0.22);
}

.download-modal__admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.download-modal__admin-head strong {
  color: #fff0e8;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-modal__form {
  display: grid;
  gap: 0.9rem;
}

.download-modal__form .button {
  justify-self: center;
  min-width: 10rem;
}

.login-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 104, 72, 0.16), transparent 28%),
    linear-gradient(-135deg, rgba(255, 104, 72, 0.08), transparent 24%);
  pointer-events: none;
}

.login-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 144, 114, 0.35);
  color: #fff0e8;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(255, 104, 72, 0.08);
  cursor: var(--cursor-link);
}

.login-modal__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.login-modal h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-modal__copy {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 1.5rem;
  color: #f4d5ca;
  line-height: 1.7;
}

.login-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.login-form__field {
  display: grid;
  gap: 0.55rem;
}

.login-form__field span {
  color: #fff0e8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-form__field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.28);
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.95), rgba(7, 6, 7, 0.98)),
    rgba(15, 5, 6, 0.96);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-form__field input:focus {
  border-color: rgba(255, 144, 114, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 104, 72, 0.12);
}

.login-form__field input::placeholder {
  color: rgba(255, 240, 232, 0.52);
}

.login-form__submit {
  width: 100%;
  margin-top: 0.4rem;
}

.login-form__feedback {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
}

.login-form__feedback[data-state="info"] {
  border-color: rgba(255, 188, 168, 0.32);
  color: #fff0e8;
}

.login-form__feedback[data-state="success"] {
  border-color: rgba(255, 144, 114, 0.38);
  color: #fff0e8;
}

.login-form__feedback[data-state="error"] {
  border-color: rgba(255, 144, 114, 0.42);
  color: #fff0e8;
}

.login-form__submit[disabled] {
  opacity: 0.75;
  cursor: var(--cursor-busy);
}

body.modal-open {
  overflow: hidden;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes account-breathe {
  0%,
  100% {
    color: #fff0e8;
    transform: scale(1);
    filter: saturate(1.05) brightness(1);
    text-shadow:
      0 0 10px rgba(255, 144, 114, 0.32),
      0 0 22px rgba(255, 104, 72, 0.24),
      0 0 34px rgba(184, 48, 34, 0.16);
  }

  50% {
    color: #ffffff;
    transform: scale(1.08);
    filter: saturate(1.45) brightness(1.22);
    text-shadow:
      0 0 12px rgba(255, 236, 228, 0.9),
      0 0 26px rgba(255, 144, 114, 0.7),
      0 0 46px rgba(255, 104, 72, 0.52),
      0 0 66px rgba(184, 48, 34, 0.34);
  }
}

@keyframes server-card-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(-3px, -7px, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }

  75% {
    transform: translate3d(3px, -6px, 0);
  }
}

@keyframes server-card-breathe {
  0%,
  100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 18px rgba(235, 73, 42, 0.22))
      brightness(1)
      saturate(1);
  }

  50% {
    transform: scale(1.065);
    filter:
      drop-shadow(0 0 28px rgba(255, 144, 114, 0.4))
      brightness(1.08)
      saturate(1.12);
  }
}


@media (prefers-reduced-motion: reduce) {
  .action-link.is-authenticated,
  .server-info-card__media,
  .server-info-card__image {
    animation: none;
  }
}

@media (max-width: 960px) {
  .topbar {
    position: sticky;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.8rem;
    padding-block: 0.85rem;
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .topbar-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 1rem;
    right: 1rem;
    z-index: 25;
    display: block;
    flex: none;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .topbar-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .topbar-panel__inner {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 144, 114, 0.26);
    background:
      linear-gradient(180deg, rgba(10, 9, 10, 0.97), rgba(15, 5, 6, 0.98)),
      rgba(7, 5, 6, 0.98);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 18px 40px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(10px);
  }

  .main-nav,
  .top-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .main-nav a,
  .action-link-button,
  .top-actions .button {
    width: 100%;
  }

  .main-nav a,
  .action-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }

  .main-nav a::after,
  .action-link::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(2.5rem, 5vw, 4rem);
  }

  .ranking-panel__hero,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .ranking-row__character {
    gap: 0.95rem;
  }

  .ranking-row__portrait {
    width: 5rem;
    height: 5rem;
  }

  .ranking-row__stats {
    min-width: 0;
  }

  .hero-content {
    width: min(100%, 50rem);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero-copyblock,
  .hero-copy,
  .hero-actions {
    text-align: center;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-copyblock .hero-logo {
    justify-items: center;
  }

  .hero-presence {
    order: -1;
  }

  .server-info__toolbar {
    align-items: stretch;
  }

  .server-info__actions {
    width: 100%;
  }

  .events-panel__legend {
    display: none;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .status-strip,
  .server-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .main-nav a,
  .action-link,
  .button-small {
    font-size: 0.82rem;
  }

  .hero-content {
    padding-inline: 0.2rem;
  }

  .online-orb {
    width: min(68vw, 16rem);
  }

  .ranking-panel {
    padding-inline: 1rem;
  }

  .ranking-tools__field,
  .ranking-tools__field--compact,
  .ranking-tools__refresh {
    flex-basis: 100%;
  }

  .ranking-panel__champion strong {
    font-size: 1.5rem;
  }

  .hero-logo-mu {
    font-size: clamp(3.5rem, 19vw, 5.4rem);
  }

  .hero-logo-name {
    font-size: clamp(2rem, 11vw, 3rem);
    letter-spacing: 0.07em;
  }

  .hero-copy,
  .section-head p:last-child,
  .feature-card p {
    line-height: 1.6;
  }

  .button,
  .button-hero,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .top-actions {
    width: 100%;
  }

  .server-info__actions .button {
    width: 100%;
  }

  .feature-grid,
  .status-strip,
  .server-info__grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .status-card {
    padding-inline: 1.15rem;
  }

  .ranking-row {
    padding-inline: 0.85rem;
  }

  .ranking-row__character {
    gap: 0.85rem;
  }

  .ranking-row__portrait {
    width: 4.35rem;
    height: 4.35rem;
  }

  .ranking-row__stats {
    grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  }

  .login-modal__panel {
    width: min(100%, 32rem);
    padding-inline: 1.2rem;
  }
  .login-modal__panel.equipment-modal__panel {
    width: min(100%, 30rem);
    padding: 0.85rem;
  }

  .equipment-name-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .menu-toggle {
    width: auto;
    min-width: 7.25rem;
  }
}

@media (max-width: 640px) {
  .equipment-board,
  .equipment-name-list {
    width: 100%;
  }

  .equipment-name-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 480px) {
  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand-icon {
    width: 2rem;
    height: 2rem;
  }

  .brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
  }

  .brand-mark {
    font-size: 1.05rem;
  }

  .brand-name {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .eyebrow,
  .section-kicker,
  .status-label,
  .login-modal__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .hero {
    padding-inline: 0.8rem;
  }

  .online-orb {
    width: min(62vw, 12rem);
  }

  .online-orb__count {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .online-orb__label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .ranking-panel__lead h3 {
    letter-spacing: 0.04em;
  }

  .ranking-row__place {
    min-width: 3.8rem;
    padding: 0.75rem 0.8rem;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .section-head h2 {
    letter-spacing: 0.04em;
  }

  .login-modal {
    padding: 0.8rem;
  }

  .topbar-panel {
    left: 0.8rem;
    right: 0.8rem;
  }

  .login-modal__panel {
    padding: 1.65rem 1rem 1rem;
  }

  .login-modal__close {
    top: 0.55rem;
    right: 0.55rem;
  }
}

@media (max-width: 480px) {
  .login-modal__panel.equipment-modal__panel {
    max-height: min(100dvh - 1rem, 31rem);
  }

  .equipment-info {
    padding: 0.75rem 0.8rem;
  }

.equipment-name-list__button {
    padding: 0.28rem 0.34rem;
  }
}

@media (max-width: 380px) {
  .topbar {
    gap: 0.55rem;
    padding-inline: 0.75rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .brand-mark {
    font-size: 0.95rem;
  }

  .brand-name {
    display: none;
  }

  .menu-toggle {
    min-width: auto;
    padding: 0.72rem 0.78rem;
  }

  .menu-toggle__label {
    display: none;
  }
}

@media (min-width: 1440px) {
  .hero-content {
    width: min(100%, 64rem);
  }

  .feature-grid,
  .status-strip {
    gap: 1.75rem;
  }

  .welcome,
  .status-strip {
    width: min(100% - 4rem, 84rem);
  }
}

:root {
  --bg: #0f0506;
  --bg-soft: rgba(15, 5, 6, 0.84);
  --panel: rgba(15, 5, 6, 0.76);
  --panel-strong: rgba(34, 9, 10, 0.92);
  --line: rgba(255, 188, 168, 0.12);
  --line-hot: rgba(255, 144, 114, 0.5);
  --text: #fff0e8;
  --muted: #ffd8ca;
  --hot: #ff8a68;
  --hot-strong: #ffd8ca;
  --gold: #ffd8ca;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  --title-font: "Cinzel", "Trajan Pro", "Palatino Linotype", serif;
  --display-font: "Orbitron", "Eurostile", "Segoe UI", sans-serif;
  --body-font: "Rajdhani", "Trebuchet MS", "Segoe UI", sans-serif;
  --panel-radius: 22px;
  --card-radius: 16px;
  --page-width: min(100% - 2rem, 88rem);
  --hero-width: min(100% - 2rem, 80rem);
  --section-copy-width: min(100%, 62rem);
}

html {
  color-scheme: dark;
}

body {
  letter-spacing: 0.015em;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 144, 114, 0.16), transparent 26%),
    radial-gradient(circle at 12% 20%, rgba(255, 180, 96, 0.08), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 144, 114, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.9), rgba(15, 5, 6, 0.94)),
    var(--bg);
}

body::before {
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.76), rgba(0, 0, 0, 0.18) 18%, rgba(15, 5, 6, 0.84) 100%),
    radial-gradient(circle at center, transparent 0 22%, rgba(15, 5, 6, 0.36) 63%, rgba(15, 5, 6, 0.84) 100%),
    url("img/background.webp") center top / cover no-repeat;
}

body::after {
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 104, 72, 0.22), transparent 20%),
    radial-gradient(circle at 16% 84%, rgba(255, 104, 72, 0.14), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(255, 178, 92, 0.08), transparent 15%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 110px
    );
}

::selection {
  color: #ffffff;
  background: rgba(255, 104, 72, 0.34);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 144, 114, 0.72) rgba(255, 255, 255, 0.04);
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid rgba(15, 5, 6, 0.88);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 144, 114, 0.95), rgba(255, 104, 72, 0.95));
}

.topbar {
  border-bottom-color: rgba(255, 188, 168, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.98), rgba(34, 9, 10, 0.88)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(255, 188, 168, 0.06);
}

.brand {
  gap: 0.95rem;
}

.brand-icon {
  filter:
    drop-shadow(0 0 14px rgba(255, 104, 72, 0.26))
    drop-shadow(0 0 28px rgba(255, 104, 72, 0.18));
}

.brand-mark {
  font-family: var(--display-font);
  font-size: 1.32rem;
  letter-spacing: 0.14em;
  color: #fff5ef;
  text-shadow:
    0 0 14px rgba(255, 144, 114, 0.42),
    0 0 28px rgba(255, 104, 72, 0.26);
}

.brand-name {
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.main-nav a,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(255, 144, 114, 0.12);
  border-radius: 999px;
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.34), rgba(15, 5, 6, 0.16)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 18px rgba(0, 0, 0, 0.14);
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a::after,
.action-link::after {
  left: 0.9rem;
  bottom: 0.38rem;
  width: calc(100% - 1.8rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 188, 168, 0.92), transparent);
}

.main-nav a:hover,
.action-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 168, 0.3);
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.48), rgba(15, 5, 6, 0.26)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(235, 73, 42, 0.08);
}

.button {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px rgba(255, 104, 72, 0.16);
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.74), rgba(15, 5, 6, 0.94)),
    rgba(0, 0, 0, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 32px rgba(255, 104, 72, 0.18);
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 188, 168, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 104, 72, 0.16), transparent 42%);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 188, 168, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(255, 104, 72, 0.24);
}

.button-primary,
.button-hero-solid {
  background:
    linear-gradient(180deg, rgba(255, 104, 72, 0.96), rgba(110, 28, 20, 0.98)),
    rgba(184, 48, 34, 0.94);
}

.button-secondary {
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.88), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.92);
}

.hero {
  min-height: min(56rem, calc(100dvh - 5.2rem));
  padding-top: clamp(3.4rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7) 76%, rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at 32% 48%, rgba(255, 104, 72, 0.1), transparent 26%),
    radial-gradient(circle at 74% 26%, rgba(255, 180, 88, 0.06), transparent 14%);
}

.hero-content {
  width: var(--hero-width);
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.hero-copyblock,
.section-head,
.ranking-panel,
.account-panel,
.server-info__shell,
.events-panel,
.gallery-showcase__shell,
.login-modal__panel,
.status-card,
.feature-card {
  border-radius: var(--panel-radius);
  backdrop-filter: blur(14px);
}

.hero-copyblock {
  width: 100%;
  padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.4rem, 3.4vw, 2.6rem);
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 1px solid rgba(255, 144, 114, 0.16);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.76), rgba(15, 5, 6, 0.5)),
    rgba(15, 5, 6, 0.42);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-copyblock::before,
.section-head::before {
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 144, 114, 0.2), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(255, 176, 88, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.38), transparent 68%);
  filter: blur(18px);
  opacity: 0.96;
  transform: scale(1);
}

.hero-copyblock .hero-logo {
  justify-items: center;
}

.hero-presence {
  order: -1;
  width: 100%;
  margin: 0 auto 0.35rem;
  justify-self: center;
}

.online-orb {
  width: clamp(13rem, 20vw, 16rem);
  border-color: rgba(255, 188, 168, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.08),
    inset 0 0 58px rgba(255, 104, 72, 0.14),
    0 0 0 1px rgba(255, 144, 114, 0.18),
    0 0 40px rgba(255, 104, 72, 0.18),
    0 0 110px rgba(184, 48, 34, 0.34);
}

.online-orb__count,
.ranking-row__place,
.ranking-row__metric strong,
.account-stat strong,
.status-card strong,
.event-row__time,
.account-vip__wallet strong,
.equipment-info__level,
.equipment-name-list__level {
  font-family: var(--display-font);
}

.online-orb__count {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  letter-spacing: 0.08em;
}

.online-orb__label {
  font-family: var(--display-font);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
}

.eyebrow,
.section-kicker,
.status-label,
.ranking-panel__eyebrow,
.account-panel__eyebrow,
.gallery-showcase__eyebrow,
.server-info-card__eyebrow,
.server-info__admin-badge,
.events-panel__legend span,
.event-row__label,
.login-modal__eyebrow,
.account-vip__eyebrow,
.vip-modal__editor span,
.server-info-card__field span,
.ranking-tools__field span,
.login-form__field span {
  color: #ffd8ca;
  font-family: var(--display-font);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

.hero-logo {
  margin: 0.15rem 0 0.95rem;
}

.hero-logo-mu {
  font-size: clamp(4.3rem, 9vw, 7.1rem);
  letter-spacing: 0.08em;
  color: #fff7f3;
  text-shadow:
    0 0 16px rgba(255, 188, 168, 0.24),
    0 0 36px rgba(255, 104, 72, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.82),
    0 26px 56px rgba(0, 0, 0, 0.56);
}

.hero-logo-name {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: 0.14em;
}

.hero-copy {
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 1.8rem;
}

.hero-image-button {
  width: clamp(11.35rem, 16vw, 13.4rem);
  filter:
    drop-shadow(0 0 18px rgba(235, 73, 42, 0.26))
    drop-shadow(0 0 28px rgba(184, 48, 34, 0.18));
}

.welcome,
.account-shell,
.server-info,
.events-section,
.gallery-showcase,
.community-showcase,
.status-strip,
.section-divider {
  width: var(--page-width);
}

.section-head {
  width: var(--section-copy-width);
  margin-bottom: 2.15rem;
  padding: clamp(1rem, 2.8vw, 1.55rem) clamp(1.2rem, 3.4vw, 2.3rem);
  border: 1px solid rgba(255, 144, 114, 0.12);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.74), rgba(15, 5, 6, 0.44)),
    rgba(15, 5, 6, 0.36);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-head h2 {
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(1.75rem, 3.3vw, 2.55rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-shadow:
    0 0 14px rgba(255, 236, 228, 0.16),
    0 0 30px rgba(255, 104, 72, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.8);
}

.section-head p:last-child,
.hero-copy,
.ranking-panel__lead p:last-child,
.account-panel__lead p:last-child,
.event-row__map-list,
.event-row__meta,
.server-info-card p,
.login-modal__copy {
  color: #fff0e8;
}

.ranking-panel,
.account-panel,
.server-info__shell,
.events-panel,
.gallery-showcase__shell {
  border-color: rgba(255, 144, 114, 0.24);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.05);
}

.ranking-panel::before,
.account-panel::before,
.server-info__shell::before,
.events-panel::before,
.gallery-showcase__shell::before,
.feature-card::before {
  background:
    linear-gradient(145deg, rgba(255, 104, 72, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 188, 168, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 181, 96, 0.08), transparent 24%);
}

.ranking-panel__lead h3,
.account-panel__lead h3,
.gallery-showcase__header h2,
.server-info-card h3,
.feature-card h3,
.event-row__name strong,
.login-modal h2 {
  color: #fff6f1;
  line-height: 1.08;
  text-shadow:
    0 0 14px rgba(255, 188, 168, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.52);
}

.ranking-panel__lead h3,
.account-panel__lead h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.gallery-showcase__header h2,
.server-info-card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.feature-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.event-row__name strong {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.ranking-panel__champion,
.account-vip,
.account-stat,
.ranking-row__metric,
.charmini__stat,
.charmini__detail-card,
.equipment-info,
.vip-modal__benefit,
.fullchar-modal__note,
.ranking-empty,
.account-empty {
  border-radius: var(--card-radius);
}

.ranking-panel__champion {
  border-color: rgba(255, 144, 114, 0.26);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.88), rgba(15, 5, 6, 0.96)),
    rgba(15, 5, 6, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.ranking-panel__champion strong {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 0.08em;
}

.ranking-row,
.event-row,
.charmini,
.server-info-card,
.status-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  backdrop-filter: blur(12px);
}

.ranking-row,
.event-row,
.charmini,
.server-info-card {
  border-color: rgba(255, 144, 114, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.92), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

.ranking-row:hover,
.event-row:hover,
.charmini:hover,
.server-info-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(255, 104, 72, 0.08);
}

.ranking-row.is-podium-1 {
  border-color: rgba(255, 186, 105, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 217, 168, 0.03),
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 177, 98, 0.1);
}

.ranking-row.is-podium-1 .ranking-row__place {
  border-color: rgba(255, 186, 105, 0.52);
  color: #fff0da;
  background: rgba(255, 177, 98, 0.08);
}

.ranking-row__place {
  min-width: 4.25rem;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  color: #fff0e8;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.58), rgba(15, 5, 6, 0.92)),
    rgba(255, 104, 72, 0.08);
}

.ranking-row__name {
  letter-spacing: 0.08em;
}

.ranking-row__metric {
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.78), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.025);
}

.ranking-row__metric strong,
.account-stat strong,
.status-card strong {
  letter-spacing: 0.08em;
}

.account-vip,
.account-stat {
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.82), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.02);
}

.charmini__top {
  border-bottom-color: rgba(255, 144, 114, 0.14);
}

.charmini__face,
.ranking-row__portrait {
  border-radius: 14px;
  border-color: rgba(255, 144, 114, 0.24);
}

.charmini__toggle,
.login-modal__close,
.equipment-name-list__button {
  border-radius: 12px;
}

.charmini__toggle {
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.56), rgba(15, 5, 6, 0.96)),
    rgba(255, 104, 72, 0.08);
}

.server-info__grid {
  gap: 1.2rem;
}

.server-info-card {
  padding: 1.45rem 1.45rem 1.4rem;
}

.server-info-card__image {
  filter:
    drop-shadow(0 0 22px rgba(235, 73, 42, 0.24))
    drop-shadow(0 0 42px rgba(255, 104, 72, 0.16));
}

.server-info-card--community {
  min-height: clamp(18rem, 30vw, 21rem);
  border-color: rgba(255, 188, 168, 0.26);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 38px rgba(255, 104, 72, 0.1);
}

.server-info-card--community p {
  text-align: center;
}

.server-info-card--community p a {
  display: inline-flex;
  justify-content: center;
  margin-inline: auto;
}

.server-info-card p a {
  color: #fff0e8 !important;
  font-family: var(--display-font);
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 188, 168, 0.46);
  text-shadow: 0 0 14px rgba(255, 144, 114, 0.18);
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.server-info-card p a:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 236, 228, 0.9);
  text-shadow: 0 0 18px rgba(255, 144, 114, 0.34);
}

.events-panel__legend {
  margin-bottom: 1rem;
}

.event-row__time {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.event-row__progress {
  border-radius: 999px;
}

.event-row__progress-bar {
  border-radius: inherit;
}

.gallery-showcase__shell {
  padding: clamp(1.1rem, 2.6vw, 1.55rem);
}

.gallery-carousel__stage {
  min-height: clamp(18rem, 40vw, 34rem);
  border-radius: 18px;
  border-color: rgba(255, 144, 114, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.22);
}

.gallery-carousel__meta {
  border-radius: 999px;
  font-family: var(--display-font);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.gallery-carousel__dot {
  width: 0.9rem;
  height: 0.9rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(255, 104, 72, 0.08);
}

.status-strip {
  gap: 1.2rem;
}

.status-card {
  min-height: 8.9rem;
  padding: 1.5rem 1.6rem;
  border-color: rgba(255, 144, 114, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.9), rgba(15, 5, 6, 0.96)),
    var(--panel-strong);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 144, 114, 0.96), rgba(255, 188, 168, 0.42));
  pointer-events: none;
}

.status-card:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(255, 184, 102, 0.96), rgba(255, 232, 171, 0.36));
}

.status-card:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(255, 144, 114, 0.96), rgba(255, 188, 168, 0.36));
}

.status-card strong {
  margin-top: 0.65rem;
  font-size: clamp(1.02rem, 1.5vw, 1.32rem);
  line-height: 1.28;
}

.login-modal__backdrop {
  background:
    radial-gradient(circle at center, rgba(110, 28, 20, 0.24), rgba(0, 0, 0, 0.84)),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.login-modal__panel {
  width: min(100%, 34rem);
  max-height: min(100dvh - 2rem, 44rem);
  padding: 2rem 1.85rem 1.75rem;
  border-color: rgba(255, 144, 114, 0.32);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.97), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 86px rgba(0, 0, 0, 0.68),
    0 0 42px rgba(255, 104, 72, 0.16);
}

.register-modal .login-modal__panel {
  width: min(100%, 36rem);
}

.login-modal.vip-modal .login-modal__panel {
  width: min(100%, 38rem);
}

.vip-modal__panel,
.fullchar-modal__panel {
  width: min(100%, 31rem);
}

.login-modal__panel.equipment-modal__panel {
  width: min(100%, 40rem);
  max-height: min(100dvh - 2rem, 41rem);
}

.login-modal h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.08em;
}

.login-modal__copy {
  max-width: 32rem;
  margin-top: 0.75rem;
  line-height: 1.62;
}

.login-modal__close {
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.58), rgba(15, 5, 6, 0.92)),
    rgba(255, 104, 72, 0.08);
}

.ranking-tools input,
.ranking-tools select,
.login-form__field input,
.server-info-card__field input,
.server-info-card__field textarea,
.vip-modal__editor textarea {
  border-radius: 12px;
  border-color: rgba(255, 144, 114, 0.24);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.97), rgba(15, 5, 6, 0.99)),
    rgba(15, 5, 6, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.04);
}

.ranking-tools input:focus,
.ranking-tools select:focus,
.login-form__field input:focus,
.server-info-card__field input:focus,
.server-info-card__field textarea:focus,
.vip-modal__editor textarea:focus {
  border-color: rgba(255, 188, 168, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 104, 72, 0.12),
    0 0 22px rgba(255, 104, 72, 0.08);
}

.login-form__feedback {
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.84), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.03);
}

.equipment-board,
.equipment-info,
.equipment-name-list__button {
  border-radius: 16px;
}

.equipment-board {
  border-color: rgba(255, 144, 114, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 42px rgba(0, 0, 0, 0.2);
}

.equipment-name-list__button {
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.92), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.92);
}

.equipment-name-list__button.is-selected {
  box-shadow:
    0 0 0 1px rgba(255, 144, 114, 0.28),
    0 0 22px rgba(255, 104, 72, 0.12);
}

@media (max-width: 960px) {
  :root {
    --hero-width: min(100%, 52rem);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero-copyblock {
    justify-items: center;
    text-align: center;
  }

  .hero-copyblock .hero-logo {
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-presence {
    order: -1;
    width: 100%;
    justify-self: center;
  }

  .section-head {
    width: min(100%, 100%);
  }

  .login-modal__panel.equipment-modal__panel {
    width: min(100%, 34rem);
  }
}

@media (max-width: 640px) {
  :root {
    --page-width: min(100% - 1rem, 88rem);
  }

  .hero-copyblock,
  .section-head,
  .ranking-panel,
  .account-panel,
  .server-info__shell,
  .events-panel,
  .gallery-showcase__shell,
  .login-modal__panel,
  .status-card,
  .feature-card {
    border-radius: 18px;
  }

  .section-head {
    padding: 1rem 1rem 1.05rem;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .hero-logo-mu {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-logo-name {
    font-size: clamp(1.95rem, 10vw, 3rem);
    letter-spacing: 0.1em;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .status-card {
    min-height: auto;
  }

  .login-modal__panel,
  .register-modal .login-modal__panel,
  .login-modal.vip-modal .login-modal__panel,
  .vip-modal__panel,
  .fullchar-modal__panel,
  .login-modal__panel.equipment-modal__panel {
    width: min(100%, calc(100vw - 1rem));
  }
}

@media (min-width: 1440px) {
  :root {
    --page-width: min(100% - 4rem, 96rem);
    --hero-width: min(100% - 4rem, 88rem);
    --section-copy-width: min(100%, 66rem);
  }
}

.main-nav a[aria-current="page"] {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 168, 0.34);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.52), rgba(15, 5, 6, 0.28)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(235, 73, 42, 0.09);
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.shop-page .top-actions {
  align-items: center;
}

.shop-account-pill {
  cursor: default;
}

.shop-main {
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
}

.shop-hero {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.shop-title {
  margin: 0.55rem 0 0.85rem;
  color: #fff4ef;
  font-family: var(--title-font);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 236, 228, 0.16),
    0 0 30px rgba(255, 104, 72, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.8);
}

.shop-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.95fr);
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.05);
}

.shop-overview__copy,
.shop-overview__stats,
.shop-page-feedback,
.shop-grid {
  position: relative;
  z-index: 1;
}

.shop-overview__copy {
  display: grid;
  gap: 0.45rem;
  align-content: center;
}

.shop-overview__eyebrow {
  margin: 0;
  color: #ffd8ca;
  font-family: var(--display-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.shop-overview__copy strong {
  color: #fff6f1;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-overview__copy p:last-child {
  margin: 0;
  color: #fff0e8;
  line-height: 1.7;
}

.shop-overview__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.shop-stat {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: var(--card-radius);
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.78), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.025);
  text-align: center;
}

.shop-stat span {
  color: #ffd8ca;
  font-family: var(--display-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shop-stat strong {
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.08em;
}

.shop-page-feedback,
.shop-feedback {
  min-height: 1.4rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 14px;
  color: #fff0e8;
  line-height: 1.55;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.84), rgba(15, 5, 6, 0.94)),
    rgba(255, 255, 255, 0.03);
}

.shop-page-feedback[data-state="success"],
.shop-feedback[data-state="success"] {
  color: #fff0e8;
  border-color: rgba(255, 188, 168, 0.28);
}

.shop-page-feedback[data-state="error"],
.shop-feedback[data-state="error"] {
  color: #fff0e8;
  border-color: rgba(255, 144, 114, 0.32);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.shop-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 1.6rem);
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.05);
}

.shop-card--notes {
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.95), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
}

.shop-card__eyebrow {
  margin: 0;
  color: #ffd8ca;
  font-family: var(--display-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.shop-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.shop-card h2 {
  margin: 0;
  color: #fff4ef;
  font-family: var(--title-font);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 188, 168, 0.26);
  border-radius: 999px;
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.56), rgba(15, 5, 6, 0.96)),
    rgba(255, 104, 72, 0.08);
}

.shop-card__copy,
.shop-card__status {
  margin: 0;
  color: #fff0e8;
  line-height: 1.7;
}

.shop-card__status {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.74), rgba(15, 5, 6, 0.92)),
    rgba(255, 255, 255, 0.02);
}

.shop-benefits,
.shop-notes {
  display: grid;
  gap: 0.65rem;
}

.shop-benefit,
.shop-notes li {
  color: #fff0e8;
  line-height: 1.6;
}

.shop-benefit {
  position: relative;
  padding-left: 1.1rem;
}

.shop-benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ffd8ca;
  box-shadow: 0 0 12px rgba(255, 104, 72, 0.28);
}

.shop-field {
  display: grid;
  gap: 0.5rem;
}

.shop-field span {
  color: #ffd8ca;
  font-family: var(--display-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.shop-field select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: 12px;
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.97), rgba(15, 5, 6, 0.99)),
    rgba(15, 5, 6, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.04);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shop-field select:focus {
  border-color: rgba(255, 188, 168, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 104, 72, 0.12),
    0 0 22px rgba(255, 104, 72, 0.08);
}

.shop-back-link {
  width: 100%;
}

.shop-notes {
  margin: 0;
  padding-left: 1.1rem;
}

@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .shop-overview {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .shop-main {
    padding-top: 1.35rem;
  }

  .shop-grid,
  .shop-overview__stats {
    grid-template-columns: 1fr;
  }

  .shop-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-back-link {
    width: 100%;
  }
}

.shop-hero__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.shop-admin-link {
  justify-self: end;
  white-space: nowrap;
}

.shop-section-title {
  margin: 0.4rem 0 0.85rem;
  color: #fff4ef;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-catalog {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.shop-catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.shop-catalog__panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 1.6rem);
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.05);
}

.shop-catalog__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.shop-catalog__filters {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(11rem, 0.72fr));
  gap: 1rem;
  align-items: end;
}

.shop-field--search {
  min-width: 0;
}

.shop-catalog__summary {
  margin: 0;
  color: #fff0e8;
  line-height: 1.6;
}

.shop-field--wide {
  max-width: 26rem;
}

.shop-catalog__hint {
  display: grid;
  gap: 0.45rem;
  align-content: center;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 144, 114, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.72), rgba(15, 5, 6, 0.92)),
    rgba(255, 255, 255, 0.025);
}

.shop-catalog__hint strong {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-catalog__hint p {
  margin: 0;
  color: #fff0e8;
  line-height: 1.65;
}

.shop-catalog__empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 144, 114, 0.14);
  border-radius: 14px;
  color: #fff0e8;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.74), rgba(15, 5, 6, 0.92)),
    rgba(255, 255, 255, 0.02);
}

.shop-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.shop-item-card {
  display: grid;
  grid-template-columns: minmax(10.5rem, 11.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.9), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 48px rgba(0, 0, 0, 0.22);
}

.shop-item-card__media {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.shop-item-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 104, 72, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.96), rgba(15, 5, 6, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 144, 114, 0.06),
    0 16px 30px rgba(0, 0, 0, 0.18);
}

.shop-item-card__index,
.shop-item-card__note,
.shop-admin-catalog-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 999px;
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(110, 28, 20, 0.38), rgba(15, 5, 6, 0.92)),
    rgba(255, 104, 72, 0.06);
}

.shop-item-card__note {
  border-radius: 14px;
  justify-content: flex-start;
  color: #ffd8ca;
  letter-spacing: 0.08em;
  text-transform: none;
}

.shop-item-card__content {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.shop-item-card__title,
.shop-admin-catalog-card__title {
  margin: 0;
  color: #fff4ef;
  font-family: var(--title-font);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-item-card__copy {
  margin: 0;
  color: #fff0e8;
  line-height: 1.65;
  white-space: pre-line;
}

.shop-item-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.shop-item-card__meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 144, 114, 0.14);
  border-radius: 999px;
  color: #fff0e8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.03);
}

.shop-item-card__button {
  width: max-content;
  min-width: 12rem;
}

.shop-input,
.shop-textarea,
.shop-file,
.shop-admin-select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: 12px;
  color: #fff0e8;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.97), rgba(15, 5, 6, 0.99)),
    rgba(15, 5, 6, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 104, 72, 0.04);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shop-input {
  min-height: 3.2rem;
}

.shop-textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.65;
}

.shop-file {
  min-height: 3.2rem;
  padding-block: 0.78rem;
}

.shop-input::placeholder {
  color: rgba(255, 236, 228, 0.66);
}

.shop-input:focus,
.shop-textarea:focus,
.shop-file:focus,
.shop-admin-select:focus {
  border-color: rgba(255, 188, 168, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 104, 72, 0.12),
    0 0 22px rgba(255, 104, 72, 0.08);
}

.shop-admin-form {
  display: grid;
  gap: 0.95rem;
}

.shop-admin-form__image-actions {
  display: grid;
  gap: 0.65rem;
}

.shop-admin-form__image-actions .button {
  width: 100%;
}

.shop-admin-form__image-status {
  margin: 0;
  color: #fff0e8;
  line-height: 1.55;
}

.shop-admin-main {
  padding-bottom: 5rem;
}

.shop-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.shop-admin-select {
  min-height: 21rem;
  resize: vertical;
}

.shop-admin-preview__media {
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 144, 114, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.98), rgba(15, 5, 6, 0.98));
}

.shop-admin-preview__image {
  width: min(100%, 19rem);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(255, 144, 114, 0.22));
}

.shop-admin-preview__details {
  display: grid;
  gap: 1rem;
}

.shop-admin-catalog__list {
  display: grid;
  gap: 1rem;
}

.shop-admin-catalog-card {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 144, 114, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 9, 10, 0.9), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
}

.shop-admin-catalog-card__media {
  display: grid;
  gap: 0.55rem;
}

.shop-admin-catalog-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.8rem;
  border: 1px solid rgba(255, 144, 114, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 104, 72, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(15, 5, 6, 0.96), rgba(15, 5, 6, 0.98));
}

.shop-admin-catalog-card__body {
  display: grid;
  gap: 0.55rem;
}

.shop-admin-catalog-card__meta {
  margin: 0;
  color: #fff0e8;
  line-height: 1.65;
}

.shop-admin-catalog-card__details {
  margin: 0;
  color: #fff0e8;
  line-height: 1.7;
  white-space: pre-line;
}

.shop-admin-catalog-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.shop-admin-catalog-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 144, 114, 0.14);
  border-radius: 999px;
  color: #fff0e8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.03);
}

.shop-admin-catalog-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.shop-catalog__head .shop-back-link {
  width: auto;
}

@media (max-width: 1200px) {
  .shop-items {
    grid-template-columns: 1fr;
  }

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

  .shop-field--search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .shop-admin-grid {
    grid-template-columns: 1fr;
  }

  .shop-catalog__head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 960px) {
  .shop-hero__actions,
  .shop-catalog__toolbar,
  .shop-item-card,
  .shop-admin-catalog-card {
    grid-template-columns: 1fr;
  }

  .shop-admin-link,
  .shop-catalog__head .shop-back-link,
  .shop-item-card__button {
    width: 100%;
  }

  .shop-admin-link {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .shop-section-title {
    font-size: 1.35rem;
  }

  .shop-catalog__filters {
    grid-template-columns: 1fr;
  }

  .shop-admin-select {
    min-height: 16rem;
  }

  .shop-admin-preview__media {
    min-height: 16rem;
  }
}

/* Assassins theme overrides */
:root {
  --bg: #060506;
  --bg-soft: rgba(9, 7, 8, 0.78);
  --panel: rgba(18, 9, 10, 0.76);
  --panel-strong: rgba(26, 10, 10, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-hot: rgba(255, 92, 63, 0.45);
  --text: #f7efe9;
  --muted: #d7c0ba;
  --hot: #eb2c16;
  --hot-strong: #ff5a38;
  --gold: #f7d7c1;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  --title-font: "Cinzel", "Trajan Pro", "Palatino Linotype", serif;
  --display-font: "Cinzel", "Trajan Pro", "Palatino Linotype", serif;
  --body-font: "Trebuchet MS", "Segoe UI", sans-serif;
}

body {
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 96, 62, 0.16), transparent 26%),
    radial-gradient(circle at 12% 20%, rgba(255, 160, 112, 0.08), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(160, 26, 18, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(5, 3, 4, 0.94)),
    var(--bg);
}

body::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 18%, rgba(7, 3, 4, 0.84) 100%),
    radial-gradient(circle at center, transparent 0 22%, rgba(0, 0, 0, 0.42) 63%, rgba(0, 0, 0, 0.86) 100%),
    url("img/background.webp") center top / cover no-repeat;
}

body::after {
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 92, 56, 0.22), transparent 20%),
    radial-gradient(circle at 16% 84%, rgba(255, 118, 72, 0.14), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(166, 29, 20, 0.12), transparent 16%);
}

.embers-layer {
  opacity: 0.98;
  filter:
    saturate(1.18)
    drop-shadow(0 0 12px rgba(255, 104, 72, 0.26))
    drop-shadow(0 0 24px rgba(255, 164, 98, 0.14));
}

.topbar {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(10, 8, 9, 0.82)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.menu-toggle {
  border-color: rgba(255, 104, 75, 0.28);
  color: #fff0eb;
  background:
    linear-gradient(180deg, rgba(58, 12, 11, 0.84), rgba(12, 10, 11, 0.94)),
    rgba(16, 10, 11, 0.9);
}

.brand-icon {
  filter: drop-shadow(0 0 14px rgba(255, 82, 48, 0.34));
}

.brand-mark,
.hero-logo-mu,
.hero-logo-name,
.shop-title,
.ranking-panel__champion strong,
.account-panel__lead h3,
.server-info-card h3,
.shop-item-card__title,
.shop-section-title {
  color: #fff6ef;
  text-shadow:
    0 0 18px rgba(255, 94, 63, 0.28),
    0 0 34px rgba(171, 38, 22, 0.2);
}

.brand-name,
.main-nav a,
.action-link,
.section-kicker,
.gallery-showcase__eyebrow,
.ranking-panel__eyebrow,
.account-panel__eyebrow,
.server-info-card__eyebrow,
.shop-card__eyebrow,
.shop-overview__eyebrow {
  color: #f0c9be;
}

.main-nav a:hover,
.action-link:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 93, 53, 0.48);
}

.action-link.is-authenticated,
.shop-account-pill {
  color: #ffd9cd;
  text-shadow:
    0 0 10px rgba(255, 128, 94, 0.34),
    0 0 22px rgba(184, 54, 31, 0.24),
    0 0 34px rgba(107, 22, 13, 0.18);
}

.button,
.button-primary,
.button-hero-solid {
  border-color: rgba(255, 101, 73, 0.38);
  color: #fff3ee;
  background:
    linear-gradient(180deg, rgba(138, 34, 22, 0.96), rgba(48, 14, 12, 0.98)),
    rgba(24, 10, 10, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 222, 213, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(235, 44, 22, 0.18);
}

.button-secondary {
  border-color: rgba(255, 116, 86, 0.24);
  color: #f8d8cf;
  background:
    linear-gradient(180deg, rgba(69, 23, 19, 0.94), rgba(18, 10, 10, 0.98)),
    rgba(12, 9, 9, 0.96);
}

.button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-hero-solid:hover {
  border-color: rgba(255, 132, 96, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 220, 0.1),
    0 16px 30px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(255, 94, 63, 0.24);
}

.ranking-panel,
.account-panel,
.events-panel,
.gallery-showcase__shell,
.community-showcase__slot,
.status-card,
.server-info-card,
.shop-overview,
.shop-card,
.shop-catalog__panel,
.shop-item-card,
.shop-admin-preview,
.shop-admin-catalog-card,
.vip-modal__panel,
.fullchar-modal__panel,
.login-modal__panel.equipment-modal__panel {
  border-color: rgba(255, 109, 82, 0.24);
  background:
    linear-gradient(180deg, rgba(22, 10, 11, 0.94), rgba(8, 5, 6, 0.98)),
    rgba(18, 9, 10, 0.92);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 230, 223, 0.03),
    0 0 0 1px rgba(145, 35, 25, 0.08);
}

.ranking-panel::before,
.account-panel::before,
.gallery-showcase__shell::before {
  background:
    linear-gradient(145deg, rgba(255, 98, 69, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 160, 120, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(148, 24, 18, 0.12), transparent 24%);
}

.ranking-panel__champion,
.account-vip,
.server-info-card--community,
.shop-catalog__hint,
.shop-admin-select,
.online-orb,
.online-orb__core,
.ranking-tools__field input,
.ranking-tools__field select,
.login-form__field input,
.login-form__field textarea,
.server-info-card__field input,
.server-info-card__field textarea,
.shop-field select,
.shop-input,
.shop-textarea {
  border-color: rgba(255, 116, 86, 0.2);
  background:
    linear-gradient(180deg, rgba(24, 11, 12, 0.92), rgba(8, 6, 7, 0.98)),
    rgba(18, 9, 10, 0.9);
}

.shop-price,
.account-vip__wallet strong,
.shop-stat strong,
.account-stat strong,
.ranking-panel__label {
  color: #ffd8c5;
}

.server-info-card p a,
.server-info-card--community p a {
  color: #ffd7c8 !important;
  border-bottom-color: rgba(255, 118, 88, 0.46);
  text-shadow: none;
}

.server-info-card p a:hover,
.server-info-card--community p a:hover {
  color: #fff2eb !important;
  border-bottom-color: rgba(255, 188, 168, 0.84);
  text-shadow: 0 0 12px rgba(255, 120, 84, 0.18);
}

.ranking-tools__field input:focus,
.ranking-tools__field select:focus,
.login-form__field input:focus,
.login-form__field textarea:focus,
.server-info-card__field input:focus,
.server-info-card__field textarea:focus,
.shop-field select:focus,
.shop-input:focus,
.shop-textarea:focus,
.shop-admin-select:focus {
  border-color: rgba(255, 138, 104, 0.72);
  box-shadow:
    0 0 0 3px rgba(171, 38, 22, 0.18),
    0 0 22px rgba(255, 96, 62, 0.08);
}

.shop-benefit,
.vip-modal__benefit,
.shop-admin-catalog-card__badge,
.equipment-tag--excellent {
  border-color: rgba(255, 118, 86, 0.22);
  background: rgba(112, 24, 18, 0.2);
  color: #ffe2d7;
}

.vip-modal__benefit-mark,
.gallery-carousel__dot.is-active {
  color: #ff9e7c;
  background: linear-gradient(90deg, rgba(255, 121, 85, 0.96), rgba(255, 182, 132, 0.42));
  box-shadow: 0 0 16px rgba(255, 96, 62, 0.18);
}

/* Assassins color pass 2 */
body .brand-mark {
  color: #fff4ed;
  text-shadow:
    0 0 14px rgba(255, 112, 76, 0.42),
    0 0 28px rgba(142, 31, 20, 0.26);
}

body .brand-name {
  color: #e7b8aa;
}

body .main-nav a,
body .action-link {
  border-color: rgba(255, 110, 81, 0.14);
  color: #ffe6dd;
  background:
    linear-gradient(180deg, rgba(78, 20, 18, 0.34), rgba(18, 10, 12, 0.16)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 220, 0.03),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

body .main-nav a::after,
body .action-link::after {
  background: linear-gradient(90deg, transparent, rgba(255, 172, 146, 0.92), transparent);
}

body .main-nav a:hover,
body .action-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 134, 102, 0.34);
  background:
    linear-gradient(180deg, rgba(102, 28, 22, 0.48), rgba(18, 10, 12, 0.26)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.04),
    0 12px 26px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(235, 73, 42, 0.08);
}

body .button::before {
  background:
    linear-gradient(180deg, rgba(255, 179, 158, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 102, 76, 0.16), transparent 42%);
}

body .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7) 76%, rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at 32% 48%, rgba(255, 89, 56, 0.1), transparent 26%),
    radial-gradient(circle at 74% 26%, rgba(255, 176, 88, 0.06), transparent 14%);
}

body .hero-copyblock {
  border-color: rgba(255, 112, 82, 0.34);
  background:
    linear-gradient(180deg, rgba(25, 11, 12, 0.78), rgba(9, 5, 6, 0.52)),
    rgba(19, 10, 11, 0.42);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 94, 66, 0.16),
    0 0 22px rgba(255, 74, 38, 0.2),
    0 0 42px rgba(179, 24, 14, 0.12),
    inset 0 1px 0 rgba(255, 234, 228, 0.03);
  animation: hero-fire-box 1.25s ease-in-out infinite;
}

body .hero-copyblock > * {
  position: relative;
  z-index: 2;
}

body .hero-copyblock::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 82, 44, 0.28), rgba(255, 164, 108, 0.98) 18%, rgba(255, 72, 34, 0.7) 50%, rgba(255, 170, 112, 0.98) 82%, rgba(255, 82, 44, 0.28)),
    linear-gradient(180deg, rgba(255, 140, 96, 0.24), rgba(255, 68, 32, 0.06));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  box-shadow:
    0 0 14px rgba(255, 92, 58, 0.34),
    0 0 30px rgba(255, 64, 26, 0.24),
    0 0 56px rgba(154, 18, 10, 0.18);
  opacity: 0.96;
  animation: hero-fire-border 0.9s ease-in-out infinite alternate;
}

body .hero-copyblock::before,
body .section-head::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 104, 72, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 122, 72, 0.18), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255, 176, 88, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(14, 5, 6, 0.38), transparent 68%);
}

@keyframes hero-fire-box {
  0%,
  100% {
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(255, 94, 66, 0.16),
      0 0 22px rgba(255, 74, 38, 0.2),
      0 0 42px rgba(179, 24, 14, 0.12),
      inset 0 1px 0 rgba(255, 234, 228, 0.03);
  }

  50% {
    box-shadow:
      0 26px 60px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(255, 118, 84, 0.24),
      0 0 28px rgba(255, 82, 42, 0.28),
      0 0 62px rgba(214, 34, 18, 0.18),
      inset 0 1px 0 rgba(255, 238, 232, 0.04);
  }
}

@keyframes hero-fire-border {
  0% {
    opacity: 0.84;
    transform: scale(0.998);
    box-shadow:
      0 0 12px rgba(255, 96, 60, 0.28),
      0 0 26px rgba(255, 68, 28, 0.18),
      0 0 44px rgba(154, 18, 10, 0.14);
  }

  50% {
    opacity: 1;
    transform: scale(1.002);
    box-shadow:
      0 0 18px rgba(255, 118, 78, 0.36),
      0 0 34px rgba(255, 78, 36, 0.26),
      0 0 64px rgba(196, 26, 14, 0.2);
  }

  100% {
    opacity: 0.92;
    transform: scale(1);
    box-shadow:
      0 0 16px rgba(255, 108, 72, 0.32),
      0 0 30px rgba(255, 70, 32, 0.22),
      0 0 56px rgba(168, 20, 10, 0.18);
  }
}

body .online-orb {
  border-color: rgba(255, 136, 106, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 224, 0.07),
    inset 0 0 58px rgba(255, 93, 60, 0.12),
    0 0 0 1px rgba(180, 46, 31, 0.18),
    0 0 40px rgba(235, 73, 42, 0.16),
    0 0 110px rgba(96, 19, 12, 0.28);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 220, 206, 0.2), rgba(255, 121, 83, 0.1) 18%, rgba(125, 28, 20, 0.34) 42%, rgba(18, 10, 11, 0.86) 68%, rgba(17, 10, 11, 0.97) 100%),
    radial-gradient(circle at 50% 68%, rgba(255, 94, 61, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(40, 12, 12, 0.92), rgba(10, 6, 7, 0.96));
}

body .online-orb__count {
  color: #fff2eb;
  text-shadow:
    0 0 16px rgba(255, 134, 97, 0.24),
    0 0 30px rgba(148, 30, 19, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.8);
}

body .online-orb__label,
body .eyebrow,
body .section-kicker,
body .status-label,
body .ranking-panel__eyebrow,
body .account-panel__eyebrow,
body .gallery-showcase__eyebrow,
body .server-info-card__eyebrow,
body .server-info__admin-badge,
body .events-panel__legend span,
body .event-row__label,
body .login-modal__eyebrow,
body .account-vip__eyebrow,
body .vip-modal__editor span,
body .server-info-card__field span,
body .ranking-tools__field span,
body .login-form__field span,
body .shop-card__eyebrow,
body .shop-overview__eyebrow,
body .shop-field span {
  color: #f3b7a2;
}

body .hero-logo-mu {
  color: #fff5ef;
  text-shadow:
    0 0 16px rgba(255, 160, 124, 0.22),
    0 0 36px rgba(234, 72, 40, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.82),
    0 26px 56px rgba(0, 0, 0, 0.56);
}

body .hero-logo-name,
body .section-head h2,
body .ranking-panel__lead h3,
body .account-panel__lead h3,
body .gallery-showcase__header h2,
body .server-info-card h3,
body .feature-card h3,
body .event-row__name strong,
body .login-modal h2,
body .shop-card h2 {
  color: #fff5ef;
  text-shadow:
    0 0 14px rgba(255, 146, 109, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.52);
}

body .section-head {
  border-color: rgba(255, 122, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 8, 9, 0.74), rgba(9, 5, 6, 0.44)),
    rgba(12, 8, 9, 0.36);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 236, 230, 0.03);
}

body .section-head p:last-child,
body .hero-copy,
body .ranking-panel__lead p:last-child,
body .account-panel__lead p:last-child,
body .event-row__map-list,
body .event-row__meta,
body .server-info-card p,
body .login-modal__copy,
body .shop-card__copy,
body .shop-card__status,
body .shop-overview__copy p:last-child,
body .shop-catalog__hint p,
body .shop-notes li,
body .fullchar-modal__note,
body .vip-modal__benefit-text {
  color: #e7c8be;
}

body .ranking-panel,
body .account-panel,
body .server-info__shell,
body .events-panel,
body .gallery-showcase__shell,
body .shop-overview,
body .shop-card,
body .shop-catalog__panel,
body .shop-admin-preview,
body .shop-admin-catalog-card,
body .status-card,
body .community-showcase__slot {
  border-color: rgba(255, 122, 92, 0.22);
  background:
    linear-gradient(180deg, rgba(18, 9, 10, 0.94), rgba(5, 3, 4, 0.98)),
    rgba(10, 6, 7, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 0 0 1px rgba(122, 22, 15, 0.05);
}

body .server-info__shell::before,
body .events-panel::before,
body .gallery-showcase__shell::before,
body .feature-card::before,
body .shop-card::before,
body .shop-catalog__panel::before,
body .shop-admin-catalog-card::before {
  background:
    linear-gradient(145deg, rgba(255, 109, 80, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 186, 148, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(146, 24, 18, 0.08), transparent 24%);
}

body .ranking-panel__champion,
body .account-vip,
body .account-stat,
body .ranking-row__metric,
body .charmini__stat,
body .charmini__detail-card,
body .equipment-info,
body .vip-modal__benefit,
body .fullchar-modal__note,
body .ranking-empty,
body .account-empty,
body .shop-stat,
body .shop-catalog__hint,
body .shop-admin-select,
body .gallery-carousel__meta,
body .shop-item-card__meta-chip {
  border-color: rgba(255, 124, 93, 0.18);
  background:
    linear-gradient(180deg, rgba(29, 11, 12, 0.86), rgba(11, 8, 9, 0.94)),
    rgba(255, 255, 255, 0.02);
}

body .ranking-row,
body .event-row,
body .charmini,
body .server-info-card,
body .shop-item-card,
body .shop-admin-catalog-card {
  border-color: rgba(255, 124, 93, 0.16);
  background:
    linear-gradient(180deg, rgba(20, 10, 12, 0.92), rgba(7, 4, 5, 0.98)),
    rgba(10, 7, 8, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.02),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

body .ranking-row:hover,
body .event-row:hover,
body .charmini:hover,
body .server-info-card:hover,
body .shop-item-card:hover,
body .shop-admin-catalog-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 233, 0.03),
    0 18px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(235, 73, 42, 0.08);
}

/* ========================================
   FIRE & BREATHING EFFECTS
   ======================================== */

.fire-aura {
  position: relative;
  isolation: isolate;
  will-change: transform, filter, opacity;
  animation: fire-breathe 2.8s ease-in-out infinite;
}

.fire-aura::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter:
    blur(10px)
    brightness(1.22)
    saturate(1.75)
    sepia(0.55)
    hue-rotate(-18deg)
    drop-shadow(0 0 14px rgba(255, 104, 72, 0.42))
    drop-shadow(0 0 28px rgba(255, 168, 112, 0.2));
  animation: fire-aura-glow 0.95s ease-in-out infinite alternate;
  pointer-events: none;
}

.fire-aura::after {
  content: "";
  position: absolute;
  inset: -1.5%;
  z-index: -1;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter:
    blur(3px)
    brightness(1.26)
    saturate(1.52)
    sepia(0.4)
    hue-rotate(-12deg)
    drop-shadow(0 0 9px rgba(255, 126, 84, 0.34));
  animation: fire-flicker 0.42s steps(2, end) infinite;
  pointer-events: none;
}

@keyframes fire-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28))
      drop-shadow(0 0 18px rgba(235, 73, 42, 0.14));
  }

  50% {
    transform: translateY(0.08rem) scale(1.032);
    filter:
      drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32))
      drop-shadow(0 0 24px rgba(255, 111, 78, 0.24));
  }
}

@keyframes fire-aura-glow {
  0% {
    transform: translate3d(-0.15rem, 0.12rem, 0) scale(0.995);
    opacity: 0.56;
  }

  50% {
    transform: translate3d(0.12rem, -0.1rem, 0) scale(1.02);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(0.18rem, -0.18rem, 0) scale(1.03);
    opacity: 0.68;
  }
}

@keyframes fire-flicker {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.34;
  }

  25% {
    transform: translate3d(0.12rem, -0.1rem, 0) scale(1.012);
    opacity: 0.56;
  }

  50% {
    transform: translate3d(-0.08rem, -0.18rem, 0) scale(1.02);
    opacity: 0.64;
  }

  75% {
    transform: translate3d(0.06rem, -0.06rem, 0) scale(1.008);
    opacity: 0.44;
  }
}

/* Apply fire effect to navigation links with fire-aura class */
.main-nav__link.fire-aura {
  position: relative;
  isolation: isolate;
  animation: fire-breathe 2.8s ease-in-out infinite;
}

.main-nav__link.fire-aura::before {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: -2;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter:
    blur(10px)
    brightness(1.22)
    saturate(1.75)
    sepia(0.55)
    hue-rotate(-18deg)
    drop-shadow(0 0 14px rgba(255, 104, 72, 0.42))
    drop-shadow(0 0 28px rgba(255, 168, 112, 0.2));
  animation: fire-aura-glow 0.95s ease-in-out infinite alternate;
}

/* Enhanced fire effect for buttons */
.button.fire-aura,
.button-small.fire-aura,
.button-secondary.fire-aura {
  position: relative;
  isolation: isolate;
  animation: fire-breathe 2.8s ease-in-out infinite;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(255, 104, 72, 0.24),
    0 0 14px rgba(255, 104, 72, 0.42),
    0 0 28px rgba(255, 168, 112, 0.2) !important;
}

.button.fire-aura::before,
.button-small.fire-aura::before,
.button-secondary.fire-aura::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter:
    blur(10px)
    brightness(1.22)
    saturate(1.75)
    sepia(0.55)
    hue-rotate(-18deg)
    drop-shadow(0 0 14px rgba(255, 104, 72, 0.42))
    drop-shadow(0 0 28px rgba(255, 168, 112, 0.2));
  animation: fire-aura-glow 0.95s ease-in-out infinite alternate;
  pointer-events: none;
}

.button.fire-aura::after,
.button-small.fire-aura::after,
.button-secondary.fire-aura::after {
  content: "";
  position: absolute;
  inset: -1.5%;
  z-index: -1;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter:
    blur(3px)
    brightness(1.26)
    saturate(1.52)
    sepia(0.4)
    hue-rotate(-12deg)
    drop-shadow(0 0 9px rgba(255, 126, 84, 0.34));
  animation: fire-flicker 0.42s steps(2, end) infinite;
  pointer-events: none;
}

/* Fire effect for online orb */
.online-orb.fire-aura {
  animation: fire-breathe 2.8s ease-in-out infinite;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.08),
    inset 0 0 70px rgba(255, 104, 72, 0.16),
    0 0 0 1px rgba(255, 144, 114, 0.24),
    0 0 48px rgba(255, 104, 72, 0.24),
    0 0 126px rgba(184, 48, 34, 0.4),
    0 0 14px rgba(255, 104, 72, 0.42),
    0 0 28px rgba(255, 168, 112, 0.2) !important;
}

.online-orb.fire-aura::before {
  animation: fire-aura-glow 0.95s ease-in-out infinite alternate;
}

.online-orb.fire-aura::after {
  animation: fire-flicker 0.42s steps(2, end) infinite;
}

body .ranking-row.is-podium-1 {
  border-color: rgba(255, 186, 105, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 217, 168, 0.03),
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 177, 98, 0.08);
}

body .ranking-row.is-podium-1 .ranking-row__place {
  border-color: rgba(255, 186, 105, 0.48);
  color: #fff1db;
  background: rgba(255, 177, 98, 0.08);
}

body .ranking-row__place,
body .event-row__time,
body .account-vip__wallet strong,
body .equipment-info__level,
body .equipment-name-list__level,
body .shop-price,
body .shop-stat strong,
body .account-stat strong {
  color: #ffd9c8;
}

body .ranking-row__place {
  background:
    linear-gradient(180deg, rgba(108, 35, 25, 0.56), rgba(18, 9, 10, 0.92)),
    rgba(255, 96, 62, 0.08);
}

body .ranking-row__metric strong,
body .status-card strong,
body .shop-title,
body .shop-section-title {
  color: #fff2ea;
}

body .ranking-row__metric,
body .account-stat,
body .shop-stat {
  background:
    linear-gradient(180deg, rgba(28, 11, 12, 0.78), rgba(11, 7, 8, 0.94)),
    rgba(255, 255, 255, 0.025);
}

body .charmini__top {
  border-bottom-color: rgba(255, 114, 84, 0.14);
}

body .charmini__face,
body .ranking-row__portrait {
  border-color: rgba(255, 124, 93, 0.22);
}

body .charmini__toggle,
body .login-modal__close,
body .equipment-name-list__button {
  background:
    linear-gradient(180deg, rgba(95, 30, 22, 0.56), rgba(12, 7, 8, 0.96)),
    rgba(255, 96, 62, 0.08);
  border-color: rgba(255, 120, 88, 0.2);
  color: #ffd8c7;
}

body .server-info-card__image {
  filter:
    drop-shadow(0 0 22px rgba(255, 96, 62, 0.2))
    drop-shadow(0 0 42px rgba(107, 24, 16, 0.16));
}

body .server-info-card--community {
  border-color: rgba(255, 126, 94, 0.24);
  background:
    linear-gradient(180deg, rgba(17, 8, 9, 0.94), rgba(7, 4, 5, 0.98)),
    rgba(10, 7, 8, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 38px rgba(146, 24, 18, 0.1);
}

body .event-row__progress-bar {
  background: linear-gradient(90deg, rgba(255, 104, 72, 0.96), rgba(255, 180, 132, 0.42));
}

body .gallery-carousel__stage {
  border-color: rgba(255, 120, 88, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.22);
}

body .gallery-carousel__dot {
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 235, 0.02),
    0 0 0 1px rgba(171, 38, 22, 0.08);
  background: rgba(255, 119, 88, 0.18);
}

body .status-card::before {
  background: linear-gradient(90deg, rgba(255, 122, 92, 0.96), rgba(255, 187, 133, 0.42));
}

body .status-card:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(255, 162, 95, 0.96), rgba(255, 222, 171, 0.36));
}

body .status-card:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(193, 45, 31, 0.96), rgba(255, 151, 116, 0.36));
}

body .login-modal__backdrop {
  background:
    radial-gradient(circle at center, rgba(88, 16, 12, 0.24), rgba(0, 0, 0, 0.84)),
    rgba(0, 0, 0, 0.78);
}

body .login-modal__panel {
  border-color: rgba(255, 126, 95, 0.28);
  background:
    linear-gradient(180deg, rgba(18, 9, 10, 0.97), rgba(5, 3, 4, 0.98)),
    rgba(10, 7, 8, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 235, 0.05),
    0 28px 86px rgba(0, 0, 0, 0.68),
    0 0 42px rgba(146, 24, 18, 0.16);
}

body .ranking-tools input,
body .ranking-tools select,
body .login-form__field input,
body .server-info-card__field input,
body .server-info-card__field textarea,
body .vip-modal__editor textarea,
body .shop-field select,
body .shop-input,
body .shop-textarea,
body .shop-admin-select {
  border-color: rgba(255, 122, 92, 0.18);
  color: #f4e3dc;
  background:
    linear-gradient(180deg, rgba(19, 10, 11, 0.97), rgba(8, 6, 7, 0.99)),
    rgba(15, 5, 6, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 0 0 1px rgba(112, 22, 15, 0.04);
}

body .ranking-tools input::placeholder,
body .login-form__field input::placeholder,
body .vip-modal__editor textarea::placeholder,
body .shop-input::placeholder,
body .shop-textarea::placeholder {
  color: rgba(230, 194, 183, 0.56);
}

body .ranking-tools input:focus,
body .ranking-tools select:focus,
body .login-form__field input:focus,
body .server-info-card__field input:focus,
body .server-info-card__field textarea:focus,
body .vip-modal__editor textarea:focus,
body .shop-field select:focus,
body .shop-input:focus,
body .shop-textarea:focus,
body .shop-admin-select:focus {
  border-color: rgba(255, 144, 114, 0.7);
  box-shadow:
    0 0 0 3px rgba(171, 38, 22, 0.16),
    0 0 22px rgba(235, 73, 42, 0.08);
}

body .login-form__feedback,
body .shop-page-feedback,
body .shop-feedback,
body .account-panel__feedback,
body .ranking-panel__feedback,
body .server-info__feedback,
body .events-panel__feedback,
body .vip-modal__feedback,
body .fullchar-modal__feedback {
  background:
    linear-gradient(180deg, rgba(22, 10, 11, 0.84), rgba(8, 6, 7, 0.94)),
    rgba(255, 255, 255, 0.03);
  color: #f3ddd4;
}

body .equipment-board,
body .equipment-info,
body .equipment-name-list__button,
body .equipment-slot {
  border-color: rgba(255, 120, 88, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 8, 9, 0.94), rgba(7, 4, 5, 0.98)),
    rgba(15, 5, 6, 0.94);
}

body .equipment-slot.is-selected,
body .equipment-name-list__button.is-selected {
  border-color: rgba(255, 148, 118, 0.46);
  box-shadow:
    0 0 0 3px rgba(171, 38, 22, 0.12),
    0 0 18px rgba(235, 73, 42, 0.08);
}

body .equipment-tag,
body .equipment-tag--excellent,
body .equipment-tag--ancient,
body .equipment-tag--luck,
body .equipment-tag--skill {
  border-color: rgba(255, 122, 92, 0.18);
  background: rgba(110, 24, 18, 0.18);
  color: #ffe0d5;
}

/* Assassins targeted hotfix */
body .online-orb {
  border: 1px solid rgba(255, 126, 95, 0.92) !important;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 231, 220, 0.16), rgba(255, 136, 102, 0.08) 18%, rgba(122, 28, 20, 0.36) 42%, rgba(17, 9, 10, 0.88) 68%, rgba(17, 10, 11, 0.97) 100%),
    radial-gradient(circle at 50% 68%, rgba(255, 94, 61, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(38, 12, 12, 0.94), rgba(8, 5, 6, 0.97)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 228, 0.06),
    inset 0 0 52px rgba(255, 90, 58, 0.1),
    0 0 0 1px rgba(166, 35, 24, 0.18),
    0 0 28px rgba(235, 73, 42, 0.12),
    0 0 72px rgba(92, 17, 12, 0.26) !important;
}

body .online-orb::before {
  inset: 0.65rem;
  border: 1px solid rgba(255, 156, 126, 0.3) !important;
  box-shadow:
    inset 0 0 18px rgba(255, 121, 84, 0.08),
    0 0 14px rgba(235, 73, 42, 0.1) !important;
}

body .online-orb::after {
  inset: -10%;
  background:
    radial-gradient(circle, rgba(255, 109, 77, 0.18) 0, rgba(255, 109, 77, 0.06) 40%, rgba(255, 109, 77, 0) 70%) !important;
  filter: blur(16px);
  opacity: 0.8;
}

body .online-orb__embers {
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 223, 209, 0.38) 0 0.12rem, transparent 0.16rem),
    radial-gradient(circle at 66% 28%, rgba(255, 160, 126, 0.3) 0 0.14rem, transparent 0.18rem),
    radial-gradient(circle at 71% 63%, rgba(255, 188, 156, 0.22) 0 0.1rem, transparent 0.14rem),
    radial-gradient(circle at 26% 68%, rgba(255, 118, 84, 0.26) 0 0.11rem, transparent 0.15rem),
    radial-gradient(circle at 50% 80%, rgba(184, 97, 76, 0.18) 0 0.1rem, transparent 0.14rem),
    radial-gradient(circle at 54% 44%, rgba(255, 104, 72, 0.12), transparent 24%) !important;
  filter: drop-shadow(0 0 8px rgba(255, 122, 92, 0.18)) !important;
}

body .online-orb__core {
  background: transparent !important;
}

body .online-orb__count {
  color: #fff3ed !important;
}

body .online-orb__label {
  color: #f2c1ae !important;
}

body .gallery-showcase__shell {
  border-color: rgba(255, 122, 92, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(18, 9, 10, 0.94), rgba(5, 3, 4, 0.98)),
    rgba(10, 6, 7, 0.94) !important;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 0 0 1px rgba(122, 22, 15, 0.05) !important;
}

body .gallery-showcase__shell::before {
  background:
    linear-gradient(145deg, rgba(255, 109, 80, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 186, 148, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(146, 24, 18, 0.08), transparent 24%) !important;
}

body .gallery-carousel__stage {
  border: 1px solid rgba(255, 122, 92, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(15, 8, 9, 0.96), rgba(3, 2, 3, 0.98)),
    rgba(12, 7, 8, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.02),
    0 20px 40px rgba(0, 0, 0, 0.22) !important;
}

body .gallery-carousel__slide::after {
  background:
    linear-gradient(180deg, rgba(10, 4, 5, 0.16), rgba(10, 4, 5, 0.05) 24%, rgba(10, 4, 5, 0.44) 100%),
    linear-gradient(90deg, rgba(18, 7, 8, 0.28), transparent 20%, transparent 80%, rgba(18, 7, 8, 0.28)) !important;
}

body .gallery-carousel__meta {
  border: 1px solid rgba(255, 124, 93, 0.24) !important;
  color: #f5dfd6 !important;
  background:
    linear-gradient(180deg, rgba(28, 11, 12, 0.84), rgba(8, 6, 7, 0.94)),
    rgba(255, 255, 255, 0.03) !important;
}

body .gallery-carousel__meta::before {
  background: #ff9a76 !important;
  box-shadow: 0 0 10px rgba(255, 122, 92, 0.28) !important;
}

body .gallery-carousel__dot {
  border: 1px solid rgba(255, 124, 93, 0.28) !important;
  background: rgba(42, 12, 11, 0.88) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 230, 0.02) !important;
}

body .gallery-carousel__dot:hover {
  border-color: rgba(255, 151, 122, 0.46) !important;
}

body .gallery-carousel__dot.is-active {
  border-color: rgba(255, 188, 168, 0.7) !important;
  background: rgba(199, 73, 47, 0.94) !important;
  box-shadow:
    0 0 14px rgba(255, 122, 92, 0.18),
    inset 0 0 0 1px rgba(255, 236, 230, 0.12) !important;
}

body .hero-image-button {
  filter:
    drop-shadow(0 0 16px rgba(255, 92, 56, 0.24))
    drop-shadow(0 0 24px rgba(115, 20, 14, 0.16)) !important;
}

/* Assassins palette lock */
body .main-nav a[aria-current="page"] {
  border-color: rgba(255, 144, 112, 0.42) !important;
  color: #fff4ed !important;
  background:
    linear-gradient(180deg, rgba(118, 32, 24, 0.6), rgba(20, 10, 11, 0.34)),
    rgba(255, 255, 255, 0.03) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 234, 228, 0.05),
    0 12px 26px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(235, 73, 42, 0.12) !important;
}

body .main-nav a[aria-current="page"]::after {
  background: linear-gradient(90deg, transparent, rgba(255, 196, 173, 0.94), transparent) !important;
}

body .online-orb__meta,
body .shop-stat span,
body .shop-admin-form__image-status {
  color: #efb7a3 !important;
}

body .shop-overview__copy strong,
body .shop-catalog__hint strong {
  color: #fff3ec !important;
}

body .shop-item-card__copy,
body .shop-admin-catalog-card__meta,
body .shop-admin-catalog-card__details {
  color: #e9c9be !important;
}

body .shop-price,
body .shop-item-card__index,
body .shop-item-card__note,
body .shop-admin-catalog-card__index {
  border-color: rgba(255, 136, 104, 0.28) !important;
  color: #ffe2d6 !important;
  background:
    linear-gradient(180deg, rgba(114, 34, 25, 0.44), rgba(16, 9, 10, 0.92)),
    rgba(255, 98, 68, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 228, 0.03),
    0 0 18px rgba(235, 73, 42, 0.12) !important;
}

body .shop-card__status,
body .shop-catalog__empty,
body .shop-page-feedback,
body .shop-feedback {
  border-color: rgba(255, 124, 93, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(32, 12, 13, 0.88), rgba(9, 6, 7, 0.95)),
    rgba(255, 255, 255, 0.02) !important;
  color: #f0d5cc !important;
}

body .shop-page-feedback[data-state="success"],
body .shop-feedback[data-state="success"] {
  border-color: rgba(255, 181, 126, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(74, 28, 18, 0.9), rgba(10, 7, 8, 0.95)),
    rgba(255, 166, 116, 0.05) !important;
  color: #fff1e6 !important;
}

body .shop-page-feedback[data-state="error"],
body .shop-feedback[data-state="error"] {
  border-color: rgba(255, 116, 86, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(98, 23, 19, 0.92), rgba(12, 6, 7, 0.96)),
    rgba(255, 94, 61, 0.08) !important;
  color: #ffe0d4 !important;
}

body .shop-benefit::before {
  background: #ff9d78 !important;
  box-shadow: 0 0 12px rgba(255, 122, 92, 0.24) !important;
}

body .shop-field select,
body .shop-input,
body .shop-textarea,
body .shop-file,
body .shop-admin-select {
  border-color: rgba(255, 124, 93, 0.22) !important;
  color: #f6e2da !important;
  background:
    linear-gradient(180deg, rgba(20, 10, 11, 0.97), rgba(7, 5, 6, 0.99)),
    rgba(12, 8, 9, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 0 0 1px rgba(124, 24, 17, 0.05) !important;
}

body .shop-field select:focus,
body .shop-input:focus,
body .shop-textarea:focus,
body .shop-file:focus,
body .shop-admin-select:focus {
  border-color: rgba(255, 148, 118, 0.72) !important;
  box-shadow:
    0 0 0 3px rgba(171, 38, 22, 0.16),
    0 0 24px rgba(235, 73, 42, 0.1) !important;
}

body .shop-field select option,
body .shop-admin-select option {
  background: #170809;
  color: #f5e1d8;
}

body .shop-file::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(255, 132, 100, 0.28);
  border-radius: 10px;
  color: #fff2ec;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(122, 33, 24, 0.94), rgba(42, 14, 12, 0.98)),
    rgba(255, 94, 61, 0.08);
  cursor: pointer;
}

body .shop-file::-webkit-file-upload-button {
  margin-right: 0.9rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(255, 132, 100, 0.28);
  border-radius: 10px;
  color: #fff2ec;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(122, 33, 24, 0.94), rgba(42, 14, 12, 0.98)),
    rgba(255, 94, 61, 0.08);
  cursor: pointer;
}

body .shop-item-card__image,
body .shop-admin-catalog-card__image,
body .shop-admin-preview__media {
  border-color: rgba(255, 126, 95, 0.2) !important;
  background:
    radial-gradient(circle at top, rgba(255, 126, 95, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(18, 9, 10, 0.98), rgba(6, 4, 5, 0.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 230, 0.03),
    0 16px 32px rgba(0, 0, 0, 0.2) !important;
}

body .shop-admin-preview__image {
  filter:
    drop-shadow(0 0 24px rgba(255, 96, 62, 0.2))
    drop-shadow(0 0 42px rgba(112, 22, 15, 0.14)) !important;
}

body .shop-item-card__meta-chip,
body .shop-admin-catalog-card__badge {
  border-color: rgba(255, 124, 93, 0.18) !important;
  background: rgba(110, 24, 18, 0.18) !important;
  color: #ffe2d7 !important;
}

body .section-divider__line,
body .server-info-card__divider {
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 122, 92, 0.28) 16%,
      rgba(255, 188, 150, 0.76) 50%,
      rgba(255, 122, 92, 0.28) 84%,
      transparent 100%
    ) !important;
  box-shadow: 0 0 18px rgba(235, 73, 42, 0.14) !important;
}

body .section-divider__mark {
  border: 0 !important;
  background: url("img/separador.webp") center / contain no-repeat !important;
  box-shadow: none !important;
}

body .ranking-row,
body .event-row,
body .charmini,
body .server-info-card {
  border-color: rgba(255, 124, 93, 0.18) !important;
}

body .ranking-row:hover,
body .event-row:hover,
body .charmini:hover,
body .server-info-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 233, 0.03),
    0 18px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(235, 73, 42, 0.08) !important;
}

body .ranking-row__portrait,
body .charmini__face {
  border-color: rgba(255, 128, 98, 0.24) !important;
}

body .shop-admin-builder,
body .shop-admin-pack,
body .shop-admin-pack-row {
  display: grid;
  gap: 0.85rem;
}

body .shop-admin-builder__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body .shop-admin-builder__mode {
  margin: 0;
}

body .shop-admin-pack {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 124, 93, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 9, 10, 0.94), rgba(7, 4, 5, 0.98)),
    rgba(255, 255, 255, 0.02);
}

body .shop-admin-pack__list {
  display: grid;
  gap: 0.8rem;
}

body .shop-admin-pack-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 124, 93, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(28, 11, 12, 0.78), rgba(11, 7, 8, 0.94)),
    rgba(255, 255, 255, 0.025);
}

body .shop-admin-pack-row__meta {
  display: grid;
  gap: 0.28rem;
}

body .shop-admin-pack-row__title {
  margin: 0;
  color: #fff2ea;
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body .shop-admin-pack-row__copy {
  margin: 0;
  color: #e7c8be;
  line-height: 1.55;
}

body .shop-admin-pack-row__controls {
  display: grid;
  grid-template-columns: minmax(5.25rem, 6rem) auto;
  gap: 0.7rem;
  align-items: center;
}

body .shop-admin-pack-row__qty {
  min-width: 0;
}

@media (max-width: 900px) {
  body .shop-admin-builder__actions,
  body .shop-admin-pack-row,
  body .shop-admin-pack-row__controls {
    grid-template-columns: 1fr;
  }
}

.main-nav .main-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(6rem, 9vw, 8rem);
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.main-nav .main-nav__link::after {
  display: none;
}

.main-nav .main-nav__icon {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 14px rgba(235, 73, 42, 0.12));
  transform-origin: center;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.main-nav .main-nav__link:hover,
.main-nav .main-nav__link:focus-visible,
.main-nav .main-nav__link[aria-current="page"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.main-nav .main-nav__link:hover {
  transform: translateY(-2px);
}

.main-nav .main-nav__link:hover .main-nav__icon,
.main-nav .main-nav__link:focus-visible .main-nav__icon {
  transform: translateY(-1px) scale(1.02);
  filter:
    brightness(1.05)
    saturate(1.04)
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 18px rgba(255, 114, 84, 0.18));
}

.main-nav .main-nav__link[aria-current="page"] .main-nav__icon {
  transform: translateY(-1px);
  filter:
    brightness(1.08)
    saturate(1.06)
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 20px rgba(255, 124, 93, 0.24));
}

@media (max-width: 960px) {
  .main-nav .main-nav__link {
    width: min(100%, 13rem);
    margin-inline: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .main-nav .main-nav__link {
    width: min(100%, 11.5rem);
  }
}

body.shop-page {
  background:
    radial-gradient(circle at top, rgba(255, 129, 96, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 4, 5, 0.84), rgba(8, 3, 4, 0.94)),
    #090405;
}

body.shop-page::before {
  background:
    linear-gradient(180deg, rgba(8, 3, 4, 0.72), rgba(0, 0, 0, 0.1) 18%, rgba(9, 3, 4, 0.82) 100%),
    radial-gradient(circle at center, transparent 0 24%, rgba(22, 8, 8, 0.26) 65%, rgba(6, 2, 3, 0.76) 100%),
    url("img/shop-background.webp") center top / cover no-repeat;
}

.site-footer {
  position: relative;
  width: 100vw;
  margin: auto calc(50% - 50vw) 0;
  padding: clamp(2.4rem, 5vw, 3.25rem) 0 1.15rem;
  border-top: 0;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/humo.webp") center bottom / 100% 100% no-repeat;
  opacity: 0.62;
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-footer::after {
  display: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 84rem);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.site-footer__brand,
.site-footer__stat {
  border: 1px solid rgba(255, 114, 84, 0.14);
  background:
    linear-gradient(180deg, rgba(28, 10, 10, 0.86), rgba(10, 5, 6, 0.96)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 222, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.site-footer__brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
}

.site-footer__logo {
  width: clamp(4rem, 7vw, 5rem);
  height: clamp(4rem, 7vw, 5rem);
  object-fit: contain;
  filter:
    drop-shadow(0 0 20px rgba(255, 104, 72, 0.16))
    drop-shadow(0 0 36px rgba(122, 18, 12, 0.16));
}

.site-footer__brand-copy {
  display: grid;
  gap: 0.45rem;
}

.site-footer__eyebrow {
  margin: 0;
  color: #efb19e;
  font-family: var(--display-font);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer__brand-copy h2 {
  margin: 0;
  color: #fff2ea;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__brand-copy p:last-child {
  margin: 0;
  color: #e2c3b8;
  line-height: 1.7;
}

.site-footer__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.site-footer__stat {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  align-content: start;
}

.site-footer__stat span {
  color: #efb19e;
  font-family: var(--display-font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__stat strong {
  color: #fff0e8;
  font-family: var(--title-font);
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 0;
  flex-wrap: wrap;
}

.site-footer__nav,
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  flex-wrap: wrap;
}

.site-footer__nav a {
  color: #f4d5ca;
  font-family: var(--display-font);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-footer__nav a:hover {
  color: #fff4ee;
  text-shadow: 0 0 16px rgba(255, 122, 92, 0.22);
}

.site-footer__legal {
  color: #d3ada0;
  font-size: 0.9rem;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-footer__stats {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom,
  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 2.1rem;
  }

  .site-footer__brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__nav {
    gap: 0.7rem 0.9rem;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Final red cleanup */
*::-webkit-scrollbar-thumb {
  border: 2px solid rgba(22, 8, 9, 0.92);
  background: linear-gradient(180deg, rgba(255, 132, 96, 0.96), rgba(162, 28, 18, 0.96));
}

body .topbar {
  border-bottom-color: rgba(255, 112, 84, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 7, 8, 0.98), rgba(8, 3, 4, 0.9)),
    rgba(7, 3, 4, 0.96);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 166, 142, 0.06),
    0 0 34px rgba(122, 18, 12, 0.08);
}

body .topbar-panel__inner {
  border-color: rgba(255, 118, 88, 0.28);
  background:
    linear-gradient(180deg, rgba(26, 10, 11, 0.97), rgba(7, 4, 5, 0.98)),
    rgba(10, 6, 7, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 230, 0.03),
    0 22px 48px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(132, 22, 16, 0.1);
}

body .brand-icon {
  filter:
    drop-shadow(0 0 14px rgba(255, 96, 60, 0.28))
    drop-shadow(0 0 28px rgba(122, 18, 12, 0.2));
}

body .brand-mark {
  color: #fff4ed;
  text-shadow:
    0 0 16px rgba(255, 118, 82, 0.4),
    0 0 30px rgba(138, 26, 18, 0.24);
}

body .brand-name {
  color: #efb8aa;
}

body .main-nav .main-nav__link {
  position: relative;
  isolation: isolate;
}

body .main-nav .main-nav__link::after {
  content: "";
  display: block;
  position: absolute;
  inset: 10% 2.6%;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.74;
  background:
    linear-gradient(180deg, rgba(255, 154, 118, 0.14), rgba(255, 96, 62, 0.05)),
    radial-gradient(circle at 50% 50%, rgba(255, 110, 78, 0.16), transparent 74%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 216, 0.12),
    0 0 16px rgba(255, 104, 68, 0.2),
    0 0 34px rgba(146, 24, 16, 0.12);
  transition: opacity 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body .main-nav .main-nav__icon {
  filter:
    brightness(1.08)
    saturate(1.1)
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 10px rgba(255, 150, 118, 0.16))
    drop-shadow(0 0 18px rgba(235, 73, 42, 0.18));
}

body .main-nav .main-nav__link:hover::after,
body .main-nav .main-nav__link:focus-visible::after,
body .main-nav .main-nav__link[aria-current="page"]::after {
  opacity: 0.96;
  transform: scale(1.015);
  box-shadow:
    inset 0 0 0 1px rgba(255, 233, 226, 0.18),
    0 0 20px rgba(255, 118, 82, 0.28),
    0 0 42px rgba(168, 24, 14, 0.18);
}

body .main-nav .main-nav__link:hover .main-nav__icon,
body .main-nav .main-nav__link:focus-visible .main-nav__icon {
  filter:
    brightness(1.14)
    saturate(1.14)
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 14px rgba(255, 164, 126, 0.22))
    drop-shadow(0 0 24px rgba(255, 102, 70, 0.28));
}

body .main-nav .main-nav__link[aria-current="page"] .main-nav__icon {
  filter:
    brightness(1.16)
    saturate(1.16)
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 16px rgba(255, 176, 138, 0.24))
    drop-shadow(0 0 28px rgba(255, 108, 72, 0.32));
}

body .button.fire-aura,
body .button-small.fire-aura,
body .button-secondary.fire-aura {
  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 228, 0.05),
    0 0 14px rgba(255, 116, 82, 0.2),
    0 0 30px rgba(168, 28, 18, 0.14) !important;
}

body .online-orb.is-live,
body .online-orb.fire-aura,
body .online-orb.is-live.fire-aura {
  border-color: rgba(255, 136, 104, 0.94) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 237, 230, 0.08),
    inset 0 0 58px rgba(255, 92, 58, 0.12),
    0 0 0 1px rgba(178, 34, 24, 0.2),
    0 0 34px rgba(235, 73, 42, 0.16),
    0 0 88px rgba(96, 18, 12, 0.3) !important;
}

body .online-orb.is-error {
  border-color: rgba(190, 122, 104, 0.44) !important;
  filter: saturate(0.84);
}

body .online-orb__count {
  text-shadow:
    0 0 18px rgba(255, 162, 130, 0.2),
    0 0 34px rgba(194, 36, 22, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.54);
}

body .event-row.is-live {
  border-color: rgba(255, 120, 88, 0.58);
  background:
    linear-gradient(180deg, rgba(98, 23, 18, 0.9), rgba(15, 8, 9, 0.96)),
    rgba(255, 92, 58, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 230, 0.03),
    0 0 22px rgba(235, 73, 42, 0.14);
}

body .event-row__time.is-live {
  color: #ffab90;
  text-shadow: 0 0 14px rgba(255, 106, 72, 0.28);
}

body .event-row__progress-bar.is-live {
  background: linear-gradient(90deg, rgba(255, 88, 54, 0.98), rgba(255, 166, 102, 1));
  box-shadow:
    0 0 18px rgba(255, 94, 58, 0.34),
    0 0 30px rgba(160, 22, 14, 0.2);
}

/* Final red cleanup pass 2 */
::selection {
  color: #fff7f3;
  background: rgba(255, 108, 74, 0.3);
}

* {
  scrollbar-color: rgba(255, 126, 95, 0.78) rgba(22, 8, 9, 0.72);
}

*::-webkit-scrollbar-track {
  background: rgba(18, 8, 9, 0.74);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 156, 122, 0.98), rgba(184, 30, 19, 0.98));
}

body .login-modal__panel.equipment-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 92, 0.22);
}

body .login-modal__panel.equipment-modal__panel::-webkit-scrollbar-track {
  background: rgba(18, 8, 9, 0.38);
}

body .account-vip {
  border-color: rgba(255, 124, 93, 0.2);
  background:
    linear-gradient(180deg, rgba(28, 11, 12, 0.88), rgba(8, 5, 6, 0.96)),
    rgba(16, 8, 9, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 230, 0.03),
    0 18px 34px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(128, 20, 14, 0.08);
}

body .account-vip[data-state="active"] {
  border-color: rgba(255, 142, 108, 0.5) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 232, 0.05),
    0 0 24px rgba(255, 92, 58, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.26) !important;
}

body .account-vip[data-state="inactive"] {
  border-color: rgba(255, 122, 92, 0.22) !important;
}

body .account-vip__status strong {
  color: #fff4ee;
  text-shadow:
    0 0 14px rgba(255, 126, 92, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.46);
}

body .account-vip__status span:last-child,
body .account-vip__wallet {
  color: #ebcbbf;
}

body .login-form__feedback,
body .account-panel__feedback,
body .server-info__feedback,
body .events-panel__feedback,
body .vip-modal__feedback,
body .fullchar-modal__feedback {
  border-color: rgba(255, 122, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(24, 11, 12, 0.84), rgba(8, 6, 7, 0.94)),
    rgba(255, 255, 255, 0.03);
  color: #f3ddd4;
}

body .login-form__feedback[data-state="info"],
body .server-info__feedback[data-state="info"] {
  border-color: rgba(255, 132, 100, 0.24);
  color: #f0cabd;
}

body .login-form__feedback[data-state="success"],
body .account-panel__feedback[data-state="success"],
body .vip-modal__feedback[data-state="success"],
body .fullchar-modal__feedback[data-state="success"],
body .server-info__feedback[data-state="success"] {
  border-color: rgba(255, 144, 108, 0.28);
  color: #ffd8ca;
}

body .login-form__feedback[data-state="error"],
body .account-panel__feedback[data-state="error"],
body .vip-modal__feedback[data-state="error"],
body .fullchar-modal__feedback[data-state="error"],
body .server-info__feedback[data-state="error"] {
  border-color: rgba(255, 108, 80, 0.34);
  color: #ffbca9;
}

body .server-info-card__image[src$="free.png"] {
  filter:
    sepia(0.72)
    saturate(1.95)
    hue-rotate(-178deg)
    brightness(0.92)
    contrast(1.08)
    drop-shadow(0 0 20px rgba(255, 92, 58, 0.22))
    drop-shadow(0 0 40px rgba(118, 22, 14, 0.18));
  animation: server-card-breathe-free 3.9s ease-in-out infinite !important;
}

@keyframes account-breathe {
  0%,
  100% {
    color: #ffd7cb;
    transform: scale(1);
    filter: saturate(1.04) brightness(1);
    text-shadow:
      0 0 10px rgba(255, 124, 90, 0.3),
      0 0 22px rgba(182, 38, 23, 0.22),
      0 0 34px rgba(102, 20, 13, 0.16);
  }

  50% {
    color: #fff6ef;
    transform: scale(1.08);
    filter: saturate(1.22) brightness(1.12);
    text-shadow:
      0 0 12px rgba(255, 154, 118, 0.52),
      0 0 26px rgba(255, 108, 74, 0.38),
      0 0 46px rgba(178, 30, 18, 0.28),
      0 0 66px rgba(108, 18, 11, 0.2);
  }
}

@keyframes server-card-breathe {
  0%,
  100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 18px rgba(235, 73, 42, 0.22))
      brightness(1)
      saturate(1);
  }

  50% {
    transform: scale(1.065);
    filter:
      drop-shadow(0 0 28px rgba(255, 104, 72, 0.26))
      drop-shadow(0 0 46px rgba(124, 22, 15, 0.18))
      brightness(1.08)
      saturate(1.08);
  }
}

@keyframes server-card-breathe-free {
  0%,
  100% {
    transform: scale(1);
    filter:
      sepia(0.72)
      saturate(1.95)
      hue-rotate(-178deg)
      brightness(0.92)
      contrast(1.08)
      drop-shadow(0 0 18px rgba(235, 73, 42, 0.18));
  }

  50% {
    transform: scale(1.065);
    filter:
      sepia(0.76)
      saturate(2.1)
      hue-rotate(-178deg)
      brightness(0.98)
      contrast(1.1)
      drop-shadow(0 0 24px rgba(255, 108, 72, 0.24))
      drop-shadow(0 0 42px rgba(124, 22, 15, 0.18));
  }
}




/* [SCROLL_ENHANCEMENTS] Progress bar, reveals, parallax y mejoras de navegacion */
body {
  --enhanced-safe-bottom: max(env(safe-area-inset-bottom), 1rem);
}

.topbar {
  transition:
    padding 180ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.topbar.is-condensed {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  border-bottom-color: rgba(255, 144, 114, 0.16);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 104, 72, 0.05);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background:
    linear-gradient(90deg, rgba(255, 104, 72, 0.9), rgba(255, 130, 72, 0.94) 48%, rgba(255, 223, 176, 0.92));
  box-shadow:
    0 0 18px rgba(255, 104, 72, 0.26),
    0 0 24px rgba(255, 130, 72, 0.22);
}

.scroll-top-button {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: calc(1rem + var(--enhanced-safe-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 144, 114, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(15, 5, 6, 0.94), rgba(15, 5, 6, 0.98)),
    rgba(15, 5, 6, 0.94);
  color: #fff0e8;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 104, 72, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0.9rem, 0);
  transition:
    opacity 200ms ease,
    visibility 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.scroll-top-button:hover {
  border-color: rgba(255, 130, 72, 0.42);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 130, 72, 0.1);
}

.scroll-top-button span:first-child {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  line-height: 1;
}

.hero {
  overflow: clip;
}

.hero,
.hero-copyblock,
.hero-presence,
.hero-overlay,
.shop-overview {
  will-change: transform, opacity;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 6% 5% auto;
  width: min(34vw, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 104, 72, 0.18), transparent 34%),
    radial-gradient(circle at center, rgba(255, 127, 72, 0.14), transparent 58%);
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.9;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 2vw, 1.6rem);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-grid;
  justify-items: center;
  gap: 0.55rem;
  color: rgba(255, 236, 228, 0.88);
  font-family: var(--display-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 104, 72, 0.28);
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.15rem);
}

.hero-scroll-cue__mouse {
  position: relative;
  width: 1.4rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 236, 228, 0.6);
  border-radius: 999px;
  background: rgba(15, 5, 6, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 14px rgba(255, 104, 72, 0.18);
}

.hero-scroll-cue__mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.42rem;
  width: 0.24rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%);
  animation: hero-scroll-wheel 1.4s ease-in-out infinite;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 2rem, 0) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.main-nav a.is-current,
.site-footer__nav a.is-current {
  color: #ffffff;
  text-shadow:
    0 0 14px rgba(255, 104, 72, 0.55),
    0 0 20px rgba(255, 130, 72, 0.22);
}

.main-nav a.is-current::after,
.site-footer__nav a.is-current::after {
  transform: scaleX(1);
}

.shop-hero {
  position: relative;
  overflow: clip;
}

.shop-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(32vw, 20rem);
  height: min(32vw, 20rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 104, 72, 0.14), transparent 38%),
    radial-gradient(circle at center, rgba(255, 127, 72, 0.14), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
}

.shop-card,
.shop-overview,
.shop-catalog__panel {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.shop-card:hover,
.shop-overview:hover,
.shop-catalog__panel:hover {
  transform: translate3d(0, -0.2rem, 0);
  border-color: rgba(255, 130, 72, 0.34);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 130, 72, 0.08);
}

@keyframes hero-scroll-wheel {
  0% {
    opacity: 0.3;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, 0.36rem);
  }
  100% {
    opacity: 0.15;
    transform: translate(-50%, 0.78rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-progress__bar,
  .scroll-reveal,
  .hero-scroll-cue__mouse::after,
  .topbar,
  .shop-card,
  .shop-overview,
  .shop-catalog__panel {
    animation: none !important;
    transition: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copyblock,
  .hero-presence,
  .hero-overlay,
  .shop-overview {
    transform: none !important;
  }
}

@media (max-width: 780px) {
  .scroll-top-button {
    right: 0.85rem;
    bottom: calc(0.85rem + var(--enhanced-safe-bottom));
    padding-inline: 0.9rem;
  }

  .scroll-top-button span:last-child {
    display: none;
  }

  .hero-scroll-cue {
    bottom: 0.75rem;
    gap: 0.4rem;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .hero::after,
  .shop-hero::after {
    opacity: 0.7;
    filter: blur(26px);
  }
}

.site-footer__nav a.is-current {
  color: #fff4ee;
  text-shadow: 0 0 16px rgba(255, 122, 92, 0.22);
}


/* [MOBILE_HOTFIX] Navegacion y layout estable en pantallas chicas */
.main-nav__text {
  display: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .page-shell,
  .page-shell > main,
  .hero-content,
  .ranking-panel,
  .account-panel,
  .events-panel,
  .server-info__shell,
  .gallery-showcase__shell,
  .shop-main,
  .shop-overview,
  .shop-card,
  .shop-catalog__panel,
  .shop-item-card,
  .site-footer__inner {
    min-width: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    min-width: 7rem;
    justify-content: center;
  }

  .topbar-panel {
    position: fixed !important;
    top: calc(4.7rem + env(safe-area-inset-top, 0px));
    left: 0.75rem !important;
    right: 0.75rem !important;
    z-index: 90 !important;
    max-height: calc(100dvh - 5.5rem - env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .topbar-panel::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
  }

  .topbar-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .topbar-panel.is-open::before {
    opacity: 1;
  }

  .topbar-panel__inner {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.95rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 114, 84, 0.22);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(20, 7, 8, 0.98), rgba(7, 4, 5, 0.99)),
      rgba(10, 6, 7, 0.98);
    box-shadow:
      inset 0 0 0 1px rgba(255, 236, 230, 0.03),
      0 22px 48px rgba(0, 0, 0, 0.48),
      0 0 30px rgba(132, 22, 16, 0.1);
  }

  .main-nav,
  .top-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.7rem;
    align-items: stretch;
    justify-items: stretch;
  }

  .main-nav .main-nav__link {
    width: 100% !important;
    min-height: 3.4rem;
    margin: 0 !important;
    padding: 0.9rem 1rem !important;
    border: 1px solid rgba(255, 122, 92, 0.18) !important;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(58, 14, 13, 0.88), rgba(15, 9, 10, 0.96)),
      rgba(255, 255, 255, 0.02) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 235, 228, 0.04),
      0 12px 30px rgba(0, 0, 0, 0.24);
    justify-content: center;
    overflow: hidden;
  }

  .main-nav .main-nav__link::after {
    display: none !important;
  }

  .main-nav .main-nav__icon {
    display: none !important;
  }

  .main-nav .main-nav__text {
    display: inline-block;
    color: #fff2ea;
    font-family: var(--title-font);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    text-shadow:
      0 0 12px rgba(255, 118, 82, 0.24),
      0 10px 20px rgba(0, 0, 0, 0.32);
  }

  .top-actions .action-link,
  .top-actions .action-link-button,
  .top-actions .button,
  .top-actions .button-small {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .action-link.is-authenticated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 122, 92, 0.16);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(54, 12, 11, 0.84), rgba(14, 10, 11, 0.94)),
      rgba(255, 255, 255, 0.02);
    animation: none;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-inline: 0.9rem;
  }

  .hero-content,
  .welcome,
  .server-info,
  .events-section,
  .gallery-showcase,
  .community-showcase,
  .shop-main {
    width: min(100%, calc(100% - 0rem));
  }

  .hero-layout,
  .hero-actions,
  .shop-overview,
  .shop-grid,
  .shop-overview__stats,
  .shop-catalog__toolbar,
  .shop-catalog__filters,
  .shop-items,
  .shop-item-card,
  .shop-item-card__content,
  .shop-hero__actions {
    grid-template-columns: 1fr !important;
  }

  .hero-actions {
    display: grid !important;
    gap: 0.75rem;
    width: 100%;
    justify-items: center;
  }

  .hero-copyblock,
  .section-head {
    width: 100%;
    max-width: 100%;
  }

  .hero-copyblock::before,
  .section-head::before {
    border-radius: 28px;
    transform: scale(1.015);
  }

  .hero-image-button {
    width: min(100%, 16rem);
    max-width: 100%;
    margin-inline: auto;
  }

  .shop-main {
    padding-inline: 0.9rem;
  }

  .shop-overview,
  .shop-card,
  .shop-catalog__panel,
  .ranking-panel,
  .account-panel,
  .events-panel,
  .gallery-showcase__shell,
  .server-info__shell {
    padding: 1rem !important;
  }

  .shop-item-card__button,
  .shop-admin-link,
  .shop-catalog__head .shop-back-link {
    width: 100%;
  }

  .site-footer {
    width: 100%;
    margin: auto 0 0;
    padding-inline: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0.8rem 0.85rem;
  }

  .topbar-panel {
    top: calc(4.45rem + env(safe-area-inset-top, 0px));
    left: 0.6rem !important;
    right: 0.6rem !important;
    max-height: calc(100dvh - 5rem - env(safe-area-inset-bottom, 0px));
  }

  .topbar-panel__inner {
    padding: 0.85rem;
    gap: 0.65rem;
    border-radius: 18px;
  }

  .main-nav .main-nav__link,
  .action-link.is-authenticated {
    min-height: 3.1rem;
    border-radius: 14px;
  }

  .main-nav .main-nav__text {
    font-size: 0.84rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    min-width: auto;
    padding: 0.75rem 0.9rem;
  }

  .hero {
    padding-inline: 0.75rem;
  }

  .hero-content {
    padding-inline: 0;
  }

  .hero-copyblock {
    padding: 1rem 1rem 1.15rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .shop-main,
  .welcome,
  .server-info,
  .events-section,
  .gallery-showcase,
  .community-showcase {
    width: min(100% - 1rem, 100%);
  }

  .shop-overview__stats,
  .account-panel__stats,
  .ranking-row__stats,
  .site-footer__stats {
    grid-template-columns: 1fr;
  }

  .shop-item-card {
    padding: 0.9rem;
  }

  .shop-item-card__image {
    max-width: 12rem;
    margin-inline: auto;
  }

  .site-footer__inner {
    width: min(100% - 1rem, 100%);
  }

  .scroll-top-button {
    right: 0.75rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: block;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .menu-toggle__label {
    display: none;
  }

  .topbar-panel {
    top: calc(4.2rem + env(safe-area-inset-top, 0px));
    left: 0.5rem !important;
    right: 0.5rem !important;
  }

  .hero-copyblock {
    padding: 0.95rem 0.9rem 1rem;
  }

  .hero-image-button {
    width: min(100%, 14rem);
  }
}


/* [PERF_AUDIT] Modo de rendimiento y render mas liviano */
:root {
  --deferred-size: 840px;
}

img {
  max-width: 100%;
  height: auto;
}

.welcome,
.server-info,
.events-section,
.gallery-showcase,
.community-showcase,
.shop-section,
.shop-catalog,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: var(--deferred-size);
}

html.perf-lite {
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

html.perf-lite .embers-layer {
  opacity: 0.42;
  filter: none !important;
}

html.perf-lite body::after,
html.perf-lite .site-footer::before,
html.perf-lite .shop-hero::after,
html.perf-lite .fire-aura::before,
html.perf-lite .fire-aura::after {
  display: none !important;
}

html.perf-lite .topbar,
html.perf-lite .topbar-panel,
html.perf-lite .button,
html.perf-lite .ranking-panel,
html.perf-lite .server-info__card,
html.perf-lite .events-panel,
html.perf-lite .gallery-showcase__shell,
html.perf-lite .shop-card,
html.perf-lite .shop-overview,
html.perf-lite .shop-catalog__panel,
html.perf-lite .shop-item-card,
html.perf-lite .shop-admin-catalog-card {
  backdrop-filter: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
}

html.perf-lite .brand-icon,
html.perf-lite .site-footer__logo,
html.perf-lite .main-nav .main-nav__icon,
html.perf-lite .equipment-slot img,
html.perf-lite .hero-image-button {
  filter: none !important;
}

html.perf-lite .fire-aura,
html.perf-lite .action-link.is-authenticated,
html.perf-lite .hero-image-button,
html.perf-lite .online-orb,
html.perf-lite .online-orb::after,
html.perf-lite .online-orb__embers,
html.perf-lite .scroll-reveal,
html.perf-lite .hero-scroll-cue__mouse::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}

html.perf-lite .shop-card:hover,
html.perf-lite .shop-overview:hover,
html.perf-lite .shop-catalog__panel:hover,
html.perf-lite .button:hover,
html.perf-lite .main-nav .main-nav__link:hover {
  transform: none !important;
}

@media (max-width: 960px) {
  .topbar {
    backdrop-filter: none;
  }

  .embers-layer {
    opacity: 0.35;
    filter: none;
  }

  .brand-icon,
  .site-footer__logo,
  .main-nav .main-nav__icon,
  .equipment-slot img {
    filter: none;
  }

  .hero-image-button,
  .online-orb,
  .action-link.is-authenticated,
  .fire-aura {
    animation: none !important;
  }

  .button,
  .ranking-panel,
  .server-info__card,
  .events-panel,
  .gallery-showcase__shell,
  .shop-card,
  .shop-overview,
  .shop-catalog__panel,
  .shop-item-card,
  .shop-admin-catalog-card {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
  }
}

/* [VISUAL_UPGRADE_2026] Capa final de direccion de arte */
:root {
  --mu-void: #070203;
  --mu-void-2: #120607;
  --mu-blood: #7d1711;
  --mu-red: #d8331f;
  --mu-red-hot: #ff5d3a;
  --mu-ember: #ff9d70;
  --mu-gold-soft: #f4c28e;
  --mu-cream: #fff2ea;
  --mu-panel: rgba(18, 6, 7, 0.88);
  --mu-panel-deep: rgba(8, 3, 4, 0.96);
  --mu-line: rgba(255, 111, 76, 0.28);
  --mu-line-strong: rgba(255, 139, 96, 0.58);
  --mu-glow: rgba(255, 80, 46, 0.2);
  --mu-glow-soft: rgba(255, 150, 104, 0.14);
}

body {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 70, 38, 0.18), transparent 24rem),
    radial-gradient(circle at 12% 20%, rgba(123, 18, 12, 0.28), transparent 20rem),
    radial-gradient(circle at 88% 30%, rgba(255, 145, 82, 0.08), transparent 24rem),
    linear-gradient(180deg, #0b0304 0%, #070203 42%, #020101 100%);
}

body::before {
  opacity: 0.72;
  filter: saturate(1.12) contrast(1.08);
}

body::after {
  background:
    linear-gradient(180deg, rgba(8, 2, 3, 0.08), rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 50% 24%, rgba(255, 75, 42, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.44));
  opacity: 0.9;
}

::selection {
  color: #fff9f5;
  background: rgba(255, 74, 38, 0.42);
}

.topbar {
  border-bottom-color: rgba(255, 95, 62, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 4, 5, 0.96), rgba(9, 3, 4, 0.82)),
    rgba(10, 3, 4, 0.86);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 157, 112, 0.06);
}

.topbar.is-condensed {
  border-bottom-color: rgba(255, 108, 74, 0.32);
  background:
    linear-gradient(180deg, rgba(13, 4, 5, 0.98), rgba(9, 3, 4, 0.92)),
    rgba(10, 3, 4, 0.94);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 76, 42, 0.08);
}

.brand {
  filter: drop-shadow(0 0 18px rgba(255, 86, 48, 0.12));
}

.brand-icon,
.site-footer__logo {
  filter:
    drop-shadow(0 0 10px rgba(255, 104, 72, 0.26))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.34));
}

.brand-mark,
.brand-name {
  text-shadow:
    0 0 16px rgba(255, 132, 94, 0.2),
    0 8px 22px rgba(0, 0, 0, 0.7);
}

.main-nav .main-nav__link {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.main-nav .main-nav__icon {
  filter:
    brightness(1.06)
    contrast(1.08)
    saturate(1.12)
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(255, 92, 56, 0.18));
}

.main-nav .main-nav__link:hover .main-nav__icon,
.main-nav .main-nav__link:focus-visible .main-nav__icon,
.main-nav .main-nav__link[aria-current="page"] .main-nav__icon {
  filter:
    brightness(1.14)
    contrast(1.1)
    saturate(1.18)
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 24px rgba(255, 94, 58, 0.32));
}

.action-link-button,
.button,
.hero-image-button,
.shop-item-card__button {
  transform-style: preserve-3d;
}

.button,
.button-primary,
.button-secondary,
.button-hero-solid {
  border-color: rgba(255, 116, 82, 0.4);
  background:
    linear-gradient(180deg, rgba(190, 49, 31, 0.92), rgba(86, 18, 13, 0.98)),
    rgba(120, 24, 16, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 216, 0.14),
    inset 0 -14px 28px rgba(84, 12, 8, 0.32),
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(255, 75, 42, 0.12);
}

.button-secondary {
  background:
    linear-gradient(180deg, rgba(42, 12, 12, 0.94), rgba(15, 6, 7, 0.98)),
    rgba(18, 7, 8, 0.92);
}

.button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-hero-solid:hover,
.shop-item-card__button:hover {
  border-color: rgba(255, 160, 112, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 232, 0.18),
    inset 0 -12px 26px rgba(122, 18, 12, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(255, 84, 46, 0.22);
}

.hero {
  min-height: clamp(43rem, 82vh, 58rem);
  padding-block: clamp(2.4rem, 4vw, 3.4rem) clamp(2.1rem, 4vw, 3.2rem);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.58) 82%),
    radial-gradient(circle at 50% 22%, rgba(255, 81, 46, 0.2), transparent 24rem);
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 74, 38, 0.14), transparent 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.hero-layout {
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copyblock {
  position: relative;
  overflow: hidden;
  width: min(100%, 58rem);
  padding: clamp(1.7rem, 3.3vw, 2.75rem);
  border-color: rgba(255, 112, 80, 0.52);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(122, 26, 18, 0.34), transparent 42%),
    radial-gradient(circle at 78% 24%, rgba(255, 150, 96, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(28, 8, 8, 0.82), rgba(8, 3, 4, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 206, 0.08),
    inset 0 0 70px rgba(255, 68, 34, 0.08),
    0 26px 80px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 112, 80, 0.12),
    0 0 48px rgba(255, 74, 38, 0.18);
}

.hero-copyblock::before,
.section-head::before {
  opacity: 0.92;
  background:
    linear-gradient(90deg, transparent, rgba(255, 188, 150, 0.96), rgba(255, 68, 34, 0.78), rgba(255, 188, 150, 0.96), transparent);
  box-shadow: 0 0 24px rgba(255, 92, 58, 0.24);
}

.hero-copyblock::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 236, 228, 0.045) 42%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
  opacity: 0.95;
}

.hero-logo,
.shop-title {
  text-shadow:
    0 2px 0 rgba(88, 18, 12, 0.72),
    0 0 18px rgba(255, 150, 112, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.74);
}

.hero-logo-mu {
  line-height: 0.84;
}

.hero-copy {
  max-width: 43rem;
  color: #fff3ed;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.68);
}

.hero-actions {
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.hero-image-button {
  filter:
    contrast(1.08)
    saturate(1.14)
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 22px rgba(255, 70, 36, 0.22));
}

.hero-image-button:hover,
.hero-image-button:focus-visible {
  transform: translateY(-0.16rem) scale(1.025);
  filter:
    brightness(1.08)
    contrast(1.12)
    saturate(1.18)
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 30px rgba(255, 86, 48, 0.34));
}

.online-orb {
  border-color: rgba(255, 132, 98, 0.92);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 214, 190, 0.2), rgba(255, 86, 48, 0.13) 22%, rgba(102, 18, 12, 0.86) 58%, rgba(13, 4, 5, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 237, 228, 0.08),
    inset 0 0 76px rgba(255, 72, 36, 0.12),
    0 0 0 1px rgba(255, 120, 86, 0.2),
    0 0 44px rgba(255, 70, 34, 0.22),
    0 30px 70px rgba(0, 0, 0, 0.42);
}

.online-orb__count {
  text-shadow:
    0 0 14px rgba(255, 195, 164, 0.42),
    0 0 34px rgba(255, 72, 36, 0.24),
    0 14px 34px rgba(0, 0, 0, 0.72);
}

.hero-scroll-cue {
  color: rgba(255, 238, 232, 0.9);
  text-shadow:
    0 0 12px rgba(255, 102, 70, 0.26),
    0 8px 18px rgba(0, 0, 0, 0.64);
}

.hero-scroll-cue__mouse {
  border-color: rgba(255, 180, 148, 0.72);
  background: rgba(13, 4, 5, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 228, 0.05),
    0 0 18px rgba(255, 82, 46, 0.2);
}

.section-divider {
  margin-block: clamp(1.4rem, 4vw, 3.4rem);
  opacity: 0.95;
}

.section-divider__line {
  background:
    linear-gradient(90deg, transparent, rgba(255, 90, 54, 0.32), rgba(255, 191, 145, 0.7), rgba(255, 90, 54, 0.32), transparent);
}

.section-divider__mark {
  filter:
    brightness(1.12)
    saturate(1.16)
    drop-shadow(0 0 16px rgba(255, 90, 52, 0.28))
    drop-shadow(0 0 32px rgba(255, 180, 112, 0.16));
}

.welcome,
.account-shell,
.server-info,
.events-section,
.gallery-showcase,
.community-showcase,
.shop-main {
  position: relative;
}

.welcome::before,
.server-info::before,
.events-section::before,
.shop-catalog::before {
  content: "";
  position: absolute;
  inset: -2rem 0 auto;
  height: 18rem;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 70, 36, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 82, 46, 0.04), transparent);
  opacity: 0.8;
}

.section-head {
  border-color: rgba(255, 118, 84, 0.18);
  background:
    linear-gradient(180deg, rgba(20, 6, 7, 0.78), rgba(7, 2, 3, 0.72)),
    rgba(11, 4, 5, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 216, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.section-kicker,
.ranking-panel__eyebrow,
.account-panel__eyebrow,
.server-info-card__eyebrow,
.events-panel__legend span,
.shop-overview__eyebrow,
.shop-card__eyebrow,
.login-modal__eyebrow,
.shop-field span {
  color: #ffc1a8;
  text-shadow: 0 0 14px rgba(255, 92, 56, 0.16);
}

.section-head h2,
.ranking-panel__lead h3,
.account-panel__lead h3,
.server-info-card h3,
.shop-section-title {
  color: var(--mu-cream);
  text-shadow:
    0 0 18px rgba(255, 140, 100, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.68);
}

.ranking-panel,
.account-panel,
.server-info__shell,
.events-panel,
.community-showcase__slot,
.shop-overview,
.shop-catalog__panel,
.login-modal__panel,
.status-card {
  border-color: rgba(255, 116, 82, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 92, 56, 0.08), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(255, 176, 112, 0.06), transparent 18rem),
    linear-gradient(180deg, rgba(22, 7, 8, 0.92), rgba(7, 3, 4, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 222, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 90, 54, 0.05);
}

.ranking-panel:hover,
.account-panel:hover,
.server-info__shell:hover,
.events-panel:hover,
.shop-overview:hover,
.shop-catalog__panel:hover {
  border-color: rgba(255, 145, 104, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 222, 0.05),
    0 30px 82px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(255, 72, 36, 0.1);
}

.ranking-panel__champion,
.account-vip,
.account-stat,
.status-card,
.shop-stat,
.shop-catalog__hint,
.ranking-row__metric {
  background:
    linear-gradient(180deg, rgba(72, 15, 12, 0.38), rgba(10, 4, 5, 0.88)),
    rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 118, 84, 0.18);
}

.ranking-row,
.server-info-card,
.shop-item-card,
.shop-admin-catalog-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 116, 82, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 82, 46, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(20, 7, 8, 0.9), rgba(7, 3, 4, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 222, 0.03),
    0 16px 40px rgba(0, 0, 0, 0.3);
}

.ranking-row::before,
.server-info-card::before,
.shop-item-card::before,
.shop-admin-catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 164, 118, 0.72), rgba(255, 70, 36, 0.58), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.ranking-row:hover,
.server-info-card:hover,
.shop-item-card:hover,
.shop-admin-catalog-card:hover {
  border-color: rgba(255, 146, 106, 0.36);
  transform: translate3d(0, -0.16rem, 0);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 230, 0.04),
    0 22px 56px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(255, 75, 42, 0.1);
}

.ranking-row.is-podium-1 {
  border-color: rgba(255, 190, 132, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 155, 88, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(34, 10, 8, 0.94), rgba(10, 4, 4, 0.98));
}

.ranking-row__place,
.shop-price,
.shop-item-card__index,
.shop-item-card__note,
.account-stat strong,
.shop-stat strong,
.status-card strong {
  color: #ffd7c4;
  text-shadow:
    0 0 14px rgba(255, 92, 56, 0.24),
    0 8px 22px rgba(0, 0, 0, 0.58);
}

.server-info-card__image,
.shop-item-card__image,
.shop-admin-catalog-card__image,
.shop-admin-preview__image {
  filter:
    contrast(1.08)
    saturate(1.12)
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 18px rgba(255, 85, 48, 0.16));
}

.server-info-card:hover .server-info-card__image,
.shop-item-card:hover .shop-item-card__image,
.shop-admin-catalog-card:hover .shop-admin-catalog-card__image {
  transform: translateY(-0.12rem) scale(1.035);
  filter:
    brightness(1.08)
    contrast(1.1)
    saturate(1.16)
    drop-shadow(0 20px 32px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 24px rgba(255, 95, 56, 0.24));
}

.events-panel__legend {
  border-color: rgba(255, 118, 84, 0.18);
  background:
    linear-gradient(180deg, rgba(80, 18, 13, 0.32), rgba(10, 4, 5, 0.78)),
    rgba(255, 255, 255, 0.02);
}

.event-row {
  border-color: rgba(255, 118, 84, 0.13);
}

.event-row.is-live {
  border-color: rgba(255, 130, 90, 0.5);
  background:
    linear-gradient(180deg, rgba(98, 23, 18, 0.76), rgba(12, 5, 6, 0.94)),
    rgba(255, 91, 56, 0.07);
}

.event-row__progress-bar {
  background:
    linear-gradient(90deg, rgba(255, 74, 38, 0.96), rgba(255, 178, 112, 0.7), rgba(255, 74, 38, 0.96));
  box-shadow: 0 0 18px rgba(255, 80, 46, 0.22);
}

.login-modal__backdrop {
  background:
    radial-gradient(circle at center, rgba(110, 18, 12, 0.28), rgba(0, 0, 0, 0.86)),
    rgba(0, 0, 0, 0.78);
}

.login-modal__panel {
  border-color: rgba(255, 128, 92, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 88, 52, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(22, 7, 8, 0.98), rgba(6, 2, 3, 0.99)),
    rgba(10, 4, 5, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 232, 0.07),
    0 32px 92px rgba(0, 0, 0, 0.74),
    0 0 46px rgba(255, 72, 36, 0.16);
}

.login-modal__close {
  border-color: rgba(255, 128, 92, 0.36);
  background:
    linear-gradient(180deg, rgba(122, 28, 20, 0.74), rgba(14, 5, 6, 0.96)),
    rgba(255, 82, 46, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 220, 0.08),
    0 0 18px rgba(255, 82, 46, 0.12);
}

.login-form__field input,
.ranking-tools input,
.ranking-tools select,
.shop-field select,
.shop-input,
.shop-textarea,
.shop-admin-select,
.server-info-card__field input,
.server-info-card__field textarea,
.vip-modal__editor textarea {
  border-color: rgba(255, 124, 90, 0.24);
  background:
    linear-gradient(180deg, rgba(17, 6, 7, 0.98), rgba(8, 3, 4, 0.99)),
    rgba(12, 5, 6, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 228, 0.035),
    0 0 0 1px rgba(255, 72, 36, 0.05);
}

.login-form__field input:focus,
.ranking-tools input:focus,
.ranking-tools select:focus,
.shop-field select:focus,
.shop-input:focus,
.shop-textarea:focus,
.shop-admin-select:focus,
.server-info-card__field input:focus,
.server-info-card__field textarea:focus,
.vip-modal__editor textarea:focus {
  border-color: rgba(255, 168, 128, 0.78);
  box-shadow:
    0 0 0 3px rgba(255, 80, 46, 0.16),
    0 0 26px rgba(255, 70, 36, 0.12);
}

.shop-page .shop-main {
  width: min(100% - 2rem, 86rem);
  padding-block: clamp(2rem, 5vw, 4.2rem);
}

.shop-page .shop-main::before {
  content: "";
  position: absolute;
  inset: 0 50% auto auto;
  width: 100vw;
  height: clamp(34rem, 64vw, 52rem);
  transform: translateX(50%);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 2, 3, 0.08), rgba(8, 2, 3, 0.72) 88%),
    radial-gradient(circle at 68% 28%, rgba(255, 146, 82, 0.12), transparent 20rem),
    url("img/shop-background.webp") center top / cover no-repeat;
  opacity: 0.58;
  filter: saturate(1.1) contrast(1.04);
}

.shop-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(23rem, 45vw, 35rem);
  display: grid;
  align-content: end;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(255, 118, 84, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(12, 4, 5, 0.18), rgba(8, 2, 3, 0.78)),
    radial-gradient(circle at 20% 10%, rgba(255, 94, 58, 0.12), transparent 18rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 228, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.shop-hero .section-head {
  width: min(100%, 38rem);
  margin: 0;
  text-align: left;
}

.shop-title {
  font-size: clamp(3.4rem, 10vw, 7rem);
}

.shop-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.4rem);
  backdrop-filter: blur(10px);
}

.shop-overview__stats {
  gap: 0.8rem;
}

.shop-stat {
  min-height: 6rem;
}

.shop-catalog {
  position: relative;
  z-index: 1;
}

.shop-catalog__panel {
  overflow: hidden;
}

.shop-catalog__toolbar {
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 118, 84, 0.12);
}

.shop-catalog__filters {
  grid-template-columns:
    minmax(16rem, 1.35fr)
    minmax(9rem, 0.58fr)
    minmax(15.5rem, 0.9fr);
}

.shop-items {
  gap: clamp(1rem, 2vw, 1.3rem);
}

.shop-item-card {
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: 18px;
}

.shop-item-card__media,
.shop-admin-catalog-card__media,
.shop-admin-preview__media {
  border-color: rgba(255, 126, 92, 0.2);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 132, 86, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(18, 6, 7, 0.86), rgba(7, 3, 4, 0.96));
}

.shop-item-card__content {
  min-width: 0;
}

.shop-item-card__title {
  color: #fff3ed;
}

.shop-item-card__copy {
  color: #e8c3b7;
}

.shop-item-card__button {
  margin-top: auto;
}

.shop-catalog__empty {
  border-style: dashed;
}

.site-footer {
  border-top-color: rgba(255, 116, 82, 0.18);
  background:
    linear-gradient(180deg, rgba(7, 2, 3, 0.2), rgba(6, 2, 3, 0.92)),
    url("img/shop-background.webp") center bottom / cover no-repeat;
}

.site-footer::before {
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.08);
}

.site-footer__brand,
.site-footer__stat {
  border-color: rgba(255, 116, 82, 0.16);
  background:
    linear-gradient(180deg, rgba(24, 7, 8, 0.82), rgba(8, 3, 4, 0.94)),
    rgba(255, 255, 255, 0.02);
}

.scroll-progress__bar {
  background:
    linear-gradient(90deg, rgba(255, 65, 32, 0.96), rgba(255, 178, 108, 0.98), rgba(255, 65, 32, 0.94));
}

.scroll-top-button {
  border-color: rgba(255, 132, 96, 0.36);
  background:
    linear-gradient(180deg, rgba(58, 13, 11, 0.92), rgba(10, 4, 5, 0.98)),
    rgba(18, 7, 8, 0.94);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(255, 75, 42, 0.12);
}

@media (min-width: 961px) {
  .hero-layout {
    gap: clamp(0.85rem, 1.6vw, 1.35rem);
  }

  .online-orb {
    width: clamp(11rem, 15vw, 13rem);
  }

  .hero-copyblock {
    width: min(100%, 54rem);
  }

  .hero-logo-mu {
    font-size: clamp(4.5rem, 7vw, 6.45rem);
  }

  .hero-logo-name {
    font-size: clamp(2.55rem, 4.2vw, 3.8rem);
  }

  .hero-copy {
    line-height: 1.58;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-block: 5.2rem 2rem;
  }

  .hero-layout {
    gap: 1.5rem;
  }

  .hero-copyblock {
    border-radius: 20px;
    padding: 1.35rem 1.1rem 1.4rem;
  }

  .online-orb {
    box-shadow:
      inset 0 0 0 1px rgba(255, 237, 228, 0.08),
      inset 0 0 54px rgba(255, 72, 36, 0.11),
      0 0 30px rgba(255, 70, 34, 0.18),
      0 18px 46px rgba(0, 0, 0, 0.36);
  }

  .section-head {
    border-radius: 18px;
  }

  .shop-page .shop-main {
    width: min(100% - 1rem, 100%);
    padding-block: 1rem 2rem;
  }

  .shop-hero {
    min-height: auto;
    border-radius: 20px;
  }

  .shop-overview {
    grid-template-columns: 1fr;
  }

  .shop-catalog__toolbar {
    align-items: stretch;
  }

  .shop-catalog__filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-logo-mu {
    font-size: clamp(4rem, 22vw, 5.8rem);
  }

  .hero-logo-name {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .section-head,
  .ranking-panel,
  .account-panel,
  .server-info__shell,
  .events-panel,
  .shop-overview,
  .shop-catalog__panel,
  .login-modal__panel {
    border-radius: 16px;
  }

  .shop-title {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }
}

html.perf-lite .hero-copyblock,
html.perf-lite .ranking-panel,
html.perf-lite .account-panel,
html.perf-lite .server-info__shell,
html.perf-lite .events-panel,
html.perf-lite .shop-overview,
html.perf-lite .shop-catalog__panel,
html.perf-lite .shop-item-card,
html.perf-lite .login-modal__panel {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ====================================================================
   MEJORAS DE DISEÑO 2026
   Hero desktop 2 cols · Nav labels · Pódium · Reveal scroll · Stagger
   ==================================================================== */

/* 1. HERO — Layout dos columnas en pantallas ≥ 961px */
@media (min-width: 961px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: clamp(2.5rem, 5.5vw, 5.5rem);
  }

  /* La presencia (orb) va en columna derecha (segunda en DOM) */
  .hero-presence {
    order: 0;
    width: auto;
    margin: 0;
    justify-self: center;
  }

  .hero-copyblock {
    text-align: left;
    justify-items: start;
    width: 100%;
    max-width: none;
  }

  .hero-copyblock .hero-logo {
    justify-items: start;
  }

  .hero-copy {
    margin-inline: 0;
    max-width: 36rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .online-orb {
    width: clamp(13rem, 18vw, 17rem);
  }
}

/* 2. NAV — Etiqueta de texto debajo de los íconos (escritorio) */
@media (min-width: 961px) {
  .main-nav .main-nav__link {
    flex-direction: column !important;
    gap: 0.28rem !important;
    padding: 0.38rem 0.1rem !important;
    line-height: normal !important;
  }

  .main-nav__text {
    display: block;
    color: rgba(228, 186, 168, 0.6);
    font-family: var(--display-font);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    transition: color 180ms ease, text-shadow 180ms ease;
  }

  .main-nav .main-nav__link:hover .main-nav__text,
  .main-nav .main-nav__link[aria-current="page"] .main-nav__text,
  .main-nav .main-nav__link.is-current .main-nav__text {
    color: rgba(255, 242, 228, 1);
    text-shadow: 0 0 10px rgba(255, 100, 64, 0.34);
  }
}

/* 3. REVEAL AL SCROLL — elementos fuera del viewport */
.scroll-reveal-target {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-target.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 4. PÓDIUM — Oro / Plata / Bronce */
.ranking-row.is-podium-1 {
  border-color: rgba(255, 196, 58, 0.48) !important;
  background:
    linear-gradient(180deg, rgba(62, 34, 6, 0.97), rgba(20, 10, 4, 0.99)),
    rgba(18, 9, 10, 0.92) !important;
}

.ranking-row.is-podium-1 .ranking-row__place {
  color: #ffe682 !important;
  border-color: rgba(255, 200, 56, 0.52) !important;
  background:
    linear-gradient(180deg, rgba(190, 120, 10, 0.38), rgba(106, 60, 4, 0.54)) !important;
  text-shadow: 0 0 12px rgba(255, 195, 46, 0.44);
}

.ranking-row.is-podium-2 {
  border-color: rgba(184, 202, 232, 0.28) !important;
}

.ranking-row.is-podium-2 .ranking-row__place {
  color: #c6d6f2 !important;
  border-color: rgba(190, 208, 238, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(118, 136, 182, 0.24), rgba(64, 76, 114, 0.32)) !important;
}

.ranking-row.is-podium-3 {
  border-color: rgba(186, 98, 42, 0.28) !important;
}

.ranking-row.is-podium-3 .ranking-row__place {
  color: #e0a25e !important;
  border-color: rgba(194, 104, 48, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(138, 70, 18, 0.28), rgba(80, 38, 10, 0.38)) !important;
}

/* 5. STAGGER — Animación escalonada en filas del ranking */
@keyframes rank-slide-in {
  from {
    opacity: 0;
    transform: translate3d(-0.4rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ranking-board .ranking-row {
  animation: rank-slide-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ranking-board .ranking-row:nth-child(1)  { animation-delay: 0ms;   }
.ranking-board .ranking-row:nth-child(2)  { animation-delay: 32ms;  }
.ranking-board .ranking-row:nth-child(3)  { animation-delay: 64ms;  }
.ranking-board .ranking-row:nth-child(4)  { animation-delay: 96ms;  }
.ranking-board .ranking-row:nth-child(5)  { animation-delay: 128ms; }
.ranking-board .ranking-row:nth-child(6)  { animation-delay: 160ms; }
.ranking-board .ranking-row:nth-child(7)  { animation-delay: 192ms; }
.ranking-board .ranking-row:nth-child(8)  { animation-delay: 224ms; }
.ranking-board .ranking-row:nth-child(n+9) { animation-delay: 256ms; }

/* 6. STAGGER — Animación escalonada en eventos */
@keyframes event-row-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 0.8rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.events-panel__list .event-row {
  animation: event-row-enter 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.events-panel__list .event-row:nth-child(1)  { animation-delay: 0ms;  }
.events-panel__list .event-row:nth-child(2)  { animation-delay: 40ms; }
.events-panel__list .event-row:nth-child(3)  { animation-delay: 80ms; }
.events-panel__list .event-row:nth-child(n+4) { animation-delay: 120ms; }

/* 7. BUTTON SHIMMER — Efecto brillo al pasar el ratón */
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 240, 228, 0.06) 50%,
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.button:hover::after {
  opacity: 1;
}

/* 8. TOPBAR condensado — transición suave */
.topbar {
  transition:
    padding-top 220ms ease,
    padding-bottom 220ms ease,
    box-shadow 220ms ease;
}

/* 9. MOBILE — Panel nav más elegante */
@media (max-width: 960px) {
  .topbar-panel__inner {
    backdrop-filter: blur(20px) saturate(1.2);
  }

  .main-nav .main-nav__link {
    letter-spacing: 0.14em;
  }
}

/* 10. CARDS — Micro hover lift mejorado */
.ranking-row,
.event-row,
.charmini,
.server-info-card,
.feature-card {
  will-change: transform, box-shadow;
}

/* 11. SERVER INFO CARDS — Stagger de entrada */
@keyframes card-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.server-info__grid .server-info-card {
  animation: card-fade-up 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.server-info__grid .server-info-card:nth-child(1) { animation-delay: 0ms;   }
.server-info__grid .server-info-card:nth-child(2) { animation-delay: 60ms;  }
.server-info__grid .server-info-card:nth-child(3) { animation-delay: 120ms; }

/* 12. FOOTER — Animación de entrada */
.site-footer__brand,
.site-footer__stat {
  animation: card-fade-up 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-footer__stat { animation-delay: 40ms; }

/* 13. PERF-LITE y REDUCED MOTION — Deshabilitar todo */
html.perf-lite .scroll-reveal-target,
html.perf-lite .ranking-board .ranking-row,
html.perf-lite .events-panel__list .event-row,
html.perf-lite .server-info__grid .server-info-card,
html.perf-lite .site-footer__brand,
html.perf-lite .site-footer__stat {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-target,
  .ranking-board .ranking-row,
  .events-panel__list .event-row,
  .server-info__grid .server-info-card,
  .site-footer__brand,
  .site-footer__stat {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 14. SCROLLBAR — Estilo más elegante */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 130, 96, 0.9), rgba(180, 50, 28, 0.9));
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* 15. SELECTION — Color de selección */
::selection {
  color: #fff;
  background: rgba(235, 70, 38, 0.36);
}

/* 16. FOCUS VISIBLE — Accesibilidad mejorada */
:focus-visible {
  outline: 2px solid rgba(255, 128, 96, 0.82);
  outline-offset: 3px;
  border-radius: 4px;
}
