/* ==========================================================================
   789bet app apk - adaptive interface stylesheet
   Prefix:  shelleaaf8-
   Palette: #141414 deep / #696969 dim / #708090 slate / #DEE2E6 light
   Direction:
     - High contrast display font + highly readable body font
     - Light rounded cards, compact segmented action buttons
     - Game cards: image + bottom name bar
     - Scenario-branch information rhythm
     - Focus-indicator slide motion budget
   Mobile canvas is 320-430px; wide screens keep the centered mobile frame.
   ========================================================================== */

/* ----- Design tokens -------------------------------------------------- */
:root {
  --shelleaaf8-bg:        #141414;
  --shelleaaf8-bg-2:      #1c1c1c;
  --shelleaaf8-bg-3:      #232323;
  --shelleaaf8-surface:   #1f1f1f;
  --shelleaaf8-surface-2: #2a2a2a;
  --shelleaaf8-dim:       #696969;
  --shelleaaf8-slate:     #708090;
  --shelleaaf8-slate-2:   #8a99a8;
  --shelleaaf8-text:      #DEE2E6;
  --shelleaaf8-text-dim:  #b6bcc2;
  --shelleaaf8-line:      rgba(222, 226, 230, 0.10);
  --shelleaaf8-line-2:    rgba(222, 226, 230, 0.18);

  --shelleaaf8-radius-sm: 8px;
  --shelleaaf8-radius:    14px;
  --shelleaaf8-radius-lg: 20px;

  --shelleaaf8-shadow-1: 0 1px 0 rgba(0,0,0,0.4);
  --shelleaaf8-shadow-2: 0 6px 18px rgba(0,0,0,0.45);
  --shelleaaf8-shadow-3: 0 14px 32px rgba(0,0,0,0.55);

  --shelleaaf8-font-display: "Bebas Neue", "Oswald", "Arial Narrow",
                             "Segoe UI", Tahoma, sans-serif;
  --shelleaaf8-font-body: "Inter", "Segoe UI", system-ui, -apple-system,
                          "Helvetica Neue", Arial, sans-serif;

  --shelleaaf8-header-h: 58px;
  --shelleaaf8-bottomnav-h: 64px;
  --shelleaaf8-frame-max: 480px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.shelleaaf8-noscroll { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--shelleaaf8-font-body);
  color: var(--shelleaaf8-text);
  background:
    radial-gradient(120% 60% at 50% -10%, #20201f 0%, transparent 60%),
    linear-gradient(180deg, #141414 0%, #101010 100%);
  background-attachment: fixed;
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  /* Reserve room for fixed bottom nav so content is never hidden. */
  padding-bottom: calc(var(--shelleaaf8-bottomnav-h) + 14px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { text-decoration: underline; }

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

:focus-visible {
  outline: 2px solid var(--shelleaaf8-slate-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ----- Page frame ----------------------------------------------------- */
.shelleaaf8-frame {
  width: 100%;
  max-width: var(--shelleaaf8-frame-max);
  margin: 0 auto;
  padding: 0 14px;
}

.shelleaaf8-section {
  padding: 26px 0 10px;
}

.shelleaaf8-section + .shelleaaf8-section { padding-top: 8px; }

/* ----- Top action band ----------------------------------------------- */
.shelleaaf8-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--shelleaaf8-header-h);
  background: linear-gradient(180deg, #181818 0%, #121212 100%);
  border-bottom: 1px solid var(--shelleaaf8-line);
  box-shadow: var(--shelleaaf8-shadow-1);
}

.shelleaaf8-topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.shelleaaf8-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: #0c0c0c;
  border: 1px solid var(--shelleaaf8-line-2);
  flex: none;
}

.shelleaaf8-brand-name {
  font-family: var(--shelleaaf8-font-display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--shelleaaf8-text);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelleaaf8-brand-name small {
  display: block;
  font-family: var(--shelleaaf8-font-body);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--shelleaaf8-slate-2);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Compact segmented action buttons */
.shelleaaf8-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shelleaaf8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.22s ease, color 0.22s ease,
              transform 0.18s ease, border-color 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.shelleaaf8-btn:hover { text-decoration: none; }

.shelleaaf8-btn:active { transform: translateY(1px); }

.shelleaaf8-btn--ghost {
  background: rgba(222, 226, 230, 0.06);
  color: var(--shelleaaf8-text);
  border-color: var(--shelleaaf8-line-2);
}

.shelleaaf8-btn--ghost:hover {
  background: rgba(222, 226, 230, 0.12);
}

.shelleaaf8-btn--primary {
  background: linear-gradient(180deg, #7e90a3 0%, #5d6c7d 100%);
  color: #0d0d0d;
  box-shadow: 0 2px 0 rgba(0,0,0,0.35);
}

.shelleaaf8-btn--primary:hover {
  background: linear-gradient(180deg, #8c9eb1 0%, #657587 100%);
}

.shelleaaf8-btn--block {
  display: flex;
  width: 100%;
  min-height: 42px;
  font-size: 14px;
}

.shelleaaf8-btn--lg {
  min-height: 46px;
  font-size: 15px;
  padding: 0 18px;
}

.shelleaaf8-menu-trigger {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--shelleaaf8-line-2);
  background: rgba(222, 226, 230, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}

.shelleaaf8-menu-trigger:hover {
  background: rgba(222, 226, 230, 0.12);
}

.shelleaaf8-menu-trigger-icon,
.shelleaaf8-menu-trigger-icon::before,
.shelleaaf8-menu-trigger-icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shelleaaf8-text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.shelleaaf8-menu-trigger-icon {
  position: relative;
}

.shelleaaf8-menu-trigger-icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.shelleaaf8-menu-trigger-icon::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.shelleaaf8-menu-trigger.is-active .shelleaaf8-menu-trigger-icon {
  background: transparent;
}

.shelleaaf8-menu-trigger.is-active .shelleaaf8-menu-trigger-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.shelleaaf8-menu-trigger.is-active .shelleaaf8-menu-trigger-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----- Layered dropdown menu ----------------------------------------- */
.shelleaaf8-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

.shelleaaf8-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.shelleaaf8-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border-left: 1px solid var(--shelleaaf8-line-2);
  z-index: 80;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.shelleaaf8-menu.is-open {
  transform: translateX(0);
  box-shadow: var(--shelleaaf8-shadow-3);
}

.shelleaaf8-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--shelleaaf8-line);
}

.shelleaaf8-menu-title {
  font-family: var(--shelleaaf8-font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.shelleaaf8-menu-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(222, 226, 230, 0.06);
  border: 1px solid var(--shelleaaf8-line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.shelleaaf8-menu-body {
  padding: 8px 12px 24px;
}

.shelleaaf8-menu-section-title {
  margin: 16px 6px 6px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--shelleaaf8-slate-2);
}

.shelleaaf8-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--shelleaaf8-text);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.shelleaaf8-menu-link:hover {
  background: rgba(222, 226, 230, 0.06);
  text-decoration: none;
  border-color: var(--shelleaaf8-line);
}

.shelleaaf8-menu-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelleaaf8-slate);
  flex: none;
}

.shelleaaf8-menu-group { border-top: 1px solid var(--shelleaaf8-line); }

.shelleaaf8-menu-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shelleaaf8-slate-2);
}

.shelleaaf8-menu-group-btn::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: var(--shelleaaf8-text-dim);
  transition: transform 0.22s ease;
}

.shelleaaf8-menu-group.is-expanded .shelleaaf8-menu-group-btn::after {
  transform: rotate(45deg);
}

.shelleaaf8-menu-group-list {
  display: none;
  padding: 0 0 6px 6px;
}

.shelleaaf8-menu-group.is-expanded .shelleaaf8-menu-group-list {
  display: block;
}

/* ----- Hero carousel -------------------------------------------------- */
.shelleaaf8-hero {
  position: relative;
  border-radius: var(--shelleaaf8-radius-lg);
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid var(--shelleaaf8-line);
  margin-top: 14px;
  box-shadow: var(--shelleaaf8-shadow-2);
}

.shelleaaf8-hero-track {
  position: relative;
  aspect-ratio: 16 / 9;
}

.shelleaaf8-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.55s ease, transform 0.55s ease,
              visibility 0.55s ease;
  cursor: pointer;
}

.shelleaaf8-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

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

.shelleaaf8-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0) 0%,
    rgba(20, 20, 20, 0.55) 45%,
    rgba(20, 20, 20, 0.92) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shelleaaf8-hero-title {
  font-family: var(--shelleaaf8-font-display);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

.shelleaaf8-hero-text {
  margin: 0;
  font-size: 12px;
  color: var(--shelleaaf8-text-dim);
}

.shelleaaf8-hero-cta {
  align-self: flex-start;
}

.shelleaaf8-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shelleaaf8-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(222, 226, 230, 0.35);
  transition: background 0.22s ease, transform 0.22s ease, width 0.22s ease;
  border: 0;
  padding: 0;
}

.shelleaaf8-hero-dot.is-active {
  background: var(--shelleaaf8-slate-2);
  width: 22px;
  border-radius: 6px;
}

/* ----- Section heading ------------------------------------------------ */
.shelleaaf8-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.shelleaaf8-heading h2,
.shelleaaf8-heading h3 {
  margin: 0;
  font-family: var(--shelleaaf8-font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shelleaaf8-text);
}

.shelleaaf8-heading h2 small,
.shelleaaf8-heading h3 small {
  display: block;
  font-family: var(--shelleaaf8-font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--shelleaaf8-slate-2);
  margin-top: 4px;
}

.shelleaaf8-heading-link {
  font-size: 12px;
  color: var(--shelleaaf8-slate-2);
  letter-spacing: 0.04em;
}

.shelleaaf8-h1 {
  font-family: var(--shelleaaf8-font-display);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--shelleaaf8-text);
}

.shelleaaf8-h1 small {
  display: block;
  font-family: var(--shelleaaf8-font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--shelleaaf8-slate-2);
  margin-top: 6px;
  text-transform: uppercase;
}

.shelleaaf8-lead {
  margin: 0 0 14px;
  color: var(--shelleaaf8-text-dim);
  font-size: 14px;
}

/* ----- Category chips (quick scroll, not a filter) -------------------- */
.shelleaaf8-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shelleaaf8-chips::-webkit-scrollbar { display: none; }

.shelleaaf8-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--shelleaaf8-line-2);
  background: rgba(222, 226, 230, 0.04);
  color: var(--shelleaaf8-text-dim);
  transition: background 0.22s ease, color 0.22s ease,
              border-color 0.22s ease;
}

.shelleaaf8-chip.is-active {
  background: var(--shelleaaf8-slate);
  color: #0d0d0d;
  border-color: var(--shelleaaf8-slate);
}

.shelleaaf8-chip:hover { text-decoration: none; color: var(--shelleaaf8-text); }

/* ----- Game grid ------------------------------------------------------ */
.shelleaaf8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 360px) {
  .shelleaaf8-grid { gap: 12px; }
}

/* Wide mobile canvas (375-430px) shifts to a 5-column game track. */
@media (min-width: 430px) {
  .shelleaaf8-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shelleaaf8-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shelleaaf8-gamecard {
  display: flex;
  flex-direction: column;
  background: var(--shelleaaf8-surface);
  border: 1px solid var(--shelleaaf8-line);
  border-radius: var(--shelleaaf8-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.22s ease,
              box-shadow 0.22s ease;
  text-decoration: none;
  min-width: 0;
}

.shelleaaf8-gamecard:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--shelleaaf8-line-2);
  box-shadow: var(--shelleaaf8-shadow-2);
}

.shelleaaf8-gamecard-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #0c0c0c;
}

.shelleaaf8-gamecard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelleaaf8-gamecard-name {
  display: block;
  padding: 7px 6px 8px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--shelleaaf8-text);
  text-align: center;
  background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
  border-top: 1px solid var(--shelleaaf8-line);
  min-height: 36px;
  word-break: break-word;
  font-weight: 500;
}

/* ----- Category section ---------------------------------------------- */
.shelleaaf8-cat {
  padding: 22px 0 6px;
  scroll-margin-top: calc(var(--shelleaaf8-header-h) + 12px);
}

.shelleaaf8-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.shelleaaf8-cat-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--shelleaaf8-font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.shelleaaf8-cat-title::before {
  content: "";
  width: 5px;
  height: 18px;
  background: var(--shelleaaf8-slate);
  border-radius: 3px;
}

.shelleaaf8-cat-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--shelleaaf8-slate-2);
}

/* ----- Editorial paragraph blocks ------------------------------------ */
.shelleaaf8-prose p {
  margin: 0 0 12px;
  color: var(--shelleaaf8-text-dim);
  font-size: 14px;
}

.shelleaaf8-prose strong { color: var(--shelleaaf8-text); }

.shelleaaf8-prose a {
  color: var(--shelleaaf8-slate-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shelleaaf8-prose a:hover { color: var(--shelleaaf8-text); }

.shelleaaf8-card {
  background: var(--shelleaaf8-surface);
  border: 1px solid var(--shelleaaf8-line);
  border-radius: var(--shelleaaf8-radius);
  padding: 16px;
}

.shelleaaf8-card + .shelleaaf8-card { margin-top: 12px; }

.shelleaaf8-card-title {
  font-family: var(--shelleaaf8-font-display);
  font-size: 17px;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

/* ----- Scenario branch list ------------------------------------------ */
.shelleaaf8-branch {
  display: grid;
  gap: 10px;
}

.shelleaaf8-branch-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--shelleaaf8-radius);
  background: rgba(112, 128, 144, 0.08);
  border: 1px solid var(--shelleaaf8-line);
}

.shelleaaf8-branch-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--shelleaaf8-bg-3);
  border: 1px solid var(--shelleaaf8-line-2);
  color: var(--shelleaaf8-slate-2);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shelleaaf8-branch-title {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--shelleaaf8-text);
}

.shelleaaf8-branch-text {
  margin: 0;
  font-size: 13px;
  color: var(--shelleaaf8-text-dim);
}

/* ----- Compare table (Popular Play Styles) --------------------------- */
.shelleaaf8-compare {
  border: 1px solid var(--shelleaaf8-line);
  border-radius: var(--shelleaaf8-radius);
  overflow: hidden;
}

.shelleaaf8-compare-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 14px;
  border-top: 1px solid var(--shelleaaf8-line);
}

.shelleaaf8-compare-row:first-child { border-top: 0; }

.shelleaaf8-compare-row:nth-child(odd) {
  background: rgba(112, 128, 144, 0.05);
}

.shelleaaf8-compare-style {
  font-family: var(--shelleaaf8-font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--shelleaaf8-text);
  text-transform: uppercase;
}

.shelleaaf8-compare-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--shelleaaf8-text-dim);
}

/* ----- Feature grid --------------------------------------------------- */
.shelleaaf8-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shelleaaf8-feature {
  padding: 14px;
  border-radius: var(--shelleaaf8-radius);
  background: var(--shelleaaf8-surface);
  border: 1px solid var(--shelleaaf8-line);
}

.shelleaaf8-feature-key {
  font-family: var(--shelleaaf8-font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--shelleaaf8-slate-2);
  margin: 0 0 6px;
}

.shelleaaf8-feature-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shelleaaf8-text);
}

.shelleaaf8-feature-text {
  margin: 0;
  font-size: 12px;
  color: var(--shelleaaf8-text-dim);
}

/* ----- Testimonial cards --------------------------------------------- */
.shelleaaf8-quotes {
  display: grid;
  gap: 10px;
}

.shelleaaf8-quote {
  padding: 14px;
  border-radius: var(--shelleaaf8-radius);
  background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
  border: 1px solid var(--shelleaaf8-line);
}

.shelleaaf8-quote-text {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--shelleaaf8-text-dim);
  font-style: italic;
}

.shelleaaf8-quote-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelleaaf8-slate-2);
}

/* ----- Inline FAQ (Common Scenario Answer) --------------------------- */
.shelleaaf8-faq-item {
  border-bottom: 1px solid var(--shelleaaf8-line);
  padding: 12px 0;
}

.shelleaaf8-faq-item:last-child { border-bottom: 0; }

.shelleaaf8-faq-q {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shelleaaf8-text);
}

.shelleaaf8-faq-a {
  margin: 0;
  font-size: 13px;
  color: var(--shelleaaf8-text-dim);
}

/* ----- Inline CTA banner --------------------------------------------- */
.shelleaaf8-cta {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--shelleaaf8-radius-lg);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(112, 128, 144, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, #1d1d1d 0%, #141414 100%);
  border: 1px solid var(--shelleaaf8-line-2);
}

.shelleaaf8-cta-title {
  font-family: var(--shelleaaf8-font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

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

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

.shelleaaf8-cta-row .shelleaaf8-btn { flex: 1 1 auto; }

/* ----- Extended footer ----------------------------------------------- */
.shelleaaf8-extended {
  margin-top: 28px;
  padding: 22px 16px 6px;
  background: #0f0f0f;
  border-top: 1px solid var(--shelleaaf8-line-2);
  border-radius: var(--shelleaaf8-radius-lg) var(--shelleaaf8-radius-lg) 0 0;
}

.shelleaaf8-extended-block { margin-bottom: 22px; }

.shelleaaf8-extended-title {
  font-family: var(--shelleaaf8-font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shelleaaf8-text);
  margin: 0 0 10px;
}

.shelleaaf8-extended-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--shelleaaf8-slate);
  vertical-align: middle;
  margin-right: 8px;
}

.shelleaaf8-promo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shelleaaf8-promo-list .shelleaaf8-btn {
  min-height: 40px;
  font-size: 12.5px;
}

.shelleaaf8-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}

.shelleaaf8-directory a {
  font-size: 12.5px;
  color: var(--shelleaaf8-text-dim);
  padding: 6px 0;
  border-bottom: 1px dashed var(--shelleaaf8-line);
}

.shelleaaf8-directory a:hover {
  color: var(--shelleaaf8-text);
}

.shelleaaf8-brand-blurb {
  font-size: 12.5px;
  color: var(--shelleaaf8-text-dim);
  margin: 0;
}

.shelleaaf8-disclaimer {
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(112, 128, 144, 0.08);
  border: 1px solid var(--shelleaaf8-line);
  font-size: 11.5px;
  color: var(--shelleaaf8-text-dim);
}

/* ----- Common footer (copyright only) ------------------------------- */
.shelleaaf8-footer {
  background: #0c0c0c;
  border-top: 1px solid var(--shelleaaf8-line);
  padding: 18px 0 calc(var(--shelleaaf8-bottomnav-h) + 18px);
  text-align: center;
  font-size: 11.5px;
  color: var(--shelleaaf8-dim);
  letter-spacing: 0.04em;
}

/* ----- Bottom navigation --------------------------------------------- */
.shelleaaf8-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  background: linear-gradient(180deg, #181818 0%, #0e0e0e 100%);
  border-top: 1px solid var(--shelleaaf8-line-2);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
}

.shelleaaf8-bottomnav-inner {
  width: 100%;
  max-width: var(--shelleaaf8-frame-max);
  height: var(--shelleaaf8-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.shelleaaf8-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--shelleaaf8-text-dim);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  padding: 6px 2px 4px;
  transition: color 0.22s ease, transform 0.22s ease;
  min-height: 44px;
}

.shelleaaf8-bottomnav-item:hover {
  color: var(--shelleaaf8-text);
  text-decoration: none;
}

.shelleaaf8-bottomnav-item.is-current {
  color: var(--shelleaaf8-text);
  transform: translateY(-2px);
}

.shelleaaf8-bottomnav-item.is-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--shelleaaf8-slate-2);
}

.shelleaaf8-bottomnav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(222, 226, 230, 0.05);
  border: 1px solid var(--shelleaaf8-line-2);
}

.shelleaaf8-bottomnav-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.shelleaaf8-bottomnav-item.is-promo .shelleaaf8-bottomnav-icon {
  background: linear-gradient(180deg, #7e90a3 0%, #5d6c7d 100%);
  border-color: transparent;
  color: #0d0d0d;
}

.shelleaaf8-bottomnav-label {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ----- Back to top ---------------------------------------------------- */
.shelleaaf8-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--shelleaaf8-bottomnav-h) + 14px);
  z-index: 55;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid var(--shelleaaf8-line-2);
  color: var(--shelleaaf8-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  box-shadow: var(--shelleaaf8-shadow-2);
}

/* ----- Utilities ----------------------------------------------------- */
.shelleaaf8-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shelleaaf8-divider {
  height: 1px;
  background: var(--shelleaaf8-line);
  margin: 18px 0;
  border: 0;
}

/* ----- Wide-screen framing ------------------------------------------- */
@media (min-width: 600px) {
  body {
    background:
      radial-gradient(60% 50% at 50% -10%, #20201f 0%, transparent 60%),
      #0c0c0c;
  }
  .shelleaaf8-topbar-inner,
  .shelleaaf8-frame,
  .shelleaaf8-bottomnav-inner,
  .shelleaaf8-extended,
  .shelleaaf8-footer {
    max-width: var(--shelleaaf8-frame-max);
    margin-left: auto;
    margin-right: auto;
  }
}

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