/*!
 * scatter.css - scatter.cyou core stylesheet
 * All custom classes use the gdb1- prefix.
 * Palette: #006400 dark green | #9AFF9A light green | #FA8072 salmon
 *          #141414 deep base | #00FA9A mint accent
 * Mobile-first, max content width 430px.
 */

:root {
  --gdb1-primary: #006400;
  --gdb1-bg: #141414;
  --gdb1-text: #9AFF9A;
  --gdb1-accent: #00FA9A;
  --gdb1-salmon: #FA8072;
  --gdb1-surface: #1c2620;
  --gdb1-surface-2: #22322a;
  --gdb1-border: rgba(154, 255, 154, 0.18);
  --gdb1-muted: rgba(154, 255, 154, 0.72);
  --gdb1-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --gdb1-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--gdb1-bg);
  color: var(--gdb1-text);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gdb1-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

.gdb1-skip {
  position: absolute;
  left: -9999px;
}
.gdb1-skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--gdb1-accent);
  color: var(--gdb1-bg);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 99999;
}

/* ---------- Header ---------- */
.gdb1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #003a00 0%, var(--gdb1-primary) 60%, #005a1a 100%);
  border-bottom: 2px solid rgba(0, 250, 154, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}
.gdb1-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.gdb1-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.gdb1-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0, 250, 154, 0.3);
}
.gdb1-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gdb1-accent);
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.gdb1-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gdb1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.gdb1-btn-login {
  background: transparent;
  color: var(--gdb1-accent);
  border: 1.5px solid var(--gdb1-accent);
}
.gdb1-btn-login:hover { background: rgba(0, 250, 154, 0.12); }
.gdb1-btn-register {
  background: linear-gradient(135deg, var(--gdb1-salmon) 0%, #ff9d8e 100%);
  color: #1a0a08;
  box-shadow: 0 4px 12px rgba(250, 128, 114, 0.45);
}
.gdb1-btn:hover { transform: translateY(-1px); }
.gdb1-btn:active { transform: scale(0.96); }
.gdb1-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gdb1-accent);
  font-size: 2.2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.gdb1-menu-toggle:hover { background: rgba(0, 250, 154, 0.12); }

/* ---------- Mobile menu ---------- */
.gdb1-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--gdb1-surface);
  border-left: 2px solid var(--gdb1-border);
  z-index: 9999;
  padding: 6rem 1.6rem 2rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
}
.gdb1-mobile-menu.gdb1-menu-open { right: 0; }
.gdb1-mobile-menu h2 {
  font-size: 1.4rem;
  color: var(--gdb1-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.4rem 0 0.6rem;
}
.gdb1-mobile-menu a {
  display: block;
  padding: 0.9rem 1rem;
  color: var(--gdb1-text);
  font-size: 1.5rem;
  border-radius: 10px;
  margin-bottom: 0.3rem;
  transition: background 0.18s ease;
}
.gdb1-mobile-menu a:hover,
.gdb1-mobile-menu a:focus {
  background: rgba(0, 250, 154, 0.1);
  color: var(--gdb1-accent);
}
.gdb1-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.gdb1-menu-overlay.gdb1-overlay-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Layout ---------- */
.gdb1-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: 0;
}
main.gdb1-main {
  padding-top: 6rem;
  padding-bottom: 8rem;
}
.gdb1-section {
  padding: 2.2rem 1.4rem;
}
.gdb1-section-alt {
  background: linear-gradient(180deg, #18241d 0%, #14201a 100%);
}
.gdb1-eyebrow {
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gdb1-salmon);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.gdb1-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gdb1-accent);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.gdb1-section-text {
  font-size: 1.45rem;
  color: var(--gdb1-text);
  margin: 0 0 1rem;
}

/* ---------- Hero carousel ---------- */
.gdb1-carousel {
  position: relative;
  border-radius: var(--gdb1-radius);
  overflow: hidden;
  box-shadow: var(--gdb1-shadow);
  margin: 0 1.4rem 1.4rem;
}
.gdb1-slides { position: relative; }
.gdb1-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.gdb1-slide.gdb1-slide-active { display: block; }
.gdb1-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gdb1-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  padding: 1.4rem 1.2rem 1rem;
  color: #fff;
}
.gdb1-slide-caption strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gdb1-accent);
  margin-bottom: 0.2rem;
}
.gdb1-slide-caption span { font-size: 1.25rem; }
.gdb1-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
}
.gdb1-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(154, 255, 154, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gdb1-dot.gdb1-dot-active {
  background: var(--gdb1-accent);
  transform: scale(1.25);
}

/* ---------- Game grid ---------- */
.gdb1-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem 0 1rem;
}
.gdb1-cat-header .gdb1-cat-icon {
  font-size: 2rem;
  color: var(--gdb1-salmon);
}
.gdb1-cat-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gdb1-accent);
  margin: 0;
}
.gdb1-cat-header .gdb1-cat-count {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--gdb1-muted);
  background: rgba(0, 250, 154, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.gdb1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.gdb1-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border-radius: 12px;
  padding: 0.5rem 0.3rem;
  background: var(--gdb1-surface);
  border: 1px solid var(--gdb1-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
}
.gdb1-game-card:hover,
.gdb1-game-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 250, 154, 0.18);
  border-color: var(--gdb1-accent);
}
.gdb1-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}
.gdb1-game-name {
  font-size: 1.1rem;
  color: var(--gdb1-text);
  line-height: 1.2;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Cards / features ---------- */
.gdb1-card {
  background: var(--gdb1-surface);
  border: 1px solid var(--gdb1-border);
  border-radius: var(--gdb1-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.gdb1-card h3 {
  font-size: 1.55rem;
  color: var(--gdb1-accent);
  margin: 0 0 0.6rem;
}
.gdb1-card p {
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
  color: var(--gdb1-text);
}
.gdb1-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gdb1-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--gdb1-border);
  font-size: 1.4rem;
}
.gdb1-feature-list li:last-child { border-bottom: none; }
.gdb1-feature-list .gdb1-feature-icon {
  color: var(--gdb1-salmon);
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* ---------- CTA block ---------- */
.gdb1-cta {
  background: linear-gradient(135deg, var(--gdb1-primary) 0%, #008a1f 100%);
  border-radius: var(--gdb1-radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
  border: 1px solid rgba(0, 250, 154, 0.3);
}
.gdb1-cta h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 0.5rem;
}
.gdb1-cta p {
  font-size: 1.35rem;
  color: var(--gdb1-text);
  margin: 0 0 1.2rem;
}
.gdb1-cta .gdb1-btn-register {
  width: 100%;
  font-size: 1.6rem;
  padding: 1rem;
}

/* ---------- Testimonials ---------- */
.gdb1-testimonials {
  display: grid;
  gap: 0.9rem;
}
.gdb1-testimonial {
  background: var(--gdb1-surface-2);
  border-radius: 12px;
  padding: 1.2rem;
  border-left: 4px solid var(--gdb1-salmon);
}
.gdb1-testimonial p { font-size: 1.35rem; margin: 0 0 0.5rem; font-style: italic; }
.gdb1-testimonial .gdb1-author {
  font-size: 1.2rem;
  color: var(--gdb1-accent);
  font-weight: 700;
}

/* ---------- Winners ---------- */
.gdb1-winners {
  display: grid;
  gap: 0.6rem;
}
.gdb1-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gdb1-surface);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1.3rem;
}
.gdb1-winner .gdb1-winner-name { font-weight: 700; color: var(--gdb1-accent); }
.gdb1-winner .gdb1-winner-game { color: var(--gdb1-text); flex: 1; }
.gdb1-winner .gdb1-winner-amount { color: var(--gdb1-salmon); font-weight: 800; }

/* ---------- Payment ---------- */
.gdb1-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.gdb1-payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gdb1-surface);
  border: 1px solid var(--gdb1-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  color: var(--gdb1-text);
}
.gdb1-payment-chip i { color: var(--gdb1-accent); }

/* ---------- Footer ---------- */
.gdb1-footer {
  background: #0d130f;
  border-top: 2px solid rgba(0, 250, 154, 0.2);
  padding: 2.4rem 1.4rem 7rem;
  color: var(--gdb1-muted);
}
.gdb1-footer-inner { max-width: 430px; margin: 0 auto; }
.gdb1-footer-brand {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: var(--gdb1-text);
}
.gdb1-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1.2rem;
}
.gdb1-footer-links a {
  font-size: 1.3rem;
  color: var(--gdb1-accent);
}
.gdb1-footer-links a:hover { text-decoration: underline; }
.gdb1-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.gdb1-footer-promo .gdb1-btn {
  font-size: 1.25rem;
  padding: 0.5rem 0.9rem;
}
.gdb1-footer-copy {
  font-size: 1.2rem;
  color: var(--gdb1-muted);
  border-top: 1px solid var(--gdb1-border);
  padding-top: 1rem;
  text-align: center;
}

/* ---------- Mobile bottom nav ---------- */
.gdb1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #003206 0%, #001a04 100%);
  border-top: 2px solid rgba(0, 250, 154, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}
.gdb1-nav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--gdb1-muted);
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0.3rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.gdb1-nav-item i,
.gdb1-nav-item .material-icons-outlined,
.gdb1-nav-item .ion-icon {
  font-size: 24px;
}
.gdb1-nav-item:hover { color: var(--gdb1-accent); }
.gdb1-nav-item:active { transform: scale(0.92); }
.gdb1-nav-item.gdb1-nav-active {
  color: var(--gdb1-salmon);
}
.gdb1-nav-item.gdb1-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  background: var(--gdb1-salmon);
  border-radius: 0 0 4px 4px;
}
.gdb1-nav-badge {
  position: absolute;
  top: 4px;
  right: 18px;
  background: var(--gdb1-salmon);
  color: #1a0a08;
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .gdb1-bottom-nav { display: none; }
  main.gdb1-main { padding-bottom: 3rem; }
  .gdb1-wrapper { max-width: 760px; }
  .gdb1-header-inner { max-width: 760px; }
  .gdb1-footer-inner { max-width: 760px; }
  .gdb1-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Mobile bottom clearance handled on main above; ensure 80px on small screens */
@media (max-width: 768px) {
  main.gdb1-main { padding-bottom: 80px; }
}
