/* Aura Rivals marketing site - shared styles.
   Palette matched to the app icon: near-black ground, warm orange->red "shield"
   flame as the primary accent, full-spectrum "aura" rainbow as the signature. */

:root {
  --bg: #05060a;
  --bg-2: #0b0e16;
  --card: #10131d;
  --card-2: #151926;
  --text: #f4f6fb;
  --muted: #9aa3b8;

  /* Icon shield flame (primary) */
  --flame-a: #ff9a3c;   /* amber */
  --flame-b: #ff4e42;   /* red-orange */
  --flame: linear-gradient(120deg, var(--flame-a), var(--flame-b));

  /* Aura ring spectrum (signature) */
  --cyan: #35d0ff;
  --purple: #a06bff;
  --yellow: #ffd23f;
  --aura: linear-gradient(90deg, #ff4e42, #ff9a3c, #ffd23f, #46d17f, #35d0ff, #6a8bff, #a06bff);

  --line: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--flame-a); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.3px; }
/* The real app icon, not a placeholder gradient. */
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  background: #000 center / cover no-repeat;
  background-image: url("img/icon.png");
  box-shadow: 0 0 16px rgba(255, 120, 60, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--flame); color: #1c0a04; box-shadow: 0 8px 26px rgba(255, 90, 60, 0.28); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.07); }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { text-decoration: none; border-color: rgba(255,255,255,0.22); }

/* Official App Store badge */
.appstore-badge { display: inline-flex; align-items: center; line-height: 0; border-radius: 9px; }
.appstore-badge svg { height: 52px; width: auto; display: block; }
.appstore-badge:hover { text-decoration: none; filter: brightness(1.08); }
.appstore-badge:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
.appstore-badge--sm svg { height: 40px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 660px;
  background:
    radial-gradient(620px 320px at 22% 2%, rgba(255, 120, 60, 0.26), transparent 70%),
    radial-gradient(520px 300px at 78% 8%, rgba(160, 107, 255, 0.20), transparent 70%),
    radial-gradient(560px 300px at 55% 20%, rgba(53, 208, 255, 0.14), transparent 72%);
  filter: blur(10px); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--flame-a); font-weight: 800; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.hero h1 { font-size: 54px; line-height: 1.05; margin: 14px 0 18px; letter-spacing: -1px; }
.hero h1 span { background: var(--aura); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.badge-soon { font-size: 12px; color: var(--muted); align-self: center; }

/* Phone mockup */
.phone {
  position: relative; width: 300px; height: 620px; margin: 0 auto;
  border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1c2130, #0a0d15);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.06);
}
/* Aura ring glow behind the phone - echoes the app icon's rainbow halo. */
.phone::after {
  content: ""; position: absolute; inset: -22px; border-radius: 60px; z-index: -1;
  background: conic-gradient(from 210deg, #ff4e42, #ff9a3c, #ffd23f, #46d17f, #35d0ff, #6a8bff, #a06bff, #ff4e42);
  filter: blur(30px); opacity: 0.32;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #0a1a12, #0b1220 55%, #0a0d15);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.phone .screen .placeholder { color: var(--muted); font-size: 13px; padding: 20px; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #05060a; border-radius: 0 0 14px 14px; z-index: 2; }

/* Gallery */
.band-soft { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); }
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.shot { margin: 0; }
.shot img {
  width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover;
  border-radius: 22px; border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.shot figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 12px; }

/* Sections */
section { padding: 74px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: 36px; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: rgba(255, 120, 60, 0.14); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Alt band */
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split h2 { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 14px; }
.split p { color: var(--muted); font-size: 17px; }
.pill-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.pill-list li::before { content: "\2726"; color: var(--flame-a); font-size: 18px; line-height: 1.4; }

/* CTA */
.cta-final { text-align: center; }
.cta-final h2 { font-size: 40px; letter-spacing: -0.5px; }
.cta-final p { color: var(--muted); margin: 12px auto 26px; max-width: 520px; font-size: 18px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.foot-links a:hover { color: var(--text); text-decoration: none; }

/* Legal / content pages */
.page { padding: 60px 0 40px; }
.page .doc { max-width: 780px; margin: 0 auto; }
.page h1 { font-size: 40px; letter-spacing: -0.5px; margin-bottom: 6px; }
.page .updated { color: var(--muted); margin-bottom: 34px; }
.page h2 { font-size: 22px; margin: 34px 0 10px; }
.page h3 { font-size: 17px; margin: 22px 0 8px; }
.page p, .page li { color: #cfd5e4; font-size: 16px; }
.page ul { margin: 10px 0 10px 22px; display: flex; flex-direction: column; gap: 7px; }
.page .callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--flame-a); border-radius: 10px; padding: 16px 18px; margin: 20px 0; color: var(--muted); }
.page a { font-weight: 600; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--flame-a); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .phone { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 560px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}
