/* ==========================================================================
   babajee.homes - css/adaptive-74ad55-visuals.css
   Mobile-first stylesheet for the babajee gaming portal (bn-BD).
   Class prefix : viewad550-
   Palette      : #0E1621 base / #8FBC8F / #00FF7F / #7FFF00 / #BF360C
   Design notes : rounded display font + compact body font,
                  stroke-led restrained corners, mixed big/small game cards,
                  intro-then-section rhythm, tiny icon-state motions,
                  segmented action bar for the bottom navigation.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --viewad550-ink: #0E1621;
  --viewad550-ink-deep: #070d15;
  --viewad550-panel: #14202d;
  --viewad550-panel-soft: #0f1a26;
  --viewad550-line: #26394c;
  --viewad550-line-soft: rgba(143, 188, 143, 0.28);
  --viewad550-sage: #8FBC8F;
  --viewad550-mint: #00FF7F;
  --viewad550-lime: #7FFF00;
  --viewad550-ember: #BF360C;
  --viewad550-ember-hi: #E8511F;
  --viewad550-text: #E9F5EC;
  --viewad550-text-soft: #C2D4C7;
  --viewad550-muted: #94A99A;
  --viewad550-font-display: 'Baloo Da 2', 'Hind Siliguri', system-ui, sans-serif;
  --viewad550-font-body: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --viewad550-radius: 10px;
  --viewad550-radius-lg: 14px;
  --viewad550-header-h: 100px;
  --viewad550-bnav-h: 62px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

body {
  margin: 0;
  background: var(--viewad550-ink-deep);
  color: var(--viewad550-text-soft);
  font-family: var(--viewad550-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

a:hover {
  text-decoration: underline;
}

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

.viewad550-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--viewad550-mint);
  color: #062415;
  padding: 8px 14px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 200;
}

.viewad550-skip:focus {
  left: 0;
}

/* Phone canvas stays centered on wide viewports */
.viewad550-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(0, 255, 127, 0.06), transparent 62%),
    var(--viewad550-ink);
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 0 1px #1c2b3c, 0 0 48px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

/* Main column clears the fixed header and the fixed bottom bar */
.viewad550-main {
  padding-top: calc(var(--viewad550-header-h) + env(safe-area-inset-top, 0px) + 4px);
  padding-bottom: calc(var(--viewad550-bnav-h) + env(safe-area-inset-bottom, 0px) + 30px);
}

/* --------------------------------------------------------------------------
   3. Top bar - brand layer + action layer
   -------------------------------------------------------------------------- */
.viewad550-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 90;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(14, 22, 33, 0.99), rgba(11, 18, 27, 0.97));
  border-bottom: 1px solid var(--viewad550-line);
  backdrop-filter: blur(8px);
}

/* Brand layer: logo + site name only */
.viewad550-brandrow {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.viewad550-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--viewad550-line-soft);
  background: #0a1320;
  object-fit: cover;
  flex: 0 0 auto;
}

.viewad550-brandname {
  font-family: var(--viewad550-font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #F1FFF4;
  line-height: 1.1;
}

.viewad550-brandname::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--viewad550-mint);
  vertical-align: 2px;
}

/* Action layer: register / login / menu */
.viewad550-actionrow {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.viewad550-btn-register {
  flex: 1 1 auto;
  min-height: 42px;
  border: 1px solid rgba(232, 81, 31, 0.85);
  border-radius: var(--viewad550-radius);
  background: linear-gradient(135deg, var(--viewad550-ember) 0%, var(--viewad550-ember-hi) 100%);
  color: #FFF3ED;
  font-family: var(--viewad550-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.viewad550-btn-register:active {
  transform: scale(0.96);
  filter: brightness(1.12);
}

.viewad550-btn-login {
  flex: 1 1 auto;
  min-height: 42px;
  border: 1px solid var(--viewad550-mint);
  border-radius: var(--viewad550-radius);
  background: rgba(0, 255, 127, 0.08);
  color: #CFFFE6;
  font-family: var(--viewad550-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewad550-btn-login:active {
  transform: scale(0.96);
  background: rgba(0, 255, 127, 0.16);
}

.viewad550-menubtn {
  width: 44px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--viewad550-line);
  border-radius: var(--viewad550-radius);
  background: var(--viewad550-panel-soft);
  color: var(--viewad550-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.viewad550-menubtn:active {
  transform: scale(0.94);
}

.viewad550-menubtn svg {
  width: 22px;
  height: 22px;
}

.viewad550-menubtn .viewad550-icon-close {
  display: none;
}

.viewad550-menubtn.is-open .viewad550-icon-open {
  display: none;
}

.viewad550-menubtn.is-open .viewad550-icon-close {
  display: block;
}

.viewad550-menubtn.is-open {
  border-color: var(--viewad550-mint);
  color: var(--viewad550-mint);
}

/* --------------------------------------------------------------------------
   4. Sectioned menu panel (opened from the top bar)
   -------------------------------------------------------------------------- */
.viewad550-menupanel {
  position: fixed;
  top: calc(var(--viewad550-header-h) + env(safe-area-inset-top, 0px));
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 480px;
  transform: translate(-50%, -10px);
  background: linear-gradient(180deg, #0c1622 0%, #0a111c 100%);
  border-top: 1px solid var(--viewad550-line);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 80;
  padding: 6px 0 calc(var(--viewad550-bnav-h) + env(safe-area-inset-bottom, 0px) + 18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.viewad550-menupanel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.viewad550-menucat {
  margin: 14px 14px 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--viewad550-sage);
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewad550-menucat::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--viewad550-line);
}

.viewad550-menulink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--viewad550-text);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(38, 57, 76, 0.55);
  transition: background 0.12s ease;
}

.viewad550-menulink:hover {
  text-decoration: none;
  background: rgba(0, 255, 127, 0.05);
}

.viewad550-menulink:active {
  background: rgba(0, 255, 127, 0.1);
}

.viewad550-menulink span {
  color: var(--viewad550-muted);
  font-size: 0.68rem;
}

.viewad550-menufoot {
  margin: 18px 14px 0;
  padding: 12px;
  border: 1px dashed var(--viewad550-line-soft);
  border-radius: var(--viewad550-radius);
  font-size: 0.76rem;
  color: var(--viewad550-muted);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.viewad550-hero {
  padding: 14px 14px 2px;
}

.viewad550-hero-title {
  font-family: var(--viewad550-font-display);
  font-size: clamp(1.32rem, 6vw, 1.62rem);
  line-height: 1.28;
  color: #F1FFF4;
  margin: 0 0 8px;
  font-weight: 700;
}

.viewad550-hero-lead {
  margin: 0 0 8px;
  font-size: 0.87rem;
  color: var(--viewad550-text-soft);
}

.viewad550-hero-lead strong {
  color: #DFFFEA;
  font-weight: 600;
}

.viewad550-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 6px;
}

/* Compact icon + text CTA buttons */
.viewad550-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 9px;
  font-family: var(--viewad550-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--viewad550-mint);
  background: rgba(0, 255, 127, 0.1);
  color: #D9FFEA;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewad550-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.viewad550-cta:active {
  transform: scale(0.95);
  background: rgba(0, 255, 127, 0.2);
}

.viewad550-cta--ember {
  border-color: var(--viewad550-ember-hi);
  background: linear-gradient(135deg, var(--viewad550-ember) 0%, var(--viewad550-ember-hi) 100%);
  color: #FFF3ED;
}

.viewad550-cta--ember:active {
  background: var(--viewad550-ember-hi);
}

/* --------------------------------------------------------------------------
   6. Promo banner carousel
   -------------------------------------------------------------------------- */
.viewad550-carousel {
  position: relative;
  margin: 12px 12px 2px;
  border: 1px solid var(--viewad550-line);
  border-radius: var(--viewad550-radius-lg);
  overflow: hidden;
  background: var(--viewad550-panel-soft);
}

.viewad550-ctrack {
  display: flex;
  transition: transform 0.45s ease;
}

.viewad550-cslide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.viewad550-cslide img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.viewad550-cslide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 16, 0.92));
  text-align: left;
  pointer-events: none;
}

.viewad550-cslide-cap b {
  display: block;
  font-family: var(--viewad550-font-display);
  font-size: 0.98rem;
  color: #F1FFF4;
  line-height: 1.3;
}

.viewad550-cslide-cap small {
  display: block;
  font-size: 0.72rem;
  color: #BFD4C5;
}

.viewad550-cdots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
}

.viewad550-cdot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--viewad550-sage);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.viewad550-cdot.is-on {
  background: var(--viewad550-lime);
  border-color: var(--viewad550-lime);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   7. Generic sections and headings
   -------------------------------------------------------------------------- */
.viewad550-section {
  padding: 20px 12px 4px;
}

.viewad550-h2 {
  font-family: var(--viewad550-font-display);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.32;
  color: #DFFBE8;
  margin: 0;
  padding-left: 9px;
  border-left: 3px solid var(--viewad550-mint);
}

.viewad550-lead {
  margin: 8px 0 0;
  font-size: 0.83rem;
  color: var(--viewad550-muted);
}

.viewad550-lead a {
  color: var(--viewad550-lime);
  border-bottom: 1px dashed rgba(127, 255, 0, 0.45);
}

.viewad550-lead a:hover {
  text-decoration: none;
  border-bottom-style: solid;
}

/* Category block inside the library */
.viewad550-cat {
  margin-top: 18px;
}

.viewad550-cat-h3 {
  font-family: var(--viewad550-font-display);
  font-size: 0.99rem;
  font-weight: 700;
  color: #CFEEDD;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.viewad550-cat-h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  border: 1.5px solid var(--viewad550-lime);
  background: transparent;
  flex: 0 0 auto;
}

.viewad550-cat-h3 em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--viewad550-muted);
  border: 1px solid var(--viewad550-line);
  border-radius: 6px;
  padding: 1px 7px;
}

.viewad550-catmore {
  margin: 6px 0 10px;
  font-size: 0.72rem;
  color: var(--viewad550-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.viewad550-catmore a {
  color: #A8E8C0;
}

/* --------------------------------------------------------------------------
   8. Game grid - mixed big/small cards
   -------------------------------------------------------------------------- */
.viewad550-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

/* 5 columns from 430px upward (4 columns cover 320-429px phones) */
@media (min-width: 430px) {
  .viewad550-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.viewad550-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 5px 5px 6px;
  background: var(--viewad550-panel-soft);
  border: 1px solid var(--viewad550-line);
  border-radius: var(--viewad550-radius);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.viewad550-gcard:active {
  transform: scale(0.94);
  border-color: var(--viewad550-sage);
}

.viewad550-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(143, 188, 143, 0.22);
  background: #0a1320;
}

.viewad550-gcard-name {
  font-size: 0.66rem;
  line-height: 1.32;
  color: #D7E8DA;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.72em;
}

/* Feature card takes two tracks for a big/small rhythm */
.viewad550-gcard--xl {
  grid-column: span 2;
  padding: 6px 6px 7px;
  border-color: rgba(0, 255, 127, 0.4);
  background: linear-gradient(180deg, rgba(0, 255, 127, 0.06), var(--viewad550-panel-soft) 62%);
}

.viewad550-gcard--xl img {
  aspect-ratio: 2.05 / 1;
}

.viewad550-gcard--xl .viewad550-gcard-name {
  font-size: 0.78rem;
  -webkit-line-clamp: 1;
  color: #EFFFF3;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Content modules (achievements / rtp / promos / guide ...)
   -------------------------------------------------------------------------- */
.viewad550-module {
  margin: 20px 12px 0;
  padding: 15px 13px 8px;
  border: 1px solid var(--viewad550-line);
  border-radius: var(--viewad550-radius-lg);
  background: linear-gradient(180deg, rgba(20, 32, 45, 0.92), rgba(13, 21, 32, 0.78));
}

.viewad550-module .viewad550-h2 {
  border-left-color: var(--viewad550-sage);
}

.viewad550-prose {
  margin-top: 9px;
}

.viewad550-prose p {
  margin: 0 0 9px;
  font-size: 0.84rem;
  color: #C3D6C7;
}

.viewad550-prose p:last-child {
  margin-bottom: 4px;
}

.viewad550-prose strong {
  color: #EAFFF0;
  font-weight: 600;
}

.viewad550-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 10px;
}

.viewad550-chip {
  border: 1px dashed var(--viewad550-line-soft);
  border-radius: 8px;
  padding: 3px 9px;
  font-size: 0.7rem;
  color: #BFE3C6;
}

/* Numbered steps */
.viewad550-steps {
  list-style: none;
  margin: 6px 0 10px;
  padding: 0;
  counter-reset: viewad550-step;
}

.viewad550-steps li {
  counter-increment: viewad550-step;
  position: relative;
  padding: 0 0 10px 38px;
  font-size: 0.83rem;
  color: #C3D6C7;
}

.viewad550-steps li::before {
  content: counter(viewad550-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--viewad550-lime);
  border-radius: 8px;
  color: var(--viewad550-lime);
  font-family: var(--viewad550-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewad550-steps li::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--viewad550-line);
}

.viewad550-steps li:last-child::after {
  display: none;
}

.viewad550-steps b {
  color: #EAFFF0;
  font-weight: 600;
}

/* Comparison key/value rows */
.viewad550-kv {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
}

.viewad550-kv-row {
  display: grid;
  gap: 2px;
  border: 1px solid var(--viewad550-line);
  border-radius: var(--viewad550-radius);
  padding: 9px 11px;
  background: rgba(15, 26, 38, 0.7);
}

.viewad550-kv-row b {
  font-size: 0.8rem;
  color: #D9FFE9;
  font-family: var(--viewad550-font-display);
  font-weight: 600;
}

.viewad550-kv-row span {
  font-size: 0.76rem;
  color: #A9BFAF;
}

/* Promo strip inside the promotions module */
.viewad550-promostrip {
  display: grid;
  gap: 8px;
  margin: 6px 0 10px;
}

.viewad550-promoitem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 11px;
  border: 1px solid rgba(191, 54, 12, 0.6);
  border-radius: var(--viewad550-radius);
  background: rgba(191, 54, 12, 0.12);
  text-align: left;
}

.viewad550-promoitem:active {
  transform: scale(0.98);
}

.viewad550-promoitem-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.viewad550-promoitem-txt b {
  display: block;
  font-size: 0.82rem;
  color: #FFD9CB;
  font-weight: 600;
}

.viewad550-promoitem-txt small {
  display: block;
  font-size: 0.68rem;
  color: #C4A79B;
}

.viewad550-promoitem-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--viewad550-ember-hi);
  background: rgba(232, 81, 31, 0.18);
  color: #FFE3D6;
  font-size: 0.72rem;
  font-weight: 600;
}

.viewad550-promoitem-go svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   10. Extended footer (brand > promotions > directory > disclaimer)
   -------------------------------------------------------------------------- */
.viewad550-xfooter {
  margin: 26px 12px 0;
  padding-top: 16px;
  border-top: 1px solid var(--viewad550-line);
}

.viewad550-xf-h2 {
  font-family: var(--viewad550-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #DFFBE8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewad550-xf-h2::before {
  content: "";
  width: 18px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--viewad550-mint), rgba(127, 255, 0, 0.15));
  flex: 0 0 auto;
}

.viewad550-xf-h3 {
  margin: 16px 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--viewad550-sage);
}

.viewad550-xf-brand {
  margin: 8px 0 0;
  font-size: 0.79rem;
  color: var(--viewad550-muted);
}

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

.viewad550-xf-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 255, 127, 0.32);
  border-radius: 9px;
  background: rgba(0, 255, 127, 0.06);
  color: #D9FFE9;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewad550-xf-promo:active {
  transform: scale(0.98);
  background: rgba(0, 255, 127, 0.14);
}

.viewad550-xf-promo svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--viewad550-mint);
}

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

.viewad550-xf-dir a {
  display: block;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #BFE3C6;
  border-bottom: 1px dotted rgba(143, 188, 143, 0.4);
  padding-bottom: 3px;
}

.viewad550-xf-dir a:hover {
  color: var(--viewad550-lime);
  text-decoration: none;
}

.viewad550-xf-dir a small {
  display: block;
  font-size: 0.64rem;
  color: #7F9484;
}

.viewad550-xf-note {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--viewad550-line-soft);
  border-radius: var(--viewad550-radius);
  font-size: 0.73rem;
  color: #93A897;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Common footer + fixed bottom action bar
   -------------------------------------------------------------------------- */
.viewad550-footer {
  margin-top: 22px;
  padding: 0 16px 8px;
  text-align: center;
  font-size: 0.72rem;
  color: #7F9484;
}

.viewad550-footer b {
  color: #9DB5A3;
  font-weight: 600;
}

.viewad550-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 13, 21, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--viewad550-line);
}

.viewad550-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 3px 0 2px;
  border-radius: 9px;
  color: #8FA394;
  font-size: 0.6rem;
  letter-spacing: 0.2px;
  background: none;
  border: 0;
  transition: transform 0.12s ease, color 0.12s ease;
}

.viewad550-bnav-item:active {
  transform: scale(0.92);
}

.viewad550-bnav-item svg {
  width: 22px;
  height: 22px;
}

.viewad550-bnav-item::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.15s ease;
}

.viewad550-bnav-item.is-active {
  color: var(--viewad550-lime);
}

.viewad550-bnav-item.is-active::before {
  background: var(--viewad550-lime);
}

/* Active state: icon strokes switch to filled shapes */
.viewad550-bnav-item .viewad550-icon-shape {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewad550-bnav-item.is-active .viewad550-icon-shape {
  fill: currentColor;
}

.viewad550-bnav-item--promo {
  color: #E89B7E;
}

.viewad550-bnav-item--promo .viewad550-icon-shape {
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   12. Utility / wide-screen behaviour
   -------------------------------------------------------------------------- */
.viewad550-ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 481px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(60% 30% at 50% 0%, rgba(0, 255, 127, 0.04), transparent 70%),
      var(--viewad550-ink-deep);
    z-index: -1;
  }
}
