/* ==========================================================================
   baji-login.click base stylesheet — baji-login-shell-a458df.css
   Palette: #FFD700 / #FFEF94 / #9400D3 / #FFB347 / #2C3E50 (dark background,
   light text). Visual tone: high-contrast display font + readable body font,
   rounded buttons over square-ish cards, horizontal icon-name game bars,
   conclusion-first information rhythm, restrained fade feedback.
   All classes and variables use the layer8df77- prefix.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --layer8df77-bg-deep: #1B2632;
  --layer8df77-bg: #2C3E50;
  --layer8df77-panel: #34495E;
  --layer8df77-panel-2: #3A516C;
  --layer8df77-line: rgba(255, 215, 0, 0.18);
  --layer8df77-gold: #FFD700;
  --layer8df77-gold-soft: #FFEF94;
  --layer8df77-grape: #9400D3;
  --layer8df77-grape-deep: #6A00A0;
  --layer8df77-amber: #FFB347;
  --layer8df77-text: #FFF9E6;
  --layer8df77-text-dim: rgba(255, 249, 230, 0.74);
  --layer8df77-ink: #1D2A38;
  --layer8df77-r-btn: 14px;   /* buttons: rounded */
  --layer8df77-r-card: 8px;   /* cards: square-ish */
  --layer8df77-head-h: 112px; /* fixed two-tier header height */
  --layer8df77-font-display: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --layer8df77-font-body: 'Hind Siliguri', 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #16202B;
  color: var(--layer8df77-text);
  font-family: var(--layer8df77-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button { font-family: inherit; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--layer8df77-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--layer8df77-head-h) + 10px); }

/* ---------- Phone canvas, centered on wide screens ---------- */
.layer8df77-canvas {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--layer8df77-bg);
  overflow-x: clip;
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
}

.layer8df77-main {
  padding: calc(var(--layer8df77-head-h) + 10px) 14px 96px;
}

/* ---------- Fixed two-tier header: brand row + action row ---------- */
.layer8df77-head {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 60;
  background: linear-gradient(180deg, #25364A, #2C3E50);
  border-bottom: 1px solid var(--layer8df77-line);
}

.layer8df77-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 7px;
}

.layer8df77-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--layer8df77-gold);
  background: var(--layer8df77-bg-deep);
  object-fit: cover;
  flex: none;
}

.layer8df77-brandname {
  font-family: var(--layer8df77-font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
  color: var(--layer8df77-gold);
  letter-spacing: 0.2px;
}

.layer8df77-actrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 14px 10px;
}

.layer8df77-btn-register {
  flex: 1.25;
  min-height: 44px;
  border: 0;
  border-radius: var(--layer8df77-r-btn);
  background: linear-gradient(135deg, var(--layer8df77-gold), var(--layer8df77-amber));
  color: var(--layer8df77-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.layer8df77-btn-register:hover,
.layer8df77-btn-register:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
}

.layer8df77-btn-login {
  flex: 1;
  min-height: 44px;
  border-radius: var(--layer8df77-r-btn);
  border: 1.5px solid var(--layer8df77-gold);
  background: transparent;
  color: var(--layer8df77-gold);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}

.layer8df77-btn-login:hover,
.layer8df77-btn-login:focus-visible {
  background: rgba(255, 215, 0, 0.12);
}

.layer8df77-btn-menu {
  width: 52px;
  min-height: 44px;
  border: 1px solid var(--layer8df77-line);
  border-radius: var(--layer8df77-r-btn);
  background: var(--layer8df77-panel);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.layer8df77-btn-menu span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--layer8df77-gold-soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.layer8df77-btn-menu[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.layer8df77-btn-menu[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.layer8df77-btn-menu[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sectioned menu panel ---------- */
.layer8df77-menu {
  position: fixed;
  top: calc(var(--layer8df77-head-h) + 4px);
  left: 50%;
  transform: translate(-50%, -10px);
  width: calc(min(100%, 480px) - 16px);
  max-height: calc(100dvh - var(--layer8df77-head-h) - 90px);
  overflow-y: auto;
  z-index: 59;
  background: linear-gradient(180deg, #2A3B4E, #22303F);
  border: 1px solid var(--layer8df77-line);
  border-radius: 12px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.layer8df77-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.layer8df77-menuh {
  margin: 10px 2px 6px;
  font-family: var(--layer8df77-font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--layer8df77-amber);
}

.layer8df77-menuh:first-child { margin-top: 0; }

.layer8df77-menulinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.layer8df77-menulink {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--layer8df77-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: var(--layer8df77-text);
  text-decoration: none;
  font-size: 13.2px;
  line-height: 1.4;
}

.layer8df77-menulink::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--layer8df77-gold);
  flex: none;
}

.layer8df77-menulink:hover,
.layer8df77-menulink:focus-visible {
  background: var(--layer8df77-panel-2);
}

/* ---------- Hero ---------- */
.layer8df77-hero { padding: 4px 2px 14px; }

.layer8df77-h1 {
  margin: 0;
  font-family: var(--layer8df77-font-display);
  font-weight: 800;
  font-size: clamp(22px, 6.4vw, 30px);
  line-height: 1.3;
  color: var(--layer8df77-gold-soft);
  text-wrap: balance;
}

.layer8df77-lead {
  margin: 10px 0 0;
  font-size: 14.4px;
  line-height: 1.78;
  color: var(--layer8df77-text-dim);
}

.layer8df77-lead b,
.layer8df77-note b { color: var(--layer8df77-gold-soft); font-weight: 600; }

.layer8df77-herometa {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.layer8df77-metachip {
  border: 1px solid var(--layer8df77-line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--layer8df77-gold-soft);
  background: rgba(148, 0, 211, 0.14);
}

/* ---------- Promo carousel ---------- */
.layer8df77-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--layer8df77-line);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.layer8df77-slides {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.layer8df77-slide {
  min-width: 100%;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.layer8df77-slide img {
  width: 100%;
  height: clamp(150px, 42vw, 202px);
  object-fit: cover;
}

.layer8df77-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(27, 38, 50, 0), rgba(27, 38, 50, 0.94));
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--layer8df77-gold-soft);
}

.layer8df77-dots {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
}

.layer8df77-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.layer8df77-dot::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 239, 148, 0.45);
  transition: background 0.2s ease;
}

.layer8df77-dot.is-on::before {
  background: var(--layer8df77-gold);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.85);
}

/* ---------- Category quick chips ---------- */
.layer8df77-chiprow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
}

.layer8df77-chiprow::-webkit-scrollbar { display: none; }

.layer8df77-chip {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--layer8df77-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--layer8df77-text);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.layer8df77-chip b {
  color: var(--layer8df77-gold);
  font-weight: 700;
  font-size: 12px;
}

/* ---------- Game sections: horizontal icon-name bars ---------- */
.layer8df77-gsec { margin-top: 8px; }

.layer8df77-gsechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 2px 8px;
}

.layer8df77-h2 {
  margin: 0;
  font-family: var(--layer8df77-font-display);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.4;
  color: var(--layer8df77-gold);
}

.layer8df77-gcount {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--layer8df77-ink);
  background: linear-gradient(135deg, var(--layer8df77-gold), var(--layer8df77-amber));
  border-radius: 6px;
  padding: 2px 8px;
}

.layer8df77-gintro {
  margin: 0 2px 10px;
  font-size: 13.4px;
  line-height: 1.72;
  color: var(--layer8df77-text-dim);
}

.layer8df77-ggrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.layer8df77-gbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 7px 9px;
  background: var(--layer8df77-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.layer8df77-gbar img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
  background: var(--layer8df77-bg-deep);
}

.layer8df77-gbar span {
  font-size: 12.8px;
  line-height: 1.38;
  font-weight: 600;
  color: var(--layer8df77-text);
  overflow-wrap: anywhere;
}

.layer8df77-gbar:hover,
.layer8df77-gbar:focus-visible {
  box-shadow: 0 0 0 1.5px var(--layer8df77-gold), 0 0 14px rgba(255, 215, 0, 0.28);
}

.layer8df77-gbar:active { transform: scale(0.985); }

.layer8df77-gmore {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 2px 2px;
}

.layer8df77-gmore a {
  font-size: 12.6px;
  color: var(--layer8df77-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Content modules (each module keeps its own shape) ---------- */
.layer8df77-mod {
  margin-top: 28px;
  border-top: 1px dashed var(--layer8df77-line);
  padding-top: 14px;
}

.layer8df77-modh2 {
  margin: 2px 0 8px;
  font-family: var(--layer8df77-font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.42;
  color: var(--layer8df77-gold);
}

.layer8df77-modlead,
.layer8df77-modtext {
  margin: 0 0 10px;
  font-size: 13.8px;
  line-height: 1.76;
  color: var(--layer8df77-text-dim);
}

.layer8df77-modlead b,
.layer8df77-modtext b { color: var(--layer8df77-gold-soft); font-weight: 600; }

/* Payment tiles: compact 2-column comparison blocks */
.layer8df77-paytiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.layer8df77-paytile {
  background: linear-gradient(160deg, var(--layer8df77-panel-2), var(--layer8df77-panel));
  border: 1px solid var(--layer8df77-line);
  border-radius: var(--layer8df77-r-card);
  padding: 10px 11px;
}

.layer8df77-paytile h3 {
  margin: 0 0 4px;
  font-family: var(--layer8df77-font-display);
  font-size: 13.2px;
  color: var(--layer8df77-gold);
}

.layer8df77-paytile p {
  margin: 0;
  font-size: 12.2px;
  line-height: 1.62;
  color: var(--layer8df77-text-dim);
}

/* Numbered note rows with amber marks */
.layer8df77-noterow {
  display: flex;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.2px;
  line-height: 1.68;
  color: var(--layer8df77-text-dim);
}

.layer8df77-noterow:last-child { border-bottom: 0; }

.layer8df77-notemark {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: rgba(255, 179, 71, 0.14);
  border: 1px solid rgba(255, 179, 71, 0.55);
  color: var(--layer8df77-amber);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Achievements: milestone rail with connector line */
.layer8df77-rail {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: layer8df77-step;
}

.layer8df77-rail li {
  position: relative;
  padding: 0 0 16px 38px;
  counter-increment: layer8df77-step;
}

.layer8df77-rail li::before {
  content: counter(layer8df77-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(148, 0, 211, 0.22);
  border: 1px solid var(--layer8df77-grape);
  color: var(--layer8df77-gold-soft);
  font-family: var(--layer8df77-font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer8df77-rail li::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--layer8df77-grape), rgba(148, 0, 211, 0));
}

.layer8df77-rail li:last-child { padding-bottom: 4px; }
.layer8df77-rail li:last-child::after { display: none; }

.layer8df77-rail b {
  display: block;
  margin-bottom: 3px;
  font-size: 13.6px;
  font-weight: 700;
  color: var(--layer8df77-gold-soft);
}

.layer8df77-rail p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.66;
  color: var(--layer8df77-text-dim);
}

/* Security checklist with linear shield icons */
.layer8df77-check {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.layer8df77-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(148, 0, 211, 0.08);
  border: 1px solid rgba(148, 0, 211, 0.35);
  border-radius: var(--layer8df77-r-card);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.64;
  color: var(--layer8df77-text-dim);
}

.layer8df77-check b { color: var(--layer8df77-gold-soft); font-weight: 600; }

.layer8df77-shield {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--layer8df77-amber);
}

/* Entity relationship map: core pill + branch rows */
.layer8df77-map {
  margin: 14px 0;
  border: 1px solid var(--layer8df77-line);
  border-radius: 10px;
  background: linear-gradient(180deg, #2E4156, #2A3B4E);
  padding: 14px 12px 8px;
}

.layer8df77-mapcore {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 7px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--layer8df77-gold), var(--layer8df77-amber));
  color: var(--layer8df77-ink);
  font-family: var(--layer8df77-font-display);
  font-weight: 800;
  font-size: 14px;
}

.layer8df77-mapbranch {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(255, 239, 148, 0.16);
  font-size: 12.9px;
  line-height: 1.6;
  color: var(--layer8df77-text-dim);
}

.layer8df77-mapbranch:last-child { border-bottom: 0; }

.layer8df77-mapnode {
  flex: none;
  max-width: 40%;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(148, 0, 211, 0.18);
  border: 1px solid rgba(148, 0, 211, 0.5);
  color: var(--layer8df77-gold-soft);
  font-size: 11.4px;
  line-height: 1.5;
  text-align: center;
}

.layer8df77-mapbranch a {
  color: var(--layer8df77-amber);
}

/* Selection criteria: numbered rows */
.layer8df77-crit {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
}

.layer8df77-critrow {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.layer8df77-critnum {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid var(--layer8df77-gold);
  color: var(--layer8df77-gold);
  font-family: var(--layer8df77-font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer8df77-critrow div {
  font-size: 13px;
  line-height: 1.68;
  color: var(--layer8df77-text-dim);
}

.layer8df77-critrow b { color: var(--layer8df77-gold-soft); font-weight: 600; }

.layer8df77-note {
  margin: 10px 2px 0;
  font-size: 12.9px;
  line-height: 1.7;
  color: var(--layer8df77-text-dim);
}

.layer8df77-note a {
  color: var(--layer8df77-amber);
  text-underline-offset: 3px;
}

/* ---------- Extended footer (homepage only) ---------- */
.layer8df77-xfoot {
  margin: 32px -14px 0;
  border-top: 3px solid var(--layer8df77-gold);
  background: linear-gradient(180deg, #26374A, #1B2632);
  padding: 18px 16px 22px;
}

.layer8df77-footh2 {
  margin: 16px 0 8px;
  font-family: var(--layer8df77-font-display);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.42;
  color: var(--layer8df77-gold);
}

.layer8df77-footh2:first-child { margin-top: 0; }

.layer8df77-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 2px;
}

.layer8df77-promoact {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: var(--layer8df77-r-btn);
  border: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: filter 0.18s ease;
}

.layer8df77-promoact svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.layer8df77-promoact:hover { filter: brightness(1.1); }

.layer8df77-promoact.is-gold {
  background: linear-gradient(135deg, var(--layer8df77-gold), var(--layer8df77-amber));
  color: var(--layer8df77-ink);
}

.layer8df77-promoact.is-grape {
  background: linear-gradient(135deg, var(--layer8df77-grape), var(--layer8df77-grape-deep));
  color: var(--layer8df77-gold-soft);
}

.layer8df77-promoact.is-line {
  background: transparent;
  border: 1.5px solid var(--layer8df77-gold);
  color: var(--layer8df77-gold);
}

.layer8df77-promoact.is-soft {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--layer8df77-gold-soft);
}

.layer8df77-brandnote {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--layer8df77-text-dim);
}

.layer8df77-brandnote b { color: var(--layer8df77-gold-soft); font-weight: 600; }

.layer8df77-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 2px;
}

.layer8df77-dirgrid a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9px;
  color: var(--layer8df77-gold-soft);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.45;
}

.layer8df77-dirgrid a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--layer8df77-amber);
  flex: none;
}

.layer8df77-condnote {
  margin-top: 14px;
  border: 1px dashed rgba(255, 179, 71, 0.55);
  background: rgba(255, 179, 71, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.4px;
  line-height: 1.68;
  color: var(--layer8df77-text-dim);
}

.layer8df77-condnote b { color: var(--layer8df77-amber); }

/* ---------- FAQ disclosure rows ---------- */
.layer8df77-faq { display: grid; gap: 8px; margin-top: 12px; }
.layer8df77-faq details { background: var(--layer8df77-panel); border: 1px solid rgba(255, 215, 0, 0.16); border-radius: var(--layer8df77-r-card); padding: 10px 12px; }
.layer8df77-faq summary { cursor: pointer; color: var(--layer8df77-gold-soft); font-weight: 700; font-size: 13.2px; line-height: 1.5; }
.layer8df77-faq summary::marker { color: var(--layer8df77-amber); }
.layer8df77-faq details p { margin: 8px 0 0; color: var(--layer8df77-text-dim); font-size: 12.9px; line-height: 1.7; }

/* ---------- Common end bar: copyright only ---------- */
.layer8df77-endbar {
  margin: 0 -14px;
  padding: 16px 16px 14px;
  background: var(--layer8df77-bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 249, 230, 0.55);
}

/* ---------- Fixed segmented action dock (5 roles) ---------- */
.layer8df77-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: linear-gradient(180deg, #243444, var(--layer8df77-bg-deep));
  border-top: 1px solid var(--layer8df77-line);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}

.layer8df77-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  background: none;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 249, 230, 0.62);
  font-size: 10.5px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.layer8df77-dockitem svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer8df77-dockitem:active { transform: translateY(1px); }

.layer8df77-dockitem.is-active { color: var(--layer8df77-gold); }

/* Filled activation state for the linear icons */
.layer8df77-dockitem.is-active svg { fill: rgba(255, 215, 0, 0.22); stroke: var(--layer8df77-gold); }

.layer8df77-dockitem.is-active::before {
  content: '';
  position: absolute;
  top: 1px;
  width: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--layer8df77-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.9);
}

/* ---------- Restrained reveal fade ---------- */
.layer8df77-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.layer8df77-reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 375px) {
  .layer8df77-ggrid { gap: 9px; }
  .layer8df77-gbar img { width: 48px; height: 48px; }
  .layer8df77-gbar span { font-size: 13.1px; }
  .layer8df77-crit { grid-template-columns: 1fr 1fr; gap: 12px; }
  .layer8df77-modlead,
  .layer8df77-modtext { font-size: 14px; }
}

@media (min-width: 430px) {
  .layer8df77-h1 { font-size: 30px; }
  .layer8df77-gbar span { font-size: 13.4px; }
  .layer8df77-promogrid { gap: 12px; }
  .layer8df77-canvas {
    border-left: 1px solid rgba(255, 215, 0, 0.1);
    border-right: 1px solid rgba(255, 215, 0, 0.1);
  }
  .layer8df77-check li { font-size: 13.2px; }
}

@media (min-width: 520px) {
  .layer8df77-canvas { box-shadow: 0 0 64px rgba(0, 0, 0, 0.65); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .layer8df77-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .layer8df77-slides { transition: none; }
  .layer8df77-menu { transition: none; }
  .layer8df77-gbar,
  .layer8df77-promoact,
  .layer8df77-btn-register,
  .layer8df77-btn-login { transition: none; }
}
