/* ==========================================================================
   Crazy Win Casino - adaptive display stylesheet
   Palette: violet #9400D3 / spring green #00FF7F / ghost white #F8F8FF
            deep navy #1C2833 / orchid #DA70D6
   Direction: humanist headings + legible body, small-medium radii,
   outlined tile game cards, compact metric rhythm, sliding focus
   indicators, light-rounded text CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shelleaadf-ink-deep: #0d141b;
  --shelleaadf-ink: #1c2833;
  --shelleaadf-panel: #1f2d3a;
  --shelleaadf-panel-2: #243446;
  --shelleaadf-panel-3: #2b3d52;
  --shelleaadf-violet: #9400d3;
  --shelleaadf-violet-soft: rgba(148, 0, 211, 0.22);
  --shelleaadf-orchid: #da70d6;
  --shelleaadf-orchid-line: rgba(218, 112, 214, 0.36);
  --shelleaadf-mint: #00ff7f;
  --shelleaadf-mint-dim: rgba(0, 255, 127, 0.14);
  --shelleaadf-paper: #f8f8ff;
  --shelleaadf-text-dim: rgba(248, 248, 255, 0.68);
  --shelleaadf-text-faint: rgba(248, 248, 255, 0.46);
  --shelleaadf-line: rgba(218, 112, 214, 0.22);
  --shelleaadf-line-strong: rgba(218, 112, 214, 0.5);
  --shelleaadf-danger: #ff6b81;

  --shelleaadf-font-head: 'Bitter', Georgia, 'Times New Roman', serif;
  --shelleaadf-font-body: 'Atkinson Hyperlegible', 'Segoe UI', Tahoma, sans-serif;

  --shelleaadf-radius-l: 18px;
  --shelleaadf-radius-m: 13px;
  --shelleaadf-radius-s: 9px;
  --shelleaadf-radius-xs: 6px;

  --shelleaadf-gap: 14px;
  --shelleaadf-tap: 44px;
  --shelleaadf-topbar-h: 104px;
  --shelleaadf-dock-h: 64px;

  --shelleaadf-shadow-1: 0 10px 26px rgba(0, 0, 0, 0.42);
  --shelleaadf-shadow-2: 0 16px 44px rgba(0, 0, 0, 0.55);
  --shelleaadf-press: cubic-bezier(0.33, 0.1, 0.28, 1);
}

/* --------------------------------------------------------------------------
   2. Base + reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--shelleaadf-font-body);
  font-size: 15px;
  line-height: 1.62;
  color: var(--shelleaadf-paper);
  background:
    radial-gradient(680px 420px at 50% -140px, rgba(148, 0, 211, 0.34), transparent 68%),
    radial-gradient(520px 360px at 108% 22%, rgba(218, 112, 214, 0.12), transparent 70%),
    var(--shelleaadf-ink-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--shelleaadf-mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--shelleaadf-mint);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--shelleaadf-violet);
  color: var(--shelleaadf-paper);
}

/* --------------------------------------------------------------------------
   3. Phone canvas
   -------------------------------------------------------------------------- */
.shelleaadf-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(148, 0, 211, 0.16), transparent 300px),
    var(--shelleaadf-ink);
  border-inline: 1px solid rgba(218, 112, 214, 0.16);
  box-shadow: var(--shelleaadf-shadow-2);
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   4. Top action band (minimal title strip + action row + expandable menu)
   -------------------------------------------------------------------------- */
.shelleaadf-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(13, 20, 27, 0.97), rgba(28, 40, 51, 0.97));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shelleaadf-line);
}

.shelleaadf-topbar-inner {
  padding: 8px 12px 0;
}

.shelleaadf-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
}

.shelleaadf-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shelleaadf-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid var(--shelleaadf-line-strong);
  background: var(--shelleaadf-panel-2);
  box-shadow: 0 0 0 3px rgba(148, 0, 211, 0.18);
  flex: none;
}

.shelleaadf-brand-name {
  font-family: var(--shelleaadf-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelleaadf-brand-name em {
  font-style: normal;
  color: var(--shelleaadf-mint);
}

.shelleaadf-menu-btn {
  flex: none;
  width: var(--shelleaadf-tap);
  height: var(--shelleaadf-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shelleaadf-radius-s);
  border: 1px solid var(--shelleaadf-line);
  color: var(--shelleaadf-paper);
  background: var(--shelleaadf-panel);
  transition: background 0.2s var(--shelleaadf-press), transform 0.15s var(--shelleaadf-press);
}

.shelleaadf-menu-btn:active {
  transform: scale(0.92);
  background: var(--shelleaadf-panel-3);
}

.shelleaadf-topbar.is-open .shelleaadf-menu-btn {
  background: var(--shelleaadf-mint);
  color: #0b2317;
  border-color: var(--shelleaadf-mint);
}

.shelleaadf-menu-btn svg {
  display: block;
}

.shelleaadf-menu-btn .shelleaadf-menu-x {
  display: none;
}

.shelleaadf-topbar.is-open .shelleaadf-menu-btn .shelleaadf-menu-x {
  display: block;
}

.shelleaadf-topbar.is-open .shelleaadf-menu-btn .shelleaadf-menu-burger {
  display: none;
}

/* Register / Login action row sits outside the brand strip */
.shelleaadf-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0 10px;
}

.shelleaadf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--shelleaadf-tap);
  padding: 10px 16px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  text-align: center;
  transition: transform 0.16s var(--shelleaadf-press), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.shelleaadf-btn:active {
  transform: scale(0.955);
}

.shelleaadf-btn-solid {
  background: linear-gradient(135deg, var(--shelleaadf-mint), #37e69a);
  color: #0b2317;
  box-shadow: 0 6px 18px rgba(0, 255, 127, 0.24);
}

.shelleaadf-btn-solid:hover {
  box-shadow: 0 8px 24px rgba(0, 255, 127, 0.36);
}

.shelleaadf-btn-line {
  background: transparent;
  color: var(--shelleaadf-paper);
  border: 1px solid var(--shelleaadf-line-strong);
}

.shelleaadf-btn-line:hover {
  background: var(--shelleaadf-violet-soft);
}

.shelleaadf-btn-violet {
  background: linear-gradient(135deg, var(--shelleaadf-violet), #b44ee0);
  color: var(--shelleaadf-paper);
  box-shadow: 0 6px 18px rgba(148, 0, 211, 0.34);
}

/* Expandable navigation drawer */
.shelleaadf-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--shelleaadf-press);
  border-top: 0 solid transparent;
}

.shelleaadf-topbar.is-open .shelleaadf-menu {
  max-height: 562px;
  border-top: 1px solid var(--shelleaadf-line);
}

.shelleaadf-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 14px;
}

.shelleaadf-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--shelleaadf-radius-s);
  border: 1px solid transparent;
  color: var(--shelleaadf-text-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: background 0.18s, color 0.18s;
}

.shelleaadf-menu-link:hover {
  background: var(--shelleaadf-violet-soft);
  color: var(--shelleaadf-paper);
  text-decoration: none;
}

.shelleaadf-menu-link span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelleaadf-orchid);
  flex: none;
}

.shelleaadf-menu-link.is-here {
  background: var(--shelleaadf-mint);
  color: #0b2317;
}

.shelleaadf-menu-link.is-here span {
  background: #0b2317;
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.shelleaadf-main {
  padding: calc(var(--shelleaadf-topbar-h) + 14px) var(--shelleaadf-gap) calc(var(--shelleaadf-dock-h) + 30px);
}

.shelleaadf-section {
  margin-bottom: 30px;
  scroll-margin-top: calc(var(--shelleaadf-topbar-h) + 8px);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.shelleaadf-hero {
  position: relative;
  padding: 14px 2px 4px;
}

.shelleaadf-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelleaadf-mint);
  border: 1px solid rgba(0, 255, 127, 0.32);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--shelleaadf-mint-dim);
}

.shelleaadf-hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelleaadf-mint);
  box-shadow: 0 0 8px var(--shelleaadf-mint);
}

.shelleaadf-hero h1 {
  font-family: var(--shelleaadf-font-head);
  font-size: clamp(25px, 6.6vw, 31px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 12px 0 10px;
}

.shelleaadf-hero h1 .shelleaadf-h1-accent {
  color: var(--shelleaadf-orchid);
}

.shelleaadf-hero-lede {
  color: var(--shelleaadf-text-dim);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.shelleaadf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shelleaadf-cta-row .shelleaadf-btn {
  flex: 1 1 150px;
}

/* Compact metric strip - tight number-plus-explanation rhythm */
.shelleaadf-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.shelleaadf-stat {
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-s);
  background: linear-gradient(180deg, var(--shelleaadf-panel), rgba(31, 45, 58, 0.4));
  padding: 9px 8px 8px;
  text-align: center;
}

.shelleaadf-stat b {
  display: block;
  font-family: var(--shelleaadf-font-head);
  font-size: 19px;
  color: var(--shelleaadf-mint);
  line-height: 1.1;
}

.shelleaadf-stat small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--shelleaadf-text-faint);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   7. Promo banner carousel
   -------------------------------------------------------------------------- */
.shelleaadf-carousel {
  position: relative;
  margin-top: 16px;
  border-radius: var(--shelleaadf-radius-m);
  overflow: hidden;
  border: 1px solid var(--shelleaadf-line-strong);
  background: var(--shelleaadf-panel-2);
  box-shadow: var(--shelleaadf-shadow-1);
}

.shelleaadf-slides {
  position: relative;
  aspect-ratio: 2 / 1;
}

.shelleaadf-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateX(6%) scale(1.01);
  transition: opacity 0.5s ease, transform 0.55s var(--shelleaadf-press);
  pointer-events: none;
}

.shelleaadf-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.shelleaadf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelleaadf-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 30px 14px 12px;
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(13, 20, 27, 0.88) 62%);
}

.shelleaadf-slide-copy b {
  font-family: var(--shelleaadf-font-head);
  font-size: 16.5px;
  line-height: 1.2;
  color: var(--shelleaadf-paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.shelleaadf-slide-copy small {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--shelleaadf-mint);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shelleaadf-carousel-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shelleaadf-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(248, 248, 255, 0.42);
  border: 1px solid rgba(13, 20, 27, 0.5);
  transition: width 0.3s var(--shelleaadf-press), background 0.3s;
}

.shelleaadf-carousel-dot.is-active {
  width: 26px;
  background: var(--shelleaadf-mint);
}

/* --------------------------------------------------------------------------
   8. Section headers + game grids
   -------------------------------------------------------------------------- */
.shelleaadf-sec-head {
  margin-bottom: 11px;
}

.shelleaadf-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shelleaadf-orchid);
  margin-bottom: 5px;
}

.shelleaadf-sec-head h2 {
  font-family: var(--shelleaadf-font-head);
  font-size: 20.5px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.1px;
  position: relative;
  padding-bottom: 9px;
}

.shelleaadf-sec-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--shelleaadf-mint), var(--shelleaadf-violet));
}

.shelleaadf-sec-intro {
  margin-top: 8px;
  font-size: 13.8px;
  color: var(--shelleaadf-text-dim);
}

.shelleaadf-count-chip {
  display: inline-block;
  vertical-align: 4px;
  margin-left: 7px;
  font-family: var(--shelleaadf-font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0b2317;
  background: var(--shelleaadf-mint);
  border-radius: 999px;
  padding: 2px 8px;
}

.shelleaadf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 400px) {
  .shelleaadf-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
  }
}

/* Outlined tile card for every game entry */
.shelleaadf-gtile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 6px 5px 7px;
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-s);
  background: linear-gradient(180deg, var(--shelleaadf-panel-2), var(--shelleaadf-panel));
  transition: transform 0.16s var(--shelleaadf-press), border-color 0.2s, box-shadow 0.2s;
}

.shelleaadf-gtile:hover {
  border-color: var(--shelleaadf-mint);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.shelleaadf-gtile:active {
  transform: scale(0.94);
  border-color: var(--shelleaadf-mint);
}

.shelleaadf-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shelleaadf-radius-xs);
  border: 1px solid rgba(248, 248, 255, 0.06);
  background: var(--shelleaadf-ink);
}

.shelleaadf-gtile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  color: var(--shelleaadf-paper);
  min-height: 2.56em;
  overflow-wrap: anywhere;
}

.shelleaadf-sec-more {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--shelleaadf-text-faint);
}

.shelleaadf-sec-more a {
  color: var(--shelleaadf-mint);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Mid-page CTA band
   -------------------------------------------------------------------------- */
.shelleaadf-cta-band {
  position: relative;
  margin: 26px 0 30px;
  padding: 18px 16px;
  border-radius: var(--shelleaadf-radius-l);
  border: 1px solid rgba(0, 255, 127, 0.28);
  background:
    radial-gradient(220px 120px at 85% 0%, rgba(0, 255, 127, 0.16), transparent 70%),
    linear-gradient(135deg, rgba(148, 0, 211, 0.34), rgba(28, 40, 51, 0.9));
  text-align: center;
}

.shelleaadf-cta-band h2 {
  font-family: var(--shelleaadf-font-head);
  font-size: 19px;
  line-height: 1.25;
}

.shelleaadf-cta-band p {
  margin: 7px 0 12px;
  font-size: 13px;
  color: var(--shelleaadf-text-dim);
}

.shelleaadf-cta-band .shelleaadf-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   10. Feature metric tiles
   -------------------------------------------------------------------------- */
.shelleaadf-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.shelleaadf-metric {
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-m);
  background: linear-gradient(180deg, var(--shelleaadf-panel-2), var(--shelleaadf-panel));
  padding: 12px 11px 11px;
}

.shelleaadf-metric b {
  display: block;
  font-family: var(--shelleaadf-font-head);
  font-size: 20px;
  line-height: 1.1;
  color: var(--shelleaadf-mint);
}

.shelleaadf-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shelleaadf-paper);
  line-height: 1.3;
}

.shelleaadf-metric p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shelleaadf-text-faint);
}

.shelleaadf-metric--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.shelleaadf-metric--wide b {
  font-size: 26px;
  text-align: center;
  border-right: 1px solid var(--shelleaadf-line);
  padding-right: 10px;
}

/* --------------------------------------------------------------------------
   11. Mobile app panel
   -------------------------------------------------------------------------- */
.shelleaadf-app-panel {
  border: 1px solid var(--shelleaadf-line-strong);
  border-radius: var(--shelleaadf-radius-l);
  background:
    radial-gradient(190px 110px at 100% 8%, rgba(218, 112, 214, 0.18), transparent 70%),
    linear-gradient(180deg, var(--shelleaadf-panel-2), var(--shelleaadf-panel));
  padding: 16px 14px;
}

.shelleaadf-app-steps {
  margin: 12px 0 13px;
  display: grid;
  gap: 9px;
}

.shelleaadf-app-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px dashed var(--shelleaadf-orchid-line);
  border-radius: var(--shelleaadf-radius-s);
  padding: 10px;
  background: rgba(13, 20, 27, 0.35);
}

.shelleaadf-app-step span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--shelleaadf-violet);
  color: var(--shelleaadf-paper);
  font-family: var(--shelleaadf-font-head);
  font-weight: 700;
  font-size: 14px;
}

.shelleaadf-app-step strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.shelleaadf-app-step small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--shelleaadf-text-faint);
  line-height: 1.45;
}

.shelleaadf-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.shelleaadf-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--shelleaadf-text-dim);
  border: 1px solid var(--shelleaadf-line);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(13, 20, 27, 0.4);
}

.shelleaadf-app-panel .shelleaadf-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   12. Milestone ladder (achievements)
   -------------------------------------------------------------------------- */
.shelleaadf-mile-list {
  display: grid;
  gap: 10px;
}

.shelleaadf-mile {
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-m);
  background: var(--shelleaadf-panel);
  padding: 11px 12px 12px;
}

.shelleaadf-mile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.shelleaadf-mile-top strong {
  font-size: 13px;
  font-weight: 700;
}

.shelleaadf-mile-top small {
  font-family: var(--shelleaadf-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--shelleaadf-orchid);
  white-space: nowrap;
}

.shelleaadf-mile p {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shelleaadf-text-faint);
}

.shelleaadf-mile-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 6px;
  background: rgba(13, 20, 27, 0.85);
  border: 1px solid rgba(218, 112, 214, 0.18);
  overflow: hidden;
}

.shelleaadf-mile-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--shelleaadf-violet), var(--shelleaadf-mint));
}

/* --------------------------------------------------------------------------
   13. Takeaways + requirements
   -------------------------------------------------------------------------- */
.shelleaadf-take-list {
  display: grid;
  gap: 8px;
  counter-reset: shelleaadf-take;
}

.shelleaadf-take {
  counter-increment: shelleaadf-take;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border-radius: var(--shelleaadf-radius-s);
  border: 1px solid var(--shelleaadf-line);
  background: var(--shelleaadf-panel);
  padding: 10px 11px;
}

.shelleaadf-take::before {
  content: counter(shelleaadf-take, decimal-leading-zero);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--shelleaadf-mint);
  color: var(--shelleaadf-mint);
  font-family: var(--shelleaadf-font-head);
  font-size: 11.5px;
  font-weight: 700;
}

.shelleaadf-take p {
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--shelleaadf-text-dim);
  padding-top: 3px;
}

.shelleaadf-take p b {
  color: var(--shelleaadf-paper);
}

.shelleaadf-check-list {
  display: grid;
  gap: 8px;
}

.shelleaadf-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  border-radius: var(--shelleaadf-radius-s);
  background: rgba(13, 20, 27, 0.4);
  border: 1px solid var(--shelleaadf-line);
  padding: 10px 11px;
}

.shelleaadf-check svg {
  margin-top: 2px;
  color: var(--shelleaadf-mint);
}

.shelleaadf-check strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.shelleaadf-check small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shelleaadf-text-faint);
}

/* --------------------------------------------------------------------------
   14. Extended footer (homepage only): brand > directory > promos > note
   -------------------------------------------------------------------------- */
.shelleaadf-xf {
  margin: 34px calc(-1 * var(--shelleaadf-gap)) 0;
  border-top: 1px solid var(--shelleaadf-line-strong);
  background:
    radial-gradient(300px 150px at 50% 0%, rgba(148, 0, 211, 0.16), transparent 72%),
    var(--shelleaadf-ink-deep);
  padding: 20px var(--shelleaadf-gap) 18px;
}

.shelleaadf-xf-block {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(218, 112, 214, 0.18);
}

.shelleaadf-xf-block:last-child {
  border-bottom: 0;
}

.shelleaadf-xf-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shelleaadf-font-head);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shelleaadf-xf-title::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--shelleaadf-mint), var(--shelleaadf-violet));
}

.shelleaadf-xf-brand p {
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--shelleaadf-text-dim);
}

.shelleaadf-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.shelleaadf-xf-dir a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shelleaadf-text-dim);
  line-height: 1.35;
  padding: 3px 0;
}

.shelleaadf-xf-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--shelleaadf-orchid);
  flex: none;
  align-self: center;
}

.shelleaadf-xf-dir a:hover {
  color: var(--shelleaadf-mint);
}

.shelleaadf-xf-promos {
  display: grid;
  gap: 8px;
}

.shelleaadf-xf-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: var(--shelleaadf-radius-s);
  border: 1px solid var(--shelleaadf-line-strong);
  background: linear-gradient(120deg, rgba(148, 0, 211, 0.24), rgba(31, 45, 58, 0.7));
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.16s var(--shelleaadf-press), border-color 0.2s;
}

.shelleaadf-xf-promo small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shelleaadf-text-faint);
  margin-top: 1px;
}

.shelleaadf-xf-promo span {
  color: var(--shelleaadf-mint);
  font-size: 16px;
  line-height: 1;
}

.shelleaadf-xf-promo:active {
  transform: scale(0.97);
  border-color: var(--shelleaadf-mint);
}

.shelleaadf-xf-note {
  font-size: 11.3px;
  line-height: 1.55;
  color: var(--shelleaadf-text-faint);
}

/* --------------------------------------------------------------------------
   15. Common footer
   -------------------------------------------------------------------------- */
.shelleaadf-foot {
  padding: 16px var(--shelleaadf-gap) 10px;
  text-align: center;
}

.shelleaadf-foot-copy {
  font-size: 11.5px;
  color: var(--shelleaadf-text-faint);
  letter-spacing: 0.02em;
}

.shelleaadf-foot-copy b {
  color: var(--shelleaadf-text-dim);
}

/* --------------------------------------------------------------------------
   16. Bottom dock - compact icon rack
   -------------------------------------------------------------------------- */
.shelleaadf-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(23, 33, 44, 0.97), rgba(13, 20, 27, 0.99));
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shelleaadf-line-strong);
}

.shelleaadf-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border-radius: var(--shelleaadf-radius-s);
  color: var(--shelleaadf-text-dim);
  transition: color 0.18s, background 0.18s, transform 0.14s var(--shelleaadf-press);
}

.shelleaadf-dock-item:active {
  transform: scale(0.9);
}

.shelleaadf-dock-item span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--shelleaadf-violet-soft);
  border: 1px solid rgba(218, 112, 214, 0.2);
  color: var(--shelleaadf-paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.shelleaadf-dock-item small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shelleaadf-dock-item:hover {
  color: var(--shelleaadf-paper);
  text-decoration: none;
  background: rgba(148, 0, 211, 0.12);
}

.shelleaadf-dock-item.is-here {
  color: var(--shelleaadf-mint);
}

.shelleaadf-dock-item.is-here span {
  background: var(--shelleaadf-mint);
  color: #0b2317;
  border-color: var(--shelleaadf-mint);
  box-shadow: 0 4px 14px rgba(0, 255, 127, 0.32);
}

/* --------------------------------------------------------------------------
   17. Wide-screen behaviour: keep the phone canvas, frame it gently
   -------------------------------------------------------------------------- */
@media (min-width: 431px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(900px 500px at 50% -160px, rgba(148, 0, 211, 0.2), transparent 70%),
      var(--shelleaadf-ink-deep);
    z-index: -1;
  }
}

@media (max-width: 360px) {
  .shelleaadf-brand-name {
    font-size: 15.5px;
  }

  .shelleaadf-stat-strip {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
  }

  .shelleaadf-cta-row .shelleaadf-btn {
    flex-basis: 100%;
  }
}

/* --------------------------------------------------------------------------
   18. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Skip link for keyboard users */
.shelleaadf-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  background: var(--shelleaadf-mint);
  color: #0b2317;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--shelleaadf-radius-s);
  transition: top 0.2s;
}

.shelleaadf-skip:focus {
  top: 8px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   19. Help-page reading layouts
   -------------------------------------------------------------------------- */
.shelleaadf-help-lead {
  margin: 4px 0 18px;
  color: var(--shelleaadf-text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.shelleaadf-help-note {
  margin: 10px 0 0;
  padding: 12px 13px;
  border-left: 3px solid var(--shelleaadf-mint);
  border-radius: 0 var(--shelleaadf-radius-s) var(--shelleaadf-radius-s) 0;
  background: rgba(0, 255, 127, 0.08);
  color: var(--shelleaadf-paper);
  font-size: 13px;
  line-height: 1.62;
}

.shelleaadf-help-steps {
  display: grid;
  gap: 10px;
  counter-reset: shelleaadf-step;
}

.shelleaadf-help-step {
  counter-increment: shelleaadf-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-m);
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.17), var(--shelleaadf-panel));
}

.shelleaadf-help-step::before {
  content: counter(shelleaadf-step, decimal-leading-zero);
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0b2317;
  background: var(--shelleaadf-mint);
  font-family: var(--shelleaadf-font-head);
  font-weight: 700;
  font-size: 12px;
}

.shelleaadf-help-step strong,
.shelleaadf-help-row strong {
  display: block;
  color: var(--shelleaadf-paper);
  font-size: 13.5px;
  line-height: 1.35;
}

.shelleaadf-help-step p,
.shelleaadf-help-row p {
  margin-top: 4px;
  color: var(--shelleaadf-text-dim);
  font-size: 12.5px;
  line-height: 1.58;
}

.shelleaadf-help-ledger {
  display: grid;
  gap: 8px;
}

.shelleaadf-help-row {
  padding: 11px 12px;
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-s);
  background: rgba(31, 45, 58, 0.82);
}

.shelleaadf-help-row b {
  float: right;
  margin-left: 8px;
  color: var(--shelleaadf-mint);
  font-size: 12px;
}

.shelleaadf-help-defs {
  columns: 1;
  column-gap: 12px;
}

.shelleaadf-help-def {
  break-inside: avoid;
  margin-bottom: 9px;
  padding: 10px 11px;
  border-top: 2px solid var(--shelleaadf-orchid);
  border-radius: 0 0 var(--shelleaadf-radius-s) var(--shelleaadf-radius-s);
  background: var(--shelleaadf-panel-2);
}

.shelleaadf-help-def dt {
  color: var(--shelleaadf-mint);
  font-weight: 700;
  font-size: 13px;
}

.shelleaadf-help-def dd {
  margin: 3px 0 0;
  color: var(--shelleaadf-text-dim);
  font-size: 12px;
  line-height: 1.52;
}

.shelleaadf-help-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.shelleaadf-help-promo {
  display: block;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-s);
  background: var(--shelleaadf-panel);
  text-align: left;
  transition: transform 0.16s var(--shelleaadf-press), border-color 0.2s;
}

.shelleaadf-help-promo:hover,
.shelleaadf-help-promo:active {
  border-color: var(--shelleaadf-mint);
  transform: translateY(-2px);
}

.shelleaadf-help-promo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shelleaadf-radius-xs);
}

.shelleaadf-help-promo span {
  display: block;
  margin-top: 5px;
  color: var(--shelleaadf-paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.shelleaadf-help-table {
  display: grid;
  gap: 7px;
}

.shelleaadf-help-table > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 9px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--shelleaadf-line);
  color: var(--shelleaadf-text-dim);
  font-size: 12.3px;
  line-height: 1.5;
}

.shelleaadf-help-table > div strong {
  color: var(--shelleaadf-paper);
}

.shelleaadf-help-score {
  display: grid;
  gap: 9px;
}

.shelleaadf-help-score > div {
  padding: 11px 12px;
  border: 1px solid var(--shelleaadf-line);
  border-radius: var(--shelleaadf-radius-m);
  background: var(--shelleaadf-panel);
}

.shelleaadf-help-score header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.shelleaadf-help-score header strong {
  font-size: 13px;
}

.shelleaadf-help-score header b {
  color: var(--shelleaadf-mint);
  font-family: var(--shelleaadf-font-head);
}

.shelleaadf-help-score p {
  margin-top: 4px;
  color: var(--shelleaadf-text-faint);
  font-size: 11.8px;
  line-height: 1.5;
}

.shelleaadf-help-bar {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--shelleaadf-ink-deep);
}

.shelleaadf-help-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--shelleaadf-violet), var(--shelleaadf-mint));
}

@media (min-width: 390px) {
  .shelleaadf-help-defs {
    columns: 2;
  }
}

@media (max-width: 360px) {
  .shelleaadf-help-promos {
    gap: 6px;
  }

  .shelleaadf-help-table > div {
    grid-template-columns: 82px 1fr;
  }
}
