/* dk game - chrome-adaptive-a25b99.css
   Mobile-first gaming stylesheet for the 320-430px phone canvas.
   Wide screens keep the same phone canvas centered, so the fixed bottom
   navigation continues to track the canvas rather than the viewport.
   All class names and CSS variables use the view5b996- prefix. */

:root {
  --view5b996-bg: #141414;
  --view5b996-bg-soft: #181612;
  --view5b996-surface: #211e1a;
  --view5b996-surface-2: #2a261f;
  --view5b996-accent: #F4A460;
  --view5b996-accent-deep: #d88a47;
  --view5b996-cream: #FFEFD5;
  --view5b996-muted: #c9b89a;
  --view5b996-line: rgba(255, 239, 213, 0.12);
  --view5b996-line-strong: rgba(255, 239, 213, 0.28);
  --view5b996-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  --view5b996-radius-sm: 3px;
  --view5b996-radius-md: 6px;
  --view5b996-radius-pill: 999px;
  --view5b996-header-h: 56px;
  --view5b996-bottomnav-h: 64px;
  --view5b996-font-display: "Tiro Bangla", "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
  --view5b996-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0b0b0b;
  color: var(--view5b996-cream);
  font-family: var(--view5b996-font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: var(--view5b996-accent); text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--view5b996-accent);
  outline-offset: 2px;
}
button { font-family: inherit; }

/* Phone canvas: width capped at 430px and centered on wide screens. */
.view5b996-canvas {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #141414 0%, #181612 60%, #141414 100%);
  position: relative;
  box-shadow: var(--view5b996-shadow);
  overflow-x: hidden;
}

/* ============ Header ============ */
.view5b996-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--view5b996-header-h);
  padding: 0 10px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--view5b996-line);
}
.view5b996-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}
.view5b996-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--view5b996-radius-sm);
  object-fit: contain;
  flex-shrink: 0;
  background: var(--view5b996-cream);
  padding: 2px;
  border: 1px solid var(--view5b996-line-strong);
}
.view5b996-brand-name {
  font-family: var(--view5b996-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--view5b996-cream);
  white-space: nowrap;
}
.view5b996-brand-name span { color: var(--view5b996-accent); }

.view5b996-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.view5b996-btn {
  font-family: var(--view5b996-font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: var(--view5b996-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.view5b996-btn-login {
  background: transparent;
  color: var(--view5b996-cream);
  border-color: var(--view5b996-line-strong);
}
.view5b996-btn-register {
  background: var(--view5b996-accent);
  color: #2a1500;
  border-color: var(--view5b996-accent);
}
.view5b996-btn-register:active { transform: translateY(1px); }
.view5b996-menu-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--view5b996-line);
  border-radius: var(--view5b996-radius-sm);
  color: var(--view5b996-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.view5b996-menu-btn svg { width: 18px; height: 18px; display: block; }

/* ============ Dropdown menu ============ */
.view5b996-menu {
  position: absolute;
  top: var(--view5b996-header-h);
  left: 0;
  right: 0;
  background: var(--view5b996-surface);
  border-bottom: 1px solid var(--view5b996-line-strong);
  padding: 8px 12px 14px;
  display: none;
  z-index: 39;
  box-shadow: var(--view5b996-shadow);
}
.view5b996-menu[data-open="true"] { display: block; }
.view5b996-menu-group + .view5b996-menu-group { margin-top: 8px; }
.view5b996-menu-title {
  font-family: var(--view5b996-font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--view5b996-muted);
  text-transform: uppercase;
  margin: 6px 0 4px;
}
.view5b996-menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.view5b996-menu-list a {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  color: var(--view5b996-cream);
  font-size: 13.5px;
  border-radius: var(--view5b996-radius-sm);
  border: 1px solid transparent;
  min-height: 44px;
  background: var(--view5b996-surface-2);
}
.view5b996-menu-list a:active {
  background: var(--view5b996-accent);
  color: #2a1500;
}

/* ============ Hero carousel ============ */
.view5b996-hero {
  position: relative;
  margin: 10px;
  border-radius: var(--view5b996-radius-md);
  overflow: hidden;
  background: var(--view5b996-surface);
  border: 1px solid var(--view5b996-line);
}
.view5b996-hero-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.view5b996-hero-track::-webkit-scrollbar { display: none; }
.view5b996-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.view5b996-slide img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  display: block;
}
.view5b996-slide-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0) 30%, rgba(20,20,20,0.82) 100%);
}
.view5b996-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: var(--view5b996-cream);
  pointer-events: none;
}
.view5b996-slide-caption strong {
  display: block;
  font-family: var(--view5b996-font-display);
  font-size: 15px;
  color: var(--view5b996-accent);
  margin-bottom: 2px;
}
.view5b996-slide-caption span { font-size: 12px; color: var(--view5b996-cream); }
.view5b996-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}
.view5b996-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 239, 213, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
}
.view5b996-hero-dot[aria-current="true"] {
  background: var(--view5b996-accent);
  width: 16px;
  border-radius: var(--view5b996-radius-pill);
}

/* ============ Main ============ */
.view5b996-main {
  padding: 4px 12px calc(var(--view5b996-bottomnav-h) + 26px);
}
.view5b996-h1 {
  font-family: var(--view5b996-font-display);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--view5b996-cream);
  margin: 12px 0 6px;
}
.view5b996-lede {
  color: var(--view5b996-muted);
  font-size: 14px;
  margin: 0 0 12px;
}

/* Category quick chips */
.view5b996-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 8px;
  margin: 0 0 6px;
}
.view5b996-chips::-webkit-scrollbar { display: none; }
.view5b996-chip {
  flex: 0 0 auto;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: var(--view5b996-radius-pill);
  background: var(--view5b996-surface);
  color: var(--view5b996-cream);
  border: 1px solid var(--view5b996-line);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}
.view5b996-chip:active { border-color: var(--view5b996-accent); color: var(--view5b996-accent); }

/* ============ Sections ============ */
.view5b996-section { margin: 22px 0; }
.view5b996-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  border-left: 3px solid var(--view5b996-accent);
  padding-left: 8px;
}
.view5b996-section-title {
  font-family: var(--view5b996-font-display);
  font-size: 16.5px;
  color: var(--view5b996-cream);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}
.view5b996-section-more { font-size: 11.5px; color: var(--view5b996-accent); white-space: nowrap; }

/* ============ Game grid ============ */
.view5b996-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.view5b996-card {
  display: block;
  background: var(--view5b996-surface);
  border: 1px solid var(--view5b996-line);
  border-radius: var(--view5b996-radius-sm);
  overflow: hidden;
  position: relative;
  padding: 0;
  cursor: pointer;
  text-align: center;
  color: inherit;
}
.view5b996-card:active {
  transform: translateY(1px);
  border-color: var(--view5b996-line-strong);
}
.view5b996-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e0e0e;
  display: block;
}
.view5b996-card-name {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: var(--view5b996-cream);
  padding: 5px 4px 7px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.view5b996-card-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(20,20,20,0.85);
  color: var(--view5b996-accent);
  font-size: 9px;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: var(--view5b996-radius-sm);
}

/* ============ Prose & content modules ============ */
.view5b996-prose p {
  margin: 0 0 10px;
  color: var(--view5b996-cream);
  font-size: 14px;
}
.view5b996-prose strong { color: var(--view5b996-accent); font-weight: 600; }
.view5b996-prose a { color: var(--view5b996-accent); text-decoration: underline; text-underline-offset: 2px; }

.view5b996-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.view5b996-tile {
  background: var(--view5b996-surface);
  border: 1px solid var(--view5b996-line);
  border-radius: var(--view5b996-radius-sm);
  padding: 10px 12px;
}
.view5b996-tile h3 {
  margin: 0 0 4px;
  font-family: var(--view5b996-font-display);
  font-size: 13.5px;
  color: var(--view5b996-accent);
  line-height: 1.3;
}
.view5b996-tile p {
  margin: 0;
  font-size: 12.5px;
  color: var(--view5b996-cream);
  line-height: 1.5;
}

.view5b996-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.view5b996-table th,
.view5b996-table td {
  border-bottom: 1px solid var(--view5b996-line);
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
}
.view5b996-table th {
  color: var(--view5b996-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.view5b996-table td { color: var(--view5b996-cream); }

.view5b996-note {
  background: rgba(244, 164, 96, 0.08);
  border-left: 3px solid var(--view5b996-accent);
  padding: 10px 12px;
  border-radius: var(--view5b996-radius-sm);
  font-size: 13px;
  color: var(--view5b996-cream);
  margin: 10px 0;
}

/* CTA strip */
.view5b996-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}
.view5b996-cta .view5b996-btn { padding: 12px 18px; font-size: 14px; }
.view5b996-cta-primary {
  background: var(--view5b996-accent);
  color: #2a1500;
  border: 1px solid var(--view5b996-accent);
}
.view5b996-cta-ghost {
  background: transparent;
  color: var(--view5b996-cream);
  border: 1px solid var(--view5b996-line-strong);
}

/* ============ Extended footer ============ */
.view5b996-ext {
  margin: 28px 0 16px;
  border-top: 1px solid var(--view5b996-line);
  padding-top: 16px;
}
.view5b996-ext-block + .view5b996-ext-block { margin-top: 14px; }
.view5b996-ext-label {
  font-family: var(--view5b996-font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--view5b996-muted);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.view5b996-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.view5b996-directory a {
  font-size: 12.5px;
  color: var(--view5b996-cream);
  padding: 5px 0;
  display: block;
}
.view5b996-directory a:active { color: var(--view5b996-accent); }

.view5b996-brandblock p {
  margin: 0;
  font-size: 12.5px;
  color: var(--view5b996-muted);
  line-height: 1.55;
}

.view5b996-promostrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.view5b996-promostrip button {
  font-family: var(--view5b996-font-body);
  font-size: 12.5px;
  padding: 10px;
  background: var(--view5b996-surface-2);
  color: var(--view5b996-cream);
  border: 1px solid var(--view5b996-line-strong);
  border-radius: var(--view5b996-radius-sm);
  cursor: pointer;
  min-height: 44px;
  text-align: center;
  line-height: 1.25;
}
.view5b996-promostrip button:active {
  background: var(--view5b996-accent);
  color: #2a1500;
}

.view5b996-disclaimer {
  font-size: 11.5px;
  color: var(--view5b996-muted);
  border-top: 1px dashed var(--view5b996-line);
  padding-top: 8px;
  margin: 12px 0 0;
  line-height: 1.55;
}

/* ============ Footer ============ */
.view5b996-footer {
  padding: 10px 12px calc(var(--view5b996-bottomnav-h) + 12px);
  text-align: center;
  font-size: 11.5px;
  color: var(--view5b996-muted);
  border-top: 1px solid var(--view5b996-line);
}
.view5b996-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin-bottom: 6px;
}
.view5b996-footer-links a { color: var(--view5b996-muted); font-size: 11.5px; }
.view5b996-footer-links a:active { color: var(--view5b996-accent); }

/* ============ Bottom navigation ============ */
.view5b996-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: var(--view5b996-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--view5b996-line-strong);
  z-index: 50;
}
.view5b996-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--view5b996-muted);
  font-size: 10px;
  font-family: var(--view5b996-font-body);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  min-height: 44px;
  padding: 6px 2px 4px;
  -webkit-tap-highlight-color: transparent;
}
.view5b996-navitem[aria-current="page"] {
  color: var(--view5b996-accent);
  transform: translateY(-3px);
}
.view5b996-navitem:active { color: var(--view5b996-accent); }
.view5b996-navicon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view5b996-navicon svg { width: 100%; height: 100%; display: block; }
.view5b996-navlabel { font-size: 10px; line-height: 1; letter-spacing: 0.01em; }

/* Wide-screen treatment: the canvas stays a phone column.
   The 430px boundary is the breakpoint between phone and wide layouts. */
@media (min-width: 431px) {
  body { background: #060606; }
  .view5b996-canvas {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }
}

/* Slightly roomier grid once the canvas reaches the upper phone widths. */
@media (min-width: 375px) {
  .view5b996-gamegrid { gap: 9px; }
  .view5b996-h1 { font-size: 24px; }
  .view5b996-section-title { font-size: 17.5px; }
}
@media (min-width: 430px) {
  .view5b996-gamegrid { grid-template-columns: repeat(5, 1fr); }
}
