/* ========================================
   金牛奇迹 · 黄金比例游戏官网视觉层
   Style anchor: premium MMORPG official site
   (Diablo IV / Lost Ark official aesthetic)
   Palette: deep space #0A0A0F · gold #C2B59B · white #FFFFFF
   Scale: φ = 1.618 (spacing / type / radius)
   Loaded AFTER style-unified-3d.css — structure & links unchanged
   ======================================== */

:root {
  /* —— Golden ratio color system —— */
  --primary: #C2B59B;
  --primary-light: #E8DFC8;
  --primary-lighter: #F4EFE4;
  --primary-dark: #A8997D;
  --primary-deep: #8B7355;
  --secondary: #FFFFFF;
  --tertiary: #ADADAD;

  --bg-primary: #07070B;
  --bg-secondary: #0E0E16;
  --bg-tertiary: #161622;
  --bg-card: rgba(14, 14, 22, 0.82);
  --bg-glass: rgba(18, 18, 28, 0.62);
  --bg-elevated: rgba(22, 22, 34, 0.9);

  --text-primary: #FFFFFF;
  --text-secondary: #C8C4BA;
  --text-tertiary: #9A968C;
  --text-muted: #6E6A62;

  --border-soft: 1px solid rgba(194, 181, 155, 0.12);
  --border-medium: 1px solid rgba(194, 181, 155, 0.28);
  --border-strong: 1px solid rgba(194, 181, 155, 0.55);
  --border-glow: 1px solid rgba(194, 181, 155, 0.75);

  /* —— Golden spacing (φⁿ from 8px) —— */
  --φ: 1.6180339887;
  --sp-0: 0;
  --sp-1: 5px;    /* 8 / φ² */
  --sp-2: 8px;
  --sp-3: 13px;   /* 8 × φ */
  --sp-4: 21px;   /* 8 × φ² */
  --sp-5: 34px;   /* 8 × φ³ */
  --sp-6: 55px;   /* 8 × φ⁴ */
  --sp-7: 89px;   /* 8 × φ⁵ */
  --sp-8: 144px;  /* 8 × φ⁶ */
  --sp-9: 233px;  /* 8 × φ⁷ */
  --sp-10: 377px; /* 8 × φ⁸ */

  /* —— Golden radius —— */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 13px;
  --radius-xl: 21px;
  --radius-2xl: 34px;
  --radius-pill: 9999px;

  /* —— Golden type scale (×φ) —— */
  --fs-0: 0.618rem;   /* caption */
  --fs-1: 0.819rem;   /* meta */
  --fs-2: 1rem;       /* body base */
  --fs-3: 1.309rem;   /* card title / lead */
  --fs-4: 1.618rem;   /* section title */
  --fs-5: 2.618rem;   /* page title */
  --fs-6: 4.236rem;   /* hero */
  --fs-7: 6.854rem;   /* display */

  /* —— Golden content measure —— */
  --content-max: 1170px;       /* 720 × φ */
  --content-wide: 1440px;
  --measure-text: 60ch;        /* readable line length */
  --measure-narrow: 42ch;

  /* —— Shadows & glows —— */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 24px rgba(194, 181, 155, 0.28);
  --shadow-gold-lg: 0 0 48px rgba(194, 181, 155, 0.42);
  --shadow-gold-xl: 0 24px 64px rgba(194, 181, 155, 0.35);

  /* —— Motion —— */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-fast: 0.2s var(--ease-soft);
  --t-mid: 0.45s var(--ease-out);
  --t-slow: 0.7s var(--ease-out);
}

/* ========================================
   Global polish — hierarchy, focus, rhythm
   ======================================== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.618;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(194, 181, 155, 0.35);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  border-radius: 8px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a {
  color: var(--primary);
  transition: color var(--t-fast), opacity var(--t-fast);
}
a:hover {
  color: var(--primary-light);
}

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

/* ========================================
   Ambient golden atmosphere
   ======================================== */
#particles-bg {
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(194, 181, 155, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 115, 85, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(194, 181, 155, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #07070B 0%, #0E0E16 45%, #07070B 100%);
}

.page-bg-slider::before {
  background:
    linear-gradient(180deg, rgba(7, 7, 11, 0.72) 0%, rgba(7, 7, 11, 0.45) 45%, rgba(7, 7, 11, 0.82) 100%),
    linear-gradient(90deg, rgba(194, 181, 155, 0.06) 0%, transparent 40%, transparent 60%, rgba(194, 181, 155, 0.05) 100%);
}

/* ========================================
   Navbar — refined game-official chrome
   ======================================== */
#mainNav {
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.92) 0%, rgba(7, 7, 11, 0.72) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(194, 181, 155, 0.18);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(194, 181, 155, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
}

#mainNav.scrolled {
  background: rgba(7, 7, 11, 0.94);
  border-bottom-color: rgba(194, 181, 155, 0.32);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(194, 181, 155, 0.12);
}

.navbar-brand {
  gap: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-lg);
  transition: background var(--t-fast), transform var(--t-mid);
}

.navbar-brand:hover {
  background: rgba(194, 181, 155, 0.06);
}

.logo-3d {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(194, 181, 155, 0.45));
}

.brand-text {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary) 45%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: var(--text-tertiary) !important;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 8px 16px !important;
  margin: 0 3px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light) !important;
  background: rgba(194, 181, 155, 0.10);
  border-color: rgba(194, 181, 155, 0.22);
  transform: translateY(-1px);
}

.nav-link .icon-3d-sm {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  opacity: 0.85;
}

.btn-nav-login {
  border: 1px solid rgba(194, 181, 155, 0.35) !important;
  color: var(--primary) !important;
}

.btn-nav-login:hover {
  background: rgba(194, 181, 155, 0.14) !important;
  border-color: var(--primary) !important;
}

.btn-nav-register {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  color: var(--bg-primary) !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(194, 181, 155, 0.35);
}

.btn-nav-register:hover {
  color: var(--bg-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(194, 181, 155, 0.5);
}

/* ========================================
   Typography — golden hierarchy
   ======================================== */
.hero-title {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  background: linear-gradient(
    160deg,
    var(--primary-lighter) 0%,
    var(--primary) 38%,
    var(--primary-deep) 62%,
    var(--primary-light) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 28px rgba(194, 181, 155, 0.28));
  animation: heroSheen 8s ease-in-out infinite;
}

@keyframes heroSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-title::before {
  display: none;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-bottom: var(--sp-6);
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.section-title-3d {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-3d::after {
  width: 62px; /* ≈ 8 × φ³ */
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  bottom: -12px;
  border-radius: 2px;
}

.section-header-3d {
  margin-bottom: var(--sp-7);
}

.section-subtitle-3d {
  color: var(--text-secondary);
  font-size: var(--fs-3);
  max-width: 34em;
  margin-top: var(--sp-4);
  line-height: 1.618;
}

/* ========================================
   Hero composition
   ======================================== */
.hero-section {
  min-height: 72vh;
  padding: 170px 0 var(--sp-7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 920px;
}

.hero-content::after {
  content: '';
  display: block;
  width: 210px; /* ≈ 8 × φ⁴ */
  height: 1px;
  margin: var(--sp-5) auto 0;
  background: linear-gradient(90deg, transparent, rgba(194, 181, 155, 0.55), transparent);
}

.hero-badges {
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.badge-3d {
  padding: 8px 18px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(194, 181, 155, 0.28);
  background: rgba(14, 14, 22, 0.55);
  color: var(--primary-light);
  backdrop-filter: blur(12px);
  animation: none;
  transition: transform var(--t-mid), border-color var(--t-fast), box-shadow var(--t-mid);
}

.badge-3d:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
  background: rgba(194, 181, 155, 0.12);
}

.hero-cta {
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

/* ========================================
   Buttons — game-official CTA system
   ======================================== */
.btn-3d {
  padding: 13px 34px; /* φ: 8 × φ → 8 × φ³ */
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform var(--t-mid), box-shadow var(--t-mid), background var(--t-fast), color var(--t-fast);
}

.btn-3d-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 45%, var(--primary-dark) 100%);
  color: #120E08;
  box-shadow:
    0 8px 24px rgba(194, 181, 155, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-3d-primary:hover {
  color: #120E08;
  transform: translateY(-3px);
  box-shadow:
    0 14px 36px rgba(194, 181, 155, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-3d-secondary {
  background: rgba(14, 14, 22, 0.4);
  color: var(--primary-light);
  border: 1px solid rgba(194, 181, 155, 0.55);
  backdrop-filter: blur(8px);
}

.btn-3d-secondary:hover {
  background: rgba(194, 181, 155, 0.14);
  color: var(--primary-lighter);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-3d-lg {
  padding: 18px 42px; /* φ: 8 × φ³ → 8 × φ⁴ */
  font-size: 1.1rem;
}

.btn-3d-hero {
  min-width: 180px;
  box-shadow:
    0 10px 28px rgba(194, 181, 155, 0.42),
    0 0 0 1px rgba(194, 181, 155, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========================================
   Content sections — breathing rhythm
   ======================================== */
.content-section {
  padding: var(--sp-7) 0;
  position: relative;
}

.content-section-alt {
  background:
    linear-gradient(180deg, rgba(14, 14, 22, 0.55) 0%, rgba(10, 10, 16, 0.75) 100%);
  border-top: var(--border-soft);
  border-bottom: var(--border-soft);
}

/* ========================================
   Cards — glass + gold edge
   ======================================== */
.card-3d,
.feature-card,
.download-card,
.guide-step,
.faq-item,
.quick-link-card,
.system-requirements,
.alert-info {
  background: linear-gradient(160deg, rgba(22, 22, 34, 0.78) 0%, rgba(12, 12, 18, 0.82) 100%);
  border: var(--border-soft);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.feature-card,
.download-card,
.guide-step,
.faq-item,
.quick-link-card {
  padding: var(--sp-5);
  transition: transform var(--t-mid), border-color var(--t-fast), box-shadow var(--t-mid);
}

.feature-card:hover,
.download-card:hover,
.guide-step:hover,
.faq-item:hover,
.quick-link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 181, 155, 0.4);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.feature-icon,
.download-icon,
.quick-link-icon {
  background: radial-gradient(circle at 30% 30%, rgba(194, 181, 155, 0.22), rgba(194, 181, 155, 0.05));
  border: 1px solid rgba(194, 181, 155, 0.35);
  border-radius: 50%;
}

.feature-title,
.download-title,
.step-title {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.feature-desc,
.download-desc,
.step-content,
.faq-answer {
  color: var(--text-secondary);
  line-height: 1.618;
}

/* ========================================
   Download center — core client CTA
   ======================================== */
.client-core-banner {
  position: relative;
  margin: 0 auto var(--sp-6);
  max-width: var(--content-max);
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(ellipse 80% 120% at 10% 0%, rgba(194, 181, 155, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 100% at 100% 100%, rgba(139, 115, 85, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, rgba(22, 18, 12, 0.95) 0%, rgba(12, 12, 18, 0.92) 55%, rgba(18, 14, 10, 0.95) 100%);
  border: 1px solid rgba(194, 181, 155, 0.45);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(194, 181, 155, 0.12),
    inset 0 1px 0 rgba(232, 223, 200, 0.15);
  overflow: hidden;
  text-align: left;
}

.client-core-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(232, 223, 200, 0.08) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: coreSweep 4.5s var(--ease-soft) infinite;
  pointer-events: none;
}

@keyframes coreSweep {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.client-core-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 42%;
  height: 180%;
  background: radial-gradient(circle, rgba(194, 181, 155, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.client-core-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-lighter);
  background: rgba(194, 181, 155, 0.14);
  border: 1px solid rgba(194, 181, 155, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: var(--sp-3);
}

.client-core-banner .client-core-title {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 var(--sp-2);
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.client-core-banner .client-core-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.618;
  max-width: 48em;
  margin: 0 0 var(--sp-4);
}

.client-core-banner .client-core-desc strong {
  color: var(--primary-light);
  font-weight: 600;
}

.client-core-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.client-core-point {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(194, 181, 155, 0.16);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-3);
}

.client-core-point h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

.client-core-point p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.client-core-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  position: relative;
  z-index: 1;
}

.client-core-url {
  font-family: 'Orbitron', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  opacity: 0.85;
}

.client-core-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-lg);
  background: rgba(194, 181, 155, 0.08);
  border: 1px solid rgba(194, 181, 155, 0.28);
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.client-core-warning svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  margin-top: 2px;
}

.client-core-warning strong {
  color: var(--primary-light);
}

/* Featured client download card */
.download-card-download-client {
  border: 1px solid rgba(194, 181, 155, 0.45);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(194, 181, 155, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, rgba(28, 24, 16, 0.9) 0%, rgba(12, 12, 18, 0.9) 100%);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.download-card-download-client:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), var(--shadow-gold-lg);
  transform: translateY(-8px);
}

.download-card-download-client .download-icon {
  width: 96px;
  height: 96px;
  border-color: rgba(194, 181, 155, 0.55);
  background: radial-gradient(circle at 30% 30%, rgba(194, 181, 155, 0.3), rgba(194, 181, 155, 0.06));
}

.download-card-download-client .download-title {
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #120E08;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.download-note small {
  color: var(--primary-light);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.08em;
}

/* Requirements table */
.system-requirements {
  overflow: hidden;
  padding: 0;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
}

.requirements-table thead th {
  background: rgba(194, 181, 155, 0.10);
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(194, 181, 155, 0.22);
}

.requirements-table tbody td {
  padding: 14px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(194, 181, 155, 0.08);
}

.requirements-table tbody tr:last-child td {
  border-bottom: none;
}

.requirements-table tbody tr:hover td {
  background: rgba(194, 181, 155, 0.04);
  color: var(--text-primary);
}

/* Alert */
.alert-info {
  border: 1px solid rgba(194, 181, 155, 0.28);
  background: linear-gradient(135deg, rgba(194, 181, 155, 0.10) 0%, rgba(14, 14, 22, 0.7) 100%);
  color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background:
    linear-gradient(180deg, rgba(7, 7, 11, 0.2) 0%, rgba(7, 7, 11, 0.95) 40%),
    var(--bg-primary);
  border-top: 1px solid rgba(194, 181, 155, 0.16);
  padding-top: var(--sp-7);
}

.footer-title {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-heading {
  color: var(--primary-light);
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: var(--sp-3);
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px; /* 8 × φ³ */
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.footer-links a {
  color: var(--text-tertiary);
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-divider {
  border-color: rgba(194, 181, 155, 0.14);
  opacity: 1;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(194, 181, 155, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--t-mid);
  margin-right: 8px;
}

.social-icon:hover {
  background: rgba(194, 181, 155, 0.14);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: var(--primary-lighter);
}

.icp-link {
  color: var(--text-muted);
  text-decoration: none;
}

.icp-link:hover {
  color: var(--primary);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-3d {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--sp-3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(14, 14, 22, 0.5);
  border: 1px solid rgba(194, 181, 155, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
}

.breadcrumb-3d a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.breadcrumb-3d a:hover {
  color: var(--primary-light);
}

.breadcrumb-3d .current {
  color: var(--primary-light);
}

.breadcrumb-3d .separator {
  color: var(--text-muted);
}

/* ========================================
   Announcement polish (keep structure)
   ======================================== */
.announcement-banner {
  background: linear-gradient(90deg, #0A0A0F 0%, #1A150C 35%, #0A0A0F 55%, #1A150C 80%, #0A0A0F 100%);
  background-size: 200% 100%;
  border-bottom: 1px solid rgba(194, 181, 155, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ========================================
   Responsive — golden density
   ======================================== */
@media (max-width: 991px) {
  .hero-section {
    padding: 140px 0 var(--sp-6);
    min-height: auto;
  }

  .content-section {
    padding: var(--sp-6) 0;
  }

  .client-core-points {
    grid-template-columns: 1fr;
  }

  .client-core-banner {
    padding: var(--sp-4);
  }

  .section-header-3d {
    margin-bottom: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-3d {
    width: 100%;
  }

  .client-core-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .client-core-actions .btn-3d {
    width: 100%;
    text-align: center;
  }

  .client-core-url {
    text-align: center;
  }

  .download-card,
  .feature-card,
  .guide-step,
  .faq-item {
    padding: var(--sp-4);
  }
}

/* ========================================
   Utility — golden measure
   ======================================== */
.measure-text {
  max-width: var(--measure-text);
}

.gold-rule {
  width: 62px;
  height: 2px;
  margin: var(--sp-3) 0;
  background: linear-gradient(90deg, var(--primary), transparent);
  border: none;
}

/* ========================================
   Homepage — cinematic game-official polish
   ======================================== */
.home-hero-stage {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 180px 0 80px;
  overflow: hidden;
}

.home-hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(194, 181, 155, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(139, 115, 85, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 25% 55%, rgba(194, 181, 155, 0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.home-hero-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(720px, 86%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 181, 155, 0.45), transparent);
}

.home-hero-stage .hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.home-hero-stage .hero-title {
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  margin-bottom: var(--sp-3);
  line-height: 1.05;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(194, 181, 155, 0.35);
  background: rgba(14, 14, 22, 0.45);
  color: var(--primary-light);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.home-hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(194, 181, 155, 0.8);
}

.home-hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 36em;
  margin: 0 auto var(--sp-4);
  line-height: 1.75;
}

.home-hero-lead strong {
  color: var(--primary-light);
  font-weight: 600;
}

/* Stat ribbon under hero */
.home-stats {
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home-stat {
  text-align: center;
  padding: var(--sp-3) var(--sp-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 181, 155, 0.16);
  background: rgba(12, 12, 18, 0.45);
  backdrop-filter: blur(10px);
}

.home-stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.home-stat-label {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

/* Client strip mid-page */
.client-strip {
  margin: 0 auto var(--sp-6);
  max-width: var(--content-max);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(194, 181, 155, 0.38);
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(194, 181, 155, 0.16) 0%, transparent 55%),
    linear-gradient(120deg, rgba(18, 14, 10, 0.92) 0%, rgba(12, 12, 18, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  box-shadow: var(--shadow-md), var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.client-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(232, 223, 200, 0.07) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: coreSweep 5s var(--ease-soft) infinite;
  pointer-events: none;
}

.client-strip-text h3 {
  margin: 0 0 6px;
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.client-strip-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 42em;
  line-height: 1.6;
}

.client-strip-text p strong {
  color: var(--primary-light);
}

.client-strip .btn-3d {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* Feature cards */
.feature-card {
  height: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), transparent);
  transition: height var(--t-mid);
}

.feature-card:hover::after {
  height: 100%;
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 var(--sp-3);
}

.feature-card .feature-title {
  font-size: var(--fs-3);
  margin-bottom: var(--sp-2);
}

/* Class cards */
.class-card {
  height: 100%;
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius-xl);
  border: var(--border-soft);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(194, 181, 155, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, rgba(22, 22, 34, 0.8) 0%, rgba(12, 12, 18, 0.88) 100%);
  transition: transform var(--t-mid), border-color var(--t-fast), box-shadow var(--t-mid);
  position: relative;
  overflow: hidden;
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: rgba(194, 181, 155, 0.45);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.class-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 181, 155, 0.4);
  background: radial-gradient(circle at 30% 30%, rgba(194, 181, 155, 0.28), rgba(194, 181, 155, 0.05));
  color: var(--primary-light);
}

.class-icon svg {
  width: 34px;
  height: 34px;
}

.class-name {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.class-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: var(--sp-3);
}

.class-stats {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(194, 181, 155, 0.12);
}

.class-stat-value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-light);
  line-height: 1.2;
}

.class-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Screenshots */
.screenshot-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(194, 181, 155, 0.18);
  background: var(--bg-secondary);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-fast);
  height: 100%;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 181, 155, 0.4);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.screenshot-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
  filter: saturate(1.05) contrast(1.02);
}

.main-screenshot .screenshot-image {
  min-height: 420px;
}

.screenshot-card:hover .screenshot-image {
  transform: scale(1.04);
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 7, 11, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  pointer-events: none;
}

.screenshot-label {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  border-left: 2px solid var(--primary);
  padding-left: 12px;
}

/* News cards */
.news-card {
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--border-soft);
  background: linear-gradient(160deg, rgba(22, 22, 34, 0.78) 0%, rgba(12, 12, 18, 0.88) 100%);
  transition: transform var(--t-mid), border-color var(--t-fast), box-shadow var(--t-mid);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 181, 155, 0.4);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.news-image-wrapper {
  height: 150px;
  background:
    radial-gradient(circle at 30% 40%, rgba(194, 181, 155, 0.2), transparent 55%),
    linear-gradient(135deg, #161622 0%, #0e0e16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(194, 181, 155, 0.1);
}

.news-image-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(194, 181, 155, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(194, 181, 155, 0.08);
}

.news-content {
  padding: var(--sp-4);
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-date svg {
  width: 14px;
  height: 14px;
}

.news-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color var(--t-fast);
}

.news-card:hover .news-title {
  color: var(--primary-light);
}

.news-excerpt {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Testimonials */
.testimonial-card {
  height: 100%;
  padding: var(--sp-4);
  border-radius: var(--radius-xl);
  border: var(--border-soft);
  background: linear-gradient(160deg, rgba(22, 22, 34, 0.78) 0%, rgba(12, 12, 18, 0.88) 100%);
  transition: transform var(--t-mid), border-color var(--t-fast), box-shadow var(--t-mid);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(194, 181, 155, 0.12);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 181, 155, 0.35);
  box-shadow: var(--shadow-gold);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: var(--sp-3);
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #120E08;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Quick links */
.quick-link-card {
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.quick-link-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
}

.quick-link-icon svg {
  width: 26px;
  height: 26px;
}

.quick-link-card h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.quick-link-card p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.quick-link-card:hover h4 {
  color: var(--primary-light);
}

/* Homepage settings section polish */
.game-settings-section {
  background:
    linear-gradient(180deg, rgba(7, 7, 11, 0.2) 0%, rgba(14, 14, 22, 0.7) 40%, rgba(7, 7, 11, 0.3) 100%) !important;
}

.setting-card {
  border-radius: var(--radius-xl) !important;
  border: 1px solid rgba(194, 181, 155, 0.14) !important;
}

.setting-card:hover {
  border-color: rgba(194, 181, 155, 0.4) !important;
}

.settings-tab {
  border-radius: var(--radius-pill) !important;
}

.settings-tab.active {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)) !important;
  color: #120E08 !important;
  border-color: var(--primary) !important;
}

/* Section headers with left-aligned gold on wide screens optional */
.section-header-3d {
  position: relative;
}

/* Bottom CTA band */
.home-cta-band {
  margin-top: var(--sp-5);
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(194, 181, 155, 0.3);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(194, 181, 155, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, rgba(16, 14, 10, 0.75) 0%, rgba(10, 10, 16, 0.85) 100%);
}

.home-cta-band h3 {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-cta-band p {
  color: var(--text-secondary);
  max-width: 36em;
  margin: 0 auto var(--sp-4);
}

.home-cta-band .hero-cta {
  margin-top: 0;
}

@media (max-width: 991px) {
  .home-hero-stage {
    min-height: auto;
    padding: 140px 0 56px;
  }

  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-screenshot .screenshot-image {
    min-height: 260px;
  }

  .client-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .client-strip .btn-3d {
    width: 100%;
  }
}
