:root {
  --bg: #060606;
  --bg-soft: rgba(18, 13, 13, 0.9);
  --card: rgba(23, 17, 17, 0.94);
  --card-strong: rgba(33, 22, 22, 0.96);
  --line: rgba(214, 152, 78, 0.22);
  --line-strong: rgba(255, 190, 113, 0.35);
  --gold: #d8b07a;
  --gold-strong: #f8d29d;
  --text: #f5efe8;
  --muted: #bcafa4;
  --crimson: #8f1b1b;
  --ember: #ff7a2f;
  --violet: #8f63ff;
  --jade: #4dc18b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 27, 27, 0.34), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255, 122, 47, 0.12), transparent 18%),
    linear-gradient(180deg, #120909 0%, #070707 52%, #0b0909 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="220" viewBox="0 0 220 220"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.78" numOctaves="2" stitchTiles="stitch"/></filter><rect width="220" height="220" filter="url(%23n)" opacity="0.12"/></svg>');
  opacity: 0.38;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.32) 100%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 11, 11, 0.86), rgba(10, 10, 10, 0.78));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(248, 210, 157, 0.35);
  color: var(--gold-strong);
  font-size: 1.45rem;
  box-shadow: inset 0 0 18px rgba(248, 210, 157, 0.1), 0 0 24px rgba(143, 27, 27, 0.18);
}

.brand-sub,
.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
}

.brand h1,
.hero-copy h2,
.page-hero h2,
.showcase h3,
.card h3,
.card h4,
.announcement-bar h3,
.media-copy h3,
.section-heading h3,
.footer-rich h4,
.floating-download h3 {
  font-family: 'Noto Serif SC', serif;
}

.brand h1 {
  margin: 2px 0 0;
  font-size: 1.45rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-strong), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

nav a:hover,
nav a.active {
  color: var(--gold-strong);
}

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

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 21, 21, 0.95), rgba(16, 13, 13, 0.97));
  box-shadow: var(--shadow);
}

.glow {
  position: relative;
  overflow: hidden;
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 24%, transparent 72%, rgba(255, 190, 113, 0.04));
  pointer-events: none;
}

.glow::after {
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 122, 47, 0.26), transparent 70%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  padding: 56px;
  min-height: 650px;
  align-items: center;
}

.epic-hero {
  background:
    linear-gradient(180deg, rgba(19, 14, 14, 0.28), rgba(15, 11, 11, 0.96)),
    radial-gradient(circle at right top, rgba(255, 122, 47, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(184, 42, 42, 0.14), transparent 30%),
    linear-gradient(135deg, #201515 0%, #120d0d 45%, #0b0909 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 6, 0.86) 0%, rgba(8, 6, 6, 0.46) 40%, rgba(8, 6, 6, 0.2) 100%),
    radial-gradient(circle at 75% 35%, rgba(255, 118, 59, 0.16), transparent 20%),
    radial-gradient(circle at 70% 50%, rgba(255, 182, 92, 0.08), transparent 12%);
}

.hero-copy,
.hero-panel,
.hero-banner-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.04;
  text-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.hero-copy h2 span {
  display: block;
  color: var(--gold-strong);
}

.hero-banner-copy {
  position: absolute;
  left: 56px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(248, 210, 157, 0.18);
  background: rgba(10, 8, 8, 0.56);
  backdrop-filter: blur(6px);
}

.banner-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(255, 140, 72, 0.95), rgba(168, 44, 24, 0.95));
  color: #fff6eb;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.hero-banner-copy p,
.footer-bottom {
  margin: 0;
}

.hero-text,
.page-hero p,
.card p,
.card li,
.footer p,
.announcement-bar p,
.skill-card p,
.boss-atlas-card p,
.news-item p,
.floating-download li {
  color: var(--muted);
  line-height: 1.85;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span,
.version-points span {
  padding: 9px 14px;
  border: 1px solid rgba(248, 210, 157, 0.18);
  background: rgba(255,255,255,0.03);
  color: var(--gold-strong);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-top,
.boss-card,
.stat,
.feature-card,
.class-card,
.download-card,
.contact-card-hot,
.timeline-item,
.version-highlight,
.download-banner,
.mini-shot,
.skill-card,
.boss-atlas-card,
.schedule-card,
.drop-card,
.screenshot-card,
.floating-download,
.news-section {
  position: relative;
  overflow: hidden;
}

.hero-panel-top {
  padding: 20px 22px;
  border: 1px solid rgba(255, 190, 113, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.hero-panel-top p,
.boss-label,
.feature-index {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
}

.hero-panel-top strong {
  display: block;
  margin-top: 8px;
  font-size: 1.75rem;
  color: var(--text);
}

.boss-card {
  padding: 24px 22px;
  border: 1px solid rgba(255, 122, 47, 0.22);
  background: linear-gradient(180deg, rgba(62, 26, 17, 0.4), rgba(22, 15, 15, 0.9));
}

.boss-card::after,
.download-banner::after,
.contact-card-hot::after,
.feature-card::after,
.skill-card::after,
.boss-atlas-card::after,
.schedule-card::after,
.drop-card::after,
.news-section::after,
.floating-download::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}

.boss-card h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
}

.hero-stats {
  display: grid;
  gap: 14px;
}

.stat {
  padding: 22px;
  border: 1px solid rgba(248, 210, 157, 0.14);
  background: rgba(255,255,255,0.02);
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--gold-strong);
  margin-bottom: 8px;
}

.feature-grid,
.download-grid,
.contact-grid,
.class-showcase,
.skill-grid,
.boss-grid,
.version-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.schedule-drop-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 24px;
}

.floating-download {
  position: fixed;
  right: 28px;
  top: 140px;
  z-index: 20;
  width: 250px;
  padding: 22px;
  border: 1px solid rgba(248, 210, 157, 0.2);
  background: linear-gradient(180deg, rgba(36, 22, 22, 0.96), rgba(15, 12, 12, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.floating-download h3 {
  margin: 10px 0 16px;
  font-size: 1.45rem;
}

.floating-download ul {
  margin-top: 16px;
  padding-left: 18px;
}

.feature-grid .card,
.download-card,
.contact-grid .card,
.timeline-item,
.notes,
.showcase,
.page-hero,
.feature-card,
.class-card,
.version-highlight,
.download-banner,
.announcement-bar,
.media-strip,
.skill-card,
.boss-atlas-card,
.schedule-card,
.drop-card,
.news-section {
  padding: 28px;
}

.feature-grid-strong .feature-card,
.class-card,
.download-card.premium,
.contact-card-hot,
.skill-card,
.boss-atlas-card,
.schedule-card,
.drop-card {
  background: linear-gradient(180deg, rgba(34, 24, 24, 0.96), rgba(17, 13, 13, 0.96));
}

.feature-index {
  display: inline-block;
  margin-bottom: 16px;
}

.announcement-bar,
.showcase,
.version-highlight,
.download-banner,
.media-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.announcement-bar {
  background: linear-gradient(90deg, rgba(56, 20, 20, 0.9), rgba(24, 16, 16, 0.96));
}

.class-card {
  min-height: 240px;
}

.class-card.warrior {
  background: linear-gradient(180deg, rgba(74, 29, 19, 0.55), rgba(20, 14, 14, 0.96));
}

.class-card.mage {
  background: linear-gradient(180deg, rgba(33, 25, 63, 0.5), rgba(18, 13, 18, 0.96));
}

.class-card.taoist {
  background: linear-gradient(180deg, rgba(24, 60, 41, 0.46), rgba(13, 18, 14, 0.96));
}

.section-heading h3 {
  margin: 10px 0 0;
  font-size: 1.9rem;
}

.screenshot-section,
.skill-section,
.boss-atlas {
  margin-top: 24px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.screenshot-card {
  min-height: 230px;
  border: 1px solid rgba(248, 210, 157, 0.16);
  box-shadow: var(--shadow);
}

.screenshot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.74));
}

.screenshot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 26%, transparent 70%, rgba(255, 164, 88, 0.06));
}

.screenshot-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--gold-strong);
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
}

.screen-a {
  background:
    linear-gradient(180deg, rgba(14,10,10,0.1), rgba(14,10,10,0.35)),
    radial-gradient(circle at 52% 38%, rgba(255, 168, 89, 0.16), transparent 18%),
    linear-gradient(135deg, #2a1613 0%, #4a231c 35%, #1a1111 100%);
}

.screen-b {
  background:
    linear-gradient(180deg, rgba(14,10,10,0.1), rgba(14,10,10,0.35)),
    radial-gradient(circle at 50% 42%, rgba(255, 101, 60, 0.18), transparent 22%),
    linear-gradient(135deg, #341916 0%, #5a221d 40%, #160d0d 100%);
}

.screen-c {
  background:
    linear-gradient(180deg, rgba(10,12,18,0.1), rgba(10,12,18,0.38)),
    radial-gradient(circle at 52% 38%, rgba(129, 104, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #17152e 0%, #251d47 42%, #0f0e16 100%);
}

.screen-d {
  background:
    linear-gradient(180deg, rgba(16,10,10,0.1), rgba(16,10,10,0.36)),
    radial-gradient(circle at 50% 36%, rgba(255, 184, 87, 0.18), transparent 20%),
    linear-gradient(135deg, #2c1c14 0%, #4c2a1a 38%, #131010 100%);
}

.screen-e {
  background:
    linear-gradient(180deg, rgba(8,12,16,0.1), rgba(8,12,16,0.36)),
    radial-gradient(circle at 50% 36%, rgba(109, 188, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #14222d 0%, #1e3744 40%, #0d1216 100%);
}

.screen-f {
  background:
    linear-gradient(180deg, rgba(16,10,8,0.1), rgba(16,10,8,0.36)),
    radial-gradient(circle at 50% 36%, rgba(255, 212, 102, 0.24), transparent 20%),
    linear-gradient(135deg, #342014 0%, #5b3316 42%, #15100d 100%);
}

.skill-rune {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(248, 210, 157, 0.22);
  color: var(--gold-strong);
  font-weight: 800;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.03);
}

.skill-card h4,
.boss-atlas-card h4,
.news-item h4 {
  margin: 4px 0 10px;
  font-size: 1.28rem;
}

.boss-grid {
  grid-template-columns: repeat(3, 1fr);
}

.boss-atlas-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-strong);
  letter-spacing: 0.08em;
}

.boss-atlas-card.ember {
  background: linear-gradient(180deg, rgba(83, 31, 18, 0.55), rgba(17, 12, 12, 0.96));
}

.boss-atlas-card.void {
  background: linear-gradient(180deg, rgba(41, 28, 88, 0.48), rgba(15, 13, 23, 0.96));
}

.boss-atlas-card.gold {
  background: linear-gradient(180deg, rgba(92, 57, 18, 0.45), rgba(17, 13, 12, 0.96));
}

.schedule-list,
.drop-list,
.news-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.schedule-list div,
.drop-list div,
.news-item {
  padding: 14px 16px;
  border: 1px solid rgba(248, 210, 157, 0.12);
  background: rgba(255,255,255,0.02);
}

.schedule-list div,
.drop-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.schedule-list strong,
.drop-list span,
.news-item time {
  color: var(--gold-strong);
}

.drop-list em {
  font-style: normal;
  color: var(--muted);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: start;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--gold-strong);
  border: 1px solid rgba(248, 210, 157, 0.2);
  background: rgba(255,255,255,0.03);
  font-size: 0.88rem;
}

.news-item.hot {
  background: linear-gradient(90deg, rgba(73, 28, 20, 0.55), rgba(22, 16, 16, 0.92));
}

.media-strip {
  align-items: stretch;
}

.media-copy {
  max-width: 420px;
}

.media-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}

.mini-shot {
  min-height: 170px;
  border: 1px solid rgba(248, 210, 157, 0.14);
  background-size: cover;
  background-position: center;
}

.shot-one {
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.6)), radial-gradient(circle at center, rgba(255, 114, 72, 0.4), rgba(29, 12, 12, 0.95));
}

.shot-two {
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.58)), radial-gradient(circle at center, rgba(131, 80, 255, 0.28), rgba(18, 15, 33, 0.95));
}

.shot-three {
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.58)), radial-gradient(circle at center, rgba(255, 198, 92, 0.26), rgba(43, 21, 12, 0.95));
}

.inner-page main {
  display: grid;
  gap: 24px;
}

.small-hero {
  padding: 36px 28px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.version-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(248, 210, 157, 0.3);
  color: var(--gold-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.version-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  color: #140d08;
  background: linear-gradient(135deg, var(--gold-strong), #b56e34);
  box-shadow: 0 12px 34px rgba(181, 110, 52, 0.25);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(248, 210, 157, 0.26);
  background: rgba(255,255,255,0.02);
}

.pulse {
  animation: pulseGlow 2.4s infinite;
}

.notes {
  background: linear-gradient(180deg, rgba(25, 20, 20, 0.96), rgba(12, 10, 10, 0.98));
}

.footer {
  padding: 24px 10px 8px;
  text-align: center;
}

.footer-rich {
  padding-top: 32px;
  border-top: 1px solid rgba(248, 210, 157, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 10px 16px;
  text-align: left;
}

.footer-rich h4 {
  margin: 0 0 10px;
  color: var(--gold-strong);
}

.footer-bottom {
  margin-top: 8px;
  color: #9d9085;
  font-size: 0.92rem;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(181, 110, 52, 0.24);
  }
  50% {
    box-shadow: 0 10px 34px rgba(255, 122, 47, 0.42);
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .download-grid,
  .contact-grid,
  .class-showcase,
  .skill-grid,
  .boss-grid,
  .version-extra-grid,
  .schedule-drop-grid,
  .media-cards,
  .screenshot-grid,
  .showcase,
  .announcement-bar,
  .version-highlight,
  .download-banner,
  .media-strip,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 34px 24px 88px;
  }

  .hero-banner-copy {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  .floating-download {
    position: static;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-panel,
  .media-copy,
  .media-cards {
    width: 100%;
    max-width: 100%;
  }

  .schedule-list div,
  .drop-list div,
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 20px, 1220px);
  }

  nav {
    gap: 12px;
  }

  .hero-copy h2 {
    font-size: 2.15rem;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .download-grid,
  .contact-grid,
  .class-showcase,
  .skill-grid,
  .boss-grid,
  .version-extra-grid,
  .media-cards,
  .schedule-drop-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
}
