/* ===========================
   ANEMOS LLC — PAGES.CSS
   Shared layout for standalone article/landing pages
   (Mobile Game Development / Custom Game Development)
   Loaded together with style.css — reuses its tokens.
   =========================== */

.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orbs .orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.18; }
.bg-orbs .orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, #1d4ed8, transparent); top: -200px; left: -200px; }
.bg-orbs .orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, #f97316, transparent); top: 40%; right: -160px; }
.bg-orbs .orb-3 { width: 380px; height: 380px; background: radial-gradient(circle, #06b6d4, transparent); bottom: -120px; left: 30%; }

.article-page { position: relative; z-index: 1; }

/* Breadcrumb */
.crumbs {
  max-width: 820px;
  margin: 0 auto;
  padding: 128px 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--orange); }
.crumbs span.sep { opacity: 0.4; }
.crumbs span.current { color: var(--white); }

/* Article hero */
.article-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 40px 56px;
  border-bottom: 1px solid var(--card-border);
}
.article-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: 100px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,0.08);
  margin-bottom: 24px;
}
.article-badge.badge-cyan {
  border-color: rgba(6,182,212,0.4);
  color: var(--cyan);
  background: rgba(6,182,212,0.08);
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.article-title .accent {
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article-lede {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 24px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* Body */
.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px 0;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--white);
  line-height: 1.2;
  margin: 56px 0 20px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  margin: 32px 0 14px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}
.article-body strong { color: var(--white); }
.article-body ul, .article-body ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-body ul li::before {
  content: '';
  position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.article-body ol { counter-reset: art-counter; }
.article-body ol li { counter-increment: art-counter; padding-left: 34px; }
.article-body ol li::before {
  content: counter(art-counter) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--orange);
  background: none; width: auto; height: auto; border-radius: 0;
}

.pull-quote {
  border-left: 3px solid var(--orange);
  background: rgba(249,115,22,0.06);
  border-radius: 0 16px 16px 0;
  padding: 22px 28px;
  margin: 32px 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--card-border); }
.faq-item h3 { margin: 0 0 10px; }
.faq-item p { margin-bottom: 0; }

/* Interactive frame */
.interactive-frame {
  position: relative;
  margin: 40px 0 48px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  overflow: hidden;
}
.interactive-frame-label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--card-border);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan);
}
.interactive-frame-label .hint {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: none; color: var(--muted);
}
.interactive-canvas-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  touch-action: none;
}
.interactive-canvas-wrap canvas {
  display: block;
  width: 100%; height: 100%;
}
.interactive-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 20px;
  background: rgba(6,11,26,0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.interactive-overlay.visible { opacity: 1; pointer-events: auto; }
.interactive-overlay h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
}
.interactive-overlay p { color: var(--muted); font-size: 14px; max-width: 360px; }
.interactive-reset {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}
.interactive-reset:hover { box-shadow: 0 0 24px var(--orange-glow); transform: translateY(-1px); }
@media (max-width: 600px) {
  .interactive-canvas-wrap { height: 300px; }
}

/* CTA box */
.article-cta {
  margin: 56px 0 0;
  padding: 44px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(6,182,212,0.06));
  border: 1px solid rgba(249,115,22,0.25);
  text-align: center;
}
.article-cta h2 { margin-top: 0 !important; }
.article-cta p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.75;
}
.article-cta .contact-email { font-size: clamp(18px, 3vw, 26px); }

/* Related link */
.article-related {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 40px;
}
.related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.3s, transform 0.3s;
}
.related-card:hover { border-color: rgba(249,115,22,0.4); transform: translateX(4px); }
.related-card-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.related-card-title { font-family: var(--font-display); font-size: 17px; }
.related-card svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }

.article-footer-space { height: 100px; }

@media (max-width: 700px) {
  .crumbs { padding: 100px 20px 0; }
  .article-hero { padding: 20px 20px 40px; }
  .article-body { padding: 40px 20px 0; }
  .article-cta { padding: 32px 22px; margin-left: 20px; margin-right: 20px; }
  .article-related { padding: 0 20px; }
}

/* Article pages don't use the homepage's custom particle-cursor system,
   so restore the normal cursor here (style.css hides it globally). */
body { cursor: auto; }
.interactive-canvas-wrap canvas { cursor: pointer; }
