/* Selector Coins Manager — vault navy / mint gold */

:root {
  --vault: #071428;
  --navy: #0b1f45;
  --royal: #1648a8;
  --blue-glow: #1e6ae0;
  --gold: #e8b84a;
  --gold-bright: #f5d06a;
  --gold-deep: #c9952a;
  --mist: #e8eef8;
  --surface: #f4f7fc;
  --ink: #0b1f45;
  --muted: #5f7190;
  --on-dark: #ffffff;
  --muted-dark: #a8bbd8;
  --line: rgba(232, 184, 74, 0.28);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius: 1.25rem;
  --max: 72rem;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container-site {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container-site {
    width: min(100% - 3rem, var(--max));
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: calc(0.75rem + var(--safe-top)) 0 0.75rem;
  background: rgba(7, 20, 40, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(232, 184, 74, 0.15);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.45);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy > span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.brand-copy > span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-desktop a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted-dark);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-desktop a:hover:not(.btn-gold),
.nav-desktop a[aria-current="page"]:not(.btn-gold) {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 184, 74, 0.35);
  border-radius: 12px;
  background: rgba(11, 31, 69, 0.55);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 40, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  padding: calc(1.25rem + var(--safe-top)) 1.25rem calc(1.5rem + var(--safe-bottom));
  background: linear-gradient(180deg, #0d2758 0%, var(--vault) 100%);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}

.nav-drawer-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 12px;
  color: var(--muted-dark);
  font-weight: 560;
}

.nav-drawer-panel a[aria-current="page"]:not(.btn-gold),
.nav-drawer-panel a:hover:not(.btn-gold) {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
}

/* —— Buttons / store —— */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: var(--vault) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(232, 184, 74, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: var(--vault) !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.store-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-meta small {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.store-meta strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* —— Hero —— */
.hero-atmosphere {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(7, 20, 40, 0.35) 0%, rgba(7, 20, 40, 0.55) 42%, rgba(7, 20, 40, 0.96) 100%),
    url("onboarding-splash.png") center top / cover no-repeat;
  padding: calc(5.5rem + var(--safe-top)) 0 calc(2.5rem + var(--safe-bottom));
  overflow: hidden;
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 55%;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 74, 0.18);
  box-shadow:
    inset 0 0 0 10px rgba(232, 184, 74, 0.04),
    0 0 80px rgba(30, 106, 224, 0.18);
  pointer-events: none;
  animation: reel-spin 48s linear infinite;
}

@keyframes reel-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere::before {
    animation: none;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 3rem;
  }
}

.mint-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.mint-mark::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 0.85rem;
  max-width: 12ch;
}

.hero-brand .gold-word {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted-dark);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-phone {
  justify-self: center;
  width: min(100%, 18rem);
}

@media (min-width: 1024px) {
  .hero-phone {
    width: min(100%, 20rem);
    justify-self: end;
  }
}

.phone-frame {
  position: relative;
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(232, 184, 74, 0.55), rgba(22, 72, 168, 0.35));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.55rem;
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
}

.section-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.vault-band {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(30, 106, 224, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(232, 184, 74, 0.12), transparent 50%),
    var(--navy);
  color: var(--on-dark);
}

.vault-band .section-kicker {
  color: var(--gold);
}

.vault-band .section-lede {
  color: var(--muted-dark);
}

.feature-rail {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .feature-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-block {
  position: relative;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(232, 184, 74, 0.22);
}

.feature-block i {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.feature-block h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.55;
  font-size: 0.98rem;
}

.showcase-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
  .showcase-grid.is-flip {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .showcase-grid.is-flip .showcase-copy {
    order: 2;
  }
  .showcase-grid.is-flip .showcase-media {
    order: 1;
  }
}

.showcase-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: end;
}

.showcase-media .phone-frame:nth-child(2) {
  transform: translateY(1.5rem);
}

@media (max-width: 639px) {
  .showcase-media {
    grid-template-columns: min(16rem, 70%);
    justify-content: center;
  }
  .showcase-media .phone-frame:nth-child(2) {
    display: none;
  }
}

.privacy-panel {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .privacy-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

.privacy-item {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(11, 31, 69, 0.12);
}

.privacy-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.privacy-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 20, 40, 0.92), rgba(22, 72, 168, 0.85)),
    url("selector-hub.png") center / cover no-repeat;
  color: var(--on-dark);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-band .section-title {
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band .section-lede {
  margin: 0.75rem auto 1.5rem;
  color: var(--muted-dark);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* —— Inner pages —— */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(30, 106, 224, 0.28), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--vault));
  color: var(--on-dark);
  padding: calc(6.5rem + var(--safe-top)) 0 3.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted-dark);
  font-size: 1.08rem;
  line-height: 1.55;
}

.page-hero .section-kicker {
  color: var(--gold);
}

.prose-legal {
  max-width: 48rem;
}

.prose-legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose-legal p,
.prose-legal li {
  color: var(--muted);
  line-height: 1.7;
}

.prose-legal ul {
  padding-left: 1.2rem;
}

.prose-legal a {
  color: var(--royal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 1.5rem 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(11, 31, 69, 0.1);
}

/* —— Contact / FAQ —— */
.email-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(11, 31, 69, 0.12);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--on-dark);
  font-weight: 650;
  width: fit-content;
  max-width: 100%;
  word-break: break-all;
  transition: filter 0.2s ease;
}

.email-link:hover {
  filter: brightness(1.08);
}

.email-link i {
  color: var(--gold);
  flex-shrink: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(11, 31, 69, 0.12);
}

.faq-item button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

.faq-item button i {
  color: var(--gold-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open button i {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item.is-open .faq-body {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--vault);
  color: var(--muted-dark);
  padding: 3.5rem 0 calc(2rem + var(--safe-bottom));
  border-top: 1px solid rgba(232, 184, 74, 0.18);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-footer h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted-dark);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--on-dark);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 70;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(7, 20, 40, 0.96);
  color: var(--muted-dark);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-body);
}

.cookie-actions [data-cookie-choice="accepted"] {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--vault);
}

.cookie-actions [data-cookie-choice="rejected"] {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* —— About extras —— */
.about-points {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-point {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(11, 31, 69, 0.12);
}

.about-point h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.about-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .shot-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.shot-strip .phone-frame {
  padding: 0.4rem;
  border-radius: 1.4rem;
}

.shot-strip .phone-frame img {
  border-radius: 1.1rem;
}
