:root {
  --black: #020202;
  --charcoal: #090807;
  --panel: #15100d;
  --panel-2: #201812;
  --stone: #3a2e24;
  --gold-dark: #74430f;
  --gold: #c98f31;
  --gold-light: #ffe2a0;
  --red-dark: #2b0403;
  --red: #8d120d;
  --red-hot: #ef3e1e;
  --ember: #ff8a22;
  --text: #f7ead4;
  --muted: #b5a189;
  --line: rgba(201, 143, 49, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10rem, rgba(141, 18, 13, 0.32), transparent 34rem),
    linear-gradient(180deg, #020202, #100b08 42%, #050403);
  color: var(--text);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -5;
  background:
    repeating-linear-gradient(0deg, rgba(255, 226, 160, 0.018) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255, 226, 160, 0.014) 0 1px, transparent 1px 72px);
  opacity: 0.7;
}

body::after {
  z-index: 50;
  box-shadow: inset 0 0 170px #000, inset 0 0 360px rgba(0, 0, 0, 0.9);
}

a {
  color: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 480ms ease, visibility 480ms ease;
}

.preloader div {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.preloader span {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-light);
  font-size: clamp(2.4rem, 9vw, 5rem);
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(201, 143, 49, 0.35), 0 10px 30px #000;
}

.preloader b {
  width: 170px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 226, 160, 0.18);
}

.preloader b::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-hot), var(--gold-light));
  animation: loaderSweep 1.2s ease-in-out infinite;
}

body.is-loaded .preloader {
  visibility: hidden;
  opacity: 0;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold-light));
  box-shadow: 0 0 16px rgba(239, 62, 30, 0.55);
}

.page-border span {
  position: fixed;
  z-index: 58;
  display: block;
  pointer-events: none;
  background: rgba(255, 226, 160, 0.18);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.page-border__top,
.page-border__bottom {
  left: 20px;
  right: 20px;
  height: 1px;
}

.page-border__top {
  top: 20px;
}

.page-border__bottom {
  bottom: 20px;
}

.page-border__left,
.page-border__right {
  top: 20px;
  bottom: 20px;
  width: 1px;
}

.page-border__left {
  left: 20px;
}

.page-border__right {
  right: 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 226, 160, 0.16);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(5, 3, 3, 0.34));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
  transition: background 220ms ease, transform 220ms ease;
}

body.is-scrolled .site-header {
  background: rgba(0, 0, 0, 0.92);
}

.top-contacts,
.main-nav {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.top-contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  color: rgba(181, 161, 137, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-contacts__left,
.top-contacts__right {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-contacts a {
  text-decoration: none;
}

.top-contacts a:hover {
  color: var(--gold-light);
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 76px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 34px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  text-decoration: none;
  text-shadow: 0 3px 10px #000;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-hot), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--gold-light);
}

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

.header-logo,
.hero-logo,
.section-title h2,
.lore-panel h3,
.feature-card h3,
.news-main h3,
.news-card h3,
.rank-card h3,
.download-panel h2,
.requirements h3,
.footer strong {
  font-family: Georgia, "Times New Roman", serif;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
  min-height: 54px;
  color: var(--gold-light);
  font-size: 1.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(255, 226, 160, 0.28), 0 6px 16px #000;
}

.share-buttons {
  position: fixed;
  left: 20px;
  top: 50%;
  z-index: 55;
  display: grid;
  transform: translateY(-50%);
}

.share-buttons a {
  display: flex;
  align-items: center;
  min-width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(201, 143, 49, 0.34);
  border-left: 0;
  background: rgba(0, 0, 0, 0.62);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  transform: translateX(-1px);
  transition: width 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.share-buttons span {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.share-buttons b {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: width 180ms ease, opacity 180ms ease;
}

.share-buttons a:hover {
  border-color: var(--red-hot);
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(239, 62, 30, 0.28);
}

.share-buttons a:hover b {
  width: 78px;
  opacity: 1;
}

.side-buttons {
  position: fixed;
  right: 20px;
  bottom: 42px;
  z-index: 56;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.side-buttons a,
.side-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(201, 143, 49, 0.36);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.side-buttons a {
  padding: 0 18px;
}

.side-buttons button {
  width: 42px;
}

.side-buttons a:hover,
.side-buttons button:hover {
  border-color: var(--red-hot);
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(239, 62, 30, 0.26);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 148px 24px 118px;
}

.hero__image {
  position: absolute;
  inset: -7%;
  z-index: -8;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42) 48%, #020202 100%),
    radial-gradient(circle at 52% 40%, rgba(255, 226, 160, 0.18), transparent 20rem),
    radial-gradient(circle at 78% 24%, rgba(239, 62, 30, 0.34), transparent 18rem),
    url("/assets/ravaris2-dark-hero.png") center / cover no-repeat;
  filter: brightness(0.74) contrast(1.18) saturate(0.88);
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(1.07);
}

.hero__red,
.hero__gold,
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__red {
  z-index: -6;
  background:
    linear-gradient(128deg, transparent 0 54%, rgba(239, 62, 30, 0.1) 55%, transparent 57%),
    radial-gradient(circle at 75% 27%, rgba(239, 62, 30, 0.34), transparent 20rem);
  mix-blend-mode: screen;
  animation: redPulse 6s ease-in-out infinite;
}

.hero__gold {
  z-index: -5;
  background:
    linear-gradient(105deg, transparent 22%, rgba(255, 226, 160, 0.11) 44%, transparent 58%),
    radial-gradient(circle at 42% 40%, rgba(255, 226, 160, 0.16), transparent 18rem);
  animation: goldBreathe 8s ease-in-out infinite;
}

.hero__shade {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 16rem, rgba(0, 0, 0, 0.42) 28rem, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.86));
}

.hero__content {
  position: relative;
  width: min(980px, 100%);
  text-align: center;
  text-shadow: 0 10px 34px #000, 0 0 30px rgba(141, 18, 13, 0.45);
}

.hero__content::before,
.hero__content::after {
  content: "";
  display: block;
  width: min(700px, 88vw);
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold-light), var(--red), transparent);
  box-shadow: 0 0 22px rgba(239, 62, 30, 0.34);
}

.hero__content::before {
  margin-bottom: 30px;
}

.hero__content::after {
  margin-top: 36px;
}

.kicker,
.section-title span {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 226, 160, 0.22), 0 3px 10px #000;
}

.hero-logo {
  position: relative;
  margin: 15px 0 0;
  font-size: clamp(4.7rem, 15vw, 12rem);
  line-height: 0.82;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff7c8 0%, #ffd875 20%, #b87520 50%, #522207 74%, #ffe2a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(65, 34, 10, 0.72);
  filter:
    drop-shadow(0 0 14px rgba(255, 226, 160, 0.38))
    drop-shadow(0 0 30px rgba(141, 18, 13, 0.42))
    drop-shadow(0 16px 34px #000);
}

.hero-logo::after {
  content: "Ravaris2";
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(141, 18, 13, 0.42);
  -webkit-text-fill-color: rgba(141, 18, 13, 0.42);
  transform: translateY(9px) scale(1.035);
  filter: blur(8px);
}

.hero-slogan {
  max-width: 830px;
  margin: 20px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 54px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 160, 0.5);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, #30261e, #110d0b 58%, #050404);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px #000, inset 0 0 24px rgba(0, 0, 0, 0.58), 0 15px 32px rgba(0, 0, 0, 0.52);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.btn::before {
  inset: 5px;
  border: 1px solid rgba(201, 143, 49, 0.24);
}

.btn::after {
  inset: 0;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 226, 160, 0.24), transparent 46%);
  transform: translateX(-130%);
  transition: transform 560ms ease;
}

.btn:hover {
  border-color: var(--red-hot);
  box-shadow: 0 0 24px rgba(239, 62, 30, 0.48), inset 0 0 30px rgba(141, 18, 13, 0.4);
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn--gold {
  background:
    linear-gradient(180deg, rgba(255, 247, 200, 0.56), transparent 44%),
    linear-gradient(135deg, #7c420d, #d8a243 48%, #4a2108);
  color: #1a0d04;
}

.btn--red {
  border-color: rgba(239, 62, 30, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 138, 34, 0.18), transparent),
    linear-gradient(135deg, #220403, #8d120d 52%, #160303);
}

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(88px, 10vw, 132px);
  z-index: 4;
  width: min(300px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(201, 143, 49, 0.46);
  background: rgba(5, 4, 4, 0.72);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.72), 0 18px 36px rgba(0, 0, 0, 0.56);
}

.hero-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.hero-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 36px));
  margin: -56px auto 0;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(141, 18, 13, 0.28), transparent 18rem),
    linear-gradient(135deg, rgba(31, 24, 18, 0.96), rgba(5, 4, 4, 0.98));
  box-shadow: inset 0 0 0 1px #000, 0 24px 55px rgba(0, 0, 0, 0.52);
}

.status-strip article {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid rgba(201, 143, 49, 0.18);
}

.status-strip article:last-child {
  border-right: 0;
}

.status-strip span,
.rank-card span,
.requirements li,
.footer small {
  color: var(--muted);
}

.status-strip span {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
}

.section {
  position: relative;
  padding: clamp(82px, 9vw, 136px) clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(201, 143, 49, 0.14);
  background:
    radial-gradient(circle at 12% 8%, rgba(141, 18, 13, 0.12), transparent 26rem),
    radial-gradient(circle at 86% 38%, rgba(201, 143, 49, 0.07), transparent 24rem);
}

.section::before {
  content: "";
  position: absolute;
  top: 22px;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 143, 49, 0.45), rgba(141, 18, 13, 0.55), transparent);
}

.section-title {
  width: min(var(--max), 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-title h2 {
  margin: 10px 0 0;
  color: var(--gold-light);
  font-size: clamp(2.15rem, 6vw, 4.65rem);
  line-height: 0.96;
  text-shadow: 0 0 22px rgba(201, 143, 49, 0.22), 0 8px 24px #000;
}

.intro-grid,
.feature-grid,
.ranking-grid,
.wiki-grid,
.news-layout,
.download-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.framed-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 226, 160, 0.045), transparent 38%),
    radial-gradient(circle at 76% 0%, rgba(141, 18, 13, 0.22), transparent 11rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(35, 27, 20, 0.98), rgba(8, 6, 5, 0.98));
  box-shadow: inset 0 0 0 1px #000, inset 0 0 42px rgba(0, 0, 0, 0.48), 0 18px 44px rgba(0, 0, 0, 0.38);
}

.framed-panel::before,
.framed-panel::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.framed-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.framed-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--red-hot);
  border-bottom: 2px solid var(--red-hot);
  opacity: 0.62;
}

.lore-panel {
  min-height: 280px;
  padding: clamp(28px, 5vw, 44px);
}

.lore-panel--red {
  background:
    radial-gradient(circle at 76% 0%, rgba(239, 62, 30, 0.22), transparent 14rem),
    linear-gradient(135deg, rgba(35, 18, 16, 0.98), rgba(8, 6, 5, 0.98));
}

.lore-panel h3,
.feature-card h3,
.news-main h3,
.news-card h3,
.rank-card h3,
.requirements h3 {
  margin: 0;
  color: var(--gold-light);
  line-height: 1.1;
}

.lore-panel h3 {
  max-width: 440px;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.lore-panel p,
.feature-card p,
.news-main p,
.news-card p,
.download-panel p,
.footer p {
  color: var(--muted);
  line-height: 1.68;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 260px;
  padding: 30px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(239, 62, 30, 0.72);
  box-shadow: 0 0 26px rgba(239, 62, 30, 0.22), inset 0 0 38px rgba(141, 18, 13, 0.18);
  transform: translateY(-3px);
}

.feature-card b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 226, 160, 0.48);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  box-shadow: inset 0 0 20px rgba(141, 18, 13, 0.35);
}

.feature-card h3,
.news-card h3,
.rank-card h3 {
  font-size: 1.5rem;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.news-main,
.news-card {
  padding: 30px;
}

.news-main {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 70% 18%, rgba(239, 62, 30, 0.22), transparent 16rem),
    url("/assets/ravaris2-dark-hero.png") center / cover no-repeat;
}

.news-main h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.news-main a {
  align-self: flex-start;
  margin-top: 18px;
  color: var(--gold-light);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.news-stack {
  display: grid;
  gap: 22px;
}

.news-card time,
.news-main time {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rank-card {
  padding: 30px;
}

.rank-card ol {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rank-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 143, 49, 0.16);
}

.rank-card li span {
  color: var(--text);
}

.rank-card b {
  color: var(--gold);
  white-space: nowrap;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.wiki-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 160, 0.16), transparent 9rem),
    radial-gradient(circle at 84% 84%, rgba(141, 18, 13, 0.28), transparent 8rem),
    linear-gradient(135deg, rgba(39, 31, 25, 0.98), rgba(7, 5, 5, 0.98));
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #000, 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wiki-tile::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 143, 49, 0.22);
}

.wiki-tile:hover {
  border-color: var(--red-hot);
  box-shadow: 0 0 24px rgba(239, 62, 30, 0.28), inset 0 0 28px rgba(141, 18, 13, 0.18);
  transform: translateY(-3px);
}

.download-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 48px);
}

.download-panel h2 {
  margin: 8px 0 0;
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 4rem);
}

.requirements {
  padding-left: 24px;
  border-left: 1px solid rgba(201, 143, 49, 0.24);
}

.requirements ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.requirements li::before {
  content: "/";
  margin-right: 8px;
  color: var(--red-hot);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  padding: 38px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(201, 143, 49, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(141, 18, 13, 0.14), transparent 18rem),
    #030203;
}

.footer strong {
  color: var(--gold-light);
  font-size: 1.55rem;
}

.footer p {
  margin: 6px 0 0;
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold-light);
}

.atmosphere,
.fog {
  position: fixed;
  pointer-events: none;
}

.atmosphere {
  inset: 0;
  z-index: 45;
}

.embers {
  background-image:
    radial-gradient(circle, rgba(255, 138, 34, 0.82) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 226, 160, 0.52) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(239, 62, 30, 0.58) 0 1px, transparent 2px);
  background-size: 100px 170px, 170px 240px, 230px 300px;
  opacity: 0.48;
  animation: emberRise 18s linear infinite;
}

.ash {
  background-image:
    radial-gradient(circle, rgba(220, 210, 190, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(220, 210, 190, 0.14) 0 1px, transparent 2px);
  background-size: 130px 190px, 210px 270px;
  opacity: 0.32;
  animation: ashFall 24s linear infinite;
}

.fog {
  left: -18%;
  right: -18%;
  z-index: 44;
  height: 38vh;
  background: radial-gradient(ellipse at center, rgba(184, 171, 148, 0.13), rgba(184, 171, 148, 0.05) 42%, transparent 74%);
  filter: blur(20px);
  opacity: 0.72;
}

.fog--one {
  top: 20%;
  animation: fogDrift 34s ease-in-out infinite alternate;
}

.fog--two {
  bottom: 6%;
  animation: fogDrift 46s ease-in-out infinite alternate-reverse;
}

@keyframes emberRise {
  from {
    background-position: 0 100vh, 40px 90vh, 80px 110vh;
  }
  to {
    background-position: 0 -80vh, 40px -90vh, 80px -70vh;
  }
}

@keyframes ashFall {
  from {
    background-position: 0 -40vh, 70px -30vh;
  }
  to {
    background-position: 0 110vh, 70px 120vh;
  }
}

@keyframes fogDrift {
  from {
    transform: translateX(-7%);
  }
  to {
    transform: translateX(7%);
  }
}

@keyframes redPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  43% {
    opacity: 0.88;
  }
  48% {
    opacity: 0.25;
  }
  52% {
    opacity: 0.96;
  }
}

@keyframes goldBreathe {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-1%);
  }
  50% {
    opacity: 0.82;
    transform: translateX(1%);
  }
}

@keyframes loaderSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(260%);
  }
}

@media (max-width: 1040px) {
  .site-header {
    position: absolute;
  }

  .top-contacts {
    display: none;
  }

  .main-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .header-logo,
  .nav {
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .share-buttons,
  .side-buttons,
  .hero-card {
    display: none;
  }

  .intro-grid,
  .news-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .status-strip,
  .feature-grid,
  .ranking-grid,
  .wiki-grid,
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {
  .hero {
    min-height: 100svh;
    padding-top: 174px;
  }

  .nav {
    gap: 11px;
    font-size: 0.7rem;
  }

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

  .status-strip,
  .feature-grid,
  .ranking-grid,
  .wiki-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .status-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 143, 49, 0.18);
  }

  .requirements {
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
