:root {
  --bg-dark: #1c140f;
  --bg-dark-2: #3a1f09;
  --gold: #f97316;
  --gold-soft: #d5c4a2;
  --text-main: #d7c8b5;
  --text-muted: #a79a8d;
  --red: #c2410c;
  --red-strong: #ea580c;
  --red-shadow: rgba(194, 65, 12, 0.4);
  --sub-bg: #0c0c18;
  --sub-panel: #1a1c2b;
  --sub-band: #242842;
  --sub-text: #f0f2ff;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Archivo", Arial, sans-serif;
  background-color: #0b0b10;
  background-image:
    radial-gradient(120% 90% at 0% 0%, rgba(24, 12, 12, 0.55), rgba(10, 10, 14, 0.15) 55%),
    radial-gradient(110% 80% at 100% 0%, rgba(20, 10, 12, 0.6), rgba(10, 10, 14, 0.2) 60%);
  background-size: auto, auto;
  color: #e7e2de;
  min-height: 100vh;
  padding: 70px 0 0 0;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #121217;
  border-radius: 0;
  padding: 12px 28px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid rgba(234, 88, 12, 0.7);
  z-index: 20;
}

.navbar::before {
  content: none;
}

.navbar::after {
  content: none;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
}

.brand {
  grid-column: 1;
}

.nav-links {
  grid-column: 2;
}

.nav-toggle,
.nav-toggle-btn,
.cta {
  grid-column: 3;
}

.nav-toggle {
  display: none;
}

.sub-toggle {
  display: none;
}

.sub-toggle-btn {
  display: none;
}

.sub-trigger {
  color: var(--text-muted);
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 10px 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)) var(--bg-dark);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  justify-self: end;
}

.nav-toggle-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
}

.brand-logo {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.brand-logo::after {
  display: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.brand-text {
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.4);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  position: relative;
  align-items: center;
}

.has-submenu {
  position: relative;
}

.nav-links a,
.nav-links .sub-trigger {
  text-decoration: none;
  color: var(--text-muted);
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 6px;
  position: relative;
  transition: color 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  border: none;
  border-radius: 0;
  background: transparent;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.nav-links a::after,
.nav-links .sub-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links .sub-trigger:hover {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .sub-trigger:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

.cta {
  justify-self: end;
}

.cta a {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  color: #fef6e9;
  border: 1px solid #9a3412;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 22px var(--red-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.5);
}

.content {
  padding: 0 0 48px;
}

.news-section {
  max-width: 1320px;
  margin: 12px auto 64px;
  padding: 18px 12px 24px;
  scroll-margin-top: 96px;
}

.server-section,
.downloads-section {
  max-width: 1320px;
  margin: 12px auto 64px;
  padding: 32px 12px 24px;
  scroll-margin-top: 96px;
}

.section-divider {
  max-width: 1320px;
  margin: 0 auto 40px;
  padding: 0 12px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.22), transparent);
  transform: translateY(-50%);
}

.section-divider span {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: rgba(11, 11, 16, 0.95);
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 0 6px rgba(11, 11, 16, 0.7);
}

.spa-hidden {
  display: none !important;
}

.server-heading {
  text-align: center;
  margin-bottom: 22px;
}

.server-heading h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5efea;
  font-size: 1.45rem;
}

.server-underline {
  display: inline-block;
  width: 140px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.16);
}

.server-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.server-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

.server-card-value {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.server-card-title {
  margin-top: 6px;
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0e9e4;
}

.server-card-desc {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(241, 233, 229, 0.68);
}

.downloads-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  color: #f1e9e5;
  text-decoration: none;
  min-height: 280px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dl-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.18);
  filter: brightness(1.02);
}

.dl-card--featured {
  border-color: rgba(249, 115, 22, 0.26);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(249, 115, 22, 0.08);
}

.dl-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.16);
  color: rgba(241, 233, 229, 0.92);
}

.dl-card-icon .material-symbols-rounded {
  font-size: 26px;
  line-height: 1;
}

.dl-card-title {
  margin-top: 6px;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffaf4;
}

.dl-card-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(241, 233, 229, 0.65);
  max-width: 42ch;
}

.dl-card-btn {
  margin-top: auto;
  width: min(340px, 100%);
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(241, 233, 229, 0.9);
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.reqs {
  margin-top: 28px;
}

.reqs-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 233, 229, 0.92);
  font-size: 1.05rem;
}

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

.req-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.req-card--max {
  border-color: rgba(249, 115, 22, 0.18);
}

.req-card-title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fffaf4;
  margin-bottom: 10px;
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(241, 233, 229, 0.72);
  font-size: 0.95rem;
  line-height: 1.35;
}

.req-list strong {
  color: rgba(241, 233, 229, 0.92);
}

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

  .downloads-cards {
    grid-template-columns: 1fr;
  }

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

/* Hero video section */
.hero-video {
  position: relative;
  min-height: 70vh;
  margin: -3px 0 36px;
  width: 100vw;
  max-width: none;
  border-radius: 0;
  border-bottom: 2px solid rgba(234, 88, 12, 0.8);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  box-shadow: none;
}

.hero-video::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 120, 0.8), rgba(255, 140, 0, 1), rgba(255, 190, 120, 0.8), transparent);
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.7));
  animation: hero-sheen 3.6s linear infinite;
}

@keyframes hero-sheen {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-video-bg {
  position: absolute;
  z-index: 0;
  background: #0b0b0f;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fef6e9;
  padding: 48px 18px;
  gap: 10px;
}

.hero-video-content::before {
  content: "";
  position: absolute;
  inset: -60px 18%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 72%);
  filter: blur(6px);
  z-index: -1;
}

.hero-video-content h1 {
  font-family: "Cinzel", serif;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero-video-content p {
  color: #e6e0dc;
  font-size: 1.05rem;
}

.hero-logo {
  display: inline-flex;
  justify-content: center;
}

.hero-logo img {
  width: 500px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.hero-actions {
  margin-top: 14px;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
}

.hero-cta-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(24, 24, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.hero-cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #0f0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.hero-cta-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.hero-cta-info {
  display: grid;
  text-align: left;
}

.hero-cta-info strong {
  font-size: 1rem;
  color: #fef6e9;
}

.hero-cta-info small {
  color: #c2c2cc;
  font-size: 0.85rem;
}

.hero-cta-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b59b8b;
}

.hero-cta-btn {
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  color: #fef6e9;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #9a3412;
  box-shadow: 0 10px 22px var(--red-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.5);
}

@media (max-width: 900px) {
  .hero-video,
  .hero-video-content {
    min-height: 60vh;
  }
}

@media (max-width: 640px) {
  .hero-video {
    display: none;
  }

  .hero-video-content h1 {
    font-size: 2rem;
  }
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

@media (max-width: 720px) {
  .news-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Ranking page */
.ranking-shell {
  max-width: 1320px;
  margin: 18px auto 64px;
  padding: 0 12px;
}

.ranking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #17171c, #121214);
  border-radius: 12px;
  padding: 14px 18px;
  color: #f4f4f6;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-title h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
}

.ranking-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8b8c2;
  font-size: 0.95rem;
}

.ranking-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1b1b22;
  color: #e5e5ea;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.ranking-card {
  margin-top: 16px;
  background: linear-gradient(180deg, #1a1a22, #121215);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ranking-tabs {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rank-tab {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #e8e8ee;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rank-tab.active {
  background: linear-gradient(180deg, var(--gold), #9a3412);
  border-color: #9a3412;
}

.ranking-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: #c2c2cc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 42px;
}

.class-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  top: -5px;
}

.ranking-filters > span:first-child {
  line-height: 42px;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding-top: 0;
}

.class-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #f0f0f4;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.class-icon img {
  width: 30px;
  height: 30px;
  display: block;
  cursor: pointer;
}

.class-icon:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.35));
}

.class-icon.active {
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6));
  transform: translateY(-1px);
}

.clear-filter {
  margin-left: auto;
  border: 1px solid rgba(249, 115, 22, 0.5);
  background: rgba(24, 12, 12, 0.6);
  color: #f0e9e4;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.clear-filter:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.ranking-table {
  display: grid;
}

.ranking-row {
  display: grid;
  grid-template-columns: 140px 2.2fr 0.8fr 0.8fr 0.6fr 0.7fr;
  gap: 16px;
  padding: 14px 16px;
  align-items: center;
  color: #e9e9f1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-head {
  color: #a9a9b3;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.rank-badge {
  padding: 4px 8px;
  border-radius: 8px;
  background: #2a2a33;
  font-weight: 700;
}

.rank-badge.gold { background: #3a2d10; color: #f2c94c; }
.rank-badge.silver { background: #2f3238; color: #d2d5db; }
.rank-badge.bronze { background: #3a2418; color: #e0a07a; }

.rank-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-player small {
  color: #9ea0ab;
  display: block;
}

.rank-class-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.rank-metric.positive { color: #4de38b; }
.rank-metric.negative { color: #ff6b6b; }

.rank-class {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2a2a33;
  display: grid;
  place-items: center;
}

.rank-clan {
  color: #7eb6ff;
}

@media (max-width: 980px) {
  .ranking-row {
    grid-template-columns: 110px 1.9fr 0.7fr 0.7fr 0.6fr 0.7fr;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .ranking-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ranking-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Chest simulator page */
.sim-shell {
  max-width: 1320px;
  margin: 16px auto 64px;
  padding: 0 12px;
  display: grid;
  gap: 16px;
}

.sim-intro {
  background: linear-gradient(180deg, #17171c, #121214);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.sim-intro h1 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  color: #f5efea;
  margin: 0;
}

.sim-intro p {
  margin-top: 8px;
  color: #c2c2cc;
  line-height: 1.6;
  max-width: 880px;
}

.sim-card {
  background: linear-gradient(180deg, #1a1a22, #121215);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
}

.sim-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px auto;
  gap: 12px;
  align-items: end;
}

.sim-field {
  display: grid;
  gap: 6px;
}

.sim-field label {
  color: #cbcbd4;
  font-size: 0.9rem;
}

.sim-field select,
.sim-field input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #101017;
  color: #e9e9f1;
  padding: 0 12px;
}

.sim-open-btn {
  height: 42px;
  border: 1px solid #9a3412;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold), #9a3412);
  color: #fef6e9;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 18px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(194, 65, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.sim-open-btn:hover {
  filter: brightness(1.06);
}

.sim-results h2 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.04em;
  color: #f3ece7;
  font-size: 1.05rem;
  margin: 0;
}

.sim-empty {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #bdbdca;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-inventory-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.sim-inventory-board {
  --inventory-art-width: 384px;
  position: relative;
  width: min(100%, 420px);
  height: 547px;
  background: url("../img/inventario-void.png") center/contain no-repeat;
}

.sim-inventory-grid {
  position: absolute;
  --art-w: min(var(--inventory-art-width), 100%);
  left: calc((100% - var(--art-w)) / 2 + (var(--art-w) * 0.096));
  top: 49.9%;
  width: calc(var(--art-w) * 0.808);
  height: 28.2%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
}

.sim-inventory-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 1px;
}

.sim-inventory-slot img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
  --slot-tx: 0px;
  --slot-ty: -3px;
  --slot-scale: 1;
  transform: translate3d(var(--slot-tx), var(--slot-ty), 0) scale(var(--slot-scale));
  transform-origin: center;
}

.sim-slot-fallback {
  font-size: 0.62rem;
  color: #f6e4b4;
  letter-spacing: 0.03em;
}

.sim-inventory-pager {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sim-page-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #9a3412;
  background: linear-gradient(180deg, var(--gold), #9a3412);
  color: #fef6e9;
  font-weight: 700;
  cursor: pointer;
}

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

.sim-page-info {
  color: #ddd7d2;
  font-size: 0.9rem;
}

.sim-slot-qty {
  position: absolute;
  right: 1px;
  bottom: 1px;
  min-width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  color: #ffe7a8;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 201, 95, 0.45);
  padding: 0 3px;
}

@media (max-width: 980px) {
  .sim-controls {
    grid-template-columns: 1fr;
  }
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.news-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  z-index: 1;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg, linear-gradient(160deg, #1c1c2b, #262c46));
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  pointer-events: none;
}

.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 24, 0.08), rgba(12, 12, 24, 0.82));
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-feature {
  min-height: 400px;
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--badge-color, var(--gold));
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 3px 3px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  z-index: 2;
  text-transform: uppercase;
}

.news-tag-purple {
  background: var(--gold);
}

.news-tag-red {
  background: var(--red-strong);
}

/* Article detail */
.article-shell {
  display: grid;
  gap: 22px;
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(24, 24, 30, 0.7);
  border: 1px solid rgba(154, 52, 18, 0.35);
  color: #d9d2cc;
  font-size: 0.95rem;
}

.article-breadcrumb a {
  color: #fb923c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-breadcrumb span {
  color: #6b6b76;
}

.article-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg, linear-gradient(160deg, #1c1c2b, #262c46));
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 10, 0) 25%, rgba(6, 6, 10, 0.78) 58%, rgba(6, 6, 10, 0.995) 100%);
}

.article-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 320px;
  padding: 28px;
}

.article-title {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #fffaf4;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  color: #f1e9e5;
  font-size: 0.95rem;
}

.article-meta span {
  opacity: 0.85;
}

.article-body {
  background: #15151c;
  border-radius: 18px;
  padding: 26px 28px;
  color: #e8e4e0;
  line-height: 1.8;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.article-body h1,
.article-body h2,
.article-body h3 {
  color: #f0e9e4;
  margin-top: 18px;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body .ql-align-center {
  text-align: center;
}

.article-body .ql-align-right {
  text-align: right;
}

.article-body .ql-align-justify {
  text-align: justify;
}

.article-body .ql-align-center img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #9a3412;
  background: linear-gradient(180deg, var(--gold), var(--red));
  color: #fef6e9;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px var(--red-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.article-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.5);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.article-card {
  background: #15151c;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  color: #e8e4e0;
}

.article-card h3 {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-card p {
  margin: 6px 0;
  color: #c7c2be;
  font-size: 0.95rem;
}

.article-share {
  display: grid;
  gap: 8px;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1b1b22;
  color: #e8e4e0;
  font-weight: 600;
  text-decoration: none;
}

.article-related {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

.news-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.news-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.news-feature h3 {
  font-size: 1.75rem;
}

.news-feature .news-link {
  padding: 26px 26px 32px;
}

.news-footer {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.news-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(180deg, var(--gold), var(--red-strong));
  color: #fef6e9;
  border: 1px solid #9a3412;
  border-radius: 6px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 22px var(--red-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.news-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.04);
}

.news-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.news-heading h2 {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5efea;
  margin: 0;
}

.news-underline {
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #7c2d12);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
}

.news-underline::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 64px;
  height: 16px;
  background: radial-gradient(circle at 30% 50%, rgba(255, 237, 213, 0.9), rgba(251, 146, 60, 0));
}

.news-underline::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -10px;
  width: 80px;
  height: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(26, 10, 13, 0.32), rgba(26, 10, 13, 0));
}



.news-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-16deg);
  width: 10px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold), #0b0b10);
  filter: drop-shadow(0 6px 12px rgba(11, 11, 16, 0.25));
}

.about-section {
  max-width: 1320px;
  margin: 32px auto 80px;
  padding: 0 12px;
  position: relative;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
}

.about-section::before {
  background: radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.16), transparent 30%), radial-gradient(circle at 82% 26%, rgba(17, 24, 49, 0.18), transparent 36%);
  filter: blur(12px);
  transform: translateY(6px);
}

.about-section::after {
  background: radial-gradient(80% 40% at 50% 120%, rgba(17, 24, 49, 0.06), transparent);
}

.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(17, 24, 49, 0.8), rgba(17, 24, 49, 0.65) 40%, rgba(255, 255, 255, 0.9));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 49, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.about-text {
  padding: 32px 28px 32px 34px;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(20, 20, 26, 0.95), rgba(14, 14, 20, 0.9));
}

.about-kicker {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-strong);
  font-weight: 700;
}

.about-title {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #f0e9e4;
  line-height: 1.15;
}

.about-lead {
  color: #c7c2be;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.about-card {
  background: rgba(20, 20, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 12px 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  position: relative;
}

.about-card h3 {
  font-size: 1.05rem;
  color: #f0e9e4;
  margin-bottom: 6px;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--gold), #7c2d12);
}

.about-card p {
  color: #3c3f4b;
  line-height: 1.5;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.about-btn.primary {
  background: linear-gradient(180deg, var(--gold), var(--red-strong));
  color: #fef6e9;
  border-color: #9a3412;
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.about-btn.ghost {
  background: rgba(17, 24, 49, 0.05);
  color: #111831;
  border-color: rgba(17, 24, 49, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
  filter: brightness(1.02);
}

.about-visual {
  padding: 26px;
  background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.18), transparent 40%), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 42%), #0c0c14;
  color: #f7f8ff;
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.about-hero {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px rgba(0, 0, 0, 0.22);
}

.about-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #7c2d12);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.32);
}

.about-hero-title {
  margin-top: 10px;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.about-hero-sub {
  color: #e6e8ff;
  margin-top: 4px;
}

.about-meta {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #cdd2ff;
  font-size: 0.95rem;
}

.about-stat {
  display: grid;
  gap: 6px;
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  position: relative;
}

.about-stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.about-stat-label {
  color: #cdd2ff;
}

.about-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.8), rgba(17, 24, 49, 0.6));
  border-radius: 12px 12px 0 0;
}

.info-shell {
  max-width: 1320px;
  margin: 24px auto 64px;
  padding: 0 12px;
  scroll-margin-top: 96px;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 36px;
  align-items: start;
}

.info-nav {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, var(--bg-dark-2), var(--bg-dark));
  border: 1px solid rgba(234, 88, 12, 0.3);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.info-nav h2 {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: #fef6e9;
  margin-bottom: 12px;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1e9e5;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.info-link::before {
  content: none;
}

.info-link-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.info-link-icon svg,
.info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.info-link:hover,
.info-link.active {
  background: linear-gradient(180deg, var(--gold), #9a3412);
  color: #fffaf4;
  box-shadow: 0 10px 18px rgba(234, 88, 12, 0.35);
  transform: translateY(-1px);
}

.info-content {
  display: grid;
  gap: 16px;
}

.download-hero {
  max-width: 1320px;
  margin: 12px auto 28px;
  padding: 0 12px;
}

.download-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(17, 24, 49, 0.9), rgba(17, 24, 49, 0.7) 45%, rgba(255, 255, 255, 0.92));
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(17, 24, 49, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.download-hero h1 {
  font-family: "Cinzel", serif;
  color: #fef6e9;
  letter-spacing: 0.04em;
  font-size: 2rem;
}

.download-sub {
  color: #dfe2f7;
  margin-top: 8px;
  line-height: 1.6;
}

.download-badge {
  justify-self: end;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
  text-align: right;
  color: #fef6e9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.download-badge span {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-badge strong {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.download-badge small {
  color: #dfe2f7;
}

.download-card {
  background: rgba(20, 20, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.download-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.download-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold), #9a3412);
  display: grid;
  place-items: center;
  color: #fef6e9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
}

.download-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.download-card h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
}

.download-card p {
  margin: 4px 0 0;
  color: #3c3f4b;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.download-item {
  background: linear-gradient(180deg, rgba(28, 30, 40, 0.95), rgba(17, 18, 26, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.download-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.download-item-title {
  font-weight: 700;
  color: #f4f1ee;
}

.download-meta {
  background: rgba(234, 88, 12, 0.12);
  color: #7c2d12;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.download-meta.subtle {
  background: rgba(255, 255, 255, 0.09);
  color: #e8e1dc;
}

.download-meta-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid #9a3412;
  background: linear-gradient(180deg, var(--gold), var(--red));
  color: #fef6e9;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px var(--red-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.12s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.download-row {
  align-items: flex-start;
}

.download-row-text {
  display: grid;
  gap: 2px;
  min-width: 160px;
}

.download-chip.chip-direct {
  border-color: #9a3412;
}

.download-chip.chip-drive {
  border-color: #9a3412;
}

.download-chip.chip-torrent {
  border-color: #9a3412;
}

.download-chip svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.download-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}
.info-title {
  background: linear-gradient(180deg, var(--bg-dark-2), var(--bg-dark));
  color: #fef6e9;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(234, 88, 12, 0.35);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card {
  background: rgba(20, 20, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px 18px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
  scroll-margin-top: 110px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--gold), #9a3412);
  color: #fef6e9;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.info-card-header h1,
.info-card-header h2 {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.info-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-weight: 800;
  text-transform: uppercase;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #c7c2be;
  line-height: 1.5;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.info-item::before {
  content: none;
}

.item-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.info-alert {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(17, 34, 31, 0.78);
  border: 1px solid rgba(42, 166, 118, 0.65);
  color: #eef4f1;
}

.info-alert--dotted {
  border-style: dotted;
  border-width: 2px;
}

.info-alert-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(42, 166, 118, 0.22);
  display: grid;
  place-items: center;
  color: #9ff0cd;
  flex: 0 0 auto;
}

.info-alert-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.info-alert p {
  margin-top: 4px;
  color: #dce9e3;
}


.info-list li {
  padding-left: 16px;
  position: relative;
}

.info-inline {
  white-space: nowrap;
}

.class-icons {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.tag-pvp {
  color: var(--red-strong);
}

.tag-pve {
  color: #146b47;
}

.class-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  image-rendering: auto;
  cursor: help;
}

.class-tooltip {
  position: relative;
  display: inline-flex;
}

.class-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  background: rgba(17, 24, 49, 0.95);
  color: #fef6e9;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.class-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%) translateY(4px);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(17, 24, 49, 0.95) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.class-tooltip:hover::after,
.class-tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.info-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--red-strong);
  position: absolute;
  left: 0;
  top: 0.6em;
}

.site-footer {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  background: #121217;
  color: #f1e9e5;
  padding: 40px 0 32px;
  border-top: 4.5px solid rgb(154, 52, 18);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.3);
}

.site-footer::before {
  content: none;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 18px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 32px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  align-items: start;
}

.footer-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-brand--center {
  justify-items: center;
  align-content: center;
}

.footer-desc--center {
  max-width: 56ch;
  margin: 0 auto;
}

.footer-social-icons {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.footer-social-link svg {
  width: 44px;
  height: 44px;
  display: block;
}

.footer-social-link:hover {
  color: var(--gold);
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 16px rgba(249, 115, 22, 0.22));
}

.footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 6px 0;
}

.footer-logo {
  width: 140px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.footer-desc {
  color: rgba(241, 233, 229, 0.9);
  line-height: 1.6;
}

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

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fef6e9;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.16s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 18px rgba(0, 0, 0, 0.28);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px 32px;
}

.footer-col {
  padding: 4px 0;
}

.footer-col h4 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--gold);
  padding: 6px 0 8px;
  border-bottom: 1px solid rgba(249, 115, 22, 0.45);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(241, 233, 229, 0.9);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-col a:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.footer-bottom {
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 14px 18px 0;
  display: grid;
  grid-template-columns: 2fr auto;
  align-items: center;
  gap: 12px 18px;
}

.footer-bottom--center {
  display: block;
  text-align: center;
}

.footer-meta {
  display: grid;
  gap: 6px;
  color: rgba(241, 233, 229, 0.75);
  font-size: 0.95rem;
}

.footer-meta--center {
  justify-items: center;
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fef6e9;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pill.version {
  background: linear-gradient(180deg, var(--gold), #9a3412);
  box-shadow: 0 10px 18px rgba(194, 65, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pill.uptime {
  background: linear-gradient(180deg, #2ac58a, #0f8b5f);
  box-shadow: 0 10px 18px rgba(15, 139, 95, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, var(--gold), #9a3412);
  color: #fef6e9;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  pointer-events: none;
  z-index: 40;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.news-layout {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 14px;
  align-items: stretch;
}

.news-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}

.news-side .news-card {
  min-height: 180px;
}

.news-side .news-card:nth-child(3),
.news-side .news-card:nth-child(4) {
  min-height: 190px;
}

.guide-submenu {
  background: var(--sub-bg);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0 auto;
  align-items: stretch;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--sub-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-height: 180px;
}

.guide-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.guide-title {
  background: var(--sub-band);
  color: var(--sub-text);
  text-align: center;
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 8px;
  text-transform: uppercase;
  font-size: 0.95rem;
  flex: 1;
  display: grid;
  place-items: center;
}

.guide-more {
  background: var(--sub-band);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sub-text);
  justify-content: center;
  align-items: center;
}

.guide-more-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 60%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="%23e9eefb" stroke-width="3"><rect x="6" y="10" width="30" height="22" rx="2" ry="2" stroke-linejoin="round"/><path d="M12 6h30v22M18 14h12M18 20h16" stroke-linecap="round"/></svg>') center / contain no-repeat;
}

.dropdown-panel {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  padding-top: 12px;
  width: auto;
  min-width: 320px;
  max-width: 480px;
  z-index: 30;
}

.dropdown-list {
  background: linear-gradient(180deg, #1c1e2f, #151622);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-list a {
  display: block;
  padding: 12px 26px;
  color: var(--sub-text);
  text-decoration: none;
  font-family: "Archivo", Arial, sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}

.dropdown-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  padding-left: 18px;
}

.has-submenu:hover > .dropdown-panel,
.has-submenu:focus-within > .dropdown-panel {
  display: block;
}

@media (max-width: 1100px) {
  .navbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .has-submenu:hover > .dropdown-panel,
  .has-submenu:focus-within > .dropdown-panel {
    display: none;
  }

  .sub-trigger {
    width: 100%;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    width: 100%;
    padding-top: 8px;
    display: none;
    max-width: none;
  }

  .guide-submenu {
    max-width: none;
  }

  .news-section {
    padding: 24px 20px 32px;
  }

  .news-layout {
    grid-template-columns: 1.2fr 1fr;
  }

  .news-feature {
    min-height: 340px;
  }

  .news-side .news-card {
    min-height: 170px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-nav {
    position: static;
  }
}

@media (max-width: 1100px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 16px;
  }

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

  .cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    transform: none;
    width: calc(100vw + 24px);
    max-width: none;
    margin-left: -95px;
    padding: 16px 20px 24px;
    background: linear-gradient(180deg, var(--bg-dark-2), var(--bg-dark));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    flex-direction: column;
    gap: 12px;
    z-index: 15;
    align-items: flex-start;
    text-align: left;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: left;
  }

  .nav-links .sub-trigger {
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .sub-toggle-btn {
    display: none;
  }

  .sub-toggle:checked ~ .dropdown-panel {
    display: block;
  }

  .dropdown-list a {
    padding: 14px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .cta {
    justify-self: end;
  }

  .cta button {
    padding: 10px 18px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-feature {
    min-height: 280px;
  }

  .news-side {
    grid-template-columns: 1fr 1fr;
  }

  .news-side .news-card {
    min-height: 160px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
