@charset "utf-8";
/*!
 * linebet.cfd - Surface stylesheet
 * Class prefix: vf8c-   | CSS variables prefix: vf8c-
 * Canvas: 320-430px mobile-first. Wider screens keep the mobile canvas centered.
 * Comments in English only.
 */

/* ---------- Design tokens ---------- */
:root {
  --vf8c-color-primary: #880E4F;     /* deep magenta - brand */
  --vf8c-color-bg: #0C0C0C;          /* near-black canvas */
  --vf8c-color-bg-soft: #151115;     /* card surface */
  --vf8c-color-bg-soft-2: #1c1720;   /* secondary surface */
  --vf8c-color-mint: #48D1CC;        /* accent mint */
  --vf8c-color-cyan: #40E0D0;        /* accent cyan */
  --vf8c-color-text: #f5eef3;        /* primary text */
  --vf8c-color-muted: #b6a6b2;       /* muted text */
  --vf8c-color-border: #2a2230;      /* divider */
  --vf8c-radius-sm: 8px;
  --vf8c-radius-md: 14px;
  --vf8c-radius-lg: 22px;
  --vf8c-gap: 12px;
  --vf8c-header-h: 60px;
  --vf8c-bottomnav-h: 64px;
  --vf8c-max-canvas: 430px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--vf8c-color-bg);
  color: var(--vf8c-color-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  /* Keep mobile canvas on wider screens */
  max-width: var(--vf8c-max-canvas);
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(136,14,79,.35), transparent 60%),
    radial-gradient(120% 50% at 50% 110%, rgba(72,209,204,.10), transparent 60%),
    var(--vf8c-color-bg);
  /* Reserve space for fixed bottom nav */
  padding-bottom: calc(var(--vf8c-bottomnav-h) + 14px);
}

img { max-width: 100%; display: block; }
a { color: var(--vf8c-color-cyan); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--vf8c-color-mint); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 .4em; line-height: 1.3; font-weight: 700; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.18rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .8em; }

/* ---------- Header (asymmetric brand head) ---------- */
.vf8c-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--vf8c-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(20,8,16,.96), rgba(12,12,12,.92));
  border-bottom: 1px solid var(--vf8c-color-border);
  backdrop-filter: blur(6px);
}

.vf8c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.vf8c-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--vf8c-color-primary);
  background: #1a0d14;
  flex: 0 0 auto;
}
.vf8c-brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--vf8c-color-text);
}
.vf8c-brand-name span { color: var(--vf8c-color-mint); }

.vf8c-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vf8c-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.vf8c-btn:active { transform: scale(.96); }
.vf8c-btn--ghost {
  background: transparent;
  color: var(--vf8c-color-text);
  border: 1px solid var(--vf8c-color-border);
}
.vf8c-btn--ghost:hover { border-color: var(--vf8c-color-mint); }
.vf8c-btn--primary {
  background: linear-gradient(135deg, var(--vf8c-color-primary), #b3165f);
  color: #fff;
  box-shadow: 0 4px 12px rgba(136,14,79,.35);
}
.vf8c-btn--primary:hover { filter: brightness(1.08); }
.vf8c-btn--accent {
  background: linear-gradient(135deg, var(--vf8c-color-mint), var(--vf8c-color-cyan));
  color: #06201f;
}
.vf8c-btn--accent:hover { filter: brightness(1.05); }

.vf8c-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--vf8c-color-border);
  background: transparent;
  color: var(--vf8c-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vf8c-icon-btn:hover { border-color: var(--vf8c-color-mint); }

/* ---------- Full-height menu layer ---------- */
.vf8c-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(180deg, #14090f, #0c0c0c);
  border-left: 1px solid var(--vf8c-color-border);
  z-index: 90;
  transform: translateX(105%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 18px 16px calc(var(--vf8c-bottomnav-h) + 18px);
}
.vf8c-menu--open { transform: translateX(0); }
.vf8c-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.vf8c-menu-title { font-size: 1.05rem; font-weight: 800; }
.vf8c-menu-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: transparent;
  color: var(--vf8c-color-text);
  border: 1px solid var(--vf8c-color-border);
  cursor: pointer;
}
.vf8c-menu-list { list-style: none; padding: 0; margin: 0; }
.vf8c-menu-list li { margin: 4px 0; }
.vf8c-menu-list a {
  display: block;
  padding: 13px 14px;
  border-radius: var(--vf8c-radius-sm);
  color: var(--vf8c-color-text);
  font-weight: 600;
  border: 1px solid transparent;
}
.vf8c-menu-list a:hover {
  background: rgba(72,209,204,.08);
  border-color: var(--vf8c-color-border);
}
.vf8c-menu-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vf8c-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.vf8c-backdrop--show { opacity: 1; visibility: visible; }

/* ---------- Hero carousel ---------- */
.vf8c-hero {
  position: relative;
  margin: 12px;
  border-radius: var(--vf8c-radius-lg);
  overflow: hidden;
  border: 1px solid var(--vf8c-color-border);
  background: #120910;
}
.vf8c-hero-track { position: relative; height: 188px; }
.xac2f-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.xac2f-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xac2f-hero-slide--active { opacity: 1; }
.vf8c-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  color: #fff;
}
.vf8c-hero-caption strong { display: block; font-size: 1.02rem; }
.vf8c-hero-caption small { color: var(--vf8c-color-mint); font-weight: 700; }
.vf8c-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 5;
}
.xac2f-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0; padding: 0; cursor: pointer;
}
.xac2f-hero-dot--active { background: var(--vf8c-color-mint); }

/* ---------- Category chips ---------- */
.vf8c-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 10px;
  scrollbar-width: none;
}
.vf8c-cats::-webkit-scrollbar { display: none; }
.xac2f-cat-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--vf8c-color-bg-soft);
  color: var(--vf8c-color-text);
  font-weight: 600;
  font-size: .88rem;
  border: 1px solid var(--vf8c-color-border);
  cursor: pointer;
  white-space: nowrap;
}
.xac2f-cat-chip--active {
  background: linear-gradient(135deg, var(--vf8c-color-primary), #b3165f);
  color: #fff;
  border-color: transparent;
}

/* ---------- Sections ---------- */
.vf8c-section {
  padding: 4px 12px 14px;
}
.vf8c-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 10px;
}
.vf8c-section-title {
  font-size: 1.08rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vf8c-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--vf8c-color-mint), var(--vf8c-color-primary));
}
.vf8c-section-link { font-size: .82rem; color: var(--vf8c-color-cyan); font-weight: 600; }

/* ---------- Game grid ---------- */
.vf8c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
@media (min-width: 360px) {
  .vf8c-grid { gap: 10px; }
}
@media (min-width: 400px) {
  .vf8c-grid { grid-template-columns: repeat(5, 1fr); }
}
.vf8c-game {
  display: block;
  text-align: center;
  cursor: pointer;
  background: var(--vf8c-color-bg-soft);
  border: 1px solid var(--vf8c-color-border);
  border-radius: var(--vf8c-radius-sm);
  padding: 6px;
  transition: transform .15s ease, border-color .25s ease;
}
.vf8c-game:hover { transform: translateY(-2px); border-color: var(--vf8c-color-primary); }
.vf8c-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #1a0d14;
}
.vf8c-game-name {
  margin-top: 5px;
  font-size: .68rem;
  line-height: 1.2;
  color: var(--vf8c-color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ---------- Promo / info blocks ---------- */
.vf8c-callout {
  margin: 14px 12px;
  padding: 14px;
  border-radius: var(--vf8c-radius-md);
  background: linear-gradient(135deg, rgba(136,14,79,.25), rgba(72,209,204,.10));
  border: 1px solid var(--vf8c-color-border);
}
.vf8c-callout h2 { margin-top: 0; }

.vf8c-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  padding: 4px 12px 6px;
}
.vf8c-feature {
  padding: 12px;
  border-radius: var(--vf8c-radius-md);
  background: var(--vf8c-color-bg-soft);
  border: 1px solid var(--vf8c-color-border);
}
.vf8c-feature h3 { margin: 0 0 4px; color: var(--vf8c-color-mint); font-size: .96rem; }
.vf8c-feature p { margin: 0; font-size: .84rem; color: var(--vf8c-color-muted); }

/* ---------- Article / SEO text ---------- */
.vf8c-prose {
  padding: 6px 12px 18px;
  color: var(--vf8c-color-text);
}
.vf8c-prose h2 { color: var(--vf8c-color-text); margin-top: 1.1em; }
.vf8c-prose p { color: var(--vf8c-color-muted); font-size: .92rem; }
.vf8c-prose a { color: var(--vf8c-color-cyan); font-weight: 600; }
.vf8c-prose ul { padding-left: 1.1em; color: var(--vf8c-color-muted); font-size: .92rem; }

/* ---------- Extended footer (homepage only) ---------- */
.vf8c-ext-footer {
  margin: 14px 12px;
  padding: 16px;
  border-radius: var(--vf8c-radius-md);
  background: var(--vf8c-color-bg-soft-2);
  border: 1px solid var(--vf8c-color-border);
}
.vf8c-ext-footer h3 { color: var(--vf8c-color-mint); font-size: .98rem; }
.vf8c-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 12px;
}
.vf8c-dir-grid a {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--vf8c-color-bg-soft);
  border: 1px solid var(--vf8c-color-border);
  font-size: .84rem;
  color: var(--vf8c-color-text);
  font-weight: 600;
}
.vf8c-dir-grid a:hover { border-color: var(--vf8c-color-mint); }
.vf8c-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.vf8c-disclaimer {
  margin-top: 12px;
  font-size: .76rem;
  color: var(--vf8c-color-muted);
  line-height: 1.5;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed var(--vf8c-color-border);
}

/* ---------- Generic footer ---------- */
.vf8c-footer {
  padding: 18px 12px 8px;
  border-top: 1px solid var(--vf8c-color-border);
  text-align: center;
  color: var(--vf8c-color-muted);
  font-size: .8rem;
}
.vf8c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.vf8c-footer-links a { color: var(--vf8c-color-muted); font-size: .8rem; }
.vf8c-footer-links a:hover { color: var(--vf8c-color-mint); }

/* ---------- Bottom navigation (segmented action bar) ---------- */
.vf8c-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--vf8c-max-canvas);
  height: var(--vf8c-bottomnav-h);
  background: linear-gradient(180deg, #14090f, #060606);
  border-top: 1px solid var(--vf8c-color-border);
  display: flex;
  align-items: stretch;
  z-index: 70;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.xac2f-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--vf8c-color-muted);
  font-size: .64rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .25s ease, background .25s ease;
  padding: 4px 2px;
}
.xac2f-nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vf8c-color-bg-soft);
  border: 1px solid var(--vf8c-color-border);
  transition: background .25s ease, transform .15s ease;
}
.xac2f-nav-icon svg { width: 16px; height: 16px; display: block; }
.xac2f-nav-item:hover { color: var(--vf8c-color-text); }
.xac2f-nav-item:hover .xac2f-nav-icon { border-color: var(--vf8c-color-mint); }
.xac2f-nav-item--active {
  color: #fff;
}
.xac2f-nav-item--active .xac2f-nav-icon {
  /* Active cue: contrast inversion */
  background: linear-gradient(135deg, var(--vf8c-color-mint), var(--vf8c-color-cyan));
  border-color: transparent;
  color: #06201f;
}
.xac2f-nav-item--active .xac2f-nav-icon svg { color: #06201f; }
.xac2f-nav-item--active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--vf8c-color-mint), var(--vf8c-color-primary));
}
.xac2f-nav-item--promo .xac2f-nav-icon {
  background: linear-gradient(135deg, var(--vf8c-color-primary), #b3165f);
  border-color: transparent;
  color: #fff;
}
.xac2f-nav-item--promo .xac2f-nav-icon svg { color: #fff; }

/* ---------- Utility ---------- */
.vf8c-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;
}
.vf8c-back-top {
  margin: 4px 12px 0;
  display: inline-block;
  font-size: .82rem;
  color: var(--vf8c-color-muted);
  background: transparent;
  border: 1px solid var(--vf8c-color-border);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
