/* ============================================================
   f11 game - skin-1269.css
   Prefix: g690-  | Bangla (bn-BD) mobile-first gaming site
   Palette: #F4A460 | #1A1A1A | #E0E0E0 | #FFA500 | #00E5FF
   Canvas: 320-430px (centered on wider screens)
   ============================================================ */

:root {
  --g690-sand: #F4A460;
  --g690-ink: #1A1A1A;
  --g690-ink-2: #232120;
  --g690-ink-3: #2e2a26;
  --g690-mist: #E0E0E0;
  --g690-amber: #FFA500;
  --g690-cyan: #00E5FF;
  --g690-line: rgba(244, 164, 96, 0.22);
  --g690-line-strong: rgba(255, 165, 0, 0.55);
  --g690-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  --g690-radius: 14px;
  --g690-radius-sm: 10px;
  --g690-header-h: 58px;
  --g690-bottom-h: 64px;
  --g690-max: 430px;
  --g690-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: #0f0d0c;
  color: var(--g690-mist);
  font-family: var(--g690-font);
  font-size: 15px;
  line-height: 1.62;
  word-break: break-word;
  overflow-x: hidden;
}

body {
  max-width: var(--g690-max);
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 165, 0, 0.18), transparent 60%),
    radial-gradient(120% 50% at 50% 110%, rgba(0, 229, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #14110f 0%, #0f0d0c 40%, #0b0a09 100%);
  min-height: 100vh;
  position: relative;
  padding-bottom: calc(var(--g690-bottom-h) + 18px);
}

a { color: var(--g690-cyan); text-decoration: none; }
a:hover { color: var(--g690-amber); }
img { display: block; max-width: 100%; }
ul, ol { padding-left: 1.15em; margin: 0.6em 0; }

/* ===================== Header ===================== */
.g690-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0.96), rgba(15, 13, 12, 0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g690-line);
}

.g690-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  min-height: var(--g690-header-h);
}

.g690-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}
.g690-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--g690-line-strong);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.18);
  flex-shrink: 0;
}
.g690-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.g690-brand-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g690-brand-tag {
  font-size: 10.5px;
  color: var(--g690-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.g690-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }

.g690-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.18s ease, filter 0.18s ease;
  font-family: inherit;
  white-space: nowrap;
}
.g690-btn:active { transform: scale(0.95); }
.g690-btn-primary {
  background: linear-gradient(135deg, #ffb347 0%, var(--g690-amber) 50%, #ff7e00 100%);
  color: #1a1208;
  box-shadow: 0 6px 14px rgba(255, 140, 0, 0.35), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.g690-btn-ghost {
  background: transparent;
  color: var(--g690-mist);
  border: 1px solid var(--g690-line-strong);
}
.g690-btn-ghost:active { background: rgba(255, 165, 0, 0.08); }

.g690-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(244, 164, 96, 0.1);
  border: 1px solid var(--g690-line);
  color: var(--g690-sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.g690-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}
.g690-menu-btn span::before,
.g690-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.g690-menu-btn span::before { top: -6px; }
.g690-menu-btn span::after { top: 6px; }

/* ===================== Side Drawer ===================== */
.g690-drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}
.g690-drawer-mask.g690-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease;
}
.g690-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 84%;
  max-width: 340px;
  background: linear-gradient(180deg, #1c1714, #120f0d);
  z-index: 95;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.4, 0.0, 0.2, 1);
  overflow-y: auto;
  padding: 18px 16px calc(var(--g690-bottom-h) + 30px);
  border-left: 1px solid var(--g690-line);
}
.g690-drawer.g690-open { transform: translateX(0); }
.g690-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.g690-drawer-head img { width: 36px; height: 36px; border-radius: 9px; }
.g690-drawer-title { font-size: 15px; font-weight: 800; color: #fff; }
.g690-drawer-close {
  background: transparent;
  border: none;
  color: var(--g690-mist);
  font-size: 22px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.g690-drawer-section { margin: 14px 0; }
.g690-drawer-section h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--g690-cyan);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.g690-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--g690-mist);
  font-size: 14px;
  margin-bottom: 4px;
  border: 1px solid transparent;
}
.g690-drawer-link:active,
.g690-drawer-link:hover {
  background: rgba(244, 164, 96, 0.08);
  border-color: var(--g690-line);
  color: #fff;
}
.g690-drawer-link::after {
  content: "›";
  color: var(--g690-amber);
  font-size: 18px;
}
.g690-drawer-cta {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.g690-drawer-cta .g690-btn { flex: 1; padding: 10px; }

/* ===================== Layout ===================== */
.g690-main { padding: 0 12px; }
.g690-section { margin: 22px 0; }
.g690-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--g690-line);
}
.g690-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g690-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--g690-amber), var(--g690-cyan));
}
.g690-section-more {
  font-size: 12px;
  color: var(--g690-cyan);
  font-weight: 600;
}

/* ===================== Hero carousel ===================== */
.g690-hero {
  position: relative;
  border-radius: var(--g690-radius);
  overflow: hidden;
  margin: 14px 0 6px;
  box-shadow: var(--g690-shadow);
  border: 1px solid var(--g690-line);
}
.g690-hero-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.g690-hero-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.g690-hero-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.g690-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.g690-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.g690-hero-sub {
  font-size: 12px;
  color: var(--g690-mist);
  margin-top: 3px;
}
.g690-hero-cta {
  margin-top: 9px;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--g690-amber), #ff6f00);
  color: #1a1208;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4);
}
.g690-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
}
.g690-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
}
.g690-hero-dot.g690-active {
  background: var(--g690-amber);
  width: 18px;
  border-radius: 999px;
}

/* ===================== Marquee ===================== */
.g690-marquee {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(255, 165, 0, 0.12), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--g690-line);
  border-radius: 999px;
  padding: 7px 12px;
  margin: 12px 0 4px;
  font-size: 12px;
  color: var(--g690-mist);
  overflow: hidden;
}
.g690-marquee-badge {
  background: var(--g690-amber);
  color: #1a1208;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10.5px;
  flex-shrink: 0;
}
.g690-marquee-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== Quick categories ===================== */
.g690-quickcats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 14px 0 6px;
}
.g690-quickcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px;
  background: rgba(244, 164, 96, 0.07);
  border: 1px solid var(--g690-line);
  border-radius: 12px;
  color: var(--g690-mist);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.16s ease, background 0.16s ease;
}
.g690-quickcat:active { transform: scale(0.93); background: rgba(255, 165, 0, 0.14); }
.g690-quickcat-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--g690-amber), var(--g690-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1208;
  font-weight: 900;
  font-size: 14px;
}

/* ===================== Game grid ===================== */
.g690-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .g690-gamegrid { gap: 9px; }
}
@media (min-width: 400px) {
  .g690-gamegrid { grid-template-columns: repeat(5, 1fr); }
}
.g690-game {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
  font-family: inherit;
  transition: transform 0.16s ease;
}
.g690-game:active { transform: scale(0.94); }
.g690-game-thumb {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #1a1614;
  border: 1px solid var(--g690-line);
}
.g690-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.g690-game:active .g690-game-thumb img { transform: scale(1.06); }
.g690-game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.g690-game-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--g690-mist);
  font-weight: 600;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}
.g690-game-flag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: linear-gradient(135deg, var(--g690-amber), #ff5a00);
  color: #1a1208;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 999px;
  z-index: 2;
}

/* ===================== Cards / blocks ===================== */
.g690-card {
  background: linear-gradient(180deg, rgba(244, 164, 96, 0.06), rgba(0, 0, 0, 0.2));
  border: 1px solid var(--g690-line);
  border-radius: var(--g690-radius);
  padding: 14px;
  margin: 10px 0;
}
.g690-card h3 {
  margin: 0 0 8px;
  color: var(--g690-amber);
  font-size: 15px;
  font-weight: 800;
}
.g690-card p { margin: 0.5em 0; font-size: 13.5px; color: #d6d2cd; }

.g690-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 10px 0;
}
.g690-promo-card {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.16), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--g690-line-strong);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.16s ease;
}
.g690-promo-card:active { transform: scale(0.96); }
.g690-promo-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.g690-promo-card-desc { font-size: 11.5px; color: var(--g690-mist); margin: 0; }
.g690-promo-card-tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 10.5px;
  color: var(--g690-cyan);
  font-weight: 700;
}

.g690-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.g690-twocol h4 {
  margin: 0 0 6px;
  color: var(--g690-cyan);
  font-size: 13px;
  font-weight: 800;
}
.g690-twocol p, .g690-twocol li { font-size: 12.5px; color: #d6d2cd; }

/* ===================== SEO prose ===================== */
.g690-prose h2 {
  color: #fff;
  font-size: 17px;
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--g690-line);
}
.g690-prose h3 {
  color: var(--g690-amber);
  font-size: 14.5px;
  margin: 14px 0 6px;
}
.g690-prose p { font-size: 13.5px; color: #cfcac3; margin: 0.6em 0; }
.g690-prose a { color: var(--g690-cyan); border-bottom: 1px dashed rgba(0, 229, 255, 0.4); }

/* ===================== Directory (extended footer) ===================== */
.g690-directory {
  background: linear-gradient(180deg, rgba(244, 164, 96, 0.07), transparent);
  border-top: 1px solid var(--g690-line);
  border-bottom: 1px solid var(--g690-line);
  padding: 18px 12px;
  margin: 24px 0 14px;
}
.g690-directory h3 {
  font-size: 14px;
  color: var(--g690-amber);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.g690-directory ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.g690-directory li a {
  display: block;
  font-size: 13px;
  color: var(--g690-mist);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(244, 164, 96, 0.15);
}
.g690-directory li a::before { content: "▹ "; color: var(--g690-cyan); }
.g690-directory p {
  font-size: 12.5px;
  color: #b6b1aa;
  margin: 8px 0 0;
}

/* ===================== Footer ===================== */
.g690-footer {
  padding: 16px 12px 8px;
  border-top: 1px solid var(--g690-line);
  text-align: center;
  color: #8b8682;
  font-size: 11.5px;
}
.g690-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.g690-footer-links a {
  color: #b6b1aa;
  font-size: 11.5px;
}

/* ===================== Bottom Nav ===================== */
.g690-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--g690-max);
  height: var(--g690-bottom-h);
  background: linear-gradient(180deg, rgba(20, 17, 15, 0.98), rgba(8, 7, 6, 0.98));
  border-top: 1px solid var(--g690-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 70;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.5);
}
.g690-bottomnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: #6f6a64;
  font-size: 10px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  position: relative;
  transition: color 0.16s ease, transform 0.14s ease;
}
.g690-bottomnav-btn:active { transform: scale(0.92); }
.g690-bottomnav-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.18s ease;
}
.g690-bottomnav-btn.g690-active {
  color: var(--g690-amber);
}
.g690-bottomnav-btn.g690-active svg {
  fill: var(--g690-amber);
  transform: scale(1.12);
}
.g690-bottomnav-btn.g690-promo {
  color: var(--g690-cyan);
}
.g690-bottomnav-btn.g690-promo svg { fill: var(--g690-cyan); }
.g690-bottomnav-btn.g690-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--g690-amber);
}

/* ===================== Utility ===================== */
.g690-hide { display: none !important; }
.g690-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* desktop: keep mobile canvas, no expansion */
@media (min-width: 480px) {
  body { box-shadow: 0 0 60px rgba(0, 0, 0, 0.6); }
}
