
:root {
  --bg-color: #0b0c10;
  --text-primary: #c5c6c7;
  --text-secondary: #8c8c8e;
  --accent-color: #66fcf1;
  --accent-glow: rgba(102, 252, 241, 0.4);
  --accent-secondary: #45a29e;
  --surface-color: #1f2833;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Elements */
#stars-canvas, #balls-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
}

#balls-canvas {
  z-index: -1;
}

.clouds-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(31, 40, 51, 0) 0%, rgba(11, 12, 16, 0.9) 100%);
  z-index: -2;
  pointer-events: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 20px;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.ios-icon {
  border-radius: 22.5%; /* Classic iOS Squircle approximation */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px var(--accent-glow);
  transition: transform 0.3s ease;
}

.header-logo {
  width: 100px;
  height: 100px;
}

.logo-link:hover .header-logo {
  transform: scale(1.05);
}

header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 0 20px var(--accent-glow);
}

header h1 .dot {
  color: var(--accent-color);
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

nav a:hover {
  color: var(--bg-color);
  background: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}

.hero-content {
  flex: 1;
}

.tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 400px;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px var(--accent-glow);
}

.store-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.small-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  line-height: 1;
}

.large-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.mock-container {
  position: relative;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: crosshair;
  z-index: 20;
}

.mock-container:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 60px var(--accent-color);
}

.gamemock-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  border-radius: 30px;
  border: 4px solid rgba(255,255,255,0.1);
  /* Prevent mobile save image / copy popup */
  -webkit-touch-callout: none; 
  -webkit-user-select: none; 
  user-select: none;
  -webkit-user-drag: none;
}

.hover-hint {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--bg-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.mock-container:hover .hover-hint {
  opacity: 1;
}

/* Legal Pages Content Box - KEEP THIS INTACT */
.content-box {
  background: rgba(31, 40, 51, 0.8);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  animation: fadeIn 0.8s ease forwards;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-box h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent-secondary);
  padding-bottom: 15px;
}

.content-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.content-box p {
  margin-bottom: 15px;
}

.content-box ul {
  list-style-type: none;
  margin-bottom: 20px;
}

.content-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.content-box ul li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  top: -2px;
}

.content-box strong {
  color: #fff;
}

.content-box a {
  color: var(--accent-color);
  text-decoration: none;
  transition: text-shadow 0.3s ease;
  font-weight: 600;
}

.content-box a:hover {
  text-shadow: 0 0 10px var(--accent-glow);
}

footer {
  text-align: center;
  margin-top: auto;
  padding: 40px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  z-index: 10;
}

.footer-links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .tagline {
    font-size: 2.5rem;
  }
  .description {
    margin: 0 auto 30px;
    font-size: 1rem;
  }
  .download-buttons {
    justify-content: center;
    margin-bottom: 20px;
  }
  .gamemock-img {
    max-width: 250px;
  }
  .content-box {
    padding: 30px 20px;
  }
  header h1 {
    font-size: 2.2rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ---- Tilt additions ---- */
.wordmark {
  width: 260px;
  max-width: 70vw;
  height: auto;
  filter: drop-shadow(0 0 20px var(--accent-glow));
  transition: transform 0.3s ease;
}

.wordmark-sm {
  width: 170px;
}

.logo-link:hover .wordmark {
  transform: scale(1.05);
}

.features,
.gallery {
  margin-top: 100px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(31, 40, 51, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px var(--accent-glow);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Screenshot gallery: swipeable strip with the scroll bar hidden */
.gallery-wrap {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-track img {
  height: 440px;
  width: auto;
  aspect-ratio: 1640 / 2360;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 24px;
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  scroll-snap-align: center;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-arrow:hover {
  color: var(--bg-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
}

.gallery-arrow svg { width: 22px; height: 22px; }
.gallery-arrow.prev { left: -14px; }
.gallery-arrow.next { right: -14px; }

/* touch screens swipe, so no arrows there */
@media (hover: none) {
  .gallery-arrow { display: none; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-track img { height: 400px; }
}

@media (max-width: 768px) {
  .features, .gallery { margin-top: 60px; }
  .gallery-track { gap: 14px; }
  .gallery-track img { height: 360px; border-radius: 20px; border-width: 3px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---- Phone frame, tilt and power showcase ---- */
.phone-tilt {
  perspective: 900px;
}

.phone-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  border: 8px solid #12151a;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow), inset 0 0 0 2px rgba(255,255,255,0.12);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}

.phone-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-drag: none;
}

.powers {
  margin-top: 100px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin: -14px 0 34px;
}

.power-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.power-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.power-tab {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.power-tab:hover,
.power-tab.active {
  color: var(--bg-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateX(6px);
}

.power-stage {
  display: flex;
  align-items: center;
  gap: 36px;
}

.power-phone {
  flex: 0 0 auto;
  width: 280px;
}

.power-phone img {
  transition: opacity 0.25s ease;
}

.power-caption {
  max-width: 240px;
}

.power-caption h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.power-caption p {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .power-showcase { flex-direction: column; gap: 30px; }
  .power-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
  }
  .power-tab {
    text-align: center;
    font-size: 1rem;
    padding: 10px 16px;
    min-height: 44px;
  }
  .power-tab:hover, .power-tab.active { transform: none; }
  .power-stage { flex-direction: column; text-align: center; gap: 24px; }
  .powers { margin-top: 60px; }
}

@media (max-width: 768px) {
  .phone-frame { width: 220px; }
  .power-phone { width: 240px; }
}

/* ---- Wandering spaceship (follows the scroll) ---- */
.ship-zone {
  position: relative;
  width: 100%;
  height: 150px;
  margin-top: 6px;
  pointer-events: none;
}

.ship {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 110px;
  height: auto;
  margin-left: -55px;
  margin-top: -36px;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 0 14px rgba(60, 120, 255, 0.55));
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 768px) {
  .ship-zone { height: 120px; }
  .ship { width: 76px; margin-left: -38px; margin-top: -24px; opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .ship { position: absolute; left: 50%; top: 50%; }
}

/* ---- SEO heading + FAQ ---- */
header h1.logo-h1 {
  margin: 0;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
}



/* ================= Guides (powers + drones) ================= */
.guide-page header { margin-bottom: 28px; }

.top-nav { margin-top: 14px; }

.guide { display: flex; flex-direction: column; gap: 28px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb a {
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb a:hover { color: var(--accent-color); background: none; box-shadow: none; transform: none; }
.breadcrumb i { font-style: normal; opacity: 0.5; }
.breadcrumb span { color: #fff; }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c, var(--accent-color));
  margin-bottom: 10px;
}

.guide h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 0 24px color-mix(in srgb, var(--c, #66fcf1) 45%, transparent);
}
.guide h1 span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-shadow: none;
  margin-top: 8px;
}
.lead { font-size: 1.2rem; color: var(--text-primary); max-width: 560px; }

.guide-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--c, #66fcf1) 22%, transparent), transparent 55%),
    rgba(31, 40, 51, 0.8);
  border: 1px solid color-mix(in srgb, var(--c, #66fcf1) 35%, rgba(255,255,255,0.05));
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}
.guide-visual { display: flex; justify-content: center; }

.hub-hero { padding: 10px 0 0; }
.hub-hero .lead { max-width: 640px; }

.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stat span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.stat b { font-family: 'Outfit', sans-serif; font-size: 1.05rem; color: #fff; }

.guide-section {
  background: rgba(31, 40, 51, 0.8);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.guide-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 14px;
}
.guide-section p { margin-bottom: 12px; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section a { color: var(--accent-color); font-weight: 600; }
.guide-section a:hover { text-shadow: 0 0 10px var(--accent-glow); }
.guide-section b { color: #fff; }

.tips { list-style: none; }
.tips li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.tips li:last-child { margin-bottom: 0; }
.tips li::before { content: "\25B8"; position: absolute; left: 0; color: var(--accent-color); }

.more { margin-top: 14px; }

/* Screenshot frames */
.shot-frame {
  position: relative;
  border: 6px solid #12151a;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--c, #66fcf1) 40%, transparent), inset 0 0 0 2px rgba(255,255,255,0.12);
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.shot-frame.phone { aspect-ratio: 560 / 1212; border-radius: 34px; }
.shot-frame.phone img { border-radius: 28px; }
.shot-frame.tablet { aspect-ratio: 700 / 1007; border-radius: 26px; }
.shot-frame.tablet img { border-radius: 20px; }
.shot-frame.lg.phone { width: 250px; }
.shot-frame.lg.tablet { width: 330px; }
.shot-frame.sm { height: 210px; width: auto; border-width: 4px; }
.shot-frame.sm.phone { border-radius: 24px; }
.shot-frame.sm.phone img { border-radius: 20px; }
.shot-frame.sm.tablet { border-radius: 18px; }
.shot-frame.sm.tablet img { border-radius: 14px; }

/* Art cards (drone art, power symbol cards) */
.art-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c, #66fcf1) 38%, transparent), transparent 68%),
    rgba(0,0,0,0.35);
  border: 1px solid color-mix(in srgb, var(--c, #66fcf1) 40%, rgba(255,255,255,0.05));
  box-shadow: 0 0 40px color-mix(in srgb, var(--c, #66fcf1) 30%, transparent);
}
.art-card img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6)); }
.art-card.lg { width: 320px; height: 320px; }
.art-card.sm { width: 100%; max-width: 210px; height: 210px; border-radius: 20px; }
.art-card.symbol span {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  line-height: 1;
  color: var(--c);
  text-shadow: 0 0 24px var(--c), 0 0 60px color-mix(in srgb, var(--c) 55%, transparent);
  letter-spacing: -2px;
}
.art-card.symbol.lg span { font-size: 6.5rem; }
.art-card.symbol.sm span { font-size: 3.6rem; }
.art-card.symbol.s1.lg span { font-size: 10rem; }
.art-card.symbol.s1.sm span { font-size: 5.5rem; }
.art-card.symbol.s2.lg span { font-size: 8rem; }
.art-card.symbol.s2.sm span { font-size: 4.4rem; }
.art-card.symbol.s3.lg span { font-size: 5.6rem; }
.art-card.symbol.s3.sm span { font-size: 3rem; }

/* Hub grids */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-grid.two { grid-template-columns: repeat(2, 1fr); }
.guide-section a.g-card, .g-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-weight: 400;
  transition: all 0.3s ease;
}
.g-card:hover {
  transform: translateY(-4px);
  border-color: var(--c);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 22px color-mix(in srgb, var(--c) 40%, transparent);
  text-shadow: none;
}
.g-card > .shot-frame, .g-card > .art-card { align-self: center; }
.g-meta h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; color: #fff; margin: 2px 0 6px; }
.g-meta p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 10px; }
.g-role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--c); font-weight: 700; }
.g-stats { display: flex; gap: 8px; }
.g-stats span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.table-wrap { margin-top: 14px; }
.g-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.g-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.g-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.g-table tr:last-child td { border-bottom: none; }

/* Combos, chips, prev/next */
.combos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-section a.combo, .combo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--c);
  color: var(--text-primary);
  font-weight: 400;
  transition: all 0.3s ease;
}
.combo:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); text-shadow: none; }
.combo b { color: #fff; font-family: 'Outfit', sans-serif; }
.combo span { color: var(--text-secondary); font-size: 0.92rem; }

.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-section .chip-links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.guide-section .chip-links a:hover {
  background: var(--accent-color);
  color: var(--bg-color);
  border-color: var(--accent-color);
  text-shadow: none;
  box-shadow: 0 0 16px var(--accent-glow);
}

.pn-row { display: flex; justify-content: space-between; gap: 14px; }
.pn {
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(31, 40, 51, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
}
.pn small { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.pn:hover { border-color: var(--accent-color); transform: translateY(-2px); }
.pn.next { margin-left: auto; text-align: right; }

.guide-cta {
  text-align: center;
  padding: 40px 24px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(102,252,241,0.14), transparent 60%), rgba(31,40,51,0.8);
  border: 1px solid rgba(102,252,241,0.2);
}
.guide-cta h2 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.guide-cta p { color: var(--text-secondary); margin-bottom: 22px; }
.guide-cta .download-buttons { justify-content: center; }

/* Drone recipe + parts */
.recipe { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.recipe li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 12px 8px; border-radius: 14px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
}
.recipe li img { width: 56px; height: 56px; object-fit: contain; }
.recipe li b { font-family: 'Outfit', sans-serif; font-size: 1.1rem; color: var(--accent-color); }

.parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.part {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 10px; border-radius: 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
}
.part img { width: 72px; height: 72px; object-fit: contain; }
.part b { font-family: 'Outfit', sans-serif; color: #fff; font-size: 0.95rem; }
.part small { color: var(--text-secondary); font-size: 0.78rem; }
.part em { font-style: normal; font-weight: 700; color: var(--accent-color); font-size: 0.85rem; }
.rarity { font-size: 0.65rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; }
.rarity.common { background: rgba(77,255,128,0.18); color: #4dff80; }
.rarity.uncommon { background: rgba(51,204,255,0.18); color: #33ccff; }
.rarity.rare { background: rgba(255,217,51,0.18); color: #ffd933; }
.rarity.epic { background: rgba(217,77,255,0.18); color: #d94dff; }
.rarity.legendary { background: rgba(179,128,255,0.22); color: #b380ff; }

/* ================= Home: guides teaser ================= */
.guides-teaser { margin-top: 100px; }
.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.teaser {
  display: flex; align-items: center; gap: 22px;
  padding: 26px; border-radius: 22px;
  background: radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%), rgba(31,40,51,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.teaser:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 24px color-mix(in srgb, var(--c) 40%, transparent); }
.teaser h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.teaser p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 10px; }
.teaser .go { font-weight: 700; color: var(--accent-color); }
.teaser .shot-frame.sm { flex: 0 0 auto; }
.teaser .art-card.sm { flex: 0 0 auto; width: 150px; height: 150px; }

/* ================= Premium FAQ ================= */
.faq { margin-top: 100px; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 40px; }
.faq-side .eyebrow { color: var(--accent-color); }
.faq-side h2 { font-family: 'Outfit', sans-serif; font-size: 2.4rem; line-height: 1.1; color: #fff; margin-bottom: 16px; text-shadow: 0 0 24px var(--accent-glow); }
.faq-side p { color: var(--text-secondary); margin-bottom: 22px; }
.faq-links { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-links a {
  padding: 10px 18px; border-radius: 12px; font-weight: 700; font-family: 'Outfit', sans-serif;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #fff; transition: all 0.3s ease;
}
.faq-links a:hover { background: var(--accent-color); color: var(--bg-color); border-color: var(--accent-color); box-shadow: 0 0 20px var(--accent-glow); transform: translateY(-2px); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: none; margin: 0; }
.faq-list details {
  position: relative;
  padding: 0 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31,40,51,0.92), rgba(20,26,34,0.85));
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-list details::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--accent-color), var(--accent-secondary));
  opacity: 0; transition: opacity 0.3s ease;
}
.faq-list details:hover { border-color: rgba(102,252,241,0.35); }
.faq-list details[open] {
  border-color: rgba(102,252,241,0.45);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 22px rgba(102,252,241,0.12);
}
.faq-list details[open]::before { opacity: 1; }
.faq-list summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: none; }
.faq-num {
  flex: 0 0 auto; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px;
  color: var(--accent-color); opacity: 0.8; font-variant-numeric: tabular-nums;
}
.faq-q { flex: 1; }
.faq-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(102,252,241,0.1); border: 1px solid rgba(102,252,241,0.3);
  color: var(--accent-color); transition: all 0.3s ease;
}
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.faq-list details[open] .faq-icon { background: var(--accent-color); color: var(--bg-color); box-shadow: 0 0 14px var(--accent-glow); }
.faq-list details[open] .faq-icon svg { transform: rotate(45deg); }
.faq-a { padding: 0 0 22px 38px; color: var(--text-secondary); animation: faqIn 0.35s ease; }
.faq-a p { margin-bottom: 8px; }
.faq-a a { color: var(--accent-color); font-weight: 600; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ================= Guides responsive ================= */
@media (max-width: 900px) {
  .guide h1 { font-size: 2.4rem; }
  .guide-hero { grid-template-columns: 1fr; padding: 28px; gap: 28px; text-align: center; }
  .guide-hero .lead { margin: 0 auto; }
  .stats { justify-content: center; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe, .parts { grid-template-columns: repeat(3, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; text-align: center; }
  .faq-links { justify-content: center; }
  .teaser-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .guide h1 { font-size: 2rem; }
  .guide-section { padding: 22px 18px; }
  .guide-hero { padding: 22px 16px; }
  .g-grid, .g-grid.two, .combos { grid-template-columns: 1fr; }
  .recipe, .parts { grid-template-columns: repeat(2, 1fr); }
  .shot-frame.lg.phone { width: 210px; }
  .shot-frame.lg.tablet { width: 250px; }
  .art-card.lg { width: 240px; height: 240px; }
  .art-card.symbol.lg span { font-size: 4.4rem; }
  .art-card.symbol.s1.lg span { font-size: 7.5rem; }
  .art-card.symbol.s2.lg span { font-size: 6rem; }
  .art-card.symbol.s3.lg span { font-size: 4.4rem; }
  .g-table { font-size: 0.82rem; }
  .g-table th, .g-table td { padding: 8px 4px; }
  .pn-row { flex-direction: column; }
  .pn.next { margin-left: 0; text-align: left; }
  .teaser { flex-direction: column; text-align: center; }
  .faq-side h2 { font-size: 1.9rem; }
  .faq-list details { padding: 0 16px; }
  .faq-list summary { font-size: 1rem; gap: 12px; }
  .faq-a { padding-left: 0; }
  .faq-num { display: none; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--surface-color);
  border: 1px solid var(--accent-secondary);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner a { color: var(--accent-color); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font: inherit;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--accent-color);
}
.cookie-btn.primary { background: var(--accent-color); color: var(--bg-color); }
.cookie-btn.secondary { background: transparent; color: var(--accent-color); }
.cookie-btn:hover { filter: brightness(1.1); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* Other apps section */
.other-apps {
  text-align: center;
  margin: 50px 0 10px;
  padding-top: 30px;
  border-top: 1px solid rgba(102, 252, 241, 0.15);
  position: relative;
  z-index: 10;
}
.other-apps h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.oa-row { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.oa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.oa-card:hover { transform: translateY(-4px) scale(1.04); }
.oa-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid rgba(102, 252, 241, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s ease;
}
.oa-card:hover img { box-shadow: 0 0 18px var(--accent-glow); }
.oa-name { color: #fff; font-weight: 600; font-size: 0.9rem; }
.oa-kind { color: var(--text-secondary); font-size: 0.75rem; margin-top: 2px; }

/* Sticky download bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(102, 252, 241, 0.25);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-bar.visible { transform: translateY(0); }
body:has(.cookie-banner) .sticky-bar { display: none; }
.sticky-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sticky-bar-text { color: #fff; font-size: 0.9rem; font-weight: 600; }
.sb-btn {
  padding: 7px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.sb-btn.apple { background: var(--accent-color); color: var(--bg-color); }
.sb-btn.google { border: 1px solid var(--accent-color); color: var(--accent-color); }
.sb-btn { cursor: default; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2; }
.sb-btn small { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.sb-btn.apple { background: transparent; color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.25); }
.sb-btn.google { border-color: rgba(255, 255, 255, 0.25); color: var(--text-primary); }
.sb-divider { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.2); margin: 0 2px; }
.sb-icon img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s;
}
.sb-icon:hover img { transform: scale(1.1); }
footer { padding-bottom: 80px; }
@media (max-width: 600px) {
  .sticky-bar-inner { flex-wrap: nowrap; gap: 8px; }
  .sticky-bar-text { display: none; }
  .sb-btn { padding: 5px 8px; font-size: 0.68rem; }
  .sb-btn small { font-size: 0.5rem; }
  .oa-row { gap: 28px; }
}

/* SEO helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.about-game { margin: 60px 0 20px; position: relative; z-index: 10; }
.about-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; color: var(--text-primary); line-height: 1.7; }
.about-grid strong { color: #fff; }
.about-grid a { color: var(--accent-color); font-weight: 600; }

/* Google Play early access pop-up */
.store-btn[data-play-early] { cursor: pointer; }
.ea-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.ea-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 100%;
  overflow-y: auto;
  background: var(--surface-color);
  border: 1px solid var(--accent-secondary);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 0 40px var(--accent-glow);
  color: var(--text-primary);
  text-align: left;
}
.ea-x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.ea-x:hover { color: #fff; }
.ea-modal h2 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; color: #fff; margin-bottom: 8px; padding-right: 24px; }
.ea-intro { font-size: 0.95rem; margin-bottom: 18px; }
.ea-steps { list-style: none; counter-reset: ea; display: grid; gap: 14px; margin-bottom: 18px; }
.ea-steps li {
  counter-increment: ea;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 14px 14px 52px;
  position: relative;
  background: rgba(11, 12, 16, 0.55);
  border: 1px solid rgba(102, 252, 241, 0.18);
  border-radius: 12px;
}
.ea-steps li::before {
  content: counter(ea);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--bg-color);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ea-steps strong { display: block; color: #fff; }
.ea-steps span { font-size: 0.85rem; color: var(--text-secondary); }
.ea-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.ea-link:hover { box-shadow: 0 0 12px var(--accent-glow); }
.ea-link.primary { background: var(--accent-color); color: var(--bg-color); }
.ea-note {
  font-size: 0.85rem;
  padding: 10px 12px;
  border-left: 3px solid var(--accent-color);
  background: rgba(102, 252, 241, 0.07);
  border-radius: 4px;
  margin-bottom: 12px;
}
.ea-note strong { color: #fff; }
.ea-small { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 16px; }
.ea-done {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: var(--accent-color);
  color: var(--bg-color);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ea-done:hover { filter: brightness(1.1); }
