@font-face {
  font-family: "Cal Sans";
  src: url("assets/fonts/CalSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-main: "Cal Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: "Cal Sans", system-ui, sans-serif;
  --header-background: #0a0b0e;
  --page-background: #060709;
  --surface-dark: #0e1017;
  --surface-card: #13161f;
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  
  /* Luxury Gold Color Palette */
  --accent: #e5b85c;
  --accent-light: #fef08a;
  --accent-hover: #ffd875;
  --accent-deep: #b3821a;
  --accent-dark: #7a5408;
  --accent-soft: rgba(229, 184, 92, 0.28);
  --accent-glow: rgba(245, 197, 66, 0.45);
  
  --gold-gradient: linear-gradient(135deg, #fff3c4 0%, #e5b85c 38%, #c59b27 75%, #8c670f 100%);
  --gold-border: linear-gradient(135deg, rgba(255, 243, 196, 0.5), rgba(229, 184, 92, 0.2), rgba(140, 103, 15, 0.4));
  --gold-button: linear-gradient(135deg, #f3ca74 0%, #e5b85c 45%, #b3821a 100%);
  
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1400px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius-lg: clamp(22px, 2.4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page-background);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  position: relative;
}

/* Luxury Ambient Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  background: radial-gradient(circle at 50% 10%, rgba(229, 184, 92, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ---------- Reveal on Scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 84px;
  background: color-mix(in srgb, var(--header-background) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 184, 92, 0.12);
  transition: height 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  height: 68px;
  background: color-mix(in srgb, var(--header-background) 95%, transparent);
  border-bottom-color: rgba(229, 184, 92, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
  width: 100%;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.site-header__brand:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.site-header__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-selector__trigger {
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 184, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.language-selector__trigger:hover {
  background: rgba(229, 184, 92, 0.12);
  border-color: var(--accent);
}

.language-selector__active-flag {
  width: 20px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.language-selector__chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.25s var(--ease-out);
}

.language-selector.is-open .language-selector__chevron {
  transform: rotate(180deg);
}

.language-selector__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 6px;
  background: rgba(14, 16, 23, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(229, 184, 92, 0.3);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: all 0.22s var(--ease-out);
}

.language-selector.is-open .language-selector__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-selector__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}

.language-selector__option:hover {
  background: rgba(229, 184, 92, 0.18);
  color: var(--accent);
}

.language-selector__option.is-active {
  background: rgba(229, 184, 92, 0.22);
  color: #ffffff;
  border: 1px solid rgba(229, 184, 92, 0.35);
}

.language-selector__option img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.language-selector__option-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header Actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Forum Button */
.forum-button {
  min-width: 112px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(229, 184, 92, 0.12);
  border: 1px solid rgba(229, 184, 92, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.26s var(--ease-out);
}

.forum-button:hover {
  background: var(--accent);
  color: #0b0c10;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.forum-button__icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transition: filter 0.26s;
}

.forum-button:hover .forum-button__icon {
  filter: brightness(0);
}

/* Play Button CTA */
.play-button {
  height: 36px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--gold-button);
  color: #07090d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 18px rgba(229, 184, 92, 0.3);
  transition: all 0.28s var(--ease-out);
  white-space: nowrap;
}

.play-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(245, 197, 66, 0.5);
  filter: brightness(1.08);
}

.play-button:active {
  transform: translateY(0) scale(0.98);
}

.play-button__icon {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

/* Player Count (1:1 matching user screenshot) */
.player-count {
  position: relative;
  height: 36px;
  min-width: 96px;
  padding: 0 14px;
  border-radius: 9px;
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.player-count:hover {
  border-color: rgba(229, 184, 92, 0.35);
  box-shadow: 0 0 16px rgba(229, 184, 92, 0.15);
}

.player-count__value {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}

.player-count.is-updating .player-count__value {
  color: var(--accent);
}

.player-count__icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  /* Bronze/dark-gold tint matching screenshot */
  filter: invert(45%) sepia(60%) saturate(550%) hue-rotate(8deg) brightness(88%) contrast(92%);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  width: min(100% - (2 * var(--gutter)), var(--wrap));
  margin: clamp(20px, 2.5vw, 32px) auto 0;
  aspect-ratio: 1920 / 680;
  max-height: min(65vh, 560px);
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: #08090c;
  border: 1px solid rgba(229, 184, 92, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(229, 184, 92, 0.1);
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 0.15s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(229, 184, 92, 0.2) 0%, transparent 60%),
    radial-gradient(90% 80% at 10% 90%, rgba(229, 184, 92, 0.12) 0%, transparent 65%),
    linear-gradient(to top, rgba(6, 7, 9, 0.95) 0%, rgba(6, 7, 9, 0.2) 40%, transparent 70%);
  mix-blend-mode: screen;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__image {
  position: absolute;
  left: 0;
  top: -5%;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  will-change: transform, opacity;
  transform: scale(1.03);
}

.hero__image.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Floating Gold Particle Overlay */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: 
    radial-gradient(1.5px 1.5px at 20% 30%, #fef08a 50%, transparent),
    radial-gradient(2px 2px at 40% 70%, #e5b85c 50%, transparent),
    radial-gradient(1px 1px at 60% 20%, #fff 50%, transparent),
    radial-gradient(2px 2px at 80% 60%, #e5b85c 50%, transparent);
  background-size: 400px 400px;
  animation: particleDrift 20s linear infinite;
  opacity: 0.6;
}

@keyframes particleDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-400px); }
}

/* ---------- Server Selection Section ---------- */
.server-selection {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 6vw, 92px);
  overflow: hidden;
}

.server-selection__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(320px, 460px) minmax(280px, 400px);
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.4vw, 52px);
}

/* Liquid Title */
.server-selection__title {
  --liquid-x: 50%;
  --liquid-y: 50%;
  position: relative;
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: center;
  white-space: nowrap;
  cursor: default;
  isolation: isolate;
  text-transform: uppercase;
}

.server-selection__title span {
  display: block;
}

/* Liquid Gold Layer */
.server-selection__title-liquid {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: transparent;
  background:
    radial-gradient(circle at 18% 28%, #fff5d6 0 8%, transparent 32%),
    radial-gradient(circle at 78% 30%, #ffd769 0 13%, transparent 42%),
    radial-gradient(circle at 46% 82%, #b3821a 0 16%, transparent 46%),
    linear-gradient(120deg, #fff9e6 0%, #e5b85c 34%, #9e7314 66%, #ffd769 100%);
  background-size: 170% 170%, 190% 190%, 180% 180%, 220% 220%;
  background-position: 0% 30%, 100% 20%, 50% 100%, 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle 58px at var(--liquid-x) var(--liquid-y),
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.75) 80%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 58px at var(--liquid-x) var(--liquid-y),
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.75) 80%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 0 10px rgba(245, 197, 66, 0.6));
  transition: opacity 100ms linear;
  animation: liquidGoldFlow 3.2s ease-in-out infinite alternate;
}

.server-selection__title.is-liquid-active .server-selection__title-liquid {
  opacity: 1;
}

@keyframes liquidGoldFlow {
  0% { background-position: 0% 28%, 100% 18%, 48% 100%, 0% 50%; }
  50% { background-position: 38% 62%, 62% 58%, 70% 28%, 52% 50%; }
  100% { background-position: 76% 18%, 18% 72%, 22% 44%, 100% 50%; }
}

/* 3D Tilt Server Cards */
.server-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-lift: 0px;
  --card-scale: 1;
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 440 / 148;
  isolation: isolate;
  perspective: 850px;
  perspective-origin: 50% 50%;
  cursor: pointer;
}

.server-card__surface {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform, filter;
  transform:
    translate3d(0, var(--card-lift), 0)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    scale(var(--card-scale));
  transition: transform 300ms var(--ease-out), filter 220ms ease-out;
}

.server-card.is-tilting .server-card__surface {
  transition: none;
}

.server-card:hover .server-card__surface {
  filter:
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.6))
    drop-shadow(0 12px 28px rgba(229, 184, 92, 0.35));
}

.server-card__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
}

.server-card__fire {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: auto;
  height: clamp(190px, 22vw, 250px);
  max-width: none;
  pointer-events: none;
  /* Golden fire transformation */
  filter: hue-rotate(160deg) saturate(2.2) brightness(1.25) drop-shadow(0 0 25px rgba(229, 184, 92, 0.6));
  opacity: 0.9;
}

.server-card__fire--left {
  left: 0;
  transform: translate(-94%, -50%);
}

.server-card__fire--right {
  right: 0;
  transform: translate(94%, -50%);
}

.server-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #050505;
  text-align: center;
  transform: translateZ(38px);
}

.server-card__name {
  margin: 0;
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #0a0b0e;
}

.server-card__status {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #63480a;
  text-transform: uppercase;
}

.server-card__flag {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: clamp(44px, 4vw, 52px);
  height: auto;
  transform: translate(-50%, 50%) translateZ(48px);
  border-radius: 4px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* ---------- About & Features Section ---------- */
.about-features {
  position: relative;
  width: 100%;
  padding: clamp(62px, 7vw, 110px) 0 clamp(56px, 6vw, 96px);
  overflow: hidden;
}

.about-features::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -240px;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 92, 0.12), transparent 70%);
  pointer-events: none;
}

.about-features__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (2 * var(--gutter)), 1240px);
  margin: 0 auto;
}

.about-features__header {
  margin-bottom: clamp(26px, 3.5vw, 44px);
}

.about-features__title {
  max-width: 800px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  position: relative;
}

.about-features__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}

.about-features__tabs {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-left: 54px;
}

.about-feature-tab {
  position: relative;
  min-height: 110px;
  padding: 22px 28px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #0f1219;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: visible;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.28s var(--ease-out);
}

.about-feature-tab:hover:not(.is-active) {
  transform: translateY(-2px);
  background: #171b26;
  border-color: rgba(229, 184, 92, 0.35);
}

.about-feature-tab.is-active {
  background: #ffffff;
  color: #0a0b0e;
  border-color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(229, 184, 92, 0.3);
}

.about-feature-tab__number {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: color 0.28s;
}

.about-feature-tab.is-active .about-feature-tab__number {
  color: #997017;
}

.about-feature-tab__copy {
  display: grid;
  gap: 4px;
}

.about-feature-tab__copy strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-feature-tab__copy small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.65;
  text-transform: uppercase;
}

.about-feature-tab__active-icon {
  position: absolute;
  left: -58px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: auto;
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
  filter: hue-rotate(160deg) saturate(2);
}

.about-feature-tab.is-active .about-feature-tab__active-icon {
  opacity: 1;
}

/* Feature Panels */
.about-features__panels {
  position: relative;
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(229, 184, 92, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-feature-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

.about-feature-panel.is-active {
  opacity: 1;
  visibility: visible;
}

.about-feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-feature-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 11, 0.95) 0%, rgba(7, 8, 11, 0.5) 45%, transparent 75%);
}

.about-feature-panel__text {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.about-feature-panel__text h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
}

.about-feature-panel__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  text-transform: uppercase;
}

/* ---------- Community & Forum Section ---------- */
.community-forum {
  position: relative;
  width: 100%;
  padding: clamp(50px, 6vw, 90px) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 16, 23, 0.7) 50%, transparent 100%);
  border-top: 1px solid rgba(229, 184, 92, 0.1);
  border-bottom: 1px solid rgba(229, 184, 92, 0.1);
}

.community-forum__inner {
  width: min(100% - (2 * var(--gutter)), 1240px);
  margin: 0 auto;
}

.community-forum__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.community-forum__title-wrap {
  display: grid;
  gap: 8px;
}

.community-forum__subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.community-forum__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: uppercase;
}

.forum-action-btn {
  height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--gold-button);
  color: #07090d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.26s var(--ease-out);
  box-shadow: 0 8px 24px rgba(229, 184, 92, 0.25);
}

.forum-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 197, 66, 0.45);
  filter: brightness(1.08);
}

.community-forum__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.forum-card {
  position: relative;
  background: #0f1219;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.28s var(--ease-out);
  cursor: pointer;
}

.forum-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 184, 92, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.forum-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forum-card__badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(229, 184, 92, 0.15);
  color: var(--accent);
  border: 1px solid rgba(229, 184, 92, 0.3);
}

.forum-card__stats {
  font-size: 11px;
  color: var(--text-muted);
}

.forum-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.forum-card__description {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.forum-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Launcher Guide Section ---------- */
.launcher-guide {
  position: relative;
  width: 100%;
  padding: clamp(30px, 4vw, 50px) 0 clamp(80px, 9vw, 130px);
  overflow: hidden;
}

.launcher-guide::before {
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  left: -340px;
  bottom: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 92, 0.12), transparent 70%);
  pointer-events: none;
}

.launcher-guide__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (2 * var(--gutter)), 1280px);
  margin: 0 auto;
}

.launcher-guide__header {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-bottom: clamp(26px, 3.5vw, 48px);
}

.launcher-guide__title {
  position: relative;
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.launcher-guide__lead {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.launcher-guide__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: clamp(28px, 3.2vw, 48px);
  align-items: center;
  min-height: 540px;
}

.launcher-guide__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 540px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.launcher-guide__visual::before {
  content: "";
  position: absolute;
  left: 5%;
  top: 15%;
  width: 80%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 92, 0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.launcher-guide__visual img {
  position: relative;
  z-index: 2;
  width: 114%;
  max-width: none;
  height: auto;
  margin-left: -9%;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.5));
}

.launcher-guide__content {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 26px;
}

.launcher-guide__steps {
  display: grid;
  gap: 18px;
}

.launcher-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 18px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #08121b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  transition: all 0.32s var(--ease-out);
}

.launcher-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 20px rgba(229, 184, 92, 0.2);
}

.launcher-step__index {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b3821a;
}

.launcher-step__copy {
  display: grid;
  gap: 6px;
}

.launcher-step__copy h3 {
  margin: 0;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0a0b0e;
  text-transform: uppercase;
}

.launcher-step__copy p {
  margin: 0;
  max-width: 380px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(10, 11, 14, 0.65);
  text-transform: uppercase;
}

/* Launcher Download Area */
.launcher-download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.launcher-download__button {
  position: relative;
  min-width: 250px;
  min-height: 58px;
  padding: 8px 24px 8px 10px;
  border: 1px solid rgba(229, 184, 92, 0.3);
  border-radius: 18px;
  background: linear-gradient(135deg, #1f2229, #14161b);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.28s var(--ease-out);
}

.launcher-download__button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(229, 184, 92, 0.25);
}

.launcher-download__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: rgba(229, 184, 92, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.launcher-download__icon img {
  width: 18px;
  height: 18px;
  filter: invert(79%) sepia(23%) saturate(1000%) hue-rotate(359deg);
}

.launcher-download__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.launcher-download__status {
  padding-left: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  width: 100%;
  background: #08090d;
  border-top: 1px solid rgba(229, 184, 92, 0.15);
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -220px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 92, 0.08), transparent 70%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter) 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(380px, 1.3fr) minmax(200px, 0.8fr);
  align-items: start;
  gap: clamp(40px, 6vw, 90px);
  margin-bottom: 54px;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.24s;
}

.site-footer__logo-link:hover {
  transform: translateY(-2px);
}

.site-footer__logo {
  height: 52px;
  width: auto;
}

.site-footer__brandline {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__contacts {
  display: grid;
  gap: 26px;
}

.site-footer__contact {
  display: grid;
  gap: 8px;
}

.site-footer__contact span,
.site-footer__info-title {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__contact a {
  color: #ffffff;
  font-size: clamp(18px, 1.5vw, 22px);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  width: max-content;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer__contact a:hover {
  color: var(--accent);
}

.site-footer__info {
  display: grid;
  gap: 16px;
}

.site-footer__legal {
  display: grid;
  gap: 12px;
}

.site-footer__legal a {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.site-footer__legal a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 1px;
}

.site-footer__legal a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__legal-copy {
  display: grid;
  gap: 4px;
}

.site-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__online {
  min-width: 156px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-button);
  color: #07090d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.24s var(--ease-out);
  cursor: default;
}

.site-footer__online:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.site-footer__online-icon {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

/* ---------- Start-Playing Onboarding Modal ---------- */
body.is-start-flow-open {
  overflow: hidden;
}

.start-flow {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 60px);
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.start-flow[hidden] {
  display: none;
}

.start-flow.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.start-flow__dialog {
  position: relative;
  width: min(680px, 100%);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 60px 24px 40px;
  background: transparent;
  transform: translateY(14px);
  transition: transform 0.35s var(--ease-out);
}

.start-flow.is-open .start-flow__dialog {
  transform: translateY(0);
}

.start-flow__close {
  position: fixed;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 36px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 184, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.start-flow__close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.start-flow__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.2s;
}

.start-flow__close:hover span {
  background: #000;
}

.start-flow__close span:first-child { transform: rotate(45deg); }
.start-flow__close span:last-child { transform: rotate(-45deg); }

.start-flow__step {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.start-flow__step[hidden] {
  display: none;
}

.start-flow__step.is-active {
  animation: modalStepIn 0.35s var(--ease-out) forwards;
}

@keyframes modalStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.start-flow__icon {
  width: clamp(80px, 9vw, 100px);
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}

.start-flow__step h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.start-flow__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  width: 100%;
  max-width: 380px;
}

.start-flow__answer {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s var(--ease-out);
}

.start-flow__answer--yes {
  background: var(--gold-button);
  color: #07090d;
  box-shadow: 0 10px 25px rgba(229, 184, 92, 0.3);
}

.start-flow__answer--yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 197, 66, 0.45);
}

.start-flow__answer--no {
  background: #ffffff;
  color: #07090d;
}

.start-flow__answer--no:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .server-selection__inner {
    grid-template-columns: repeat(2, minmax(260px, 400px));
    gap: 40px 24px;
  }
  .server-selection__title {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .about-features__layout {
    grid-template-columns: 1fr;
  }
  .about-features__tabs {
    padding-left: 0;
  }
  .about-feature-tab__active-icon {
    display: none;
  }
  .launcher-guide__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .launcher-guide__visual {
    min-height: auto;
    justify-content: center;
  }
  .launcher-guide__visual img {
    width: 90%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .site-header__brand .site-header__logo {
    height: 38px;
  }
  .forum-button {
    display: none;
  }
  .server-selection__inner {
    grid-template-columns: 1fr;
  }
  .server-card:first-of-type,
  .server-card:last-of-type {
    grid-column: 1;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
