/* ============================================
   LOOT EDITOR FOR DAYZ — Bold Enterprise Design
   Distinctive, dynamic, premium
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --bg-primary: #0c0c0e;
  --bg-secondary: #111114;
  --bg-tertiary: #18181c;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #636366;

  --accent: #0a84ff;
  --accent-light: #5ac8fa;
  --accent-glow: rgba(10, 132, 255, 0.15);
  --accent-gradient: linear-gradient(135deg, #0a84ff, #00d2ff);

  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --section-gap: 0px;
  --max-width: 1200px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  --ease: 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--accent-light);
}

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

code {
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  color: #e4e4e7;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(10, 132, 255, 0.15);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   NAVBAR — Floating pill
   ============================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: 800px;
  height: auto;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all var(--ease);
}

.navbar.scrolled {
  background: rgba(12, 12, 14, 0.88);
  border-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  max-width: none;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-logo:hover {
  color: var(--text-primary);
}

.navbar-logo .logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform var(--ease);
}

.navbar-logo:hover .logo-img {
  transform: scale(1.05);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.78rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all var(--ease);
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent);
  color: white !important;
  font-weight: 600;
  font-size: 0.78rem;
  border-radius: var(--radius-pill);
  transition: all var(--ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: #0070e0;
  color: white !important;
  transform: scale(1.03);
}

.navbar-cta svg {
  width: 14px;
  height: 14px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: var(--ease);
}

/* ============================================
   HERO — Full-bleed cinematic
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Dark gradient overlay behind text */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10, 132, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(191, 90, 242, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg,
.hero-grid,
.hero-particles {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero-content--centered {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: #30d158;
  margin-bottom: 28px;
}

.hero-badge .pulse {
  width: 7px;
  height: 7px;
  background: #30d158;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.5);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.hero-logo {
  max-width: 250px;
  height: auto;
  margin: 0 auto 24px auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  transition: transform var(--ease);
}

@media (min-width: 768px) {
  .hero-logo {
    max-width: 320px;
  }
}

.hero-title,
.hero-content--centered .hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.045em;
  color: var(--text-primary);
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-content--centered .hero-actions {
  justify-content: center;
}

.hero-content--centered .hero-stats {
  justify-content: center;
}

/* Primary button — gradient */
.btn-steam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-steam::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease);
}

.btn-steam:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 132, 255, 0.35);
}

.btn-steam:hover::before {
  opacity: 1;
}

.btn-steam svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat .stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero image — full-bleed cinematic */
.hero-3d-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 0;
  position: relative;
}


.hero-3d-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: scale(1.03) translateY(20px);
  opacity: 0.7;
  transition: transform 0.1s linear, box-shadow 0.4s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.hero-3d-card img {
  width: 100%;
  display: block;
}

.hero-3d-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 132, 255, 0.06) 0%,
      transparent 25%,
      transparent 80%,
      rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* Float badges — removed */

/* Fade-out gradient at bottom of hero */
.hero-3d-wrapper::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* ============================================
   FEATURES — Bento Grid
   ============================================ */
.features {
  border-top: none;
  padding-top: 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: all var(--ease);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 132, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(10, 132, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  transition: all var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 20px rgba(10, 132, 255, 0.2);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   FEATURE SHOWCASE — Immersive sections
   ============================================ */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 140px;
}

.feature-showcase:last-child {
  margin-bottom: 0;
}

.feature-showcase.reverse {
  direction: rtl;
}

.feature-showcase.reverse>* {
  direction: ltr;
}

.feature-showcase-content {
  padding-right: 0;
}

.feature-showcase.reverse .feature-showcase-content {
  padding-right: 0;
  padding-left: 0;
}

.feature-showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--accent-glow);
  border-radius: var(--radius-pill);
}

.feature-showcase-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.feature-showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-showcase-list li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #30d158;
  font-size: 0.65rem;
  margin-top: 2px;
}

/* Showcase image — with vignette and zoom effects */
.feature-showcase-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Vignette overlay */
.feature-showcase-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(12, 12, 14, 0.4) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-showcase-visual:hover {
  border-color: var(--border-light);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(-6px);
}

.feature-showcase-visual:hover::after {
  opacity: 0.5;
}

.feature-showcase-visual img {
  width: 100%;
  display: block;
}

.showcase-img {
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.feature-showcase-visual:hover .showcase-img {
  transform: scale(1.04);
}

.content-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   PERFORMANCE — Bold statement
   ============================================ */
.performance {
  text-align: center;
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

/* Animated gradient orb behind */
.performance::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(10, 132, 255, 0.1) 0%,
      rgba(191, 90, 242, 0.05) 40%,
      transparent 70%);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.performance-headline {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  position: relative;
}

.performance-headline .count {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.performance-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 64px;
  line-height: 1.65;
  position: relative;
}

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  max-width: 720px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: all var(--ease);
  position: relative;
}

.metric-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   GALLERY — Masonry-style grid
   ============================================ */
.gallery {
  padding: 120px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Vignette on gallery items */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(12, 12, 14, 0.5) 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border-color: var(--border-light);
}

.gallery-item:hover::after {
  opacity: 0.3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   FAQ — Refined
   ============================================ */
.faq {
  padding: 120px 0;
}

.faq-container {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--ease);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--ease);
  background: none;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   CTA BANNER — Bold gradient
   ============================================ */
.cta-banner {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(10, 132, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(191, 90, 242, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Divider line at top */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-banner .container {
  position: relative;
}

.cta-title {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 460px;
  margin-inline: auto;
  line-height: 1.6;
}

.cta-banner .btn-steam {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 44px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .navbar-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 56px;
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 24px;
}

.footer-logo-center img {
  max-width: 250px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
  margin-top: -15px;
}

.footer-logo-center img:hover {
  transform: scale(1.02);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0.6;
  display: inline-block;
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--ease);
}

.footer-socials a:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.10s;
}

.stagger-3 {
  transition-delay: 0.15s;
}

.stagger-4 {
  transition-delay: 0.20s;
}

.stagger-5 {
  transition-delay: 0.25s;
}

.stagger-6 {
  transition-delay: 0.30s;
}

/* ============================================
   HERO ENTRANCE — Staggered load animation
   ============================================ */
.hero-entrance {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-entrance.hero-entrance-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-entrance-1 {
  transition-delay: 0.1s;
}

.hero-entrance-2 {
  transition-delay: 0.2s;
}

.hero-entrance-3 {
  transition-delay: 0.35s;
}

.hero-entrance-4 {
  transition-delay: 0.5s;
}

.hero-entrance-5 {
  transition-delay: 0.65s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
    width: auto;
  }

  .hero-title,
  .hero-content--centered .hero-title {
    font-size: 3.25rem;
  }

  .hero-3d-wrapper {
    max-width: 95%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-showcase.reverse {
    direction: ltr;
  }

  .feature-showcase-content {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .performance-headline {
    font-size: 3.5rem;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 6px 6px 6px 16px;
  }

  .navbar-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 8px;
    right: 8px;
    background: rgba(12, 12, 14, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero .container {
    padding-top: 60px;
  }

  .hero-title,
  .hero-content--centered .hero-title {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .performance-headline {
    font-size: 2.5rem;
  }

  .performance-metrics {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .cta-title {
    font-size: 2.1rem;
  }

  .performance {
    padding: 100px 0;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

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

  .btn-steam,
  .btn-secondary {
    justify-content: center;
  }
}

/* ============================================
   DOCS PAGE
   ============================================ */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 56px);
  padding-top: 80px;
}

.docs-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 28px 20px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.docs-sidebar-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.docs-nav {
  list-style: none;
}

.docs-nav-group {
  margin-bottom: 20px;
}

.docs-nav-group-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  margin-bottom: 2px;
}

.docs-nav-group ul {
  list-style: none;
  padding-left: 8px;
}

.docs-nav-group a {
  display: block;
  padding: 5px 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
  border-left: 2px solid transparent;
}

.docs-nav-group a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.docs-nav-group a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-glow);
}

.docs-content {
  padding: 40px 56px;
  max-width: 960px;
}

.docs-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.docs-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.docs-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
}

.docs-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.docs-content ul,
.docs-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.docs-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

.docs-content pre {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.docs-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: none;
}

.docs-callout {
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.docs-callout.tip {
  border-left-color: #30d158;
}

.docs-callout.warning {
  border-left-color: #ff9f0a;
}

.docs-callout p {
  margin-bottom: 0;
}

.docs-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: fixed;
    left: -280px;
    top: 80px;
    bottom: 0;
    width: 260px;
    z-index: 100;
    transition: left var(--ease);
  }

  .docs-sidebar.active {
    left: 0;
  }

  .docs-content {
    padding: 28px 20px;
  }

  .docs-mobile-toggle {
    display: flex;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}