/* ===========================================================
   zz666.cfd - theme-bc0a.css
   All custom classes / variables use the "sbc0-" prefix.
   Mobile-first canvas: 320-430px.
   Palette: #FFFACD (light), #F4A460 (accent), #333333 (dark).
   Code comments in English only.
   =========================================================== */

:root {
  --sbc0-bg: #1a1612;
  --sbc0-bg-2: #221c15;
  --sbc0-bg-3: #2a221a;
  --sbc0-surface: #2f2618;
  --sbc0-surface-2: #3a2f1f;
  --sbc0-line: #443827;
  --sbc0-text: #FFFACD;
  --sbc0-text-dim: #d8c79a;
  --sbc0-text-soft: #b6a47c;
  --sbc0-accent: #F4A460;
  --sbc0-accent-2: #ffb673;
  --sbc0-accent-deep: #c97f3d;
  --sbc0-dark: #333333;
  --sbc0-success: #6fcf97;
  --sbc0-danger: #eb5757;
  --sbc0-radius: 14px;
  --sbc0-radius-sm: 10px;
  --sbc0-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --sbc0-header-h: 56px;
  --sbc0-bottom-h: 62px;
  --sbc0-max: 430px;
  --sbc0-pad: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--sbc0-bg);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(244, 164, 96, 0.18), transparent 38%),
    radial-gradient(circle at 90% 8%, rgba(255, 250, 205, 0.08), transparent 42%),
    linear-gradient(180deg, #1a1612 0%, #15110d 100%);
  background-attachment: fixed;
  color: var(--sbc0-text);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sbc0-accent-2); text-decoration: none; }
a:hover, a:focus { color: #fff; }

.sbc0-no-scroll { overflow: hidden; }

/* Mobile canvas centered on wide screens */
.sbc0-app {
  width: 100%;
  max-width: var(--sbc0-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(180deg, rgba(42, 34, 26, 0.55), rgba(20, 16, 12, 0.55)),
    var(--sbc0-bg);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* ===========================================================
   Header
   =========================================================== */
.sbc0-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--sbc0-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(34, 28, 21, 0.98), rgba(26, 22, 18, 0.92));
  border-bottom: 1px solid var(--sbc0-line);
  backdrop-filter: blur(8px);
}

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

.sbc0-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--sbc0-accent);
  background: #fff8e6;
  flex: 0 0 auto;
  box-shadow: 0 0 12px rgba(244, 164, 96, 0.45);
}

.sbc0-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.sbc0-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--sbc0-text);
  white-space: nowrap;
}

.sbc0-brand-name b { color: var(--sbc0-accent); }

.sbc0-brand-tag {
  font-size: 10.5px;
  color: var(--sbc0-text-soft);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.sbc0-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sbc0-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 38px;
  min-width: 44px;
  transition: transform 0.18s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.sbc0-btn--login {
  background: transparent;
  color: var(--sbc0-text);
  border: 1.5px solid var(--sbc0-line);
}

.sbc0-btn--login:hover { border-color: var(--sbc0-accent); color: #fff; }

.sbc0-btn--register {
  background: linear-gradient(135deg, var(--sbc0-accent), var(--sbc0-accent-deep));
  color: #1a1208;
  box-shadow: 0 4px 14px rgba(244, 164, 96, 0.45);
}

.sbc0-btn--register:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(244, 164, 96, 0.6); }

.sbc0-btn:active { transform: scale(0.97); }

.sbc0-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sbc0-text);
  transition: background 0.25s ease, color 0.25s ease;
}

.sbc0-icon-btn:hover { background: var(--sbc0-surface-2); color: var(--sbc0-accent); }

.sbc0-icon-btn svg { width: 22px; height: 22px; display: block; }

/* ===========================================================
   Slide-in menu
   =========================================================== */
.sbc0-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(82vw, 340px);
  background: var(--sbc0-bg-2);
  border-left: 1px solid var(--sbc0-line);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 16px 14px calc(var(--sbc0-bottom-h) + 20px);
}

.sbc0-menu--open { transform: translateX(0); }

.sbc0-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sbc0-menu-title { font-size: 17px; font-weight: 800; color: var(--sbc0-text); }

.sbc0-menu-close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--sbc0-line);
  background: var(--sbc0-surface);
  color: var(--sbc0-text);
  font-size: 20px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

.sbc0-menu-section { margin-bottom: 18px; }

.sbc0-menu-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sbc0-text-soft);
  padding: 0 6px 8px;
}

.sbc0-menu-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--sbc0-text);
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.sbc0-menu-link:hover, .sbc0-menu-link:focus {
  background: var(--sbc0-surface);
  color: var(--sbc0-accent);
}

.sbc0-menu-link svg { width: 20px; height: 20px; flex: 0 0 auto; }

.sbc0-menu-divider { height: 1px; background: var(--sbc0-line); margin: 6px 8px 14px; }

.sbc0-menu-cta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.sbc0-menu-cta .sbc0-btn { flex: 1; }

.sbc0-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 80;
}

.sbc0-overlay--show { opacity: 1; visibility: visible; }

/* ===========================================================
   Layout helpers
   =========================================================== */
.sbc0-main {
  padding: 14px 12px calc(var(--sbc0-bottom-h) + 26px);
  position: relative;
  z-index: 1;
}

.sbc0-section {
  margin-bottom: 22px;
}

.sbc0-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  gap: 8px;
}

.sbc0-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--sbc0-text);
  position: relative;
  padding-left: 12px;
  margin: 0;
}

.sbc0-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sbc0-accent), var(--sbc0-accent-deep));
}

.sbc0-section-more {
  font-size: 12.5px;
  color: var(--sbc0-text-soft);
  font-weight: 600;
}

.sbc0-section-more:hover { color: var(--sbc0-accent); }

/* ===========================================================
   Hero carousel
   =========================================================== */
.sbc0-hero {
  position: relative;
  border-radius: var(--sbc0-radius);
  overflow: hidden;
  background: var(--sbc0-surface);
  box-shadow: var(--sbc0-shadow);
  border: 1px solid var(--sbc0-line);
  margin-bottom: 22px;
}

.sbc0-slide {
  position: relative;
  display: none;
  cursor: pointer;
}

.sbc0-slide--active { display: block; }

.sbc0-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sbc0-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, 0) 30%, rgba(15, 11, 7, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}

.sbc0-slide-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.sbc0-slide-sub {
  font-size: 12.5px;
  color: var(--sbc0-text-dim);
  margin: 0 0 10px;
}

.sbc0-slide-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--sbc0-accent), var(--sbc0-accent-deep));
  color: #1a1208;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(244, 164, 96, 0.5);
}

.sbc0-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(20, 16, 10, 0.6);
  border: 1px solid rgba(244, 164, 96, 0.4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.sbc0-arrow:hover { background: rgba(244, 164, 96, 0.7); color: #1a1208; }
.sbc0-arrow svg { width: 18px; height: 18px; }
.sbc0-arrow--prev { left: 8px; }
.sbc0-arrow--next { right: 8px; }

.sbc0-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.sbc0-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 205, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.sbc0-dot--active {
  background: var(--sbc0-accent);
  width: 18px;
  border-radius: 5px;
}

/* ===========================================================
   Quick stats row
   =========================================================== */
.sbc0-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.sbc0-stat {
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.sbc0-stat-num {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--sbc0-accent);
}

.sbc0-stat-label {
  display: block;
  font-size: 10.5px;
  color: var(--sbc0-text-soft);
  margin-top: 2px;
}

/* ===========================================================
   Category quick links
   =========================================================== */
.sbc0-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-bottom: 22px;
}

.sbc0-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius-sm);
  color: var(--sbc0-text);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sbc0-cat:hover, .sbc0-cat:focus {
  background: var(--sbc0-surface-2);
  border-color: var(--sbc0-accent);
  transform: translateY(-2px);
}

.sbc0-cat-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 164, 96, 0.25), rgba(244, 164, 96, 0.1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sbc0-accent);
}

.sbc0-cat-icon svg { width: 18px; height: 18px; }

.sbc0-cat-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sbc0-text-dim);
  line-height: 1.15;
}

/* ===========================================================
   Game grid
   =========================================================== */
.sbc0-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

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

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

.sbc0-card {
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius-sm);
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.sbc0-card:hover {
  transform: translateY(-3px);
  border-color: var(--sbc0-accent);
  box-shadow: 0 8px 18px rgba(244, 164, 96, 0.25);
}

.sbc0-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a2218, #1a1612);
}

.sbc0-card-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sbc0-text-dim);
  text-align: center;
  line-height: 1.2;
  height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.sbc0-card-badge {
  position: relative;
}

.sbc0-card-badge::after {
  content: "HOT";
  position: absolute;
  top: 4px; left: 4px;
  background: linear-gradient(135deg, #eb5757, #c0392b);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ===========================================================
   Promo banner (dual entry)
   =========================================================== */
.sbc0-promo {
  background: linear-gradient(135deg, #3a2f1f, #221c15);
  border: 1px solid var(--sbc0-accent);
  border-radius: var(--sbc0-radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}

.sbc0-promo::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244, 164, 96, 0.4), transparent 70%);
  border-radius: 50%;
}

.sbc0-promo-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--sbc0-accent-2);
  margin: 0;
}

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

.sbc0-promo-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--sbc0-accent), var(--sbc0-accent-deep));
  color: #1a1208;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  box-shadow: 0 5px 14px rgba(244, 164, 96, 0.5);
}

/* ===========================================================
   Info / highlight cards
   =========================================================== */
.sbc0-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sbc0-info-card {
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius-sm);
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sbc0-info-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244, 164, 96, 0.25), rgba(244, 164, 96, 0.08));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sbc0-accent);
}

.sbc0-info-icon svg { width: 20px; height: 20px; }

.sbc0-info-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--sbc0-text);
  margin: 0;
}

.sbc0-info-text {
  font-size: 12.5px;
  color: var(--sbc0-text-soft);
  margin: 0;
  line-height: 1.55;
}

/* Winners ticker */
.sbc0-winners {
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius);
  padding: 12px;
}

.sbc0-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--sbc0-line);
  font-size: 13px;
}

.sbc0-winner-row:last-child { border-bottom: 0; }

.sbc0-winner-name { font-weight: 700; color: var(--sbc0-text); }

.sbc0-winner-game { color: var(--sbc0-text-soft); font-size: 12px; }

.sbc0-winner-amount { color: var(--sbc0-accent); font-weight: 800; }

/* ===========================================================
   SEO content / article
   =========================================================== */
.sbc0-article {
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius);
  padding: 16px 14px;
}

.sbc0-article h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--sbc0-accent);
  margin: 16px 0 8px;
}

.sbc0-article h2:first-child { margin-top: 0; }

.sbc0-article h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sbc0-text);
  margin: 12px 0 6px;
}

.sbc0-article p {
  font-size: 13.5px;
  color: var(--sbc0-text-dim);
  margin: 0 0 10px;
  line-height: 1.7;
}

.sbc0-article ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--sbc0-text-dim);
  font-size: 13.5px;
}

.sbc0-article li { margin-bottom: 5px; line-height: 1.6; }

.sbc0-article a { color: var(--sbc0-accent-2); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.sbc0-article a:hover { color: #fff; }

.sbc0-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 164, 96, 0.15);
  color: var(--sbc0-accent-2);
  border: 1px solid rgba(244, 164, 96, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin: 0 6px 8px 0;
}

/* ===========================================================
   Extended footer (homepage only)
   =========================================================== */
.sbc0-ext-footer {
  background: var(--sbc0-bg-2);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius);
  padding: 16px 14px;
  margin-bottom: 22px;
}

.sbc0-ext-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sbc0-ext-brand-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1.5px solid var(--sbc0-accent);
}

.sbc0-ext-brand-text { flex: 1; }
.sbc0-ext-brand-name { font-size: 15px; font-weight: 800; color: var(--sbc0-text); }
.sbc0-ext-brand-desc { font-size: 12px; color: var(--sbc0-text-soft); margin-top: 2px; line-height: 1.5; }

.sbc0-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.sbc0-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 11px 4px;
  background: var(--sbc0-surface);
  border: 1px solid var(--sbc0-line);
  border-radius: var(--sbc0-radius-sm);
  color: var(--sbc0-text);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sbc0-shortcut:hover {
  background: var(--sbc0-surface-2);
  border-color: var(--sbc0-accent);
  color: var(--sbc0-accent);
}

.sbc0-shortcut svg { width: 20px; height: 20px; }

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

.sbc0-promo-tile {
  background: linear-gradient(135deg, rgba(244, 164, 96, 0.18), rgba(244, 164, 96, 0.05));
  border: 1px solid rgba(244, 164, 96, 0.4);
  border-radius: var(--sbc0-radius-sm);
  padding: 11px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sbc0-promo-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(244, 164, 96, 0.25); }

.sbc0-promo-tile-title { font-size: 13px; font-weight: 800; color: var(--sbc0-accent-2); margin: 0 0 3px; }
.sbc0-promo-tile-sub { font-size: 11.5px; color: var(--sbc0-text-dim); margin: 0; }

.sbc0-ext-disclaimer {
  font-size: 11.5px;
  color: var(--sbc0-text-soft);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px dashed var(--sbc0-line);
  margin: 0;
}

/* ===========================================================
   Mini footer
   =========================================================== */
.sbc0-foot {
  text-align: center;
  font-size: 11.5px;
  color: var(--sbc0-text-soft);
  padding: 10px 12px calc(var(--sbc0-bottom-h) + 10px);
  line-height: 1.6;
}

.sbc0-foot a { color: var(--sbc0-text-dim); margin: 0 4px; }
.sbc0-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

/* ===========================================================
   Bottom navigation (segmented action bar)
   =========================================================== */
.sbc0-bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--sbc0-max);
  height: var(--sbc0-bottom-h);
  background: linear-gradient(180deg, rgba(34, 28, 21, 0.98), rgba(20, 16, 12, 0.99));
  border-top: 1px solid var(--sbc0-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  z-index: 70;
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.sbc0-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--sbc0-text-soft);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  min-height: 44px;
}

.sbc0-bottom-item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sbc0-bottom-item-label { line-height: 1; }

.sbc0-bottom-item:hover { color: var(--sbc0-text); }

.sbc0-bottom-item--active {
  color: var(--sbc0-accent);
}

.sbc0-bottom-item--active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--sbc0-accent), var(--sbc0-accent-deep));
}

.sbc0-bottom-item--promo {
  color: var(--sbc0-accent-2);
}

.sbc0-bottom-item--center {
  transform: translateY(-12px);
  background: linear-gradient(135deg, var(--sbc0-accent), var(--sbc0-accent-deep));
  color: #1a1208;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  align-self: center;
  box-shadow: 0 5px 14px rgba(244, 164, 96, 0.55);
  border: 3px solid var(--sbc0-bg-2);
}

.sbc0-bottom-item--center svg { width: 24px; height: 24px; }
.sbc0-bottom-item--center .sbc0-bottom-item-label { display: none; }

/* Reveal animation */
.sbc0-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sbc0-reveal--in { opacity: 1; transform: translateY(0); }

/* Back-to-top */
#sbc0-top-btn {
  position: fixed;
  right: 14px;
  bottom: calc(var(--sbc0-bottom-h) + 14px);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sbc0-accent), var(--sbc0-accent-deep));
  color: #1a1208;
  border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#sbc0-top-btn.sbc0-show { opacity: 1; visibility: visible; }

.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;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .sbc0-reveal { opacity: 1; transform: none; }
}
