@charset "utf-8";
/*!
 * 1xbat.cfd theme stylesheet
 * Class prefix: g77f-
 * Palette: #20B2AA | #FFFACD | #DEB887 | #1C2833 | #FFEF94
 * Canvas: 320-430px mobile; wider screens keep the mobile canvas centred.
 */

:root {
  --g77f-teal: #20b2aa;
  --g77f-cream: #fffacd;
  --g77f-sand: #deb887;
  --g77f-ink: #1c2833;
  --g77f-yellow: #ffef94;
  --g77f-ink-2: #232f3e;
  --g77f-ink-3: #2c3a4d;
  --g77f-line: rgba(255, 250, 205, 0.14);
  --g77f-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  --g77f-radius: 14px;
  --g77f-radius-sm: 10px;
  --g77f-header-h: 96px;
  --g77f-bottom-h: 68px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #141d28;
  color: var(--g77f-cream);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body.g77f-no-scroll {
  overflow: hidden;
}

a {
  color: var(--g77f-yellow);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---- Centred mobile canvas on wide screens ---- */
.g77f-shell {
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1c2833 0%, #1b2531 40%, #18222d 100%);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* ============================================================
   HEADER — brand + action two-row layout
   ============================================================ */
.g77f-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(135deg, #1c2833 0%, #223042 60%, #20b2aa 200%);
  border-bottom: 1px solid var(--g77f-line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.g77f-header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
}

.g77f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.g77f-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #20b2aa, #ffef94);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2833;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(32, 178, 170, 0.4);
  flex-shrink: 0;
}

.g77f-brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.g77f-brand-name strong {
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--g77f-yellow);
  line-height: 1.1;
}

.g77f-brand-name span {
  font-size: 11px;
  color: var(--g77f-sand);
  letter-spacing: 0.3px;
}

.g77f-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g77f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.g77f-btn:active { transform: translateY(1px); }

.g77f-btn-login {
  color: var(--g77f-cream);
  border: 1px solid rgba(255, 250, 205, 0.4);
  background: rgba(255, 250, 205, 0.06);
}

.g77f-btn-register {
  color: #1c2833;
  background: linear-gradient(135deg, var(--g77f-yellow) 0%, var(--g77f-sand) 100%);
  box-shadow: 0 6px 14px rgba(222, 184, 135, 0.35);
}

.g77f-header-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
  gap: 8px;
}

.g77f-tagline {
  font-size: 11px;
  color: var(--g77f-cream);
  opacity: 0.78;
  letter-spacing: 0.3px;
}

.g77f-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(32, 178, 170, 0.18);
  color: var(--g77f-cream);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(32, 178, 170, 0.35);
}

.g77f-menu-btn:hover { background: rgba(32, 178, 170, 0.28); }

.g77f-menu-icon { display: inline-flex; }

/* ============================================================
   Stacked overlay menu
   ============================================================ */
.g77f-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 22, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.g77f-menu-backdrop.g77f-backdrop-show {
  opacity: 1;
  pointer-events: auto;
}

.g77f-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(180deg, #1c2833, #223042);
  border-left: 1px solid var(--g77f-line);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

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

.g77f-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--g77f-line);
}

.g77f-menu-head strong { color: var(--g77f-yellow); font-size: 16px; }

.g77f-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 250, 205, 0.08);
  color: var(--g77f-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.g77f-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px 8px 24px;
  overflow-y: auto;
  flex: 1;
}

.g77f-menu-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  color: var(--g77f-cream);
  font-size: 15px;
  border-radius: var(--g77f-radius-sm);
  border-bottom: 1px solid var(--g77f-line);
}

.g77f-menu-list li a:hover {
  background: rgba(32, 178, 170, 0.12);
  text-decoration: none;
}

.g77f-menu-list li a span.g77f-menu-idx {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(32, 178, 170, 0.25);
  color: var(--g77f-yellow);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   Main content
   ============================================================ */
.g77f-main {
  padding: 14px 12px 0;
}

.g77f-h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 6px 0 10px;
  color: var(--g77f-yellow);
  letter-spacing: 0.4px;
}

.g77f-h2 {
  font-size: 18px;
  margin: 18px 0 8px;
  color: var(--g77f-cream);
  position: relative;
  padding-left: 12px;
}

.g77f-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--g77f-teal), var(--g77f-yellow));
}

.g77f-h3 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: var(--g77f-sand);
}

.g77f-lead {
  font-size: 14px;
  color: rgba(255, 250, 205, 0.85);
  margin: 0 0 10px;
}

.g77f-section {
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--g77f-radius);
  background: rgba(255, 250, 205, 0.04);
  border: 1px solid var(--g77f-line);
}

/* ============================================================
   Carousel
   ============================================================ */
.g77f-carousel {
  position: relative;
  border-radius: var(--g77f-radius);
  overflow: hidden;
  box-shadow: var(--g77f-shadow);
  background: #0f1620;
}

.g77f-carousel-track {
  position: relative;
  height: 180px;
}

.g77f-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
  cursor: pointer;
}

.g77f-carousel-slide.g77f-slide-active { opacity: 1; }

.g77f-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g77f-carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0) 0%, rgba(28, 40, 51, 0.92) 100%);
  color: var(--g77f-yellow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.g77f-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(28, 40, 51, 0.65);
  color: var(--g77f-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.g77f-carousel-arrow:hover { background: rgba(32, 178, 170, 0.7); }
.g77f-carousel-prev { left: 8px; }
.g77f-carousel-next { right: 8px; }

.g77f-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.g77f-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 205, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.g77f-carousel-dot.g77f-dot-active {
  background: var(--g77f-yellow);
  transform: scale(1.2);
}

/* ============================================================
   Game grid
   ============================================================ */
.g77f-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 8px;
  padding: 0 2px;
}

.g77f-cat-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--g77f-yellow);
  letter-spacing: 0.3px;
  position: relative;
  padding-left: 12px;
}

.g77f-cat-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--g77f-teal), var(--g77f-yellow));
}

.g77f-cat-tag {
  font-size: 11px;
  color: var(--g77f-sand);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(222, 184, 135, 0.12);
  border: 1px solid rgba(222, 184, 135, 0.3);
}

.g77f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

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

.g77f-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 250, 205, 0.05);
  border: 1px solid var(--g77f-line);
  border-radius: var(--g77f-radius-sm);
  padding: 6px 4px 8px;
  transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.g77f-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 178, 170, 0.55);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.g77f-card:active { transform: translateY(0); }

.g77f-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #0f1620;
}

.g77f-card-name {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--g77f-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ============================================================
   Supplementary modules
   ============================================================ */
.g77f-tricks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 380px) {
  .g77f-tricks { grid-template-columns: 1fr 1fr; }
}

.g77f-trick {
  padding: 12px;
  border-radius: var(--g77f-radius-sm);
  background: rgba(32, 178, 170, 0.08);
  border: 1px solid rgba(32, 178, 170, 0.22);
}

.g77f-trick strong { color: var(--g77f-yellow); display: block; margin-bottom: 4px; font-size: 14px; }
.g77f-trick p { margin: 0; font-size: 12.5px; color: rgba(255, 250, 205, 0.85); }

.g77f-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.g77f-summary-item {
  padding: 10px;
  border-radius: var(--g77f-radius-sm);
  background: rgba(255, 239, 148, 0.06);
  border: 1px solid rgba(255, 239, 148, 0.18);
  text-align: center;
}

.g77f-summary-item strong {
  display: block;
  color: var(--g77f-yellow);
  font-size: 18px;
}

.g77f-summary-item span {
  font-size: 11px;
  color: rgba(255, 250, 205, 0.78);
}

.g77f-testi {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g77f-testi-item {
  padding: 10px 12px;
  border-radius: var(--g77f-radius-sm);
  background: rgba(255, 250, 205, 0.04);
  border-left: 3px solid var(--g77f-teal);
}

.g77f-testi-item p { margin: 0 0 4px; font-size: 13px; }
.g77f-testi-item cite { font-style: normal; color: var(--g77f-sand); font-size: 11px; }

.g77f-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--g77f-radius);
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.18), rgba(255, 239, 148, 0.12));
  border: 1px solid rgba(32, 178, 170, 0.35);
}

.g77f-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--g77f-yellow), var(--g77f-sand));
  color: #1c2833;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.g77f-app-body { flex: 1; min-width: 0; }
.g77f-app-body strong { color: var(--g77f-yellow); display: block; font-size: 15px; }
.g77f-app-body span { font-size: 12px; color: rgba(255, 250, 205, 0.8); }

.g77f-app-btn {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--g77f-yellow), var(--g77f-sand));
  color: #1c2833;
  font-weight: 700;
  font-size: 13px;
}

/* ============================================================
   Extended site footer
   ============================================================ */
.g77f-ext-footer {
  margin: 22px 0 0;
  padding: 16px 14px 18px;
  background: rgba(255, 250, 205, 0.04);
  border-top: 1px solid var(--g77f-line);
  border-bottom: 1px solid var(--g77f-line);
}

.g77f-brand-block {
  margin-bottom: 14px;
}

.g77f-brand-block p {
  font-size: 12.5px;
  color: rgba(255, 250, 205, 0.82);
  margin: 6px 0 0;
}

.g77f-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 10px 0 14px;
}

.g77f-dir-grid a {
  font-size: 12.5px;
  color: var(--g77f-cream);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 250, 205, 0.12);
}

.g77f-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.g77f-promo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--g77f-radius-sm);
  background: rgba(32, 178, 170, 0.12);
  border: 1px solid rgba(32, 178, 170, 0.3);
  font-size: 12.5px;
  color: var(--g77f-yellow);
  font-weight: 600;
}

.g77f-promo-link:hover { text-decoration: none; background: rgba(32, 178, 170, 0.22); }

.g77f-promo-link span.g77f-promo-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g77f-yellow);
  color: #1c2833;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g77f-disclaimer {
  font-size: 11px;
  color: rgba(255, 250, 205, 0.62);
  border-top: 1px dashed rgba(255, 250, 205, 0.16);
  padding-top: 10px;
}

/* ============================================================
   Footer (common)
   ============================================================ */
.g77f-footer {
  padding: 14px 14px calc(var(--g77f-bottom-h) + 18px);
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 250, 205, 0.6);
  background: #141d28;
}

.g77f-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.g77f-footer-nav a {
  color: rgba(255, 250, 205, 0.75);
  font-size: 11.5px;
}

/* ============================================================
   Bottom navigation (floating dock bar)
   ============================================================ */
.g77f-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.g77f-bottom-inner {
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: linear-gradient(180deg, rgba(34, 48, 66, 0.96), rgba(20, 29, 40, 0.98));
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(32, 178, 170, 0.35);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.45);
  padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px);
  pointer-events: auto;
}

.g77f-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  color: rgba(255, 250, 205, 0.72);
  font-size: 10px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.14s ease, color 0.18s ease, background 0.18s ease;
  min-height: 48px;
}

.g77f-bottom-btn:hover {
  color: var(--g77f-yellow);
  text-decoration: none;
}

.g77f-bottom-btn-active {
  color: #1c2833;
  background: linear-gradient(135deg, var(--g77f-yellow), var(--g77f-sand));
  font-weight: 700;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(222, 184, 135, 0.35);
}

.g77f-bottom-btn:active { transform: translateY(-1px); }

.g77f-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.g77f-bottom-label {
  letter-spacing: 0.2px;
  line-height: 1.1;
}

/* ============================================================
   Utility
   ============================================================ */
.g77f-container { padding: 0 12px; }

.g77f-hide { display: none !important; }

.g77f-text {
  font-size: 13px;
  color: rgba(255, 250, 205, 0.84);
  margin: 6px 0;
}

.g77f-text a { color: var(--g77f-yellow); }

.g77f-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.g77f-list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  color: rgba(255, 250, 205, 0.85);
}

.g77f-list li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--g77f-teal);
}

.g77f-callout {
  padding: 10px 12px;
  border-radius: var(--g77f-radius-sm);
  background: rgba(255, 239, 148, 0.08);
  border: 1px solid rgba(255, 239, 148, 0.22);
  font-size: 12.5px;
  color: var(--g77f-yellow);
  margin: 10px 0;
}
