/* =========================================================================
   CBA WORLD — CORE STYLES
   Palette and type ported directly from the approved design reference.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --ac: #B026FF;     /* primary accent (Neon Violet) */
  --ac2: #CB6BFF;    /* secondary accent / highlights */
  --acd: #6D28D9;    /* deep accent for gradients */
  --ink: #050007;    /* base background */
  --panel: #150826;  /* raised panel background */
  --panel-2: #0a0414;
  --line: rgba(176,38,255,.16);
  --line-soft: rgba(176,38,255,.1);
  --text: #fff;
  --text-dim: #b3a4c8;
  --text-dimmer: #8a7ba0;
  --text-faint: #6b5c82;

  --f-display: 'Anton', sans-serif;
  --f-body: 'Chakra Petch', sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050007;
  color: #fff;
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ac); color: #0a0010; }
input, button, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--acd); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- keyframes ---- */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes coinSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes spin { to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes spinB { to { transform: rotateX(68deg) rotateZ(-360deg); } }
@keyframes spinC { to { transform: rotateX(82deg) rotateZ(360deg); } }
@keyframes orbitDot { to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes glowPulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .85; transform: scale(1.1); } }
@keyframes scrollBob { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(9px); opacity: 1; } }
@keyframes flick { 0%,100% { opacity: 1; } 48% { opacity: 1; } 50% { opacity: .55; } 52% { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes strutL { 0%,100% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes strutR { 0%,100% { transform: translateY(0) rotate(2.5deg); } 50% { transform: translateY(-14px) rotate(-2deg); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* =========================================================================
   LAYOUT HELPERS
   ========================================================================= */

#root {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(130% 90% at 50% -10%, #1a0930 0%, #0c0418 42%, #050007 100%);
}

#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

h1, h2, h3 { font-family: var(--f-display); text-transform: uppercase; line-height: .9; }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ac2);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--ac2);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-weight: 700; font-size: 12px; letter-spacing: .2em;
  border-radius: 2px;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ac); color: #0b0012;
  box-shadow: 0 10px 40px -8px var(--ac);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 50px -8px var(--ac); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.btn-ghost:hover { border-color: var(--ac2); color: var(--ac2); }
.btn-outline {
  background: transparent; color: var(--ac2);
  border: 1px solid var(--ac2);
}
.btn-outline:hover { background: var(--ac2); color: #0b0012; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }

.icon-circle {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(176,38,255,.3);
  border-radius: 50%;
  color: #cdbbe0;
  transition: all .2s ease;
}
.icon-circle:hover { background: var(--ac); color: #0b0012; border-color: var(--ac); transform: translateY(-3px); }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---- coin-spin logo (used in nav, hero, footer, checkout header) ---- */
.coin {
  position: relative;
  transform-style: preserve-3d;
  animation: coinSpin 5.5s linear infinite;
}
.coin img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
}
.coin img.back { transform: rotateY(180deg); }

/* =========================================================================
   FIELD STYLES (forms across checkout / waitlist / contact)
   ========================================================================= */
.field-input {
  width: 100%;
  padding: 15px 16px;
  background: rgba(8,2,16,.6);
  border: 1px solid rgba(176,38,255,.25);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease;
}
.field-input:focus { border-color: var(--ac2); }
.field-input::placeholder { color: #6b5c82; }

.tag {
  font-size: 11px; letter-spacing: .1em; padding: 5px 11px; border-radius: 2px; font-weight: 600;
}
