/* ==================================================================
   bxbjili.homes - mobile-first gaming stylesheet
   All custom classes/variables carry the c6c8e0- prefix.
   Palette: #228B22 (brand green) | #1A1A2E (deep bg) | #5F9EA0 (cadet)
            #FF5722 (CTA orange) | #0000FF (electric blue)
   Canvas: 320-430px. Wider screens keep a centered phone frame.
   ================================================================== */

:root {
  /* Brand & surface palette */
  --c6c8e0-brand: #228b22;
  --c6c8e0-brand-deep: #176417;
  --c6c8e0-brand-light: #2fa82f;
  --c6c8e0-bg-deep: #1a1a2e;
  --c6c8e0-bg-panel: #232342;
  --c6c8e0-bg-elevated: #2c2c50;
  --c6c8e0-bg-card: #20203b;
  --c6c8e0-bg-card-2: #262645;
  --c6c8e0-cadet: #5f9ea0;
  --c6c8e0-cadet-soft: #7bb6b8;
  --c6c8e0-cta: #ff5722;
  --c6c8e0-cta-deep: #d83f12;
  --c6c8e0-cta-soft: #ff7a4d;
  --c6c8e0-blue: #0000ff;
  --c6c8e0-blue-soft: #4d6bff;
  --c6c8e0-gold: #f5c542;
  --c6c8e0-text: #f4f6fb;
  --c6c8e0-text-soft: #d6dae8;
  --c6c8e0-text-dim: #a6acc0;
  --c6c8e0-text-muted: #777d96;
  --c6c8e0-line: rgba(255, 255, 255, 0.08);
  --c6c8e0-line-strong: rgba(255, 255, 255, 0.16);
  --c6c8e0-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --c6c8e0-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
  --c6c8e0-glow-cta: 0 0 0 1px rgba(255, 87, 34, 0.45), 0 8px 22px rgba(255, 87, 34, 0.35);
  --c6c8e0-glow-brand: 0 0 0 1px rgba(34, 139, 34, 0.45), 0 8px 22px rgba(34, 139, 34, 0.35);

  /* Geometry */
  --c6c8e0-canvas-max: 480px;
  --c6c8e0-radius-xs: 8px;
  --c6c8e0-radius-sm: 12px;
  --c6c8e0-radius-md: 16px;
  --c6c8e0-radius-lg: 22px;
  --c6c8e0-radius-pill: 999px;
  --c6c8e0-gap: 12px;
  --c6c8e0-gap-sm: 8px;
  --c6c8e0-gap-lg: 18px;
  --c6c8e0-header-h: 60px;
  --c6c8e0-bottomnav-h: 72px;

  /* Type */
  --c6c8e0-font: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, "PingFang SC", Arial, sans-serif;
}

/* ----------------------- Reset ----------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--c6c8e0-font);
  background: #0f0f1f;
  color: var(--c6c8e0-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--c6c8e0-cadet-soft); text-decoration: none; }
a:hover { color: var(--c6c8e0-text); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding-left: 1.1rem; }
:focus-visible { outline: 2px solid var(--c6c8e0-cta-soft); outline-offset: 2px; border-radius: 6px; }

/* ----------------------- Mobile canvas frame ----------------------- */
.c6c8e0-shell {
  position: relative;
  width: 100%;
  max-width: var(--c6c8e0-canvas-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(1100px 460px at 50% -8%, rgba(34, 139, 34, 0.22), transparent 60%),
    radial-gradient(900px 380px at 100% 12%, rgba(95, 158, 160, 0.16), transparent 55%),
    linear-gradient(180deg, #16162b 0%, #1a1a2e 38%, #14142a 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.c6c8e0-main {
  padding-top: var(--c6c8e0-header-h);
  padding-bottom: calc(var(--c6c8e0-bottomnav-h) + 28px);
}

/* ----------------------- Header (edge-aligned functional) ----------------------- */
.c6c8e0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--c6c8e0-canvas-max);
  height: var(--c6c8e0-header-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(20, 20, 40, 0.96), rgba(20, 20, 40, 0.88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c6c8e0-line);
}

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

.c6c8e0-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--c6c8e0-brand), var(--c6c8e0-brand-deep));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

.c6c8e0-brand-text { min-width: 0; }

.c6c8e0-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--c6c8e0-text);
  line-height: 1.1;
  white-space: nowrap;
}

.c6c8e0-brand-name span { color: var(--c6c8e0-brand-light); }

.c6c8e0-brand-tag {
  font-size: 10px;
  color: var(--c6c8e0-cadet-soft);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 2px;
}

.c6c8e0-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Header action buttons */
.c6c8e0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--c6c8e0-radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  text-decoration: none;
  min-width: 44px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.c6c8e0-btn:active { transform: translateY(1px) scale(0.98); }

.c6c8e0-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c6c8e0-line-strong);
  color: var(--c6c8e0-text-soft);
}
.c6c8e0-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--c6c8e0-text); }

.c6c8e0-btn-cta {
  background: linear-gradient(135deg, var(--c6c8e0-cta), var(--c6c8e0-cta-deep));
  box-shadow: var(--c6c8e0-glow-cta);
}
.c6c8e0-btn-cta:hover { filter: brightness(1.06); color: #fff; }

.c6c8e0-btn-brand {
  background: linear-gradient(135deg, var(--c6c8e0-brand-light), var(--c6c8e0-brand-deep));
  box-shadow: var(--c6c8e0-glow-brand);
  color: #fff;
}
.c6c8e0-btn-brand:hover { filter: brightness(1.08); color: #fff; }

.c6c8e0-btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.c6c8e0-btn-block { width: 100%; height: 46px; font-size: 15px; }

/* Menu trigger */
.c6c8e0-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c6c8e0-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c6c8e0-text-soft);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}
.c6c8e0-icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: var(--c6c8e0-text); }
.c6c8e0-icon-btn svg { width: 22px; height: 22px; }

/* ----------------------- Side drawer menu ----------------------- */
.c6c8e0-drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 16, 0.62);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  z-index: 90;
}

.c6c8e0-drawer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(calc(-50% - var(--c6c8e0-canvas-max)));
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #1c1c38 0%, #15152c 100%);
  z-index: 95;
  padding: 18px 0 28px;
  overflow-y: auto;
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.3, 1);
  box-shadow: var(--c6c8e0-shadow);
  display: flex;
  flex-direction: column;
}

body.c6c8e0-drawer-open .c6c8e0-drawer-mask {
  opacity: 1;
  visibility: visible;
}
body.c6c8e0-drawer-open .c6c8e0-drawer {
  transform: translateX(calc(-50% + 0px));
}

.c6c8e0-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 18px 16px;
  border-bottom: 1px solid var(--c6c8e0-line);
}
.c6c8e0-drawer-head .c6c8e0-brand-logo { width: 34px; height: 34px; border-radius: 10px; }
.c6c8e0-drawer-head .c6c8e0-brand-name { font-size: 16px; }
.c6c8e0-drawer-close {
  margin-left: auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c6c8e0-line-strong);
  color: var(--c6c8e0-text-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.c6c8e0-drawer-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--c6c8e0-text); }
.c6c8e0-drawer-close svg { width: 18px; height: 18px; }

.c6c8e0-drawer-cta {
  padding: 14px 18px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c6c8e0-drawer-section {
  padding: 10px 18px 4px;
}
.c6c8e0-drawer-section-title {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c6c8e0-cadet);
  margin-bottom: 6px;
  font-weight: 700;
}

.c6c8e0-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--c6c8e0-text-soft);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.c6c8e0-drawer-link:hover {
  background: rgba(34, 139, 34, 0.14);
  border-color: var(--c6c8e0-line-strong);
  color: var(--c6c8e0-text);
}
.c6c8e0-drawer-link svg {
  width: 20px; height: 20px;
  color: var(--c6c8e0-brand-light);
  flex: 0 0 auto;
}
.c6c8e0-drawer-link[data-c6c8e0-promo] svg { color: var(--c6c8e0-cta-soft); }

.c6c8e0-drawer-foot {
  margin-top: auto;
  padding: 14px 18px 4px;
  font-size: 11px;
  color: var(--c6c8e0-text-muted);
  border-top: 1px solid var(--c6c8e0-line);
}

/* ----------------------- Section scaffolding ----------------------- */
.c6c8e0-section {
  padding: 18px 14px 4px;
}

.c6c8e0-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.c6c8e0-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c6c8e0-cadet);
  font-weight: 700;
  margin-bottom: 4px;
}

.c6c8e0-h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.25;
  color: var(--c6c8e0-text);
}
.c6c8e0-h2 .c6c8e0-accent { color: var(--c6c8e0-brand-light); }
.c6c8e0-h2 .c6c8e0-accent-cta { color: var(--c6c8e0-cta-soft); }

.c6c8e0-h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c6c8e0-text);
  margin-bottom: 6px;
}

.c6c8e0-lead {
  font-size: 14px;
  color: var(--c6c8e0-text-dim);
  line-height: 1.6;
}
.c6c8e0-section-more {
  font-size: 12px;
  color: var(--c6c8e0-cadet-soft);
  font-weight: 600;
  white-space: nowrap;
}
.c6c8e0-section-more:hover { color: var(--c6c8e0-text); }

/* ----------------------- Hero carousel ----------------------- */
.c6c8e0-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: var(--c6c8e0-radius-lg);
  overflow: hidden;
  box-shadow: var(--c6c8e0-shadow);
  background: #0e0e1e;
}

.c6c8e0-hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.c6c8e0-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--c6c8e0-carousel-transition, 0.38s) ease,
              transform 0.6s ease;
  cursor: pointer;
}
.c6c8e0-hero-slide.c6c8e0-hero-slide-active {
  opacity: 1;
  transform: scale(1);
}
.c6c8e0-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c6c8e0-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 22, 0.05) 30%, rgba(8, 8, 18, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 16px;
  color: #fff;
}
.c6c8e0-hero-tag {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--c6c8e0-radius-pill);
  background: rgba(34, 139, 34, 0.85);
  margin-bottom: 8px;
}
.c6c8e0-hero-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}
.c6c8e0-hero-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 10px;
  max-width: 90%;
}
.c6c8e0-hero-cta {
  align-self: flex-start;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--c6c8e0-radius-pill);
  border: 0;
  background: linear-gradient(135deg, var(--c6c8e0-cta), var(--c6c8e0-cta-deep));
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--c6c8e0-glow-cta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.c6c8e0-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.c6c8e0-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  padding: 0;
  transition: width 0.26s ease, background 0.26s ease;
}
.c6c8e0-hero-dot.c6c8e0-hero-dot-active {
  width: 22px;
  border-radius: 4px;
  background: var(--c6c8e0-brand-light);
}

.c6c8e0-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.c6c8e0-hero-arrow:hover { background: rgba(10, 10, 22, 0.8); }
.c6c8e0-hero-arrow svg { width: 18px; height: 18px; }
.c6c8e0-hero-arrow-prev { left: 8px; }
.c6c8e0-hero-arrow-next { right: 8px; }

/* ----------------------- Quick category chips ----------------------- */
.c6c8e0-cat-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.c6c8e0-cat-bar::-webkit-scrollbar { display: none; }
.c6c8e0-cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--c6c8e0-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c6c8e0-line-strong);
  color: var(--c6c8e0-text-dim);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.c6c8e0-cat-chip:hover { color: var(--c6c8e0-text); border-color: var(--c6c8e0-brand-light); }
.c6c8e0-cat-chip-active,
.c6c8e0-cat-chip:focus {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.32), rgba(34, 139, 34, 0.16));
  color: var(--c6c8e0-text);
  border-color: var(--c6c8e0-brand-light);
}
.c6c8e0-cat-chip svg { width: 15px; height: 15px; color: var(--c6c8e0-brand-light); }

/* ----------------------- Game grid ----------------------- */
.c6c8e0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.c6c8e0-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  border-radius: var(--c6c8e0-radius-sm);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s ease;
}
.c6c8e0-game:active { transform: scale(0.97); }

.c6c8e0-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--c6c8e0-radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a4a, #1b1b34);
  border: 1px solid var(--c6c8e0-line);
}
.c6c8e0-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.c6c8e0-game:hover .c6c8e0-game-thumb img { transform: scale(1.06); }
.c6c8e0-game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.6;
  pointer-events: none;
}
.c6c8e0-game-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: var(--c6c8e0-radius-pill);
  background: linear-gradient(135deg, var(--c6c8e0-cta), var(--c6c8e0-cta-deep));
  color: #fff;
  text-transform: uppercase;
}
.c6c8e0-game-badge-brand { background: linear-gradient(135deg, var(--c6c8e0-brand-light), var(--c6c8e0-brand-deep)); }
.c6c8e0-game-badge-gold { background: linear-gradient(135deg, var(--c6c8e0-gold), #c08a1c); color: #1a1a2e; }
.c6c8e0-game-name {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c6c8e0-text-soft);
  text-align: center;
  line-height: 1.25;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------- Content modules ----------------------- */
.c6c8e0-module {
  background: linear-gradient(180deg, var(--c6c8e0-bg-card), var(--c6c8e0-bg-card-2));
  border: 1px solid var(--c6c8e0-line);
  border-radius: var(--c6c8e0-radius-md);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--c6c8e0-shadow-soft);
}
.c6c8e0-module + .c6c8e0-module { margin-top: 0; }

.c6c8e0-module-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.c6c8e0-module-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.35), rgba(34, 139, 34, 0.12));
  color: var(--c6c8e0-brand-light);
  flex: 0 0 auto;
}
.c6c8e0-module-ico svg { width: 20px; height: 20px; }
.c6c8e0-module-ico.is-cta { background: linear-gradient(135deg, rgba(255, 87, 34, 0.32), rgba(255, 87, 34, 0.12)); color: var(--c6c8e0-cta-soft); }
.c6c8e0-module-ico.is-cadet { background: linear-gradient(135deg, rgba(95, 158, 160, 0.32), rgba(95, 158, 160, 0.12)); color: var(--c6c8e0-cadet-soft); }
.c6c8e0-module-ico.is-gold { background: linear-gradient(135deg, rgba(245, 197, 66, 0.28), rgba(245, 197, 66, 0.10)); color: var(--c6c8e0-gold); }
.c6c8e0-module-ico.is-blue { background: linear-gradient(135deg, rgba(77, 107, 255, 0.32), rgba(77, 107, 255, 0.12)); color: var(--c6c8e0-blue-soft); }

.c6c8e0-module p {
  color: var(--c6c8e0-text-dim);
  font-size: 13.5px;
  line-height: 1.62;
  margin-bottom: 8px;
}
.c6c8e0-module p:last-child { margin-bottom: 0; }
.c6c8e0-module strong { color: var(--c6c8e0-text); font-weight: 700; }

/* Bullet list inside modules */
.c6c8e0-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}
.c6c8e0-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--c6c8e0-text-soft);
  line-height: 1.55;
}
.c6c8e0-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c6c8e0-brand-light), var(--c6c8e0-cadet));
}

/* Two-column compact module grid */
.c6c8e0-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.c6c8e0-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c6c8e0-line);
  border-radius: var(--c6c8e0-radius-sm);
  padding: 12px;
}
.c6c8e0-mini-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c6c8e0-text);
  margin-bottom: 4px;
}
.c6c8e0-mini-text {
  font-size: 12px;
  color: var(--c6c8e0-text-dim);
  line-height: 1.5;
}

/* Stat tiles */
.c6c8e0-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.c6c8e0-stat {
  background: linear-gradient(180deg, rgba(34, 139, 34, 0.12), rgba(34, 139, 34, 0.04));
  border: 1px solid var(--c6c8e0-line);
  border-radius: var(--c6c8e0-radius-sm);
  padding: 10px 6px;
  text-align: center;
}
.c6c8e0-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--c6c8e0-brand-light);
  line-height: 1.1;
}
.c6c8e0-stat-label {
  font-size: 10.5px;
  color: var(--c6c8e0-text-dim);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Inline promo link within copy */
.c6c8e0-text-link {
  color: var(--c6c8e0-cta-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.c6c8e0-text-link:hover { color: var(--c6c8e0-cta); }

/* Achievements progress */
.c6c8e0-progress {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.c6c8e0-progress-row {
  display: grid;
  gap: 4px;
}
.c6c8e0-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--c6c8e0-text-soft);
}
.c6c8e0-progress-top strong { color: var(--c6c8e0-text); }
.c6c8e0-progress-track {
  height: 8px;
  border-radius: var(--c6c8e0-radius-pill);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.c6c8e0-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c6c8e0-brand-light), var(--c6c8e0-cadet));
}

/* RTP analysis layout */
.c6c8e0-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.c6c8e0-rtp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c6c8e0-line);
  border-radius: var(--c6c8e0-radius-sm);
  padding: 10px;
  text-align: center;
}
.c6c8e0-rtp-card .c6c8e0-rtp-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--c6c8e0-gold);
  line-height: 1.1;
}
.c6c8e0-rtp-card .c6c8e0-rtp-label {
  font-size: 11px;
  color: var(--c6c8e0-text-dim);
  margin-top: 2px;
}

/* Play style comparison rows */
.c6c8e0-style-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--c6c8e0-line);
}
.c6c8e0-style-row:first-of-type { border-top: 0; padding-top: 4px; }
.c6c8e0-style-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 9px;
  border-radius: var(--c6c8e0-radius-pill);
  background: linear-gradient(135deg, rgba(95, 158, 160, 0.28), rgba(95, 158, 160, 0.10));
  color: var(--c6c8e0-cadet-soft);
}
.c6c8e0-style-text {
  font-size: 12.5px;
  color: var(--c6c8e0-text-soft);
  line-height: 1.55;
}
.c6c8e0-style-text strong { color: var(--c6c8e0-text); }

/* Trust meter */
.c6c8e0-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}
.c6c8e0-trust-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c6c8e0-line);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
}
.c6c8e0-trust-item svg { width: 18px; height: 18px; color: var(--c6c8e0-brand-light); margin: 0 auto 3px; }
.c6c8e0-trust-item span { display: block; font-size: 10px; color: var(--c6c8e0-text-dim); letter-spacing: 0.2px; }

/* Featured / promo strip */
.c6c8e0-strip {
  margin: 14px 12px 4px;
  border-radius: var(--c6c8e0-radius-md);
  padding: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(34, 139, 34, 0.35), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(255, 87, 34, 0.28), transparent 55%),
    linear-gradient(135deg, #20203b, #262645);
  border: 1px solid var(--c6c8e0-line-strong);
  box-shadow: var(--c6c8e0-shadow-soft);
}
.c6c8e0-strip-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--c6c8e0-text);
  margin-bottom: 4px;
}
.c6c8e0-strip-title .c6c8e0-accent { color: var(--c6c8e0-brand-light); }
.c6c8e0-strip-text {
  font-size: 12.5px;
  color: var(--c6c8e0-text-dim);
  margin-bottom: 12px;
}
.c6c8e0-strip-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ----------------------- Extended footer ----------------------- */
.c6c8e0-extfooter {
  margin: 18px 12px 6px;
  padding: 16px 14px;
  border-radius: var(--c6c8e0-radius-md);
  background: linear-gradient(180deg, #1c1c38, #15152c);
  border: 1px solid var(--c6c8e0-line);
}
.c6c8e0-extfooter-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.c6c8e0-extfooter-brand .c6c8e0-brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.c6c8e0-extfooter-brand-text { font-size: 12.5px; color: var(--c6c8e0-text-dim); line-height: 1.5; }

.c6c8e0-extfooter-label {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c6c8e0-cadet);
  font-weight: 700;
  margin: 12px 0 6px;
}
.c6c8e0-extfooter-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.c6c8e0-extfooter-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--c6c8e0-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c6c8e0-line);
  color: var(--c6c8e0-text-soft);
  font-size: 12.5px;
  font-weight: 600;
}
.c6c8e0-extfooter-promo:hover { border-color: var(--c6c8e0-cta); color: var(--c6c8e0-text); }
.c6c8e0-extfooter-promo svg { width: 16px; height: 16px; color: var(--c6c8e0-cta-soft); flex: 0 0 auto; }

.c6c8e0-extfooter-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 4px;
}
.c6c8e0-extfooter-dir a {
  font-size: 12px;
  color: var(--c6c8e0-text-dim);
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.c6c8e0-extfooter-dir a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c6c8e0-brand-light);
  flex: 0 0 auto;
}
.c6c8e0-extfooter-dir a:hover { color: var(--c6c8e0-text); }

.c6c8e0-extfooter-disclaimer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--c6c8e0-line);
  font-size: 11px;
  color: var(--c6c8e0-text-muted);
  line-height: 1.55;
}

/* ----------------------- Bottom legal / copyright (above floating nav) ----------------------- */
.c6c8e0-legal {
  padding: 6px 16px 4px;
  text-align: center;
  font-size: 11px;
  color: var(--c6c8e0-text-muted);
}
.c6c8e0-legal a { color: var(--c6c8e0-cadet-soft); }

/* ----------------------- Floating bottom navigation ----------------------- */
.c6c8e0-bottomnav-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: calc(100% - 20px);
  max-width: calc(var(--c6c8e0-canvas-max) - 20px);
  z-index: 70;
}

.c6c8e0-bottomnav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  background: linear-gradient(180deg, rgba(30, 30, 56, 0.96), rgba(20, 20, 40, 0.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c6c8e0-line-strong);
  border-radius: var(--c6c8e0-radius-lg);
  box-shadow: var(--c6c8e0-shadow);
  padding: 8px 6px 10px;
  overflow: hidden;
}

.c6c8e0-bottomnav-indicator {
  position: absolute;
  bottom: 4px;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c6c8e0-brand-light), var(--c6c8e0-cadet));
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.3, 1),
              width 0.32s cubic-bezier(0.22, 0.9, 0.3, 1),
              opacity 0.26s ease;
  pointer-events: none;
  left: 0;
}

.c6c8e0-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 6px 2px 4px;
  color: var(--c6c8e0-text-muted);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, transform 0.18s ease;
}
.c6c8e0-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.22s ease;
}
.c6c8e0-nav-item:hover { color: var(--c6c8e0-text-soft); }
.c6c8e0-nav-item:hover svg { transform: translateY(-1px); }
.c6c8e0-nav-item.c6c8e0-nav-active { color: var(--c6c8e0-text); }
.c6c8e0-nav-item.c6c8e0-nav-active svg { color: var(--c6c8e0-brand-light); transform: translateY(-1px); }

/* Promo nav items get the CTA accent so the two promo roles read distinctly */
.c6c8e0-nav-item-promo svg { color: var(--c6c8e0-cta-soft); }
.c6c8e0-nav-item-promo.c6c8e0-nav-active svg { color: var(--c6c8e0-cta); }

/* Center floating action style for the primary promo role */
.c6c8e0-nav-item-hero {
  position: relative;
}
.c6c8e0-nav-item-hero .c6c8e0-nav-ico-bg {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c6c8e0-cta), var(--c6c8e0-cta-deep));
  box-shadow: var(--c6c8e0-glow-cta);
  margin-bottom: 1px;
}
.c6c8e0-nav-item-hero .c6c8e0-nav-ico-bg svg { width: 20px; height: 20px; color: #fff; }

/* ----------------------- Utility ----------------------- */
.c6c8e0-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;
}
.c6c8e0-divider {
  height: 1px;
  background: var(--c6c8e0-line);
  margin: 14px 0;
  border: 0;
}

/* ----------------------- Responsive (375-430px stays 4-5 cols) ----------------------- */
@media (min-width: 360px) {
  .c6c8e0-hero-title { font-size: 20px; }
  .c6c8e0-h2 { font-size: 21px; }
}

@media (min-width: 414px) {
  .c6c8e0-section { padding: 20px 16px 4px; }
  .c6c8e0-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .c6c8e0-hero { margin: 14px 16px 4px; }
  .c6c8e0-cat-bar { padding: 12px 16px 2px; }
  .c6c8e0-strip { margin: 16px 16px 4px; }
  .c6c8e0-extfooter { margin: 20px 16px 6px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .c6c8e0-hero-slide { transition: opacity 0.2s linear !important; transform: none !important; }
  .c6c8e0-bottomnav-indicator { transition: opacity 0.2s linear !important; }
}

/* Print: hide interactive chrome, keep content legible */
@media print {
  .c6c8e0-header, .c6c8e0-bottomnav-wrap, .c6c8e0-drawer, .c6c8e0-drawer-mask, .c6c8e0-hero-dots, .c6c8e0-hero-arrow { display: none !important; }
  .c6c8e0-shell { box-shadow: none; background: #fff; color: #000; }
  body { background: #fff; }
}
