/* ============================================================
 * 678b.homes - shared mobile shell stylesheet
 * Every custom selector uses the "v6ee-" prefix to keep the
 * namespace isolated from other skins loaded by the platform.
 * Mobile canvas: 320-430px. Wide screens keep the mobile frame
 * centered; there is no desktop-width layout by design.
 * ============================================================ */

:root {
  --v6ee-pink: #FFB6C1;
  --v6ee-orange: #FFB347;
  --v6ee-dark: #0F0F23;
  --v6ee-coral: #FF8A80;
  --v6ee-khaki: #F0E68C;
  --v6ee-dark-soft: #1a1a38;
  --v6ee-dark-card: #20204a;
  --v6ee-line: rgba(240, 230, 140, 0.22);
  --v6ee-text: #FFF7E6;
  --v6ee-text-muted: #c9c4e0;
  --v6ee-radius: 14px;
  --v6ee-radius-sm: 10px;
  --v6ee-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --v6ee-pad: 14px;
  --v6ee-header-h: 60px;
  --v6ee-nav-h: 68px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--v6ee-dark);
  color: var(--v6ee-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(255, 138, 128, 0.20), transparent 60%),
    radial-gradient(720px 420px at 100% 8%, rgba(255, 179, 71, 0.16), transparent 60%),
    linear-gradient(180deg, #0F0F23 0%, #14142b 60%, #0b0b1c 100%);
  /* Reserve space for the fixed header + bottom nav. */
  padding-top: var(--v6ee-header-h);
  padding-bottom: calc(var(--v6ee-nav-h) + 22px);
}

a {
  color: var(--v6ee-khaki);
  text-decoration: none;
}
a:hover, a:focus { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 0.2px;
}
h1 { font-size: 1.55rem; }
h2 { font-size: 1.22rem; }
h3 { font-size: 1.04rem; }

p { margin: 0 0 12px; color: var(--v6ee-text); }

/* Wide screens keep the mobile canvas centered. */
.v6ee-shell {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 var(--v6ee-pad);
}

/* ===================== Header ===================== */
.v6ee-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--v6ee-header-h);
  z-index: 60;
  background: linear-gradient(90deg, rgba(15,15,35,0.96), rgba(32,16,42,0.96));
  border-bottom: 1px solid var(--v6ee-line);
  box-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.v6ee-header-inner {
  max-width: 460px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.v6ee-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.v6ee-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0F0F23;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--v6ee-orange), var(--v6ee-pink));
  box-shadow: 0 4px 12px rgba(255, 138, 128, 0.35);
}
.v6ee-brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.v6ee-brand-name span { color: var(--v6ee-orange); }

.v6ee-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.v6ee-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 14px;
  cursor: pointer;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.v6ee-btn-login {
  background: transparent;
  color: var(--v6ee-text);
  border: 1px solid var(--v6ee-line);
}
.v6ee-btn-register {
  background: linear-gradient(135deg, var(--v6ee-orange), var(--v6ee-coral));
  color: #1a0b08;
  box-shadow: 0 4px 14px rgba(255, 138, 128, 0.45);
}
.v6ee-btn:hover { transform: translateY(-1px); }
.v6ee-btn:active { transform: scale(0.96); }

.v6ee-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(240, 230, 140, 0.08);
  border: 1px solid var(--v6ee-line);
  color: var(--v6ee-khaki);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.v6ee-icon-btn svg { width: 18px; height: 18px; }
.v6ee-icon-btn:active { transform: scale(0.94); }

/* ===================== Slide-up route panel ===================== */
.v6ee-route-panel {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 14, 0.62);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease;
}
.v6ee-route-panel.v6ee-is-open {
  opacity: 1;
  visibility: visible;
}
.v6ee-route-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #1b0f2a, #110a1e);
  border-top: 1px solid var(--v6ee-line);
  border-radius: 18px 18px 0 0;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 78vh;
  overflow-y: auto;
}
.v6ee-route-panel.v6ee-is-open .v6ee-route-sheet {
  transform: translateY(0);
}
.v6ee-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(240, 230, 140, 0.4);
  margin: 0 auto 10px;
}
.v6ee-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.v6ee-sheet-head h3 { margin: 0; color: var(--v6ee-khaki); font-size: 1.05rem; }
.v6ee-sheet-close {
  background: transparent;
  border: 0;
  color: var(--v6ee-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.v6ee-route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v6ee-route-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--v6ee-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v6ee-line);
  color: var(--v6ee-text);
  font-weight: 600;
  font-size: 0.92rem;
}
.v6ee-route-link:hover {
  background: rgba(255, 179, 71, 0.12);
  text-decoration: none;
}
.v6ee-route-link .v6ee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v6ee-coral);
  flex: none;
}
.v6ee-route-link .v6ee-dot.orange { background: var(--v6ee-orange); }
.v6ee-route-link .v6ee-dot.pink { background: var(--v6ee-pink); }
.v6ee-route-link .v6ee-dot.khaki { background: var(--v6ee-khaki); }

/* ===================== Hero carousel ===================== */
.v6ee-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--v6ee-shadow);
  margin: 14px 0 4px;
}
.v6ee-hero-track { position: relative; height: 190px; }
@media (min-width: 360px) { .v6ee-hero-track { height: 210px; } }
@media (min-width: 400px) { .v6ee-hero-track { height: 230px; } }

.v6ee-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
}
.v6ee-hero-slide.v6ee-is-active { opacity: 1; }
.v6ee-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v6ee-hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(8,8,20,0.92), transparent);
  color: #fff;
}
.v6ee-hero-caption h2 { margin: 0 0 4px; color: var(--v6ee-khaki); font-size: 1.08rem; }
.v6ee-hero-caption p { margin: 0; font-size: 0.84rem; color: var(--v6ee-text); }
.v6ee-hero-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--v6ee-orange), var(--v6ee-coral));
  color: #1a0b08;
  font-weight: 700;
  font-size: 0.82rem;
}

.v6ee-hero-prev,
.v6ee-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 15, 35, 0.66);
  border: 1px solid var(--v6ee-line);
  color: var(--v6ee-khaki);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
}
.v6ee-hero-prev { left: 8px; }
.v6ee-hero-next { right: 8px; }

.v6ee-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.v6ee-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.v6ee-hero-dot.v6ee-is-active {
  background: var(--v6ee-orange);
  width: 18px;
  border-radius: 4px;
}

/* ===================== Section + chips ===================== */
.v6ee-section {
  margin: 22px 0 6px;
}
.v6ee-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.v6ee-section-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--v6ee-orange), var(--v6ee-coral));
}
.v6ee-section-head h2 { margin: 0; color: #fff; }
.v6ee-section-head .v6ee-more {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--v6ee-khaki);
}

.v6ee-cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}
.v6ee-cat-strip::-webkit-scrollbar { display: none; }
.v6ee-cat-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240, 230, 140, 0.08);
  border: 1px solid var(--v6ee-line);
  color: var(--v6ee-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.v6ee-cat-chip:active { transform: scale(0.94); }

/* ===================== Game grid ===================== */
.v6ee-cat-block { margin: 22px 0 4px; }
.v6ee-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.v6ee-cat-badge {
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 138, 128, 0.18);
  color: var(--v6ee-coral);
  font-weight: 700;
}
.v6ee-cat-title h2 {
  margin: 0;
  font-size: 1.12rem;
  color: #fff;
}

.v6ee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 380px) { .v6ee-grid { gap: 10px; } }

.v6ee-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v6ee-line);
  border-radius: var(--v6ee-radius-sm);
  padding: 6px;
  transition: transform 0.14s ease, border-color 0.2s ease, background 0.2s ease;
}
.v6ee-game:hover {
  border-color: var(--v6ee-orange);
  background: rgba(255, 179, 71, 0.10);
  text-decoration: none;
}
.v6ee-game:active { transform: scale(0.95); }
.v6ee-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #0a0a18;
  margin-bottom: 5px;
}
.v6ee-game-name {
  font-size: 0.7rem;
  line-height: 1.18;
  color: var(--v6ee-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  padding: 0 2px;
}
@media (min-width: 380px) { .v6ee-game-name { font-size: 0.74rem; } }

/* ===================== Info / achievements grid ===================== */
.v6ee-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 0;
}
.v6ee-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v6ee-line);
  border-radius: var(--v6ee-radius-sm);
  padding: 12px;
}
.v6ee-info-card h3 {
  margin: 0 0 6px;
  color: var(--v6ee-khaki);
  font-size: 0.98rem;
}
.v6ee-info-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--v6ee-text-muted);
}
.v6ee-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.v6ee-stat {
  text-align: center;
  padding: 10px 4px;
  border-radius: var(--v6ee-radius-sm);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.10), rgba(255, 138, 128, 0.08));
  border: 1px solid var(--v6ee-line);
}
.v6ee-stat .v6ee-stat-num {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--v6ee-orange);
}
.v6ee-stat .v6ee-stat-label {
  font-size: 0.72rem;
  color: var(--v6ee-text-muted);
}

/* ===================== SEO prose blocks ===================== */
.v6ee-prose {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v6ee-line);
  border-radius: var(--v6ee-radius);
  padding: 16px;
  margin: 14px 0;
}
.v6ee-prose h2 { color: var(--v6ee-khaki); margin-top: 0; }
.v6ee-prose h3 { color: var(--v6ee-pink); margin-top: 14px; }
.v6ee-prose p, .v6ee-prose li { font-size: 0.9rem; color: var(--v6ee-text); }
.v6ee-prose ul { margin: 0 0 10px; padding-left: 18px; }
.v6ee-prose li { margin-bottom: 5px; }
.v6ee-prose a { color: var(--v6ee-orange); font-weight: 600; }

.v6ee-faq-item {
  border-top: 1px dashed var(--v6ee-line);
  padding: 10px 0;
}
.v6ee-faq-item:first-child { border-top: 0; padding-top: 0; }
.v6ee-faq-item h3 { margin: 0 0 6px; color: var(--v6ee-pink); font-size: 0.96rem; }

/* ===================== Extended footer (homepage only) ===================== */
.v6ee-ext-footer {
  margin: 26px 0 8px;
  padding: 16px;
  border-radius: var(--v6ee-radius);
  background: rgba(15, 15, 35, 0.62);
  border: 1px solid var(--v6ee-line);
}
.v6ee-ext-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.v6ee-ext-col h4 {
  margin: 0 0 8px;
  color: var(--v6ee-khaki);
  font-size: 0.92rem;
  letter-spacing: 0.4px;
}
.v6ee-ext-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v6ee-ext-col li { margin-bottom: 6px; }
.v6ee-ext-col a {
  color: var(--v6ee-text);
  font-size: 0.84rem;
}
.v6ee-ext-col a:hover { color: var(--v6ee-orange); }

.v6ee-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.v6ee-promo-btn {
  padding: 10px;
  border-radius: var(--v6ee-radius-sm);
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.20), rgba(255, 138, 128, 0.16));
  border: 1px solid var(--v6ee-line);
  color: var(--v6ee-text);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
}
.v6ee-promo-btn:active { transform: scale(0.96); }
.v6ee-promo-btn span { color: var(--v6ee-khaki); display: block; font-size: 0.7rem; font-weight: 500; margin-top: 2px; }

.v6ee-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--v6ee-radius-sm);
  background: rgba(255, 138, 128, 0.08);
  border: 1px dashed var(--v6ee-line);
  font-size: 0.78rem;
  color: var(--v6ee-text-muted);
}

/* ===================== Footer (shared) ===================== */
.v6ee-footer {
  text-align: center;
  padding: 14px 0 4px;
  margin-top: 16px;
  border-top: 1px solid var(--v6ee-line);
  color: var(--v6ee-text-muted);
  font-size: 0.78rem;
}
.v6ee-footer strong { color: var(--v6ee-khaki); }

/* ===================== Bottom navigation ===================== */
.v6ee-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  height: var(--v6ee-nav-h);
  background: linear-gradient(180deg, rgba(20, 12, 36, 0.98), rgba(10, 6, 22, 0.98));
  border-top: 1px solid var(--v6ee-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.v6ee-nav-inner {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: stretch;
}
.v6ee-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--v6ee-text-muted);
  font-size: 0.66rem;
  text-decoration: none;
  padding: 6px 2px 4px;
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.v6ee-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.16s ease;
}
.v6ee-nav-item .v6ee-nav-label { font-weight: 600; }
.v6ee-nav-item .v6ee-nav-underline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: transparent;
}
.v6ee-nav-item.v6ee-is-current {
  color: var(--v6ee-khaki);
}
.v6ee-nav-item.v6ee-is-current .v6ee-nav-underline {
  background: linear-gradient(90deg, var(--v6ee-orange), var(--v6ee-coral));
}
.v6ee-nav-item.v6ee-is-current svg { transform: translateY(-1px); }
.v6ee-nav-item:active svg { transform: scale(1.18); }
.v6ee-nav-item.v6ee-pressed svg { animation: v6ee-pop 0.28s ease; }
@keyframes v6ee-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.26); }
  100% { transform: scale(1); }
}

/* Two-tone icon helper (orange top, pink bottom via currentColor). */
.v6ee-ic-tone-a { color: var(--v6ee-orange); }
.v6ee-ic-tone-b { color: var(--v6ee-coral); }

/* ===================== Utility ===================== */
.v6ee-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;
}
.v6ee-cta-block {
  text-align: center;
  margin: 18px 0 4px;
}
.v6ee-cta-block .v6ee-btn-register {
  font-size: 0.95rem;
  padding: 12px 22px;
}
.v6ee-divider {
  height: 1px;
  background: var(--v6ee-line);
  margin: 18px 0;
  border: 0;
}
