/* Plus7 Stylesheet - All classes use g6db- prefix */
:root {
  --g6db-primary: #00BFFF;
  --g6db-bg-dark: #262626;
  --g6db-bg-mid: #2F2F2F;
  --g6db-text-light: #D3D3D3;
  --g6db-accent: #36454F;
  --g6db-bg-card: #1e1e1e;
  --g6db-border: #3a3a3a;
  --g6db-hover: #00a3d9;
  --g6db-gradient: linear-gradient(135deg, #00BFFF 0%, #0077aa 100%);
  --g6db-radius: 8px;
  --g6db-radius-lg: 12px;
  --g6db-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 62.5%;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--g6db-bg-dark);
  color: var(--g6db-text-light);
  font-size: 1.4rem; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden;
  max-width: 480px; margin: 0 auto;
}
a { color: var(--g6db-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--g6db-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.g6db-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 56px;
  background: var(--g6db-bg-mid); display: flex; align-items: center;
  justify-content: space-between; padding: 0 1rem;
  z-index: 1000; border-bottom: 1px solid var(--g6db-border);
  box-shadow: var(--g6db-shadow);
}
.g6db-header-logo { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.g6db-header-logo img { width: 28px; height: 28px; border-radius: 4px; }
.g6db-header-logo span { font-size: 1.8rem; font-weight: 700; color: var(--g6db-primary); letter-spacing: 0.5px; }
.g6db-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g6db-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--g6db-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s ease; white-space: nowrap;
}
.g6db-btn-register { background: var(--g6db-gradient); color: #fff; }
.g6db-btn-register:hover { opacity: 0.9; transform: scale(1.02); }
.g6db-btn-login { background: transparent; color: var(--g6db-primary); border: 1.5px solid var(--g6db-primary); }
.g6db-btn-login:hover { background: rgba(0, 191, 255, 0.1); }
.g6db-menu-toggle { background: none; border: none; color: var(--g6db-text-light); font-size: 2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center; }

/* Mobile Slide Menu */
.g6db-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9998; }
.g6db-mobile-menu {
  position: fixed; top: 0; left: 0; width: 75%; max-width: 300px;
  height: 100%; background: var(--g6db-bg-mid); z-index: 9999;
  transform: translateX(-100%); transition: transform 0.3s ease;
  overflow-y: auto; padding: 1.5rem;
}
.g6db-mobile-menu-close { background: none; border: none; color: var(--g6db-text-light); font-size: 2.4rem; cursor: pointer; float: right; margin-bottom: 1rem; }
.g6db-mobile-menu h3 { font-size: 1.3rem; color: var(--g6db-primary); margin: 1.5rem 0 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--g6db-border); }
.g6db-mobile-menu a { display: block; padding: 0.8rem 0; color: var(--g6db-text-light); font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.g6db-mobile-menu a:hover { color: var(--g6db-primary); padding-left: 0.5rem; }

/* Main Content */
.g6db-main { padding-top: 56px; min-height: 100vh; }

/* Carousel */
.g6db-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 var(--g6db-radius-lg) var(--g6db-radius-lg); }
.g6db-carousel-slide { display: none; opacity: 0; transition: opacity 0.5s ease; cursor: pointer; }
.g6db-carousel-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.g6db-carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.g6db-carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; border: none; transition: background 0.3s ease; }
.g6db-dot-active { background: var(--g6db-primary); transform: scale(1.2); }

/* Container / Sections */
.g6db-container { padding: 1.2rem 1rem; }
.g6db-section { margin-bottom: 1.5rem; }
.g6db-section-title {
  font-size: 1.8rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g6db-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.g6db-section-title i, .g6db-section-title .material-symbols-outlined { color: var(--g6db-primary); font-size: 2rem; }

/* Game Grid */
.g6db-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.g6db-game-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s ease; border-radius: var(--g6db-radius); padding: 0.3rem; }
.g6db-game-item:hover { transform: scale(1.05); }
.g6db-game-item:active { transform: scale(0.95); }
.g6db-game-item img { width: 100%; aspect-ratio: 1; border-radius: var(--g6db-radius); object-fit: cover; border: 1px solid var(--g6db-border); }
.g6db-game-item span { font-size: 1rem; color: var(--g6db-text-light); text-align: center; margin-top: 0.3rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }

/* Cards / Modules */
.g6db-card { background: var(--g6db-bg-card); border-radius: var(--g6db-radius-lg); padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--g6db-border); }
.g6db-card h2 { font-size: 1.7rem; color: #fff; margin-bottom: 0.8rem; }
.g6db-card h3 { font-size: 1.5rem; color: var(--g6db-primary); margin: 0.8rem 0 0.5rem; }
.g6db-card p { font-size: 1.3rem; line-height: 1.6; color: var(--g6db-text-light); margin-bottom: 0.6rem; }

/* CTA / Promo */
.g6db-cta-btn {
  display: inline-block; background: var(--g6db-gradient); color: #fff;
  padding: 1rem 2rem; border-radius: var(--g6db-radius);
  font-size: 1.5rem; font-weight: 700; cursor: pointer;
  border: none; text-align: center; transition: all 0.2s ease; margin: 0.5rem 0;
}
.g6db-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3); }
.g6db-promo-text { font-weight: 700; color: var(--g6db-primary); cursor: pointer; text-decoration: underline; font-size: 1.4rem; }
.g6db-promo-text:hover { color: var(--g6db-hover); }

/* Winner List */
.g6db-winner-item { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.2rem; }
.g6db-winner-name { color: var(--g6db-primary); font-weight: 600; }
.g6db-winner-amount { color: #ffd700; font-weight: 700; }

/* FAQ */
.g6db-faq-item { margin-bottom: 0.8rem; padding: 0.8rem; background: var(--g6db-bg-mid); border-radius: var(--g6db-radius); border-left: 3px solid var(--g6db-primary); }
.g6db-faq-item h4 { font-size: 1.3rem; color: var(--g6db-primary); margin-bottom: 0.4rem; }
.g6db-faq-item p { font-size: 1.2rem; color: var(--g6db-text-light); line-height: 1.5; }

/* Footer */
.g6db-footer { background: var(--g6db-bg-mid); padding: 1.5rem 1rem 2rem; border-top: 1px solid var(--g6db-border); margin-top: 2rem; }
.g6db-footer-brand { text-align: center; margin-bottom: 1.2rem; }
.g6db-footer-brand p { font-size: 1.2rem; color: var(--g6db-text-light); line-height: 1.5; margin-bottom: 0.3rem; }
.g6db-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.2rem; }
.g6db-footer-promos .g6db-btn { font-size: 1.2rem; padding: 0.5rem 1rem; }
.g6db-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; justify-content: center; margin-bottom: 1rem; }
.g6db-footer-links a { font-size: 1.2rem; color: var(--g6db-text-light); }
.g6db-footer-links a:hover { color: var(--g6db-primary); }
.g6db-footer-copy { text-align: center; font-size: 1.1rem; color: #888; padding-top: 0.8rem; border-top: 1px solid var(--g6db-border); }

/* Bottom Navigation Bar */
.g6db-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 60px;
  background: var(--g6db-bg-mid); display: flex;
  justify-content: space-around; align-items: center;
  z-index: 1000; border-top: 1px solid var(--g6db-border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.g6db-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: none; border: none;
  color: var(--g6db-text-light); cursor: pointer; transition: all 0.2s ease;
  padding: 0.3rem; position: relative;
}
.g6db-bottom-nav-btn i, .g6db-bottom-nav-btn .material-symbols-outlined { font-size: 22px; margin-bottom: 2px; }
.g6db-bottom-nav-btn span { font-size: 1rem; color: inherit; }
.g6db-bottom-nav-btn:hover { color: var(--g6db-primary); transform: scale(1.08); }
.g6db-bottom-nav-btn:active { transform: scale(0.92); }
.g6db-nav-active { color: var(--g6db-primary); }
.g6db-nav-active::after { content: ''; position: absolute; top: -2px; left: 25%; width: 50%; height: 2px; background: var(--g6db-primary); border-radius: 1px; }

/* Feature Grid */
.g6db-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g6db-feature-item { background: var(--g6db-bg-mid); border-radius: var(--g6db-radius); padding: 1rem; text-align: center; border: 1px solid var(--g6db-border); }
.g6db-feature-item i, .g6db-feature-item .material-symbols-outlined { font-size: 2.4rem; color: var(--g6db-primary); margin-bottom: 0.5rem; }
.g6db-feature-item h4 { font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }
.g6db-feature-item p { font-size: 1.1rem; color: var(--g6db-text-light); }

/* Payment Methods */
.g6db-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.g6db-payment-item { background: var(--g6db-bg-mid); border-radius: var(--g6db-radius); padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--g6db-text-light); border: 1px solid var(--g6db-border); display: flex; align-items: center; gap: 0.4rem; }

/* Testimonials */
.g6db-testimonial { background: var(--g6db-bg-mid); border-radius: var(--g6db-radius); padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--g6db-primary); }
.g6db-testimonial-name { font-weight: 700; color: var(--g6db-primary); font-size: 1.3rem; }
.g6db-testimonial-text { font-size: 1.2rem; color: var(--g6db-text-light); margin-top: 0.4rem; line-height: 1.5; }
.g6db-stars { color: #ffd700; font-size: 1.2rem; margin-bottom: 0.3rem; }

/* Category Badge */
.g6db-cat-badge { display: inline-block; background: var(--g6db-gradient); color: #fff; padding: 0.4rem 1rem; border-radius: 20px; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.8rem; }

/* Responsive */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .g6db-bottom-nav { display: none; }
  .g6db-main { padding-bottom: 0; }
}
@media (max-width: 768px) {
  .g6db-main { padding-bottom: 80px; }
}
