/* ==========================================================================
   Gamezone App - Mobile-first casino gaming stylesheet
   Prefix: mobile768b6-
   Palette: #880E4F / #FFB3FF / #FFCCCB / #1C2833
   Canvas: 320-430px portrait phone (kept centered on wider screens)
   ========================================================================== */

/* -------- Design tokens (prefixed) -------- */
:root {
  --mobile768b6-bg: #1C2833;
  --mobile768b6-bg-2: #14202b;
  --mobile768b6-bg-3: #0e1820;
  --mobile768b6-brand: #880E4F;
  --mobile768b6-brand-2: #a8125f;
  --mobile768b6-brand-deep: #5e0836;
  --mobile768b6-accent: #FFB3FF;
  --mobile768b6-accent-2: #ff7df0;
  --mobile768b6-cream: #FFCCCB;
  --mobile768b6-text: #ffeef0;
  --mobile768b6-text-dim: #d9b8c4;
  --mobile768b6-line: rgba(255, 179, 255, 0.14);
  --mobile768b6-line-strong: rgba(255, 179, 255, 0.28);
  --mobile768b6-glow: 0 0 14px rgba(255, 179, 255, 0.45);
  --mobile768b6-glow-brand: 0 0 16px rgba(136, 14, 79, 0.65);
  --mobile768b6-radius: 14px;
  --mobile768b6-radius-sm: 9px;
  --mobile768b6-radius-lg: 22px;
  --mobile768b6-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  --mobile768b6-header-h: 56px;
  --mobile768b6-bottomnav-h: 66px;
  --mobile768b6-max: 440px;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  background: var(--mobile768b6-bg);
  color: var(--mobile768b6-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--mobile768b6-accent); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mobile768b6-accent);
  outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }

/* -------- App canvas (phone frame on wide screens) -------- */
.mobile768b6-app {
  max-width: var(--mobile768b6-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(110% 60% at 50% -10%, rgba(136, 14, 79, 0.45) 0%, transparent 60%),
    radial-gradient(120% 70% at 90% 110%, rgba(255, 179, 255, 0.10) 0%, transparent 55%),
    var(--mobile768b6-bg);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

/* -------- Skip link -------- */
.mobile768b6-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mobile768b6-brand);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.mobile768b6-skip:focus { left: 0; }

/* ==========================================================================
   Header (compact brand bar)
   ========================================================================== */
.mobile768b6-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--mobile768b6-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.98) 0%, rgba(28, 40, 51, 0.94) 100%);
  border-bottom: 1px solid var(--mobile768b6-line);
  backdrop-filter: blur(10px);
}
.mobile768b6-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.mobile768b6-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--mobile768b6-line-strong);
  box-shadow: var(--mobile768b6-glow-brand);
  flex-shrink: 0;
  background: var(--mobile768b6-brand-deep);
}
.mobile768b6-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.mobile768b6-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--mobile768b6-text);
  letter-spacing: 0.2px;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile768b6-brand-tag {
  font-size: 10px;
  color: var(--mobile768b6-accent);
  font-weight: 600;
  letter-spacing: 0.4px;
}
.mobile768b6-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.mobile768b6-btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  height: 36px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 44px;
}
.mobile768b6-btn-login {
  background: transparent;
  color: var(--mobile768b6-text);
  border: 1px solid var(--mobile768b6-line-strong);
}
.mobile768b6-btn-login:active { transform: scale(0.96); }
.mobile768b6-btn-register {
  background: linear-gradient(135deg, var(--mobile768b6-brand) 0%, var(--mobile768b6-brand-2) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(136, 14, 79, 0.5);
}
.mobile768b6-btn-register:active { transform: scale(0.95); box-shadow: var(--mobile768b6-glow-brand); }
.mobile768b6-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 179, 255, 0.08);
  border: 1px solid var(--mobile768b6-line);
  color: var(--mobile768b6-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile768b6-menu-btn:active { transform: scale(0.94); }
.mobile768b6-menu-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Slide-up route panel
   ========================================================================== */
.mobile768b6-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 110;
}
.mobile768b6-overlay.open { opacity: 1; visibility: visible; }

.mobile768b6-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--mobile768b6-max);
  margin: 0 auto;
  background: linear-gradient(180deg, #1f2c38 0%, #16202b 100%);
  border-top: 1px solid var(--mobile768b6-line-strong);
  border-radius: 22px 22px 0 0;
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1);
  z-index: 120;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.5);
}
.mobile768b6-panel.open { transform: translateY(0); }
.mobile768b6-panel-handle {
  width: 42px;
  height: 4px;
  background: var(--mobile768b6-line-strong);
  border-radius: 4px;
  margin: 0 auto 12px;
}
.mobile768b6-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile768b6-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.mobile768b6-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mobile768b6-panel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 179, 255, 0.05);
  border: 1px solid var(--mobile768b6-line);
  color: var(--mobile768b6-text);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.mobile768b6-panel-link:active { background: rgba(255, 179, 255, 0.12); transform: scale(0.98); }
.mobile768b6-panel-link svg { width: 18px; height: 18px; color: var(--mobile768b6-accent); flex-shrink: 0; }
.mobile768b6-panel-promo {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--mobile768b6-brand) 0%, var(--mobile768b6-brand-2) 100%);
  color: #fff;
  border: none;
  justify-content: center;
  font-weight: 800;
}
.mobile768b6-panel-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 179, 255, 0.1);
  border: 1px solid var(--mobile768b6-line);
  color: var(--mobile768b6-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Main / sections
   ========================================================================== */
.mobile768b6-main { padding: 14px 12px 0; }
.mobile768b6-section { margin-bottom: 22px; }
.mobile768b6-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  gap: 10px;
}
.mobile768b6-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--mobile768b6-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile768b6-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--mobile768b6-accent) 0%, var(--mobile768b6-brand) 100%);
  border-radius: 4px;
}
.mobile768b6-section-more {
  font-size: 12px;
  color: var(--mobile768b6-accent);
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.mobile768b6-carousel {
  position: relative;
  border-radius: var(--mobile768b6-radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--mobile768b6-shadow);
  border: 1px solid var(--mobile768b6-line-strong);
}
.mobile768b6-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile768b6-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.mobile768b6-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.mobile768b6-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px 14px;
  background: linear-gradient(0deg, rgba(14, 24, 32, 0.92) 0%, rgba(14, 24, 32, 0.0) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile768b6-slide-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.mobile768b6-slide-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--mobile768b6-brand) 0%, var(--mobile768b6-brand-2) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: var(--mobile768b6-glow-brand);
}
.mobile768b6-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.mobile768b6-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.mobile768b6-dot.active {
  background: var(--mobile768b6-accent);
  width: 18px;
  border-radius: 4px;
  box-shadow: var(--mobile768b6-glow);
}

/* ==========================================================================
   Quick promo strip
   ========================================================================== */
.mobile768b6-quickstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.mobile768b6-quick {
  background: linear-gradient(135deg, rgba(136, 14, 79, 0.35) 0%, rgba(136, 14, 79, 0.08) 100%);
  border: 1px solid var(--mobile768b6-line);
  border-radius: var(--mobile768b6-radius);
  padding: 11px 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.mobile768b6-quick:active { transform: scale(0.96); box-shadow: var(--mobile768b6-glow); }
.mobile768b6-quick-icon {
  width: 28px; height: 28px;
  margin: 0 auto 5px;
  color: var(--mobile768b6-accent);
}
.mobile768b6-quick-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--mobile768b6-text);
}
.mobile768b6-quick-sub {
  font-size: 10px;
  color: var(--mobile768b6-text-dim);
  margin-top: 1px;
}

/* ==========================================================================
   Game grid
   ========================================================================== */
.mobile768b6-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mobile768b6-game {
  background: linear-gradient(160deg, #223140 0%, #1a2530 100%);
  border: 1px solid var(--mobile768b6-line);
  border-radius: var(--mobile768b6-radius-sm);
  padding: 5px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.mobile768b6-game:active {
  transform: scale(0.95);
  box-shadow: var(--mobile768b6-glow);
  border-color: var(--mobile768b6-accent);
}
.mobile768b6-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #0e1820;
}
.mobile768b6-game-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--mobile768b6-text);
  text-align: center;
  margin-top: 5px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.mobile768b6-game-badge {
  position: relative;
}
.mobile768b6-game-badge::after {
  content: "HOT";
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, var(--mobile768b6-brand) 0%, var(--mobile768b6-brand-2) 100%);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* ==========================================================================
   Info / content modules
   ========================================================================== */
.mobile768b6-card {
  background: linear-gradient(160deg, rgba(34, 49, 64, 0.7) 0%, rgba(22, 33, 44, 0.7) 100%);
  border: 1px solid var(--mobile768b6-line);
  border-radius: var(--mobile768b6-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.mobile768b6-card h2 {
  font-size: 16px;
  color: var(--mobile768b6-text);
}
.mobile768b6-card p {
  font-size: 13.5px;
  color: var(--mobile768b6-text-dim);
  line-height: 1.6;
}
.mobile768b6-card a {
  color: var(--mobile768b6-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 255, 0.4);
  text-underline-offset: 3px;
}

.mobile768b6-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.mobile768b6-module {
  background: linear-gradient(160deg, rgba(34, 49, 64, 0.6) 0%, rgba(22, 33, 44, 0.6) 100%);
  border: 1px solid var(--mobile768b6-line);
  border-left: 3px solid var(--mobile768b6-brand);
  border-radius: var(--mobile768b6-radius);
  padding: 14px 15px;
}
.mobile768b6-module h3 {
  font-size: 14.5px;
  color: var(--mobile768b6-accent);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mobile768b6-module h3 svg { width: 17px; height: 17px; }
.mobile768b6-module p {
  font-size: 13px;
  color: var(--mobile768b6-text-dim);
  line-height: 1.62;
  margin-bottom: 8px;
}
.mobile768b6-module p:last-child { margin-bottom: 0; }
.mobile768b6-module ul { font-size: 13px; color: var(--mobile768b6-text-dim); padding-left: 18px; }
.mobile768b6-module ul li { margin-bottom: 4px; }

/* Two-column compact grid for short modules */
.mobile768b6-twocol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Feature highlight pills */
.mobile768b6-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.mobile768b6-pill {
  background: rgba(255, 179, 255, 0.08);
  border: 1px solid var(--mobile768b6-line);
  color: var(--mobile768b6-text);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
}

/* Inline promo text link */
.mobile768b6-promolink {
  color: var(--mobile768b6-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Big promo CTA banner */
.mobile768b6-promobanner {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 179, 255, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, var(--mobile768b6-brand) 0%, var(--mobile768b6-brand-deep) 100%);
  border: 1px solid var(--mobile768b6-line-strong);
  border-radius: var(--mobile768b6-radius-lg);
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: var(--mobile768b6-glow-brand);
}
.mobile768b6-promobanner-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.mobile768b6-promobanner-sub {
  font-size: 12.5px;
  color: var(--mobile768b6-cream);
  margin-bottom: 12px;
}
.mobile768b6-promobanner-btn {
  background: #fff;
  color: var(--mobile768b6-brand);
  font-weight: 800;
  border: none;
  border-radius: 24px;
  padding: 11px 26px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  min-height: 44px;
}
.mobile768b6-promobanner-btn:active { transform: scale(0.96); }

/* ==========================================================================
   Extended footer (homepage only)
   ========================================================================== */
.mobile768b6-ext {
  margin-top: 8px;
  padding: 18px 13px;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.7) 0%, rgba(14, 24, 32, 0.95) 100%);
  border-top: 1px solid var(--mobile768b6-line);
  border-radius: 18px 18px 0 0;
}
.mobile768b6-ext-group { margin-bottom: 16px; }
.mobile768b6-ext-group:last-child { margin-bottom: 0; }
.mobile768b6-ext-heading {
  font-size: 12px;
  font-weight: 800;
  color: var(--mobile768b6-accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 9px;
}
.mobile768b6-ext-about {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.mobile768b6-ext-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--mobile768b6-line-strong);
  flex-shrink: 0;
}
.mobile768b6-ext-text {
  font-size: 12.5px;
  color: var(--mobile768b6-text-dim);
  line-height: 1.55;
}
.mobile768b6-ext-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}
.mobile768b6-ext-links a {
  font-size: 12.5px;
  color: var(--mobile768b6-text);
  font-weight: 500;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mobile768b6-ext-links a::before {
  content: "›";
  color: var(--mobile768b6-accent);
  font-weight: 800;
}
.mobile768b6-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mobile768b6-ext-promo {
  background: linear-gradient(135deg, rgba(136, 14, 79, 0.4) 0%, rgba(136, 14, 79, 0.1) 100%);
  border: 1px solid var(--mobile768b6-line);
  border-radius: 11px;
  padding: 10px;
  color: var(--mobile768b6-text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile768b6-ext-promo:active { transform: scale(0.97); box-shadow: var(--mobile768b6-glow); }
.mobile768b6-ext-disclaimer {
  font-size: 11px;
  color: var(--mobile768b6-text-dim);
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  border: 1px solid var(--mobile768b6-line);
}

/* ==========================================================================
   Base footer (above bottom nav)
   ========================================================================== */
.mobile768b6-footer {
  padding: 14px 13px;
  text-align: center;
  border-top: 1px solid var(--mobile768b6-line);
  background: var(--mobile768b6-bg-3);
}
.mobile768b6-footer-copy {
  font-size: 11.5px;
  color: var(--mobile768b6-text-dim);
  margin-bottom: 4px;
}
.mobile768b6-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.mobile768b6-footer-links a {
  font-size: 11px;
  color: var(--mobile768b6-text-dim);
}

/* ==========================================================================
   Bottom navigation (full-width nav rail, 5 roles)
   ========================================================================== */
.mobile768b6-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--mobile768b6-max);
  height: var(--mobile768b6-bottomnav-h);
  background: linear-gradient(180deg, rgba(22, 33, 44, 0.98) 0%, rgba(14, 24, 32, 1) 100%);
  border-top: 1px solid var(--mobile768b6-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 95;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
}
.mobile768b6-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  color: var(--mobile768b6-text-dim);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  position: relative;
  min-height: 44px;
  transition: color 0.18s ease;
}
.mobile768b6-navitem svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.mobile768b6-navitem-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
}
.mobile768b6-navitem:active svg { transform: scale(0.88); }
.mobile768b6-navitem.is-active {
  color: var(--mobile768b6-accent);
}
.mobile768b6-navitem.is-active svg {
  filter: drop-shadow(0 0 6px rgba(255, 179, 255, 0.7));
}
.mobile768b6-navitem.is-active .mobile768b6-navitem-label {
  font-weight: 800;
  color: var(--mobile768b6-accent);
}
.mobile768b6-navitem.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--mobile768b6-accent);
  box-shadow: var(--mobile768b6-glow);
}
.mobile768b6-navitem-promo {
  color: var(--mobile768b6-cream);
}
.mobile768b6-navitem-promo svg {
  color: var(--mobile768b6-accent-2);
}

/* Body padding so fixed bottom nav never covers content */
.mobile768b6-padsafe { padding-bottom: calc(var(--mobile768b6-bottomnav-h) + 14px); }

/* ==========================================================================
   Utility
   ========================================================================== */
.mobile768b6-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   Responsive tweaks inside phone canvas
   ========================================================================== */
@media (min-width: 360px) {
  .mobile768b6-slide img { height: 200px; }
  .mobile768b6-section-title { font-size: 18px; }
}
@media (min-width: 400px) {
  .mobile768b6-gamegrid { gap: 10px; }
  .mobile768b6-slide img { height: 215px; }
  body { font-size: 15.5px; }
}

/* Slightly larger game grid for wider phones keeps 4-5 columns usable */
@media (min-width: 390px) {
  .mobile768b6-gamegrid { grid-template-columns: repeat(4, 1fr); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
