/* ==========================================================================
   Play Zone — adaptive frame stylesheet
   Mobile-first: designed for a 320–430px phone canvas, centered on wide
   screens. Palette: #8470FF / #5F9EA0 / #3A3A3A / #F0F0F0
   Direction: poster headings + narrow body copy, light card rounding with
   compact buttons, floating-layer image cards, full-width primary CTAs.
   ========================================================================== */

:root {
  --c1bf7a-violet: #8470FF;
  --c1bf7a-violet-deep: #6651ea;
  --c1bf7a-violet-glow: rgba(132, 112, 255, 0.35);
  --c1bf7a-teal: #5F9EA0;
  --c1bf7a-teal-soft: #8fc3c5;
  --c1bf7a-ink: #3A3A3A;
  --c1bf7a-ink-deep: #303030;
  --c1bf7a-ink-night: #262626;
  --c1bf7a-paper: #F0F0F0;
  --c1bf7a-paper-dim: #c6c6c6;
  --c1bf7a-paper-faint: #8f8f8f;
  --c1bf7a-line: rgba(240, 240, 240, 0.15);
  --c1bf7a-line-soft: rgba(240, 240, 240, 0.08);
  --c1bf7a-radius-card: 14px;
  --c1bf7a-radius-tile: 12px;
  --c1bf7a-radius-btn: 9px;
  --c1bf7a-topbar-h: 56px;
  --c1bf7a-tabbar-h: 60px;
  --c1bf7a-shadow-card: 0 10px 24px rgba(0, 0, 0, 0.35);
  --c1bf7a-font-body: "Segoe UI", Tahoma, Verdana, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--c1bf7a-ink-night);
  color: var(--c1bf7a-paper);
  font-family: var(--c1bf7a-font-body);
  font-size: 15px;
  line-height: 1.65;
}

body.c1bf7a-no-scroll { overflow: hidden; }

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

a { color: var(--c1bf7a-teal-soft); text-decoration: none; }
a:hover { color: #b2dcde; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

::selection { background: var(--c1bf7a-violet); color: #fff; }

/* --------------------------------------------------------------------------
   Centered phone canvas — max width 430, wider screens see a framed shell
   -------------------------------------------------------------------------- */
.c1bf7a-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(132, 112, 255, 0.16) 0%, rgba(132, 112, 255, 0) 70%),
    linear-gradient(180deg, #404040 0%, var(--c1bf7a-ink) 300px, var(--c1bf7a-ink-deep) 100%);
  box-shadow: 0 0 0 1px rgba(240, 240, 240, 0.05), 0 24px 60px rgba(0, 0, 0, 0.45);
}

.c1bf7a-main {
  padding-top: calc(var(--c1bf7a-topbar-h) + 10px);
  /* keep clear of the fixed bottom tab rack */
  padding-bottom: calc(var(--c1bf7a-tabbar-h) + env(safe-area-inset-bottom, 0px) + 30px);
}

/* --------------------------------------------------------------------------
   Top action band: logo + site name on the left, register/login/menu right
   -------------------------------------------------------------------------- */
.c1bf7a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--c1bf7a-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(44, 44, 44, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c1bf7a-line-soft);
}

.c1bf7a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--c1bf7a-paper);
}

.c1bf7a-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--c1bf7a-line);
  flex: none;
}

.c1bf7a-brand span {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.c1bf7a-actions { display: flex; align-items: center; gap: 6px; flex: none; }

.c1bf7a-btn {
  min-height: 44px;
  border-radius: var(--c1bf7a-radius-btn);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.c1bf7a-btn:active { transform: scale(0.96); }

.c1bf7a-btn-register {
  background: linear-gradient(135deg, var(--c1bf7a-violet), var(--c1bf7a-violet-deep));
  color: #fff;
  padding: 0 12px;
  font-size: 12.5px;
  box-shadow: 0 6px 16px var(--c1bf7a-violet-glow);
}

.c1bf7a-btn-login {
  border: 1.5px solid var(--c1bf7a-teal);
  color: var(--c1bf7a-teal-soft);
  padding: 0 10px;
  font-size: 12.5px;
  background: rgba(95, 158, 160, 0.12);
}

.c1bf7a-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c1bf7a-radius-btn);
  border: 1px solid var(--c1bf7a-line-soft);
  background: rgba(240, 240, 240, 0.05);
}

.c1bf7a-burger svg { width: 20px; height: 20px; display: block; }

.c1bf7a-burger .c1bf7a-burger-mid {
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: center;
}

.c1bf7a-burger[aria-expanded="true"] .c1bf7a-burger-mid { opacity: 0; }

/* --------------------------------------------------------------------------
   Full-height menu layer (drawer) + scrim
   -------------------------------------------------------------------------- */
.c1bf7a-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 18, 18, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.c1bf7a-scrim.is-on { opacity: 1; visibility: visible; }

.c1bf7a-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 215px));
  width: min(84%, 320px);
  max-width: 430px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2f2f2f 0%, #292929 100%);
  border-right: 1px solid var(--c1bf7a-line-soft);
  box-shadow: 18px 0 44px rgba(0, 0, 0, 0.45);
  transform: translateX(-104%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.c1bf7a-drawer.is-open { transform: translateX(0); }

.c1bf7a-drawer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c1bf7a-line-soft);
}

.c1bf7a-drawer-head img { width: 30px; height: 30px; border-radius: 8px; }
.c1bf7a-drawer-head span { font-weight: 900; font-size: 15px; }

.c1bf7a-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c1bf7a-radius-btn);
  border: 1px solid var(--c1bf7a-line-soft);
}

.c1bf7a-close svg { width: 16px; height: 16px; display: block; }

.c1bf7a-drawer-nav { flex: 1; overflow-y: auto; padding: 8px 12px 18px; }

.c1bf7a-drawer-group {
  margin: 16px 2px 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c1bf7a-teal);
}

.c1bf7a-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--c1bf7a-paper);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.16s ease;
}

.c1bf7a-drawer-link:hover { background: rgba(240, 240, 240, 0.07); color: #fff; }

.c1bf7a-drawer-link svg { width: 17px; height: 17px; flex: none; opacity: 0.75; }

.c1bf7a-drawer-link.is-here {
  background: rgba(132, 112, 255, 0.18);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--c1bf7a-violet);
}

.c1bf7a-drawer-foot { padding: 12px; border-top: 1px solid var(--c1bf7a-line-soft); }

/* --------------------------------------------------------------------------
   Hero: poster H1 + banner carousel
   -------------------------------------------------------------------------- */
.c1bf7a-hero { padding: 4px 12px 2px; }

.c1bf7a-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c1bf7a-teal-soft);
}

.c1bf7a-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--c1bf7a-teal);
  border-radius: 2px;
}

.c1bf7a-hero h1 {
  font-size: 27px;
  line-height: 1.15;
  margin: 6px 0 8px;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #fff;
}

.c1bf7a-hero-lead { margin: 0 0 13px; color: var(--c1bf7a-paper-dim); max-width: 40ch; }

.c1bf7a-hero-cta { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }

.c1bf7a-cta {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--c1bf7a-violet), #9d8dff);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  border-radius: 11px;
  box-shadow: 0 10px 24px var(--c1bf7a-violet-glow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.c1bf7a-cta:active { transform: translateY(1px); box-shadow: 0 6px 14px var(--c1bf7a-violet-glow); }

.c1bf7a-cta svg { width: 17px; height: 17px; }

.c1bf7a-cta--ghost {
  background: transparent;
  border: 1.5px solid var(--c1bf7a-teal);
  color: var(--c1bf7a-teal-soft);
  box-shadow: none;
  font-weight: 800;
}

/* carousel */
.c1bf7a-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--c1bf7a-line);
  box-shadow: var(--c1bf7a-shadow-card);
  margin: 0 0 6px;
  touch-action: pan-y;
  user-select: none;
}

.c1bf7a-track { display: flex; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }

.c1bf7a-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}

.c1bf7a-slide img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }

.c1bf7a-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 76px);
  background: rgba(48, 48, 48, 0.85);
  border: 1px solid var(--c1bf7a-line);
  color: var(--c1bf7a-paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

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

.c1bf7a-dot {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c1bf7a-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(240, 240, 240, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
}

.c1bf7a-dot.is-on::before { width: 16px; background: var(--c1bf7a-violet); }

/* --------------------------------------------------------------------------
   Category chip rail (scrolls sideways, anchors to shelves)
   -------------------------------------------------------------------------- */
.c1bf7a-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.c1bf7a-chip {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--c1bf7a-line-soft);
  background: rgba(240, 240, 240, 0.05);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c1bf7a-paper-dim);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.c1bf7a-chip svg { width: 14px; height: 14px; opacity: 0.8; }

.c1bf7a-chip:active { border-color: var(--c1bf7a-violet); color: #fff; }

/* --------------------------------------------------------------------------
   Sections and shelves
   -------------------------------------------------------------------------- */
.c1bf7a-section { padding: 18px 12px 4px; }

.c1bf7a-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.c1bf7a-h2 {
  font-size: 21px;
  line-height: 1.22;
  margin: 4px 0 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
}

.c1bf7a-count {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: #cdc3ff;
  background: rgba(132, 112, 255, 0.16);
  border: 1px solid rgba(132, 112, 255, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.c1bf7a-lead { margin: 0 0 12px; color: var(--c1bf7a-paper-dim); max-width: 40ch; }

.c1bf7a-lead a { color: var(--c1bf7a-teal-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* game grid — 4 columns at 320px, 5 columns from 390px up */
.c1bf7a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
}

@media (min-width: 390px) {
  .c1bf7a-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 9px; }
}

/* floating-layer image card */
.c1bf7a-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  min-height: 44px;
  background: linear-gradient(180deg, rgba(240, 240, 240, 0.08), rgba(240, 240, 240, 0.025));
  border: 1px solid var(--c1bf7a-line-soft);
  border-radius: var(--c1bf7a-radius-tile);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.c1bf7a-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #4a4a4a;
}

.c1bf7a-tile span {
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--c1bf7a-paper-dim);
  text-align: center;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.c1bf7a-tile:active { transform: translateY(-2px); border-color: var(--c1bf7a-violet); }

@media (hover: hover) {
  .c1bf7a-tile:hover { transform: translateY(-2px); border-color: var(--c1bf7a-violet); }
}

/* --------------------------------------------------------------------------
   Content modules
   -------------------------------------------------------------------------- */
/* module 1 — play style comparison rows */
.c1bf7a-styles { display: flex; flex-direction: column; gap: 10px; margin: 0 0 6px; }

.c1bf7a-style-row {
  display: flex;
  gap: 11px;
  padding: 12px;
  background: rgba(240, 240, 240, 0.05);
  border: 1px solid var(--c1bf7a-line-soft);
  border-radius: var(--c1bf7a-radius-card);
}

.c1bf7a-style-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1bf7a-violet), var(--c1bf7a-violet-deep));
}

.c1bf7a-style-row h3 { margin: 0 0 3px; font-size: 14.5px; font-weight: 800; color: #fff; }

.c1bf7a-style-row p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--c1bf7a-paper-dim); max-width: 34ch; }

.c1bf7a-style-row p b { color: #fff; }

/* module 2 — category highlight mini cards */
.c1bf7a-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0 0 6px; }

.c1bf7a-cat {
  padding: 11px 10px;
  border-radius: var(--c1bf7a-radius-card);
  background: linear-gradient(160deg, rgba(95, 158, 160, 0.16), rgba(240, 240, 240, 0.03));
  border: 1px solid rgba(95, 158, 160, 0.3);
}

.c1bf7a-cat h3 { margin: 0 0 3px; font-size: 13.5px; font-weight: 800; color: #fff; }

.c1bf7a-cat p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--c1bf7a-paper-dim); }

.c1bf7a-cat--wide { grid-column: 1 / -1; }

/* module 3 — prose with question aside */
.c1bf7a-aside {
  border-left: 3px solid var(--c1bf7a-violet);
  padding: 2px 0 2px 11px;
  margin: 0 0 12px;
  font-weight: 700;
  color: #fff;
  font-size: 14.5px;
}

.c1bf7a-prose p { margin: 0 0 11px; color: var(--c1bf7a-paper-dim); max-width: 38ch; }

.c1bf7a-prose a { color: var(--c1bf7a-teal-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* module 4 — payment checklist */
.c1bf7a-checks { display: flex; flex-direction: column; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; }

.c1bf7a-checks li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 11px;
  background: rgba(240, 240, 240, 0.045);
  border: 1px solid var(--c1bf7a-line-soft);
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c1bf7a-paper-dim);
}

.c1bf7a-checks svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--c1bf7a-teal-soft); }

.c1bf7a-checks b, .c1bf7a-take b { color: #fff; }

/* module 5 — takeaways */
.c1bf7a-take { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }

.c1bf7a-take li {
  position: relative;
  padding: 10px 10px 10px 31px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c1bf7a-paper-dim);
  background: rgba(132, 112, 255, 0.08);
  border: 1px solid rgba(132, 112, 255, 0.22);
  border-radius: 10px;
}

.c1bf7a-take li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid var(--c1bf7a-violet);
  border-right: 2.5px solid var(--c1bf7a-violet);
  transform: rotate(45deg);
}

.c1bf7a-cta-block { padding: 2px 0 8px; }

/* --------------------------------------------------------------------------
   Extended footer — page directory, brand, promotions, disclaimer
   -------------------------------------------------------------------------- */
.c1bf7a-ext {
  margin-top: 22px;
  padding: 18px 12px 10px;
  border-top: 1px solid var(--c1bf7a-line-soft);
  background: rgba(30, 30, 30, 0.55);
}

.c1bf7a-ext h2 { font-size: 18px; font-weight: 900; margin: 0 0 10px; color: #fff; letter-spacing: -0.005em; }

.c1bf7a-ext-note { margin: -4px 0 12px; font-size: 12px; color: var(--c1bf7a-paper-faint); }

/* two-column directory */
.c1bf7a-dir {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  columns: 2;
  column-gap: 16px;
}

.c1bf7a-dir li { break-inside: avoid; margin: 0 0 2px; }

.c1bf7a-dir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c1bf7a-paper-dim);
  border-bottom: 1px solid var(--c1bf7a-line-soft);
}

.c1bf7a-dir a::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--c1bf7a-teal);
}

.c1bf7a-dir a:hover { color: #fff; }

.c1bf7a-ext-brand { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; }

.c1bf7a-ext-brand img { width: 38px; height: 38px; border-radius: 10px; flex: none; border: 1px solid var(--c1bf7a-line); }

.c1bf7a-ext-brand p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--c1bf7a-paper-dim); }

.c1bf7a-promo-label {
  margin: 16px 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c1bf7a-teal);
}

.c1bf7a-promo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.c1bf7a-promo {
  min-height: 44px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  transition: transform 0.16s ease;
}

.c1bf7a-promo:active { transform: scale(0.97); }

.c1bf7a-promo--main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--c1bf7a-violet), var(--c1bf7a-violet-deep));
  color: #fff;
  box-shadow: 0 8px 20px var(--c1bf7a-violet-glow);
  min-height: 48px;
  font-size: 13.5px;
}

.c1bf7a-promo--violet { background: rgba(132, 112, 255, 0.2); border: 1px solid rgba(132, 112, 255, 0.5); color: #cdc3ff; }

.c1bf7a-promo--teal { background: rgba(95, 158, 160, 0.18); border: 1px solid rgba(95, 158, 160, 0.5); color: #a9d4d6; }

.c1bf7a-note {
  margin: 16px 0 0;
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(240, 240, 240, 0.04);
  border: 1px dashed var(--c1bf7a-line);
  font-size: 11px;
  line-height: 1.65;
  color: var(--c1bf7a-paper-faint);
}

.c1bf7a-note b { color: var(--c1bf7a-paper-dim); }

/* --------------------------------------------------------------------------
   Common footer (copyright only) + fixed bottom tab rack
   -------------------------------------------------------------------------- */
.c1bf7a-footer {
  padding: 14px 12px 10px;
  text-align: center;
  font-size: 11px;
  color: var(--c1bf7a-paper-faint);
}

.c1bf7a-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--c1bf7a-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(40, 40, 40, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c1bf7a-line-soft);
  display: flex;
  z-index: 60;
}

.c1bf7a-tab {
  flex: 1;
  min-width: 0;
  min-height: var(--c1bf7a-tabbar-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--c1bf7a-paper-faint);
  position: relative;
  transition: color 0.2s ease;
}

.c1bf7a-tab svg { width: 21px; height: 21px; }

.c1bf7a-tab.is-active { color: var(--c1bf7a-violet); }

/* sliding indicator across the rack */
.c1bf7a-tabbar-ind {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--c1bf7a-violet), #b7abff);
  border-radius: 0 0 4px 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Short-distance section transitions (reveal on scroll)
   -------------------------------------------------------------------------- */
.c1bf7a-rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.c1bf7a-rise.is-in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Motion / contrast safeguards
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .c1bf7a-rise { opacity: 1; transform: none; transition: none; }
  .c1bf7a-track { transition: none; }
  .c1bf7a-drawer, .c1bf7a-scrim, .c1bf7a-tabbar-ind { transition: none; }
}

@media (max-width: 339px) {
  .c1bf7a-hero h1 { font-size: 24px; }
  .c1bf7a-h2 { font-size: 19px; }
  .c1bf7a-brand span { font-size: 15px; }
  .c1bf7a-btn-register { padding: 0 9px; font-size: 11.5px; }
  .c1bf7a-btn-login { padding: 0 8px; font-size: 11.5px; }
}
