/* biji baji — Mobile-First Stylesheet (Prefix: view08076-) */
:root {
  --view08076-bg: #1C2833;
  --view08076-bg-deep: #141E27;
  --view08076-surface: #22303E;
  --view08076-surface-alt: #283848;
  --view08076-accent: #1E90FF;
  --view08076-accent-hi: #4DA6FF;
  --view08076-accent-dim: rgba(30, 144, 255, 0.16);
  --view08076-text: #EEF4FA;
  --view08076-text-muted: #B6C6D6;
  --view08076-border: rgba(238, 244, 250, 0.12);
  --view08076-border-accent: rgba(30, 144, 255, 0.36);
  --view08076-radius-card: 8px;
  --view08076-radius-btn: 5px;
  --view08076-font-body: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --view08076-font-mono: "JetBrains Mono", "Cascadia Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --view08076-header-h: 58px;
  --view08076-nav-h: 66px;
}

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

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  background-color: var(--view08076-bg-deep);
  color: var(--view08076-text);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  min-height: 100vh;
  max-width:430px;
  width: 100%;
  background-color: var(--view08076-bg);
  color: var(--view08076-text);
  font-family: var(--view08076-font-body);
  font-size: 0.9375rem;
  line-height: 1.62;
  overflow-x: clip;
  padding-top: var(--view08076-header-h);
  padding-bottom: calc(var(--view08076-nav-h) + 22px);
  box-shadow: 0 0 0 1px var(--view08076-border);
}

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

a {
  color: var(--view08076-accent-hi);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--view08076-accent-hi);
  outline-offset: 2px;
}

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

/* ===== Sitewide Header (Asymmetric Brand Bar + Compact Route Panel) ===== */
.view08076-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width:430px;
  z-index: 90;
  background: rgba(22, 32, 42, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view08076-border-accent);
}

.view08076-header-bar {
  height: var(--view08076-header-h);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.view08076-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-right: 8px;
  border-right: 2px solid var(--view08076-accent);
  color: var(--view08076-text);
  text-decoration: none;
  flex-shrink: 0;
}

.view08076-brand:hover {
  text-decoration: none;
}

.view08076-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid var(--view08076-border-accent);
}

.view08076-brand-name {
  font-family: var(--view08076-font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--view08076-text);
  white-space: nowrap;
}

.view08076-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.view08076-auth-btn {
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--view08076-radius-btn);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--view08076-border-accent);
  background: var(--view08076-surface);
  color: var(--view08076-text);
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.view08076-auth-btn--primary {
  background: var(--view08076-accent);
  border-color: var(--view08076-accent);
  color: #FFFFFF;
}

.view08076-auth-btn:hover {
  transform: translateY(-1px);
  border-color: var(--view08076-accent-hi);
}

.view08076-menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--view08076-radius-btn);
  border: 1px solid var(--view08076-border);
  background: var(--view08076-surface);
  color: var(--view08076-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.view08076-menu-icon {
  width: 18px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.view08076-menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--view08076-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.16s ease, top 0.2s ease;
}

.view08076-menu-icon span:nth-child(1) {
  top: 0;
}

.view08076-menu-icon span:nth-child(2) {
  top: 6px;
}

.view08076-menu-icon span:nth-child(3) {
  top: 12px;
}

.view08076-menu-btn[aria-expanded="true"] .view08076-menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
  background: var(--view08076-accent-hi);
}

.view08076-menu-btn[aria-expanded="true"] .view08076-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.view08076-menu-btn[aria-expanded="true"] .view08076-menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
  background: var(--view08076-accent-hi);
}

/* Compact Route Panel */
.view08076-menu {
  background: var(--view08076-bg-deep);
  border-top: 1px solid var(--view08076-border);
  border-bottom: 1px solid var(--view08076-border-accent);
  padding: 10px 12px 14px;
  max-height: calc(100vh - var(--view08076-header-h) - 70px);
  overflow-y: auto;
  animation: view08076-slide-in 0.2s ease-out;
}

@keyframes view08076-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view08076-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.view08076-menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: var(--view08076-radius-btn);
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border);
  color: var(--view08076-text);
  font-size: 0.8125rem;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.view08076-menu-link:hover {
  border-color: var(--view08076-accent);
  text-decoration: none;
}

.view08076-menu-link.view08076-is-active {
  background: var(--view08076-accent-dim);
  border-color: var(--view08076-accent);
  color: #FFFFFF;
  font-weight: 600;
}

.view08076-menu-code {
  font-family: var(--view08076-font-mono);
  font-size: 0.6875rem;
  color: var(--view08076-accent-hi);
  flex-shrink: 0;
}

/* ===== Main Canvas & Core Typography ===== */
.view08076-main {
  padding: 14px 12px 18px;
}

.view08076-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-family: var(--view08076-font-mono);
  font-size: 0.75rem;
  color: var(--view08076-text-muted);
}

.view08076-breadcrumb a {
  color: var(--view08076-accent-hi);
}

.view08076-h1 {
  margin: 0 0 10px;
  font-size: 1.375rem;
  line-height: 1.32;
  font-weight: 700;
  color: var(--view08076-text);
  letter-spacing: -0.01em;
}

.view08076-lead {
  margin: 0 0 14px;
  padding: 11px 12px;
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border);
  border-left: 3px solid var(--view08076-accent);
  border-radius: var(--view08076-radius-card);
  color: var(--view08076-text);
  font-size: 0.9125rem;
}

.view08076-mono {
  font-family: var(--view08076-font-mono);
  font-size: 0.875em;
  color: var(--view08076-accent-hi);
}

/* ===== Hero Carousel ===== */
.view08076-carousel {
  position: relative;
  margin: 0 0 16px;
  border-radius: var(--view08076-radius-card);
  overflow: hidden;
  border: 1px solid var(--view08076-border-accent);
  background: var(--view08076-bg-deep);
}

.view08076-carousel-track {
  display: flex;
  transition: transform 0.32s ease;
}

.view08076-carousel-slide {
  min-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
}

.view08076-carousel-img {
  width: 100%;
  aspect-ratio: 430 / 200;
  height: auto;
  object-fit: cover;
}

.view08076-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(20, 30, 39, 0.92);
  border-top: 1px solid var(--view08076-border);
}

.view08076-carousel-nav {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--view08076-radius-btn);
  border: 1px solid var(--view08076-border);
  background: var(--view08076-surface);
  color: var(--view08076-text);
  font-family: var(--view08076-font-mono);
  font-size: 0.875rem;
}

.view08076-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view08076-carousel-dot {
  width: 24px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(238, 244, 250, 0.25);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.view08076-carousel-dot[aria-selected="true"] {
  width: 34px;
  background: var(--view08076-accent);
}

/* ===== Section & Typography ===== */
.view08076-section {
  margin: 0 0 18px;
  padding: 13px 12px;
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border);
  border-radius: var(--view08076-radius-card);
}

.view08076-kicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--view08076-accent-dim);
  border: 1px solid var(--view08076-border-accent);
  font-family: var(--view08076-font-mono);
  font-size: 0.72rem;
  color: var(--view08076-accent-hi);
  letter-spacing: 0.02em;
}

.view08076-h2 {
  margin: 0 0 9px;
  font-size: 1.125rem;
  line-height: 1.36;
  font-weight: 700;
  color: var(--view08076-text);
}

.view08076-h3 {
  margin: 12px 0 6px;
  font-size: 0.96875rem;
  line-height: 1.38;
  font-weight: 700;
  color: var(--view08076-text);
}

.view08076-section p {
  margin: 0 0 9px;
  color: var(--view08076-text-muted);
}

.view08076-section p:last-child {
  margin-bottom: 0;
}

.view08076-section-lead {
  color: var(--view08076-text) !important;
  font-size: 0.9125rem;
}

/* ===== Segmented Action CTA & Inline Promo Link ===== */
.view08076-cta-seg {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--view08076-accent);
  border-radius: var(--view08076-radius-btn);
  background: var(--view08076-accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.view08076-cta-seg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 144, 255, 0.28);
}

.view08076-cta-seg-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
}

.view08076-cta-seg-tag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: rgba(20, 30, 39, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--view08076-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.view08076-promo-link {
  display: inline;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--view08076-accent-hi);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Game Zone (Mixed Large + Small Card Mosaic) ===== */
.view08076-cat-block {
  margin: 0 0 16px;
}

.view08076-cat-block:last-child {
  margin-bottom: 0;
}

.view08076-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--view08076-border);
}

.view08076-cat-title {
  margin: 0;
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--view08076-text);
}

.view08076-cat-count {
  font-family: var(--view08076-font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border-accent);
  color: var(--view08076-accent-hi);
}

.view08076-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 7px;
}

.view08076-game-card {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-radius: var(--view08076-radius-card);
  border: 1px solid var(--view08076-border);
  background: var(--view08076-bg-deep);
  color: var(--view08076-text);
  text-align: center;
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.view08076-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--view08076-accent);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28);
}

.view08076-game-card:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
  padding: 7px;
  border-color: var(--view08076-border-accent);
}

.view08076-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  background: var(--view08076-surface);
}

.view08076-game-name {
  margin-top: 5px;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--view08076-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.view08076-game-card:nth-child(5n + 1) .view08076-game-name {
  margin-top: 7px;
  font-size: 0.84rem;
  font-weight: 600;
}

@media (min-width: 380px) {
  .view08076-game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .view08076-game-card:nth-child(5n + 1) {
    grid-column: span 1;
    grid-row: span 1;
    padding: 5px;
    border-color: var(--view08076-border);
  }
  .view08076-game-card:nth-child(5n + 1) .view08076-game-name {
    margin-top: 5px;
    font-size: 0.72rem;
    font-weight: 400;
  }
  .view08076-game-card:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
    padding: 7px;
    border-color: var(--view08076-border-accent);
  }
  .view08076-game-card:nth-child(7n + 1) .view08076-game-name {
    margin-top: 7px;
    font-size: 0.84rem;
    font-weight: 600;
  }
}

/* ===== Reusable Inner & Homepage Components ===== */

/* 1. Checklist / Bullet Points */
.view08076-checklist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.view08076-checklist li {
  position: relative;
  padding: 8px 10px 8px 28px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  color: var(--view08076-text-muted);
  font-size: 0.875rem;
}

.view08076-checklist li::before {
  content: ">";
  position: absolute;
  left: 11px;
  top: 8px;
  font-family: var(--view08076-font-mono);
  font-weight: 700;
  color: var(--view08076-accent-hi);
}

.view08076-checklist strong {
  color: var(--view08076-text);
}

/* 2. Ordered Steps */
.view08076-steps {
  list-style: none;
  counter-reset: view08076-step;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.view08076-steps li {
  counter-increment: view08076-step;
  position: relative;
  padding: 9px 10px 9px 38px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--view08076-text-muted);
}

.view08076-steps li::before {
  content: "0" counter(view08076-step);
  position: absolute;
  left: 9px;
  top: 9px;
  font-family: var(--view08076-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--view08076-accent-hi);
  background: var(--view08076-accent-dim);
  padding: 1px 5px;
  border-radius: 4px;
}

/* 3. Timeline */
.view08076-timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--view08076-border-accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.view08076-timeline li {
  position: relative;
  padding: 8px 10px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--view08076-text-muted);
}

.view08076-timeline li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--view08076-accent);
  border: 2px solid var(--view08076-bg);
}

/* 4. Data / Comparison / Calculation Table */
.view08076-table-wrap {
  margin: 10px 0 0;
  overflow-x: auto;
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  background: var(--view08076-bg-deep);
}

.view08076-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.view08076-table th,
.view08076-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--view08076-border);
  vertical-align: top;
}

.view08076-table th {
  background: var(--view08076-surface-alt);
  color: var(--view08076-text);
  font-family: var(--view08076-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.view08076-table td {
  color: var(--view08076-text-muted);
}

.view08076-table tr:last-child td {
  border-bottom: 0;
}

/* 5. Numeric Summary Cards */
.view08076-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.view08076-stat-card {
  padding: 10px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-top: 2px solid var(--view08076-accent);
  border-radius: 6px;
}

.view08076-stat-val {
  display: block;
  font-family: var(--view08076-font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--view08076-accent-hi);
  margin-bottom: 3px;
}

.view08076-stat-label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--view08076-text-muted);
}

/* 6. Dual-Column Comparison / Troubleshooting */
.view08076-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.view08076-dual-col {
  padding: 10px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  min-width: 0;
}

.view08076-dual-col--highlight {
  border-color: var(--view08076-border-accent);
}

.view08076-dual-head {
  margin: 0 0 6px;
  font-family: var(--view08076-font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--view08076-text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--view08076-border);
}

.view08076-dual-col p {
  font-size: 0.8125rem;
  margin: 0 0 6px;
}

/* 7. Definition List (<dl>) */
.view08076-deflist {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.view08076-deflist-row {
  padding: 8px 10px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
}

.view08076-deflist dt {
  font-family: var(--view08076-font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--view08076-accent-hi);
  margin: 0 0 3px;
}

.view08076-deflist dd {
  margin: 0;
  font-size: 0.85rem;
  color: var(--view08076-text-muted);
}

/* 8. Calculation Box */
.view08076-calc-box {
  margin: 10px 0 0;
  padding: 10px 11px;
  background: var(--view08076-bg-deep);
  border: 1px dashed var(--view08076-border-accent);
  border-radius: 6px;
  font-size: 0.85rem;
}

.view08076-calc-title {
  margin: 0 0 6px;
  font-family: var(--view08076-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--view08076-accent-hi);
}

.view08076-calc-formula {
  margin: 0 0 5px;
  font-family: var(--view08076-font-mono);
  font-size: 0.84rem;
  color: var(--view08076-text);
  word-break: break-word;
}

/* 9. Scenario Card */
.view08076-scenario-card {
  margin: 9px 0 0;
  padding: 10px 11px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-left: 3px solid var(--view08076-accent);
  border-radius: 6px;
}

.view08076-scenario-card p {
  font-size: 0.86rem;
}

/* 10. FAQ List & Expandable Accordion */
.view08076-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.view08076-faq-item {
  padding: 10px 11px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
}

.view08076-faq-q {
  margin: 0 0 5px;
  font-size: 0.92rem;
  line-height: 1.38;
  font-weight: 700;
  color: var(--view08076-text);
}

.view08076-faq-a {
  margin: 0;
  font-size: 0.86rem;
  color: var(--view08076-text-muted);
}

.view08076-accordion {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.view08076-acc-item {
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: 6px;
  padding: 0;
}

.view08076-acc-item summary {
  list-style: none;
  padding: 10px 11px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--view08076-text);
  cursor: pointer;
}

.view08076-acc-item summary::-webkit-details-marker {
  display: none;
}

.view08076-acc-item summary::after {
  content: "+";
  font-family: var(--view08076-font-mono);
  color: var(--view08076-accent-hi);
  font-size: 1rem;
  flex-shrink: 0;
}

.view08076-acc-item[open] summary::after {
  content: "-";
}

.view08076-acc-body {
  padding: 0 11px 10px;
  font-size: 0.85rem;
  color: var(--view08076-text-muted);
}

/* 11. Action Bar & Entry Card */
.view08076-action-bar {
  margin: 10px 0 0;
  padding: 10px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border-accent);
  border-radius: var(--view08076-radius-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.view08076-entry-card {
  margin: 9px 0 0;
  padding: 11px;
  background: linear-gradient(135deg, var(--view08076-surface-alt), var(--view08076-bg-deep));
  border: 1px solid var(--view08076-border-accent);
  border-radius: var(--view08076-radius-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 12. Inner Game Hero & Related Games Grid */
.view08076-game-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 0 0 14px;
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border-accent);
  border-radius: var(--view08076-radius-card);
}

.view08076-game-hero-icon {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--view08076-border-accent);
  border-radius: 8px;
  background: var(--view08076-bg-deep);
  overflow: hidden;
  flex-shrink: 0;
}

.view08076-game-hero-icon img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.view08076-game-hero-info {
  flex: 1 1 auto;
  min-width: 0;
}

.view08076-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.view08076-related-card {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: var(--view08076-radius-card);
  border: 1px solid var(--view08076-border);
  background: var(--view08076-bg-deep);
  color: var(--view08076-text);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.view08076-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--view08076-accent);
}

.view08076-related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.view08076-related-card span {
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.25;
}

/* ===== Homepage Extended Footer (Sectioned List, Before Sitewide Footer) ===== */
.view08076-ext-footer {
  margin: 0 12px 14px;
  padding: 14px 12px;
  background: var(--view08076-bg-deep);
  border: 1px solid var(--view08076-border);
  border-radius: var(--view08076-radius-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.view08076-ext-block {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--view08076-border);
}

.view08076-ext-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.view08076-ext-label {
  margin: 0 0 8px;
  font-family: var(--view08076-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--view08076-accent-hi);
  letter-spacing: 0.03em;
}

.view08076-ext-text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--view08076-text-muted);
}

.view08076-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.view08076-ext-promo-btn {
  min-height: 44px;
  padding: 6px 8px;
  border-radius: var(--view08076-radius-btn);
  border: 1px solid var(--view08076-border-accent);
  background: var(--view08076-surface);
  color: var(--view08076-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.view08076-ext-promo-btn:hover {
  background: var(--view08076-accent-dim);
  transform: translateY(-1px);
}

.view08076-ext-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.view08076-ext-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border);
  font-size: 0.79rem;
  color: var(--view08076-text);
}

.view08076-ext-links a:hover {
  border-color: var(--view08076-accent);
  text-decoration: none;
}

.view08076-ext-closing {
  margin: 0;
  font-family: var(--view08076-font-mono);
  font-size: 0.78rem;
  color: var(--view08076-text-muted);
}

/* ===== Sitewide Footer (Copyright + Center-Elevated 5-Item Bottom Nav) ===== */
.view08076-footer {
  padding: 8px 12px 12px;
  text-align: center;
}

.view08076-copy {
  margin: 0;
  font-family: var(--view08076-font-mono);
  font-size: 0.72rem;
  color: var(--view08076-text-muted);
}

.view08076-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width:430px;
  height: var(--view08076-nav-h);
  z-index: 95;
  background: rgba(20, 30, 39, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--view08076-border-accent);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 0 4px;
}

.view08076-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--view08076-text-muted);
  text-decoration: none;
  font-size: 0.6875rem;
  line-height: 1.1;
  transition: color 0.18s ease;
}

.view08076-bnav-item:hover {
  color: var(--view08076-text);
  text-decoration: none;
}

.view08076-bnav-tile {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--view08076-surface);
  border: 1px solid var(--view08076-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.view08076-bnav-tile svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.view08076-bnav-item--center {
  position: relative;
  top: -10px;
}

.view08076-bnav-item--center .view08076-bnav-tile {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--view08076-accent);
  border-color: var(--view08076-accent-hi);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(30, 144, 255, 0.36);
}

.view08076-bnav-item--center .view08076-bnav-tile svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
  stroke: #FFFFFF;
}

.view08076-bnav-item--center span:last-child {
  color: var(--view08076-text);
  font-weight: 700;
}

/* Active state: icon fill change + micro morph */
.view08076-bnav-item.view08076-is-active {
  color: var(--view08076-accent-hi);
  font-weight: 700;
}

.view08076-bnav-item.view08076-is-active .view08076-bnav-tile {
  background: var(--view08076-accent);
  border-color: var(--view08076-accent-hi);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.05);
}

.view08076-bnav-item.view08076-is-active .view08076-bnav-tile svg {
  fill: #FFFFFF;
  stroke: #FFFFFF;
  transform: scale(1.08);
}
