/* ============================================================
 * table-plus.sbs - core stylesheet
 * All custom classes use prefix: gdb7-
 * Palette: #ADFF2F | #F4A460 | #1C2833 | #DEB887 | #D2691E
 * ============================================================ */

:root {
  --gdb7-lime: #ADFF2F;
  --gdb7-sandy: #F4A460;
  --gdb7-dark: #1C2833;
  --gdb7-wheat: #DEB887;
  --gdb7-choco: #D2691E;
  --gdb7-dark-2: #141c25;
  --gdb7-dark-3: #0e141b;
  --gdb7-text: #f3ede0;
  --gdb7-muted: #b3a890;
  --gdb7-radius: 14px;
  --gdb7-shadow: 0 10px 30px rgba(0,0,0,.35);
  --gdb7-grad: linear-gradient(135deg, #D2691E 0%, #F4A460 50%, #ADFF2F 130%);
  --gdb7-header-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 62.5%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.6rem;
  background: var(--gdb7-dark-3);
  color: var(--gdb7-text);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gdb7-lime); text-decoration: none; }
a:hover { color: #c7ff7f; }
ul, ol { padding-left: 1.2rem; }

/* ---------- Shell ---------- */
.gdb7-app {
  width: 100%;
  margin: 0 auto;
  background: var(--gdb7-dark);
  min-height: 100vh;
  position: relative;
}

/* ---------- Header ---------- */
.gdb7-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(20, 28, 37, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(222,184,135,.18);
  transition: box-shadow .25s ease, background .25s ease;
}
.gdb7-header.gdb7-scrolled {
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
  background: rgba(14,20,27,.97);
}
.gdb7-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 18px;
  color: var(--gdb7-text);
}
.gdb7-logo .gdb7-logo-badge {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--gdb7-grad);
  display: grid; place-items: center;
  color: #1C2833; font-weight: 900;
  box-shadow: 0 4px 14px rgba(210,105,30,.45);
}
.gdb7-logo .gdb7-logo-text b { color: var(--gdb7-lime); }
.gdb7-logo small { display: block; font-size: 10px; color: var(--gdb7-wheat); font-weight: 500; }

.gdb7-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gdb7-btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.gdb7-btn:active { transform: translateY(1px) scale(.98); }
.gdb7-btn-login {
  background: transparent;
  color: var(--gdb7-text);
  border: 1px solid rgba(222,184,135,.5);
}
.gdb7-btn-login:hover { background: rgba(222,184,135,.12); }
.gdb7-btn-register {
  background: var(--gdb7-grad);
  color: #1C2833;
  box-shadow: 0 6px 18px rgba(173,255,47,.25);
}
.gdb7-btn-register:hover { box-shadow: 0 8px 22px rgba(173,255,47,.4); }
.gdb7-icon-btn {
  background: transparent;
  color: var(--gdb7-text);
  border: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 22px;
}
.gdb7-icon-btn:hover { background: rgba(255,255,255,.06); }

/* ---------- Mobile Menu Panel ---------- */
.gdb7-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.gdb7-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 82%;
  max-width: 320px;
  background: var(--gdb7-dark-2);
  z-index: 9999;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: 18px 16px 30px;
  overflow-y: auto;
  border-left: 1px solid rgba(222,184,135,.2);
  box-shadow: -12px 0 40px rgba(0,0,0,.5);
}
.gdb7-mobile-menu.gdb7-menu-open { transform: translateX(0); }
.gdb7-menu-overlay.gdb7-menu-open { opacity: 1; visibility: visible; }
.gdb7-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(222,184,135,.18);
}
.gdb7-menu-head h3 { margin: 0; font-size: 16px; color: var(--gdb7-lime); }
.gdb7-menu-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.gdb7-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gdb7-text);
  font-weight: 600;
  background: rgba(255,255,255,.03);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.gdb7-menu-list a:hover {
  background: rgba(173,255,47,.08);
  border-color: rgba(173,255,47,.25);
  color: var(--gdb7-lime);
}
.gdb7-menu-list .material-symbols-outlined,
.gdb7-menu-list i { font-size: 22px; color: var(--gdb7-wheat); width: 24px; text-align: center; }
.gdb7-menu-cta {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.gdb7-noscroll { overflow: hidden; }

/* ---------- Main / Sections ---------- */
.gdb7-main { padding-bottom: 90px; } /* clearance for bottom nav */
.gdb7-section {
  padding: 26px 14px 10px;
}
.gdb7-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.gdb7-section-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.gdb7-section-title::before {
  content: "";
  width: 5px; height: 22px; border-radius: 3px;
  background: var(--gdb7-grad);
}
.gdb7-section-title .material-symbols-outlined { color: var(--gdb7-lime); font-size: 24px; }
.gdb7-link-more {
  font-size: 12px;
  color: var(--gdb7-wheat);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.gdb7-link-more:hover { color: var(--gdb7-lime); }

/* ---------- Hero / Carousel ---------- */
.gdb7-hero {
  position: relative;
  border-radius: var(--gdb7-radius);
  overflow: hidden;
  margin: 12px 14px 0;
  box-shadow: var(--gdb7-shadow);
}
.gdb7-hero-track { position: relative; }
.gdb7-hero-slide {
  display: none;
  position: relative;
  min-height: 220px;
  padding: 22px 18px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.gdb7-hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14,20,27,.92) 0%, rgba(28,40,51,.55) 60%, rgba(210,105,30,.25) 100%);
}
.gdb7-hero-slide.gdb7-active { display: block; animation: gdb7fade .6s ease; }
@keyframes gdb7fade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
.gdb7-hero-inner { position: relative; z-index: 2; max-width: 92%; }
.gdb7-hero-badge {
  display: inline-block;
  background: var(--gdb7-lime);
  color: #1C2833;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.gdb7-hero-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 8px;
  text-shadow: 0 3px 12px rgba(0,0,0,.55);
}
.gdb7-hero-title span { color: var(--gdb7-lime); }
.gdb7-hero-desc {
  font-size: 13px;
  color: #f0e7d5;
  margin: 0 0 14px;
  max-width: 95%;
}
.gdb7-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.gdb7-hero-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3;
}
.gdb7-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
  border: none; padding: 0;
}
.gdb7-hero-dot.gdb7-active { background: var(--gdb7-lime); width: 22px; border-radius: 5px; }

/* ---------- Stats Strip ---------- */
.gdb7-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px;
}
.gdb7-stat {
  background: linear-gradient(160deg, rgba(222,184,135,.10), rgba(173,255,47,.05));
  border: 1px solid rgba(222,184,135,.18);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}
.gdb7-stat-num {
  font-size: 18px;
  font-weight: 900;
  color: var(--gdb7-lime);
}
.gdb7-stat-label {
  font-size: 10.5px;
  color: var(--gdb7-muted);
  margin-top: 2px;
}

/* ---------- Filter Tabs ---------- */
.gdb7-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 12px;
  scrollbar-width: none;
}
.gdb7-filters::-webkit-scrollbar { display: none; }
.gdb7-filter-btn {
  flex: 0 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(222,184,135,.22);
  color: var(--gdb7-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gdb7-filter-btn .material-symbols-outlined { font-size: 16px; }
.gdb7-filter-btn:hover { border-color: var(--gdb7-lime); color: var(--gdb7-lime); }
.gdb7-filter-btn.gdb7-active {
  background: var(--gdb7-grad);
  color: #1C2833;
  border-color: transparent;
}

/* ---------- Game Grid / Cards ---------- */
.gdb7-game-group { margin-bottom: 8px; }
.gdb7-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.gdb7-game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gdb7-dark-2);
  border: 1px solid rgba(222,184,135,.15);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  aspect-ratio: 3 / 4;
}
.gdb7-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--gdb7-lime);
  box-shadow: 0 12px 26px rgba(0,0,0,.5);
}
.gdb7-game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gdb7-game-card:hover img { transform: scale(1.06); }
.gdb7-game-card .gdb7-game-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 8px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  text-align: center;
  line-height: 1.2;
}
.gdb7-game-card .gdb7-game-overlay {
  position: absolute; inset: 0;
  background: rgba(28,40,51,.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .2s ease;
}
.gdb7-game-card:hover .gdb7-game-overlay { opacity: 1; }
.gdb7-play-btn {
  background: var(--gdb7-lime);
  color: #1C2833;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex; gap: 5px; align-items: center;
}
.gdb7-play-btn:hover { background: #c7ff7f; }
.gdb7-tag-hot {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--gdb7-choco);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: .4px;
  z-index: 2;
}
.gdb7-tag-new { background: var(--gdb7-lime); color: #1C2833; }

/* ---------- Feature blocks ---------- */
.gdb7-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.gdb7-feature {
  background: var(--gdb7-dark-2);
  border: 1px solid rgba(222,184,135,.15);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.gdb7-feature-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(173,255,47,.12);
  color: var(--gdb7-lime);
  display: grid; place-items: center;
  margin: 0 auto 8px;
  font-size: 24px;
}
.gdb7-feature h4 { margin: 0 0 4px; font-size: 13px; color: var(--gdb7-text); }
.gdb7-feature p { margin: 0; font-size: 11px; color: var(--gdb7-muted); line-height: 1.4; }

/* ---------- Featured promo banner ---------- */
.gdb7-promo-banner {
  margin: 18px 14px;
  border-radius: var(--gdb7-radius);
  padding: 18px 16px;
  background: linear-gradient(120deg, #D2691E 0%, #F4A460 60%, #ADFF2F 140%);
  color: #1C2833;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gdb7-shadow);
}
.gdb7-promo-banner h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.gdb7-promo-banner p { margin: 0 0 12px; font-size: 12px; max-width: 90%; }
.gdb7-promo-banner .gdb7-btn-dark {
  background: #1C2833;
  color: var(--gdb7-lime);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex; gap: 6px; align-items: center;
}

/* ---------- SEO long text ---------- */
.gdb7-prose {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--gdb7-muted);
}
.gdb7-prose h2, .gdb7-prose h3 {
  color: var(--gdb7-text);
  margin: 18px 0 6px;
  font-size: 17px;
  font-weight: 800;
}
.gdb7-prose h2 .material-symbols-outlined,
.gdb7-prose h3 .material-symbols-outlined { color: var(--gdb7-lime); font-size: 20px; vertical-align: middle; }
.gdb7-prose p { margin: 0 0 10px; }
.gdb7-prose strong { color: var(--gdb7-wheat); }
.gdb7-prose ul { margin: 6px 0 12px; }
.gdb7-prose li { margin-bottom: 5px; }

/* ---------- FAQ ---------- */
.gdb7-faq { padding: 0 14px; }
.gdb7-faq-item {
  background: var(--gdb7-dark-2);
  border: 1px solid rgba(222,184,135,.15);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.gdb7-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--gdb7-text);
  font-size: 13px;
  font-weight: 700;
  padding: 13px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.gdb7-faq-q .gdb7-faq-icon { transition: transform .25s ease; color: var(--gdb7-lime); font-weight: 900; }
.gdb7-faq-item.gdb7-open .gdb7-faq-icon { transform: rotate(45deg); }
.gdb7-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--gdb7-muted);
  font-size: 12.5px;
  padding: 0 14px;
}
.gdb7-faq-item.gdb7-open .gdb7-faq-a { max-height: 400px; padding-bottom: 14px; }

/* ---------- Steps ---------- */
.gdb7-steps { counter-reset: step; padding: 0 14px; display: grid; gap: 10px; }
.gdb7-step {
  position: relative;
  background: var(--gdb7-dark-2);
  border: 1px solid rgba(222,184,135,.15);
  border-left: 4px solid var(--gdb7-lime);
  border-radius: 10px;
  padding: 12px 14px 12px 46px;
}
.gdb7-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 26px; height: 26px;
  background: var(--gdb7-grad);
  color: #1C2833;
  font-weight: 900;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
}
.gdb7-step h4 { margin: 0 0 3px; font-size: 13.5px; color: var(--gdb7-text); }
.gdb7-step p { margin: 0; font-size: 12px; color: var(--gdb7-muted); }

/* ---------- Footer ---------- */
.gdb7-footer {
  background: var(--gdb7-dark-2);
  border-top: 1px solid rgba(222,184,135,.18);
  padding: 24px 16px 20px;
  margin-top: 24px;
}
.gdb7-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gdb7-footer h5 {
  font-size: 13px;
  color: var(--gdb7-lime);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .4px;
}
.gdb7-footer ul { list-style: none; padding: 0; margin: 0; }
.gdb7-footer li { margin-bottom: 6px; }
.gdb7-footer a { color: var(--gdb7-muted); font-size: 12px; }
.gdb7-footer a:hover { color: var(--gdb7-lime); }
.gdb7-footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 6px; }
.gdb7-footer-brand p { font-size: 12px; color: var(--gdb7-muted); margin: 6px 0 0; }
.gdb7-footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(222,184,135,.12);
  text-align: center;
  font-size: 11px;
  color: var(--gdb7-muted);
}
.gdb7-footer-pay {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 10px 0 4px;
}
.gdb7-footer-pay span {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(222,184,135,.18);
  color: var(--gdb7-wheat);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ---------- Reveal animation ---------- */
.gdb7-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.gdb7-reveal.gdb7-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile bottom navigation ---------- */
.gdb7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(14,20,27,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(222,184,135,.22);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0 4px;
}
.gdb7-bottom-nav a, .gdb7-bottom-nav button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gdb7-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color .15s ease;
  text-decoration: none;
}
.gdb7-bottom-nav a:hover, .gdb7-bottom-nav button:hover { color: var(--gdb7-text); }
.gdb7-bottom-nav .gdb7-bn-ico { font-size: 22px; line-height: 1; }
.gdb7-bottom-nav .gdb7-bn-center {
  position: relative;
  margin-top: -22px;
}
.gdb7-bottom-nav .gdb7-bn-center .gdb7-bn-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gdb7-grad);
  color: #1C2833;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(173,255,47,.4);
  border: 3px solid var(--gdb7-dark-3);
}
.gdb7-bottom-nav .gdb7-bn-center .gdb7-bn-label {
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--gdb7-lime);
}
.gdb7-bottom-nav .gdb7-active-nav { color: var(--gdb7-lime); }
.gdb7-bottom-nav .gdb7-active-nav::after {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px;
  background: var(--gdb7-lime);
  border-radius: 0 0 4px 4px;
}

/* ---------- Desktop / wide screens ---------- */
.gdb7-desktop-nav { display: none; }
.gdb7-desktop-cta { display: none; }

@media (min-width: 769px) {
  .gdb7-bottom-nav { display: none; }
  .gdb7-main { padding-bottom: 24px; }
  .gdb7-menu-btn-mobile { display: none; }
  .gdb7-desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .gdb7-desktop-nav a {
    color: var(--gdb7-text);
    font-size: 13px;
    font-weight: 600;
    position: relative;
    padding: 4px 0;
  }
  .gdb7-desktop-nav a:hover { color: var(--gdb7-lime); }
  .gdb7-desktop-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -3px;
    width: 0; height: 2px; background: var(--gdb7-lime); transition: width .2s ease;
  }
  .gdb7-desktop-nav a:hover::after { width: 100%; }
}

/* ---------- Cap at 430px (mobile-first literal) ---------- */
.gdb7-app {
  max-width: 430px;
}
@media (min-width: 431px) {
  .gdb7-app {
    max-width: 430px;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0,0,0,.4);
  }
}
