/* Aura Volleyball — auravolleyball.com
   Palette lifted from AuraVolleyball/Theme/AppTheme.swift so the site
   and the app read as one product. */

:root {
  --bg:        #140F33;   /* AppTheme.darkBase */
  --bg-2:      #1F1A47;   /* darkBaseSecondary */
  --list-bg:   #1A1438;   /* listBackground */
  --card:      #241F4D;   /* cardBackground */
  --card-hi:   #2B2659;   /* cardBackgroundElevated */

  --pink:      #FA5999;   /* accentPink */
  --blue:      #4D8CFF;   /* accentBlue */
  --teal:      #33BFE6;   /* accentTeal */
  --yellow:    #FFE04D;   /* accentYellow */
  --orange:    #FF8C33;   /* accentOrange */

  --text:      #FFFFFF;
  --text-2:    rgba(255,255,255,.68);
  --text-3:    rgba(255,255,255,.48);
  --stroke:    rgba(255,255,255,.09);

  --radius:    18px;
  --radius-sm: 12px;
  --max:       1080px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%,  rgba(250,89,153,.16), transparent 62%),
    radial-gradient(760px 520px at 92% 4%,   rgba(77,140,255,.16), transparent 62%),
    radial-gradient(680px 460px at 50% 102%, rgba(51,191,230,.10), transparent 66%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 750; margin-top: 2.2em; }
h3 { font-size: 1.16rem; font-weight: 700; }
p  { margin: 0 0 1.1em; color: var(--text-2); }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,15,51,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 62px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 0 14px rgba(250,89,153,.75);
  flex: none;
}
nav.site { display: flex; gap: 20px; flex-wrap: wrap; }
nav.site a {
  color: var(--text-2); font-size: .93rem; font-weight: 600; text-decoration: none;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 42px; text-align: center; }
.hero .kicker {
  display: inline-block; margin-bottom: 16px; padding: 6px 15px;
  border: 1px solid var(--stroke); border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: .79rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-2);
}
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero h1 .grad {
  background: linear-gradient(105deg, var(--pink) 8%, var(--blue) 55%, var(--teal) 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lede {
  max-width: 60ch; margin: 0 auto 30px;
  font-size: clamp(1.03rem, 2.1vw, 1.2rem); color: var(--text-2);
}

/* ---------- buttons ---------- */
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .97rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(105deg, var(--pink), var(--blue));
  color: #fff; box-shadow: 0 8px 26px rgba(250,89,153,.32);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(250,89,153,.44); }
.btn-ghost {
  background: rgba(255,255,255,.05); color: var(--text); border-color: var(--stroke);
}
.btn .price { opacity: .78; font-weight: 600; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px;
}
.card.link-card { transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.card.link-card:hover {
  transform: translateY(-3px); background: var(--card-hi);
  border-color: rgba(255,255,255,.16);
}
.card h3 { margin-bottom: .35em; }
.card p  { margin-bottom: 0; font-size: .95rem; }

/* app cards */
.app-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.app-card:hover { text-decoration: none; }
.app-card img.icon {
  width: 74px; height: 74px; border-radius: 17px; margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.42);
}
.app-card .meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stroke);
  display: flex; align-items: center; gap: 10px;
  font-size: .87rem; color: var(--text-3); font-weight: 600;
}
.tag {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  background: rgba(77,140,255,.16); color: var(--blue);
  border: 1px solid rgba(77,140,255,.26);
}
.tag.pink   { background: rgba(250,89,153,.16); color: var(--pink);   border-color: rgba(250,89,153,.26); }
.tag.teal   { background: rgba(51,191,230,.16); color: var(--teal);   border-color: rgba(51,191,230,.26); }
.tag.yellow { background: rgba(255,224,77,.14); color: var(--yellow); border-color: rgba(255,224,77,.24); }

/* ---------- sections ---------- */
section { padding: 30px 0; }
section.pad { padding: 52px 0; }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.section-head h2 { margin-top: 0; }
.section-head p { margin-bottom: 0; }

ul.feature-list { list-style: none; padding: 0; margin: 0; }
ul.feature-list li {
  position: relative; padding-left: 27px; margin-bottom: 11px; color: var(--text-2);
}
ul.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.prose { max-width: 74ch; }
.prose ul { color: var(--text-2); padding-left: 1.25em; }
.prose li { margin-bottom: .5em; }
.prose h2 { font-size: 1.42rem; }
.prose h3 { margin-top: 1.9em; }

.callout {
  border-left: 3px solid var(--teal);
  background: rgba(51,191,230,.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--yellow); background: rgba(255,224,77,.07); }

/* affiliate disclosure — visible and compliant, but quiet.
   Reads as a note, not a warning label. */
.disclosure {
  margin: 0 0 30px;
  padding-left: 14px;
  border-left: 2px solid rgba(255,255,255,.16);
  font-size: .84rem; line-height: 1.6; color: var(--text-3);
  max-width: 74ch;
}
.disclosure a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.p {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.p:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); background: var(--card-hi); }

.p .art {
  height: 132px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.07), transparent 70%),
    var(--list-bg);
  border-bottom: 1px solid var(--stroke);
}
.p .art svg { width: 92px; height: 92px; display: block; }

.p .body { padding: 18px 19px 19px; display: flex; flex-direction: column; flex: 1; }
.p .brand {
  font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 5px;
}
.p .name { font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin: 0 0 9px; }
.p .why { font-size: .89rem; color: var(--text-2); margin: 0 0 15px; flex: 1; }

.p .stars {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: var(--yellow);
  margin-bottom: 14px;
}
.p .stars span { color: var(--text-3); font-weight: 500; }

.p .buy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 15px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--stroke);
  color: var(--text); font-size: .89rem; font-weight: 700; text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}
.p .buy:hover {
  text-decoration: none;
  background: linear-gradient(105deg, rgba(250,89,153,.22), rgba(77,140,255,.22));
  border-color: rgba(255,255,255,.2);
}
.p .buy .pl { font-size: .68rem; font-weight: 500; color: var(--text-3); letter-spacing: .02em; }

.pick {
  display: inline-block; align-self: flex-start; width: auto;
  margin-bottom: 11px; padding: 4px 11px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
}
.pick.best  { background: rgba(250,89,153,.15); color: var(--pink);  border: 1px solid rgba(250,89,153,.28); }
.pick.value { background: rgba(51,191,230,.15); color: var(--teal);  border: 1px solid rgba(51,191,230,.28); }
.pick.youth { background: rgba(255,224,77,.13); color: var(--yellow);border: 1px solid rgba(255,224,77,.26); }
.pick.pop   { background: rgba(77,140,255,.15); color: var(--blue);  border: 1px solid rgba(77,140,255,.28); }

/* ---------- footer ---------- */
footer.site {
  margin-top: 62px; padding: 42px 0 34px;
  border-top: 1px solid var(--stroke);
  background: rgba(0,0,0,.20);
  font-size: .89rem;
}
footer.site .cols {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 30px;
}
footer.site h4 {
  margin: 0 0 11px; font-size: .77rem; font-weight: 800;
  letter-spacing: .11em; text-transform: uppercase; color: var(--text-3);
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 7px; }
footer.site a { color: var(--text-2); }
footer.site a:hover { color: var(--text); }
.fine {
  padding-top: 22px; border-top: 1px solid var(--stroke);
  color: var(--text-3); font-size: .83rem;
}
.fine p { color: var(--text-3); font-size: .83rem; margin-bottom: .8em; }
.fine p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 32px; }
  nav.site { gap: 14px; }
  nav.site a { font-size: .87rem; }
  .card { padding: 21px; }
  header.site .wrap { flex-direction: column; align-items: flex-start; padding-block: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
