/* tableplusapp.click - layout styles
   Prefix: s6b8-  | Mobile-first, max-width 430px. */

:root {
  --s6b8-bg: #1a1d24;
  --s6b8-bg-2: #2c2c2c;
  --s6b8-card: #262a33;
  --s6b8-card-2: #2f343f;
  --s6b8-text: #f3f6f9;
  --s6b8-muted: #bdc3c7;
  --s6b8-turq: #40e0d0;
  --s6b8-sky: #87cefa;
  --s6b8-silver: #d3d3d3;
  --s6b8-gold: #f5c542;
  --s6b8-accent: #40e0d0;
  --s6b8-grad: linear-gradient(135deg, #40e0d0 0%, #87cefa 100%);
  --s6b8-grad-dark: linear-gradient(135deg, #2c2c2c 0%, #1a1d24 100%);
  --s6b8-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --s6b8-radius: 14px;
  --s6b8-radius-sm: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--s6b8-bg);
  background-image: var(--s6b8-grad-dark);
  color: var(--s6b8-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--s6b8-turq); text-decoration: none; }
a:hover { color: var(--s6b8-sky); }

.s6b8-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
  width: 100%;
}

main {
  padding-bottom: 80px;
}

/* ===== Header ===== */
.s6b8-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 29, 36, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.s6b8-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 60px;
}

.s6b8-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--s6b8-text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.s6b8-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--s6b8-grad);
  display: grid;
  place-items: center;
  color: #14202a;
  font-weight: 800;
  box-shadow: var(--s6b8-shadow);
}

.s6b8-brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--s6b8-turq);
  letter-spacing: 0.6px;
}

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

.s6b8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.s6b8-btn:active { transform: scale(0.96); }

.s6b8-btn-login {
  background: transparent;
  color: var(--s6b8-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.s6b8-btn-register {
  background: var(--s6b8-grad);
  color: #14202a;
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.3);
}

.s6b8-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--s6b8-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 18px;
}

.s6b8-icon-btn:active { transform: scale(0.94); }

/* ===== Mobile Menu ===== */
.s6b8-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.s6b8-menu-overlay.s6b8-visible {
  opacity: 1;
  visibility: visible;
}

.s6b8-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 82%;
  max-width: 320px;
  background: var(--s6b8-bg-2);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 18px 16px;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}

.s6b8-mobile-menu.s6b8-open { transform: translateX(0); }

.s6b8-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.s6b8-menu-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--s6b8-text);
}

.s6b8-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.s6b8-menu-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  color: var(--s6b8-text);
  border-radius: var(--s6b8-radius-sm);
  font-size: 14px;
  font-weight: 600;
}
.s6b8-menu-list li a:hover,
.s6b8-menu-list li a:active {
  background: rgba(64, 224, 208, 0.12);
  color: var(--s6b8-turq);
}

.s6b8-menu-list .material-symbols-outlined,
.s6b8-menu-list i { font-size: 20px; color: var(--s6b8-turq); }

.s6b8-menu-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== Hero / Carousel ===== */
.s6b8-hero {
  position: relative;
  margin: 14px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--s6b8-shadow);
  height: 220px;
}

.s6b8-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background-size: cover;
  background-position: center;
}
.s6b8-hero-slide.s6b8-active { opacity: 1; }

.s6b8-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0) 100%);
}

.s6b8-hero-content {
  position: relative;
  z-index: 2;
}

.s6b8-hero-tag {
  display: inline-block;
  background: var(--s6b8-grad);
  color: #14202a;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.s6b8-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  line-height: 1.2;
}

.s6b8-hero-sub {
  font-size: 13px;
  color: var(--s6b8-silver);
  margin: 0 0 12px;
}

.s6b8-hero-dots {
  position: absolute;
  bottom: 10px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.s6b8-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: 0;
  padding: 0;
}
.s6b8-hero-dot.s6b8-active { background: var(--s6b8-turq); width: 18px; border-radius: 4px; }

/* ===== Section / Heading ===== */
.s6b8-section {
  margin: 22px 0;
}

.s6b8-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.s6b8-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--s6b8-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s6b8-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--s6b8-grad);
}

.s6b8-section-link {
  font-size: 12px;
  color: var(--s6b8-sky);
  font-weight: 600;
}

/* ===== Filter Bar ===== */
.s6b8-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.s6b8-filter::-webkit-scrollbar { display: none; }

.s6b8-filter-btn {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.06);
  color: var(--s6b8-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.s6b8-filter-btn.s6b8-active {
  background: var(--s6b8-grad);
  color: #14202a;
  border-color: transparent;
}

/* ===== Game Grid ===== */
.s6b8-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.s6b8-game-card {
  position: relative;
  border-radius: var(--s6b8-radius-sm);
  overflow: hidden;
  background: var(--s6b8-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  color: inherit;
}

.s6b8-game-card:hover,
.s6b8-game-card:active {
  transform: translateY(-2px);
  box-shadow: var(--s6b8-shadow);
  color: inherit;
}

.s6b8-game-card .s6b8-game-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.s6b8-game-card .s6b8-game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s6b8-game-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(245, 197, 66, 0.95);
  color: #2c2c2c;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 2;
}

.s6b8-game-badge.hot { background: #ff5a5a; color: #fff; }

.s6b8-game-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.s6b8-game-card:hover .s6b8-game-play,
.s6b8-game-card:active .s6b8-game-play { opacity: 1; }

.s6b8-game-play span {
  background: var(--s6b8-grad);
  color: #14202a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.s6b8-game-name {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--s6b8-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Promo Banner ===== */
.s6b8-promo {
  background: linear-gradient(135deg, #40e0d0 0%, #87cefa 100%);
  border-radius: var(--s6b8-radius);
  padding: 16px;
  color: #14202a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  box-shadow: 0 8px 20px rgba(64, 224, 208, 0.28);
}

.s6b8-promo-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}
.s6b8-promo-text p {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.s6b8-promo .s6b8-btn {
  background: #14202a;
  color: var(--s6b8-turq);
  flex-shrink: 0;
}

/* ===== Feature / Highlights ===== */
.s6b8-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.s6b8-feature-card {
  background: var(--s6b8-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--s6b8-radius);
  padding: 14px;
  text-align: center;
}

.s6b8-feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: rgba(64, 224, 208, 0.12);
  color: var(--s6b8-turq);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.s6b8-feature-card h4 {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--s6b8-text);
}
.s6b8-feature-card p {
  margin: 0;
  font-size: 11px;
  color: var(--s6b8-muted);
  line-height: 1.4;
}

/* ===== SEO long text ===== */
.s6b8-prose {
  background: var(--s6b8-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--s6b8-radius);
  padding: 16px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--s6b8-silver);
}

.s6b8-prose h2 {
  font-size: 17px;
  color: var(--s6b8-text);
  margin: 0 0 8px;
}

.s6b8-prose h3 {
  font-size: 15px;
  color: var(--s6b8-text);
  margin: 14px 0 6px;
}

.s6b8-prose p { margin: 0 0 10px; }

.s6b8-prose ul { padding-left: 18px; margin: 0 0 10px; }
.s6b8-prose li { margin-bottom: 4px; }

.s6b8-prose a { color: var(--s6b8-sky); font-weight: 600; }

/* ===== Steps ===== */
.s6b8-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}
.s6b8-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--s6b8-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--s6b8-radius);
  padding: 12px;
}
.s6b8-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--s6b8-grad);
  color: #14202a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.s6b8-step h4 { margin: 0 0 3px; font-size: 14px; color: var(--s6b8-text); }
.s6b8-step p { margin: 0; font-size: 12px; color: var(--s6b8-muted); }

/* ===== FAQ ===== */
.s6b8-faq { margin: 18px 0; }
.s6b8-faq-item {
  background: var(--s6b8-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--s6b8-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.s6b8-faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--s6b8-text);
  list-style: none;
}
.s6b8-faq-head::-webkit-details-marker { display: none; }
.s6b8-faq-head .s6b8-faq-icon { color: var(--s6b8-turq); transition: transform 0.2s ease; }
.s6b8-faq-item.s6b8-open .s6b8-faq-head .s6b8-faq-icon { transform: rotate(45deg); }
.s6b8-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: var(--s6b8-muted);
  font-size: 13px;
}
.s6b8-faq-item.s6b8-open .s6b8-faq-body {
  max-height: 400px;
  padding: 0 14px 13px;
}

/* ===== Footer ===== */
.s6b8-footer {
  background: var(--s6b8-bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0 12px;
  margin-top: 26px;
  color: var(--s6b8-muted);
  font-size: 12px;
}
.s6b8-footer h4 {
  color: var(--s6b8-text);
  font-size: 13px;
  margin: 0 0 8px;
}
.s6b8-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.s6b8-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.s6b8-footer-links a {
  color: var(--s6b8-muted);
  font-size: 12px;
}
.s6b8-footer-links a:hover { color: var(--s6b8-turq); }
.s6b8-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  text-align: center;
  color: var(--s6b8-silver);
  font-size: 11px;
  line-height: 1.6;
}
.s6b8-pay-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
}
.s6b8-pay-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--s6b8-silver);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
}

/* ===== Mobile Bottom Nav ===== */
.s6b8-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background: rgba(26, 29, 36, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.s6b8-bottom-nav-btn {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  color: var(--s6b8-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 0;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.15s ease;
}

.s6b8-bottom-nav-btn i,
.s6b8-bottom-nav-btn .material-symbols-outlined {
  font-size: 22px;
}

.s6b8-bottom-nav-btn:hover,
.s6b8-bottom-nav-btn:active {
  color: var(--s6b8-text);
}

.s6b8-bottom-nav-btn.s6b8-current {
  color: var(--s6b8-turq);
}

.s6b8-bottom-nav-btn.s6b8-promo-center {
  position: relative;
}
.s6b8-bottom-nav-btn.s6b8-promo-center .s6b8-nav-center {
  position: absolute;
  top: -22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--s6b8-grad);
  display: grid;
  place-items: center;
  color: #14202a;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.4);
  border: 3px solid var(--s6b8-bg);
}
.s6b8-bottom-nav-btn.s6b8-promo-center span:not(.s6b8-nav-center) {
  margin-top: 26px;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .s6b8-bottom-nav { display: none; }
  main { padding-bottom: 0; }
  .s6b8-header-desktop-cta { display: inline-flex !important; }
  .s6b8-mobile-only { display: none !important; }
}

.s6b8-header-desktop-cta { display: none; }
.s6b8-desktop-only { display: none; }
@media (min-width: 769px) {
  .s6b8-desktop-only { display: block; }
}

/* ===== Utilities ===== */
.s6b8-hide { display: none !important; }
.s6b8-text-center { text-align: center; }
.s6b8-mt-0 { margin-top: 0; }

.s6b8-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.s6b8-stat {
  background: var(--s6b8-card);
  border-radius: var(--s6b8-radius-sm);
  padding: 10px;
  text-align: center;
}
.s6b8-stat strong {
  display: block;
  color: var(--s6b8-turq);
  font-size: 16px;
  font-weight: 800;
}
.s6b8-stat small { color: var(--s6b8-muted); font-size: 10px; }
