:root {
  --bg-dark: #070b12;
  --bg-card: rgba(10, 15, 27, 0.78);
  --bg-header: rgba(8, 12, 22, 0.92);
  --gold: #d4ab62;
  --gold-soft: #f4deb0;
  --text: #edf2fc;
  --muted: #b1bdcf;
  --border: rgba(212, 171, 98, 0.28);
  --shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  --discord: #5865f2;
  --cursor-custom: url("../img/cursor.png"), auto;
  --cursor-click: url("../img/cursor.png"), pointer;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: var(--cursor-custom);
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg-dark);
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  cursor: var(--cursor-custom);
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 20%, rgba(126, 82, 17, 0.22), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(58, 94, 210, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.98), rgba(7, 11, 19, 0.99));
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.site-loader__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

.site-loader__glow--left {
  left: 8%;
  top: 22%;
  background: rgba(100, 61, 15, 0.42);
}

.site-loader__glow--right {
  right: 8%;
  bottom: 18%;
  background: rgba(212, 171, 98, 0.2);
}

.site-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 90vw);
  text-align: center;
  padding: 24px 22px 22px;
  border-radius: 18px 6px 18px 6px;
  border: 1px solid rgba(212, 171, 98, 0.5);
  background:
    radial-gradient(circle at top, rgba(212, 171, 98, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(10, 15, 27, 0.96), rgba(6, 9, 16, 0.98));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.58),
    0 0 32px rgba(212, 171, 98, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-loader__panel::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(212, 171, 98, 0.28);
  border-radius: 14px 4px 14px 4px;
  pointer-events: none;
}

.site-loader__title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.site-loader__title-line {
  flex: 1;
  height: 1px;
  max-width: 72px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 98, 0.65), transparent);
}

.site-loader__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 98, 0.55);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.28), rgba(212, 171, 98, 0.1));
  font-family: "Cinzel", Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  box-shadow: 0 0 14px rgba(212, 171, 98, 0.16);
}

.site-loader__logo-wrap {
  position: relative;
  width: min(260px, 74vw);
  margin: 0 auto 12px;
  padding: 0;
}

.site-loader__logo {
  display: block;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.58));
}

.site-loader__subtitle {
  margin: 0 0 14px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(16px, 3.5vw, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(212, 171, 98, 0.28);
}

.site-loader__bar-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.site-loader__bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: rgba(212, 171, 98, 0.08);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
}

.site-loader__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(180, 132, 52, 0.95), rgba(244, 222, 176, 0.98));
  box-shadow: 0 0 14px rgba(212, 171, 98, 0.55);
  transition: width 0.28s ease;
}

.site-loader__percent {
  min-width: 42px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

.site-loader__hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #d7c8a7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Theme scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 171, 98, 0.75) rgba(6, 9, 16, 0.9);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.94), rgba(10, 15, 27, 0.98));
  border-left: 1px solid rgba(212, 171, 98, 0.16);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(6, 9, 16, 0.9);
  background: linear-gradient(180deg, rgba(244, 222, 176, 0.85), rgba(212, 171, 98, 0.55));
  box-shadow: inset 0 0 0 1px rgba(255, 245, 220, 0.22);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 239, 199, 0.95), rgba(212, 171, 98, 0.72));
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container,
.hero,
.site-header,
.footer,
.content-section,
.content-body {
  max-width: 100%;
}

a,
button,
[role="button"],
input,
select,
textarea,
label,
.inventory-btn,
.feature-chip,
.inventory-modal__close,
.nav-toggle {
  cursor: var(--cursor-click);
}

a:active,
button:active,
[role="button"]:active,
input:active,
select:active,
textarea:active,
label:active,
.inventory-btn:active,
.feature-chip:active,
.inventory-modal__close:active,
.nav-toggle:active {
  cursor: var(--cursor-click);
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(126, 82, 17, 0.26), transparent 46%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.76) 0%, rgba(4, 7, 13, 0.9) 100%);
  z-index: 1;
  animation: pulseOverlay 8s ease-in-out infinite alternate;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.site-header,
.hero,
.page-hero,
.container,
.content-page,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: visible;
  border-bottom: none;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 10' preserveAspectRatio='none'%3E%3Cpath d='M0 7 C120 2 240 9 360 5 C480 1 600 8 720 4 C840 0 960 7 1080 5 C1140 4 1170 6 1200 5 L1200 10 L0 10 Z' fill='rgba(212,171,98,0.28)'/%3E%3Cpath d='M0 5 C150 9 300 2 450 6 C600 10 750 3 900 7 C1050 11 1125 4 1200 6' stroke='rgba(244,222,176,0.42)' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.header-brush {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 120% at 12% 50%, rgba(122, 78, 24, 0.34), transparent 70%),
    radial-gradient(ellipse 45% 110% at 88% 45%, rgba(88, 58, 18, 0.28), transparent 68%),
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(212, 171, 98, 0.1), transparent 75%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.94) 0%, rgba(7, 10, 18, 0.9) 100%);
}

.header-brush::before,
.header-brush::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 220px;
  height: 42px;
  transform: translateY(-50%) rotate(-4deg);
  opacity: 0.22;
  filter: blur(0.4px);
  background: linear-gradient(90deg, transparent, rgba(212, 171, 98, 0.55), transparent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 42'%3E%3Cpath d='M4 24 C40 14 78 30 116 20 C154 10 186 28 216 18 L216 30 C180 36 142 22 104 32 C66 42 34 26 4 34 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.header-brush::before {
  left: 4%;
}

.header-brush::after {
  right: 4%;
  transform: translateY(-50%) rotate(4deg) scaleX(-1);
}

.header-wrap {
  position: relative;
  width: min(1140px, 94%);
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  z-index: 3;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(212, 171, 98, 0.35);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.55);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
}

.site-nav a {
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 9px;
  color: #e8d8b8;
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  border: 1px solid rgba(212, 171, 98, 0.24);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.11), rgba(212, 171, 98, 0.03));
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff5dc;
  border-color: rgba(244, 222, 176, 0.72);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.3), rgba(212, 171, 98, 0.12));
  transform: translateY(-1px);
}

.site-nav a.active {
  box-shadow: 0 0 14px rgba(212, 171, 98, 0.2);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 222, 176, 0.95), transparent);
}

.nav-sep {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(212, 171, 98, 0.35), transparent);
  flex-shrink: 0;
}

.nav-login {
  color: #fff0cc !important;
  border-color: rgba(212, 171, 98, 0.62) !important;
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.38), rgba(212, 171, 98, 0.15)) !important;
  box-shadow: 0 0 12px rgba(212, 171, 98, 0.2);
}

.nav-login:hover {
  box-shadow: 0 0 16px rgba(212, 171, 98, 0.3);
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f2dfb8 !important;
  border-color: rgba(212, 171, 98, 0.62) !important;
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.36), rgba(212, 171, 98, 0.14)) !important;
  box-shadow: 0 0 12px rgba(212, 171, 98, 0.2);
}

.nav-discord svg {
  width: 16px;
  height: 16px;
  opacity: 0.95;
}

.nav-discord:hover {
  color: #fff5dc !important;
  box-shadow: 0 0 16px rgba(212, 171, 98, 0.3);
}

.hero,
.page-hero {
  text-align: center;
  padding: 28px 16px 32px;
  isolation: isolate;
  --mx: 0px;
  --my: 0px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 14px 20px;
  border-radius: 18px;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(46px);
  z-index: -1;
  pointer-events: none;
}

.hero-glow--left {
  left: max(-120px, 2vw);
  top: 18px;
  background: rgba(100, 61, 15, 0.44);
  transform: translate(calc(var(--mx) * -0.5), calc(var(--my) * -0.35));
}

.hero-glow--right {
  right: max(-120px, 2vw);
  top: 8px;
  background: rgba(58, 94, 210, 0.26);
  transform: translate(calc(var(--mx) * 0.45), calc(var(--my) * 0.35));
}

.logo {
  display: block;
  width: min(340px, 82vw);
  margin: 0 auto 6px;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.68));
}

.floating {
  animation: floatingLogo 4.6s ease-in-out infinite;
}

.hero-main-title {
  margin: 0 0 6px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff5dc;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 0 26px rgba(212, 171, 98, 0.35);
}

.hero-badge {
  display: inline-block;
  margin: 0 auto 12px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 171, 98, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.22), rgba(212, 171, 98, 0.1));
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(212, 171, 98, 0.15);
}

.hero-tagline {
  margin: 0 0 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(24px, 4.4vw, 38px);
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(212, 171, 98, 0.34);
}

h1 {
  width: 100%;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(30px, 4.7vw, 52px);
  letter-spacing: 1.2px;
  color: var(--gold-soft);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.subtitle {
  width: 100%;
  margin: 0;
  color: #d7c8a7;
  font-size: clamp(16px, 2.2vw, 21px);
  max-width: 680px;
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  width: 100%;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn--primary {
  border: 1px solid rgba(212, 171, 98, 0.56);
  background: linear-gradient(120deg, rgba(212, 171, 98, 0.35), rgba(212, 171, 98, 0.15));
  color: var(--gold-soft);
  box-shadow: 0 8px 28px rgba(212, 171, 98, 0.28);
}

.hero-btn--ghost {
  border: 1px solid rgba(138, 158, 255, 0.5);
  background: rgba(88, 101, 242, 0.16);
  color: #e9ecff;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.2);
}

.container {
  width: min(1140px, 94%);
  margin: 0 auto 46px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(212, 171, 98, 0.22), rgba(88, 101, 242, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 171, 98, 0.55);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
  opacity: 1;
}

.card h2,
.page-content h2 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--gold);
  font-size: 21px;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
}

.card p,
.card li,
.page-content p,
.page-content li {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

.card ul,
.page-content ul {
  padding-left: 18px;
}

.card li + li,
.page-content li + li {
  margin-top: 7px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.card-link:hover {
  background: rgba(212, 171, 98, 0.12);
  box-shadow: 0 0 24px rgba(212, 171, 98, 0.18);
}

.countdown {
  width: 100%;
  margin: 12px 0 0;
  padding: 10px 12px;
  max-width: 460px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 15, 27, 0.78);
  box-shadow: var(--shadow);
  border-color: rgba(212, 171, 98, 0.36);
}

.countdown-label {
  color: var(--muted);
  font-size: 12px;
}

.countdown-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 6px;
}

.countdown-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 4px;
  background: rgba(212, 171, 98, 0.06);
  box-shadow: inset 0 0 0 1px rgba(212, 171, 98, 0.1);
}

.countdown-item span {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(17px, 2.8vw, 24px);
  color: var(--gold-soft);
  line-height: 1.1;
}

.countdown-item small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}

.countdown-status {
  min-height: 16px;
  margin-top: 7px;
  color: var(--gold-soft);
  font-size: 11px;
}

.hero-stats {
  width: 100%;
  max-width: 460px;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 96px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(212, 171, 98, 0.28);
  background: rgba(8, 12, 22, 0.66);
}

.hero-stat strong {
  display: block;
  color: var(--gold-soft);
  font-size: 14px;
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.2;
}

.hero-stat span {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 940px;
  margin: 0 auto;
}

.content-page {
  width: min(860px, 94%);
  margin: 20px auto 40px;
  padding: 8px 0 0;
}

.content-section {
  max-width: 860px;
  margin: 0 auto 28px;
  scroll-margin-top: 90px;
}

.side-system-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: min(260px, 22vw);
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 171, 98, 0.46);
  background:
    radial-gradient(circle at top right, rgba(212, 171, 98, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(10, 15, 27, 0.96), rgba(5, 8, 14, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.52), 0 0 26px rgba(212, 171, 98, 0.2);
  backdrop-filter: blur(5px);
}

.side-system-nav__title {
  margin: 0 0 12px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4deb0;
  text-shadow: 0 0 14px rgba(212, 171, 98, 0.26);
}

.side-system-nav__title-text {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.22), rgba(212, 171, 98, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 10px rgba(212, 171, 98, 0.14);
}

.side-system-nav__title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 98, 0.6), transparent);
}

.side-system-nav__list {
  display: grid;
  gap: 7px;
}

.side-system-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 171, 98, 0.32);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.14), rgba(212, 171, 98, 0.05));
  color: #e7d6b5;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.side-system-nav__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 171, 98, 0.4);
  background: rgba(212, 171, 98, 0.14);
  color: #ffefcc;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}

.side-system-nav__link:hover {
  border-color: rgba(244, 222, 176, 0.8);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.3), rgba(212, 171, 98, 0.12));
  color: #fff3d6;
  transform: translateX(-2px);
  box-shadow: 0 0 16px rgba(212, 171, 98, 0.2);
}

.side-system-nav__link.is-active {
  border-color: rgba(244, 222, 176, 0.95);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.42), rgba(212, 171, 98, 0.18));
  color: #fff7e6;
  box-shadow: 0 0 18px rgba(212, 171, 98, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.side-system-nav__link.is-active .side-system-nav__icon {
  border-color: rgba(244, 222, 176, 0.95);
  background: rgba(212, 171, 98, 0.3);
  box-shadow: 0 0 10px rgba(212, 171, 98, 0.35);
}

.section-media {
  margin: 0 auto 18px;
  max-width: 720px;
  border-radius: 18px 6px 18px 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 171, 98, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 26px rgba(212, 171, 98, 0.2);
  background: rgba(10, 15, 27, 0.75);
}

.section-media::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 171, 98, 0.35);
  border-radius: 14px 4px 14px 4px;
  pointer-events: none;
}

.section-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 16, 0) 35%, rgba(6, 9, 16, 0.36) 100%);
  z-index: 1;
}

.section-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.section-media--gui {
  max-width: 520px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(88, 101, 242, 0.15),
    inset 0 0 0 1px rgba(212, 171, 98, 0.25);
}

.section-media--gui::after {
  border-radius: 8px;
  inset: 6px;
}

.section-media--gui img {
  object-fit: contain;
  background: rgba(6, 9, 16, 0.6);
  padding: 4px;
}

.inventory-action {
  margin: 0 auto 20px;
  text-align: center;
}

.inventory-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid rgba(212, 171, 98, 0.55);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.28), rgba(212, 171, 98, 0.1));
  color: #fff5dc;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.inventory-btn::before,
.inventory-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(212, 171, 98, 0.6);
  transform: translateY(-50%) rotate(45deg);
  background: rgba(212, 171, 98, 0.15);
}

.inventory-btn::before {
  left: 9px;
}

.inventory-btn::after {
  right: 9px;
}

.inventory-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 222, 176, 0.85);
  color: #fff9ea;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42), 0 0 20px rgba(212, 171, 98, 0.24);
}

.inventory-btn:active {
  transform: translateY(0);
}

.inventory-btn:focus-visible,
.inventory-modal__close:focus-visible {
  outline: 2px solid rgba(244, 222, 176, 0.8);
  outline-offset: 2px;
}

.inventory-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.inventory-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.inventory-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(126, 82, 17, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.82) 0%, rgba(4, 7, 13, 0.92) 100%);
  backdrop-filter: blur(4px);
}

.inventory-modal__dialog {
  position: relative;
  width: min(94vw, 920px);
  max-height: 90vh;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow), 0 0 22px rgba(212, 171, 98, 0.12);
  backdrop-filter: blur(4px);
  overflow: auto;
}

.inventory-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.inventory-modal__title-line {
  flex: 1;
  max-width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 98, 0.55), transparent);
}

.inventory-modal__title {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(13px, 2vw, 16px);
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(212, 171, 98, 0.5);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.28) 0%, rgba(212, 171, 98, 0.1) 48%, rgba(8, 12, 22, 0.35) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.inventory-modal__frame {
  position: relative;
  width: 100%;
  padding: 8px;
  border-radius: 12px 4px 12px 4px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: rgba(8, 12, 22, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inventory-modal__frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 171, 98, 0.22);
  border-radius: 8px 3px 8px 3px;
  pointer-events: none;
}

.inventory-modal__dialog img {
  width: 100%;
  height: auto;
  max-height: min(58vh, 480px);
  display: block;
  border-radius: 6px;
  border: 1px solid rgba(212, 171, 98, 0.28);
  background: #0a101c;
  object-fit: contain;
}

.inventory-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: rgba(212, 171, 98, 0.1);
  color: var(--gold-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.inventory-modal__close:hover {
  border-color: rgba(212, 171, 98, 0.65);
  background: rgba(212, 171, 98, 0.18);
  transform: none;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title-line {
  flex: 1;
  max-width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 98, 0.55), transparent);
}

.section-title {
  margin: 0;
  text-align: center;
}

.section-title__btn {
  display: inline-block;
  padding: 11px 32px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(18px, 3.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(212, 171, 98, 0.28) 0%, rgba(212, 171, 98, 0.1) 48%, rgba(8, 12, 22, 0.35) 100%);
  border: 1px solid rgba(212, 171, 98, 0.5);
  border-radius: 8px;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
  position: relative;
}

.section-title__btn::before,
.section-title__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(212, 171, 98, 0.6);
  transform: translateY(-50%) rotate(45deg);
  background: rgba(212, 171, 98, 0.15);
}

.section-title__btn::before {
  left: 10px;
}

.section-title__btn::after {
  right: 10px;
}

.content-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.content-body p {
  color: #f3ead7;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.content-body p + p {
  margin-top: 16px;
}

.text-gold {
  color: var(--gold-soft);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(212, 171, 98, 0.22);
}

.text-pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.22), rgba(212, 171, 98, 0.08));
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.content-highlight {
  margin-top: 4px;
  padding: 18px 22px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 171, 98, 0.08), rgba(10, 15, 27, 0.5));
  border: 1px solid rgba(212, 171, 98, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.content-highlight p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-chip {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.22), rgba(212, 171, 98, 0.06));
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  cursor: var(--cursor-custom);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 16px rgba(0, 0, 0, 0.22);
}

.efsun-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.efsun-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 171, 98, 0.35);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.1), rgba(8, 12, 22, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.efsun-item--wide {
  grid-column: 1 / -1;
}

.efsun-item__label {
  color: #efe3c9;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.efsun-item__value {
  flex-shrink: 0;
  min-width: 44px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.24), rgba(212, 171, 98, 0.08));
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.content-highlight--note {
  margin-top: 0;
  margin-bottom: 0;
}

.npc-intro {
  margin: 0 0 18px;
  font-size: 13px;
  color: #efdfc0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.npc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.npc-card {
  position: relative;
  text-align: center;
}

.npc-card__frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px 6px 14px 6px;
  border: 1px solid rgba(212, 171, 98, 0.45);
  background: rgba(8, 12, 22, 0.85);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42), 0 0 18px rgba(212, 171, 98, 0.12);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.npc-card__frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(212, 171, 98, 0.28);
  border-radius: 10px 4px 10px 4px;
  pointer-events: none;
  z-index: 1;
}

.npc-card:hover .npc-card__frame,
.npc-card:focus-within .npc-card__frame,
.npc-card.is-active .npc-card__frame {
  transform: translateY(-3px);
  border-color: rgba(244, 222, 176, 0.7);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 171, 98, 0.22);
}

.npc-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.npc-card:hover .npc-card__thumb,
.npc-card:focus-within .npc-card__thumb,
.npc-card.is-active .npc-card__thumb {
  transform: scale(1.04);
  filter: brightness(0.72) saturate(0.9);
}

.npc-card__gui-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background:
    radial-gradient(circle at center, rgba(14, 20, 34, 0.35), rgba(4, 7, 13, 0.92) 72%),
    rgba(4, 7, 13, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: scale(0.97);
}

.npc-card:hover .npc-card__gui-panel,
.npc-card:focus-within .npc-card__gui-panel,
.npc-card.is-active .npc-card__gui-panel {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.npc-card__gui-shell {
  width: 100%;
  max-height: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(212, 171, 98, 0.5);
  background:
    linear-gradient(180deg, rgba(12, 18, 30, 0.98), rgba(6, 9, 16, 0.98)),
    #070b12;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(212, 171, 98, 0.14);
  overflow: hidden;
}

.npc-card__gui {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 360px);
  object-fit: contain;
  border-radius: 6px;
  background: #0a101c;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.npc-card__label {
  margin: 10px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2dfb8;
  text-shadow: 0 0 10px rgba(212, 171, 98, 0.22);
}

.dungeon-list-title {
  margin: 20px 0 14px;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.dungeon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dungeon-card {
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 171, 98, 0.38);
  background: linear-gradient(180deg, rgba(212, 171, 98, 0.1), rgba(8, 12, 22, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.28);
  text-align: left;
  overflow: hidden;
}

.dungeon-card__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 171, 98, 0.28);
  background: #0a101c;
}

.dungeon-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 16, 0) 45%, rgba(6, 9, 16, 0.55) 100%);
}

.dungeon-card__media img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
}

.dungeon-card__title {
  margin: 0;
  padding: 12px 14px 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.dungeon-card__meta {
  margin: 0;
  padding: 8px 14px 0;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
  color: #efdfc0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.dungeon-card p:last-child {
  margin: 0;
  padding: 10px 14px 16px;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
  color: #f4e9d2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.content-back {
  margin-top: 20px;
  text-align: center;
}

.content-back__btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  border: 1px solid rgba(212, 171, 98, 0.4);
  border-radius: 8px;
  background: rgba(212, 171, 98, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.content-back__btn:hover {
  background: rgba(212, 171, 98, 0.16);
  border-color: rgba(212, 171, 98, 0.6);
}

.footer {
  text-align: center;
  padding: 22px 12px 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 98, 0.22);
  background: rgba(8, 12, 22, 0.55);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.footer-credit:hover {
  border-color: rgba(212, 171, 98, 0.5);
  box-shadow: 0 0 18px rgba(212, 171, 98, 0.18);
  transform: translateY(-1px);
}

.footer-credit__text {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-credit__logo {
  display: block;
  height: 22px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.footer-credit:hover .footer-credit__logo {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(212, 171, 98, 0.35));
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes floatingLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseOverlay {
  0% { opacity: 0.88; }
  100% { opacity: 1; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 62px;
    left: 50%;
    right: auto;
    width: min(92vw, 360px);
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid rgba(212, 171, 98, 0.28);
    border-radius: 10px;
    background: rgba(9, 13, 23, 0.97);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
    z-index: 4;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    text-align: center;
  }

  .nav-discord {
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 2px;
    padding: 12px 14px;
    border-width: 1px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(212, 171, 98, 0.28), rgba(212, 171, 98, 0.12)) !important;
  }

  .nav-discord svg {
    width: 15px;
    height: 15px;
  }

  .site-nav a.active::after {
    left: 20%;
    right: 20%;
    bottom: 8px;
  }

  .nav-sep {
    display: none;
  }
}

@media (max-width: 1180px) {
  .side-system-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero,
  .page-hero {
    padding-top: 18px;
  }

  .hero-main-title {
    font-size: clamp(30px, 11vw, 44px);
    letter-spacing: 0.08em;
  }

  .hero-tagline {
    font-size: clamp(21px, 7vw, 30px);
  }

  .subtitle {
    font-size: clamp(14px, 4.4vw, 17px);
  }

  .card,
  .page-content {
    padding: 16px;
  }

  .countdown {
    max-width: 340px;
    padding: 8px 10px;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(56px, 1fr));
    gap: 5px;
  }

  .countdown-item span {
    font-size: 16px;
  }

  .hero-stats {
    max-width: 340px;
    gap: 5px;
  }

  .hero-stat {
    min-width: 78px;
    padding: 5px 6px;
  }

  .hero-stat strong {
    font-size: 13px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-btn {
    width: 100%;
    max-width: 320px;
  }

  .section-title-wrap {
    gap: 10px;
  }

  .section-title-line {
    max-width: 56px;
  }

  .section-title__btn {
    padding: 9px 22px;
    font-size: 17px;
  }

  .section-media {
    margin-bottom: 12px;
    border-radius: 12px 4px 12px 4px;
  }

  .section-media--gui {
    max-width: 100%;
  }

  .inventory-modal.is-open {
    padding: 10px;
  }

  .inventory-modal__dialog {
    width: min(92vw, 360px);
    max-height: 82vh;
    padding: 36px 10px 10px;
  }

  .inventory-modal__header {
    gap: 6px;
    margin-bottom: 8px;
  }

  .inventory-modal__title-line {
    max-width: 36px;
  }

  .inventory-modal__title {
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .inventory-modal__frame {
    padding: 6px;
  }

  .inventory-modal__dialog img {
    max-height: min(38vh, 240px);
    border-radius: 4px;
  }

  .inventory-modal__close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 19px;
  }

  .content-body {
    padding: 18px 16px;
  }

  .content-body p {
    font-size: 13px;
    line-height: 1.7;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-chip {
    padding: 11px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .efsun-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .efsun-item {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .efsun-item__label {
    font-size: 11px;
  }

  .efsun-item__value {
    align-self: flex-end;
    font-size: 12px;
  }

  .npc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .npc-card__gui {
    max-height: min(46vh, 300px);
  }

  .dungeon-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dungeon-card {
    padding: 0;
  }

  .dungeon-card__media img {
    height: 132px;
  }

  .dungeon-card p:last-child {
    font-size: 11px;
    line-height: 1.65;
  }
}
