/* AEROX LANDING PAGE & DESIGN SYSTEM — PAPER CRAFT EDITION */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --bg-deep: #162421;
  --bg-parchment: #f6f2e8;
  --bg-card: rgba(255, 252, 245, 0.92);
  --paper-cream: #faf5ea;
  --paper-light: #fffcf7;
  --kraft: #c8a774;
  --ink-dark: #1b2820;
  --leaf-green: #2d5a39;
  --leaf-bright: #4caf7d;
  --sun-gold: #ffb834;
  --sun-orange: #e85d04;
  --aurora-teal: #12575c;
  --sakura-pink: #f48fb1;
  --blueprint-blue: #1e3a8a;
  --gold-foil: #d4af37;
  --crease-border: rgba(90, 70, 42, 0.18);
  --shadow-soft: 0 12px 32px rgba(27, 40, 32, 0.08);
  --shadow-strong: 0 24px 64px rgba(15, 25, 35, 0.22);
  --radius-paper: 8px 24px 10px 20px;
  --radius-btn: 6px 16px 8px 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #172428;
  color: #e6edee;
}

body.game-active {
  height: 100vh !important;
  overflow: hidden !important;
}

/* Paper Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* PAPER SEPARATOR DIVIDERS */
.paper-divider {
  width: 100%;
  height: 36px;
  background-repeat: repeat-x;
  background-size: 40px 36px;
  margin: -1px 0;
}
.paper-divider-top {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 36L20 0L40 36H0Z' fill='%23faf5ea'/%3E%3C/svg%3E");
}
.paper-divider-bottom {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L20 36L40 0H0Z' fill='%23faf5ea'/%3E%3C/svg%3E");
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 36, 33, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 4px;
}

.brand-logo span {
  color: var(--sun-gold);
  font-size: 22px;
  display: inline-block;
  transform: rotate(-12deg);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-play {
  background: linear-gradient(135deg, #2d5a39 0%, #469260 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(42, 90, 58, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-play:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 10px 28px rgba(42, 90, 58, 0.5);
  background: linear-gradient(135deg, #356d47 0%, #50a36e 100%);
}

/* HERO SECTION */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(34, 60, 55, 0.7) 0%, rgba(18, 30, 28, 0.95) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #faf5ea;
  border: 1px solid rgba(90, 70, 42, 0.3);
  color: #b85a3c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-paper);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title-highlight {
  display: inline-block;
  background: #faf5ea;
  padding: 4px 22px;
  border-radius: var(--radius-paper);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(90, 70, 42, 0.25);
  margin-top: 8px;
  transform: rotate(-1deg);
}

.gradient-text {
  background: linear-gradient(135deg, #1b2820 0%, #2d5a39 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #e65100 0%, #ff6d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-hero {
  background: linear-gradient(135deg, #2a5a3a 0%, #468c5b 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(42, 90, 58, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(42, 90, 58, 0.6);
  background: linear-gradient(135deg, #326d47 0%, #52a36b 100%);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.hero-features-list span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-features-list i {
  color: var(--leaf-bright);
}

/* HERO BANNER CARD */
.hero-media-wrap {
  position: relative;
}

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-paper);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-banner-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-paper);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(15, 25, 35, 0.92) 0%, rgba(15, 25, 35, 0.4) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 90, 58, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf7d;
  box-shadow: 0 0 10px #4caf7d;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* STATS SECTION */
.stats-banner {
  margin: 40px 0 80px;
  background: rgba(255, 250, 240, 0.92);
  border-radius: var(--radius-paper);
  padding: 32px;
  color: var(--ink-dark);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(90, 70, 42, 0.15);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-box {
  padding: 16px;
  border-right: 1px dashed rgba(90, 70, 42, 0.2);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--leaf-green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  color: var(--ink-dark);
}

/* SECTION COMMON */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e65100;
  background: rgba(255, 255, 255, 0.94);
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 1);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* FEATURES GRID SECTION */
.features-section {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.feature-card {
  background: rgba(255, 250, 240, 0.9);
  border-radius: var(--radius-paper);
  padding: 36px 28px;
  color: var(--ink-dark);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 70, 42, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: rgba(255, 252, 245, 0.98);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(61, 104, 73, 0.1);
  color: var(--leaf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(61, 104, 73, 0.2);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(27, 40, 32, 0.85);
  font-weight: 500;
}

.feature-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--leaf-green);
  background: rgba(61, 104, 73, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  width: fit-content;
}

/* SKINS SECTION */
.skins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skin-preview {
  background: rgba(255, 250, 240, 0.8);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skin-preview:hover {
  border-color: var(--leaf-green);
  transform: translateY(-5px);
}

/* PAPERCRAFT MEDIA GALLERY */
.media-gallery-section {
  padding: 70px 0;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.media-card {
  position: relative;
  border-radius: var(--radius-paper);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 70, 42, 0.18);
  background: rgba(255, 250, 240, 0.92);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-strong);
}

.media-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.media-card:hover .media-card-img {
  transform: scale(1.06);
}

.media-card-caption {
  padding: 24px;
  color: var(--ink-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b85a3c;
  background: rgba(184, 90, 60, 0.1);
  padding: 4px 10px;
  border-radius: 10px;
  width: fit-content;
}

.media-card-caption h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-dark);
}

.media-card-caption p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(27, 40, 32, 0.8);
  font-weight: 500;
}

@media (max-width: 992px) {
  .media-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTROLS SECTION */
.controls-section {
  padding: 60px 0 80px;
}

.controls-card {
  background: rgba(255, 250, 240, 0.92);
  border-radius: var(--radius-paper);
  padding: 48px;
  color: var(--ink-dark);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(90, 70, 42, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.controls-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--ink-dark);
}

.controls-info p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(27, 40, 32, 0.85);
  margin-bottom: 24px;
}

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

.keybind-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(210, 187, 145, 0.25);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(90, 70, 42, 0.12);
}

.kbd-badge {
  background: #ffffff;
  color: var(--ink-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.keybind-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dark);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
  background: rgba(10, 16, 24, 0.95);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.footer-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* GAME CONTAINER OVERLAY / FULLSCREEN MODAL
   Layout rules live in aerox-styles.css (block + full-bleed canvas). */
#gameContainerModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #5a9ad4;
  display: none;
}

#gameContainerModal.active {
  display: block;
}

/* Sit top-right so it never covers the AEROX logo (top-left) */
.game-modal-header {
  position: absolute;
  top: 18px;
  right: 24px;
  left: auto;
  z-index: 10000;
  pointer-events: auto;
  max-width: min(220px, 42vw);
}

.btn-exit-game {
  background: rgba(18, 28, 39, 0.82);
  color: #fff8e8;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.btn-exit-game:hover {
  background: rgba(30, 44, 58, 0.95);
  color: #ffe8a8;
  border-color: rgba(255, 184, 52, 0.75);
  transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 32px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-features-list {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px dashed rgba(90, 70, 42, 0.2);
  }
  .stat-box:nth-child(3), .stat-box:nth-child(4) {
    border-bottom: none;
  }
  .controls-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .skins-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-box {
    border-bottom: 1px dashed rgba(90, 70, 42, 0.2);
  }
  .stat-box:last-child {
    border-bottom: none;
  }
  .keybind-grid {
    grid-template-columns: 1fr;
  }
  .keybind-item[style*="span 2"] {
    grid-column: span 1 !important;
  }
}

/* ACCESSIBILITY UTILITIES & SKIP LINK */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #ffb834;
  color: #1b2820;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 100000;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

/* FAQ SECTION (AEO & SEO) */
.faq-section {
  padding: 60px 0 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-card {
  background: rgba(255, 250, 240, 0.92);
  border-radius: var(--radius-paper);
  padding: 28px;
  color: var(--ink-dark);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 70, 42, 0.15);
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.faq-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(27, 40, 32, 0.85);
  font-weight: 500;
}

/* ACCESSIBILITY FOCUS STATES */
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--sun-gold) !important;
  outline-offset: 4px !important;
}

/* PAPER AIRPLANE FLY-THROUGH LOADER */
.paper-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(18, 28, 39, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.paper-loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.paper-loader-card {
  background: #faf5ea;
  border-radius: var(--radius-paper);
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid #d4af37;
  max-width: 440px;
  width: 90%;
  position: relative;
  overflow: hidden;
}

.paper-loader-icon-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.flying-plane-svg {
  width: 70px;
  height: 70px;
  animation: paperPlaneFlyGlide 1.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

@keyframes paperPlaneFlyGlide {
  0% { transform: translateY(0px) rotate(-5deg) scale(0.95); }
  50% { transform: translateY(-12px) rotate(8deg) scale(1.05); }
  100% { transform: translateY(4px) rotate(-2deg) scale(0.98); }
}

.wind-trail-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  animation: windTrailPass 1.2s infinite linear;
}

.trail-1 { top: 30%; left: -20px; width: 40px; animation-delay: 0s; }
.trail-2 { top: 55%; left: -35px; width: 55px; animation-delay: 0.4s; }
.trail-3 { top: 80%; left: -15px; width: 35px; animation-delay: 0.8s; }

@keyframes windTrailPass {
  0% { transform: translateX(0) scaleX(0.5); opacity: 0; }
  50% { opacity: 0.9; }
  100% { transform: translateX(120px) scaleX(1.4); opacity: 0; }
}

.loader-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1b2820;
  margin-bottom: 8px;
}

.loader-subtext {
  font-size: 13px;
  color: #5a462a;
  font-weight: 600;
  margin-bottom: 24px;
  min-height: 38px;
}

.loader-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(90, 70, 42, 0.15);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(90, 70, 42, 0.2);
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb834, #d4af37, #2ecc71);
  border-radius: 5px;
  transition: width 0.08s linear;
}
