/* ============================================================
 * code 58win - style-793d.css
 * All custom classes use the "g3d3-" prefix.
 * Mobile-first design, max 430px primary, scales up to desktop.
 * Palette: #00FF7F (spring green), #1A1A1A (ink), #BBBBBB (gray),
 *          #FF8C00 (dark orange)
 * ============================================================ */

:root {
  --g3d3-primary: #00FF7F;
  --g3d3-primary-dark: #00cc66;
  --g3d3-accent: #FF8C00;
  --g3d3-bg: #1A1A1A;
  --g3d3-bg-2: #141414;
  --g3d3-bg-3: #242424;
  --g3d3-text: #BBBBBB;
  --g3d3-text-light: #f5f5f5;
  --g3d3-border: #2e2e2e;
  --g3d3-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --g3d3-radius: 14px;
  --g3d3-radius-sm: 8px;
  --g3d3-header-h: 56px;
  --g3d3-bottom-h: 62px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--g3d3-bg);
  color: var(--g3d3-text-light);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--g3d3-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

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

/* ---------- Header ---------- */
.g3d3-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--g3d3-header-h);
  background: linear-gradient(90deg, #111 0%, #1A1A1A 60%, #0c2a1c 100%);
  border-bottom: 2px solid var(--g3d3-primary);
  z-index: 1000;
  display: flex; align-items: center;
  box-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.g3d3-header-inner {
  width: 100%; max-width: 1100px; margin: 0 auto;
  padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.g3d3-logo { display: flex; align-items: center; gap: 8px; color: var(--g3d3-text-light); }
.g3d3-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g3d3-logo .g3d3-logo-name {
  font-weight: 800; font-size: 1.7rem; color: var(--g3d3-primary);
  letter-spacing: .3px;
}
.g3d3-logo .g3d3-logo-name span { color: var(--g3d3-accent); }

.g3d3-header-actions { display: flex; align-items: center; gap: 8px; }
.g3d3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 30px; font-size: 1.35rem; font-weight: 700;
  cursor: pointer; border: none; min-height: 36px; transition: transform .15s, box-shadow .15s;
}
.g3d3-btn:active { transform: scale(.95); }
.g3d3-btn-login {
  background: transparent; color: var(--g3d3-text-light);
  border: 1.5px solid var(--g3d3-primary);
}
.g3d3-btn-register {
  background: linear-gradient(90deg, var(--g3d3-accent), #ff6a00);
  color: #1A1A1A; box-shadow: 0 4px 14px rgba(255,140,0,.35);
}
.g3d3-burger {
  width: 38px; height: 38px; border: none; background: transparent;
  color: var(--g3d3-primary); font-size: 2.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.g3d3-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 9998;
}
.g3d3-menu-overlay.g3d3-overlay-show { opacity: 1; pointer-events: auto; }
.g3d3-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px;
  height: 100%; background: var(--g3d3-bg-2);
  border-left: 2px solid var(--g3d3-primary);
  z-index: 9999; padding: 70px 18px 30px; overflow-y: auto;
  transition: right .3s ease;
}
.g3d3-mobile-menu.g3d3-menu-open { right: 0; }
.g3d3-mobile-menu h4 { color: var(--g3d3-accent); font-size: 1.4rem; margin: 14px 0 8px; text-transform: uppercase; letter-spacing: 1px; }
.g3d3-mobile-menu a {
  display: block; padding: 11px 12px; color: var(--g3d3-text-light);
  border-bottom: 1px solid var(--g3d3-border); font-size: 1.45rem;
}
.g3d3-mobile-menu a:hover { background: var(--g3d3-bg-3); color: var(--g3d3-primary); }
.g3d3-menu-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: none; background: transparent;
  color: var(--g3d3-accent); font-size: 2rem; cursor: pointer;
}

/* ---------- Main spacing ---------- */
.g3d3-main { padding-top: calc(var(--g3d3-header-h) + 10px); padding-bottom: 80px; }

/* ---------- Hero / Carousel ---------- */
.g3d3-section { margin: 22px 0; }
.g3d3-section-title {
  font-size: 1.9rem; color: var(--g3d3-text-light); font-weight: 800;
  margin-bottom: 12px; padding-left: 10px;
  border-left: 4px solid var(--g3d3-primary);
}
.g3d3-section-title em { color: var(--g3d3-accent); font-style: normal; }

.g3d3-carousel {
  position: relative; border-radius: var(--g3d3-radius); overflow: hidden;
  box-shadow: var(--g3d3-shadow); background: #000;
}
.g3d3-slides { position: relative; height: 200px; }
.g3d3-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.g3d3-slide img { width: 100%; height: 100%; object-fit: cover; }
.g3d3-slide.g3d3-slide-active { opacity: 1; }
.g3d3-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff; font-weight: 700; font-size: 1.4rem;
}
.g3d3-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.g3d3-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer; border: none;
}
.g3d3-carousel-dot.g3d3-dot-active { background: var(--g3d3-primary); width: 22px; border-radius: 5px; }

/* ---------- Promo banner ---------- */
.g3d3-promo-banner {
  background: linear-gradient(90deg, #0c2a1c, #2a1c00);
  border: 1px solid var(--g3d3-border); border-radius: var(--g3d3-radius);
  padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.g3d3-promo-banner .g3d3-promo-text { font-size: 1.35rem; color: var(--g3d3-text-light); }
.g3d3-promo-banner .g3d3-promo-text strong { color: var(--g3d3-accent); }
.g3d3-countdown { font-family: monospace; font-size: 1.6rem; color: var(--g3d3-primary); font-weight: 700; }
.g3d3-btn-promo {
  background: var(--g3d3-primary); color: #1A1A1A; padding: 8px 14px;
  border-radius: 30px; font-weight: 800; font-size: 1.3rem; border: none; cursor: pointer;
}

/* ---------- Game grid ---------- */
.g3d3-filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.g3d3-filter-tab {
  padding: 6px 14px; border-radius: 20px; background: var(--g3d3-bg-3);
  color: var(--g3d3-text); font-size: 1.3rem; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--g3d3-border);
}
.g3d3-filter-tab.g3d3-filter-active { background: var(--g3d3-primary); color: #1A1A1A; border-color: var(--g3d3-primary); font-weight: 700; }

.g3d3-game-block { margin-bottom: 26px; }
.g3d3-cat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.g3d3-cat-head i { color: var(--g3d3-accent); font-size: 1.9rem; }
.g3d3-cat-head h3 { font-size: 1.7rem; color: var(--g3d3-text-light); font-weight: 800; }
.g3d3-cat-head .g3d3-cat-link { margin-left: auto; font-size: 1.25rem; color: var(--g3d3-primary); }

.g3d3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g3d3-card {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.g3d3-card:hover { transform: translateY(-3px); border-color: var(--g3d3-primary); }
.g3d3-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #000; }
.g3d3-card-name {
  padding: 6px 6px 8px; font-size: 1.15rem; color: var(--g3d3-text-light);
  text-align: center; line-height: 1.25; min-height: 32px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Info / features ---------- */
.g3d3-card-box {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius); padding: 16px; margin-bottom: 12px;
}
.g3d3-card-box h3 { color: var(--g3d3-primary); margin-bottom: 8px; font-size: 1.6rem; }
.g3d3-card-box p { color: var(--g3d3-text); font-size: 1.35rem; margin-bottom: 8px; }
.g3d3-card-box a { color: var(--g3d3-accent); font-weight: 700; }
.g3d3-card-box ul { padding-left: 18px; }
.g3d3-card-box ul li { list-style: disc; color: var(--g3d3-text); margin-bottom: 5px; font-size: 1.35rem; }

.g3d3-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g3d3-feature {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius-sm); padding: 14px 10px; text-align: center;
}
.g3d3-feature i { font-size: 2.4rem; color: var(--g3d3-primary); }
.g3d3-feature h4 { font-size: 1.3rem; color: var(--g3d3-text-light); margin: 6px 0 4px; }
.g3d3-feature p { font-size: 1.15rem; color: var(--g3d3-text); }

/* ---------- Steps ---------- */
.g3d3-steps { display: grid; gap: 10px; }
.g3d3-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--g3d3-bg-3); border-left: 4px solid var(--g3d3-accent);
  border-radius: var(--g3d3-radius-sm); padding: 12px;
}
.g3d3-step-num {
  flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--g3d3-primary); color: #1A1A1A;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.g3d3-step-body h4 { color: var(--g3d3-text-light); font-size: 1.4rem; margin-bottom: 4px; }
.g3d3-step-body p { color: var(--g3d3-text); font-size: 1.3rem; }

/* ---------- RTP table ---------- */
.g3d3-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.g3d3-rtp-table th, .g3d3-rtp-table td {
  padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--g3d3-border);
}
.g3d3-rtp-table th { color: var(--g3d3-accent); font-weight: 700; }
.g3d3-rtp-table td.g3d3-rtp-val { color: var(--g3d3-primary); font-weight: 700; text-align: right; }

/* ---------- Testimonials ---------- */
.g3d3-testimonials { display: grid; gap: 10px; }
.g3d3-testimonial {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius-sm); padding: 12px;
}
.g3d3-testimonial-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.g3d3-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--g3d3-primary); color: #1A1A1A; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.g3d3-testimonial h5 { font-size: 1.3rem; color: var(--g3d3-text-light); }
.g3d3-stars { color: #FFD700; font-size: 1.1rem; }
.g3d3-testimonial p { font-size: 1.3rem; color: var(--g3d3-text); }

/* ---------- Winners ---------- */
.g3d3-winners { display: grid; gap: 8px; }
.g3d3-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--g3d3-bg-3); border-radius: var(--g3d3-radius-sm); padding: 9px 12px;
  border-left: 3px solid var(--g3d3-primary);
}
.g3d3-winner .g3d3-winner-name { font-size: 1.3rem; color: var(--g3d3-text-light); }
.g3d3-winner .g3d3-winner-amount { color: var(--g3d3-accent); font-weight: 800; font-size: 1.35rem; }

/* ---------- Payment ---------- */
.g3d3-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.g3d3-pay-chip {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius-sm); padding: 10px 14px;
  font-size: 1.25rem; color: var(--g3d3-text-light); display: flex; align-items: center; gap: 6px;
}
.g3d3-pay-chip i { color: var(--g3d3-primary); }

/* ---------- App download ---------- */
.g3d3-app-cta {
  background: linear-gradient(135deg, #0c2a1c, #2a1c00);
  border: 1px solid var(--g3d3-primary); border-radius: var(--g3d3-radius);
  padding: 18px; text-align: center;
}
.g3d3-app-cta h3 { color: var(--g3d3-primary); font-size: 1.7rem; margin-bottom: 6px; }
.g3d3-app-cta p { color: var(--g3d3-text); font-size: 1.3rem; margin-bottom: 12px; }
.g3d3-app-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.g3d3-app-btn {
  background: #1A1A1A; border: 1px solid var(--g3d3-primary); color: var(--g3d3-text-light);
  padding: 8px 14px; border-radius: 30px; font-weight: 700; font-size: 1.25rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- FAQ ---------- */
.g3d3-faq-item {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  border-radius: var(--g3d3-radius-sm); margin-bottom: 8px; overflow: hidden;
}
.g3d3-faq-q {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 12px 14px; color: var(--g3d3-text-light); font-size: 1.4rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.g3d3-faq-q .g3d3-faq-icon { color: var(--g3d3-accent); transition: transform .2s; }
.g3d3-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 14px; color: var(--g3d3-text); font-size: 1.3rem; }
.g3d3-faq-item.g3d3-faq-open .g3d3-faq-a { max-height: 400px; padding: 0 14px 14px; }
.g3d3-faq-item.g3d3-faq-open .g3d3-faq-icon { transform: rotate(45deg); }

/* ---------- CTA big button ---------- */
.g3d3-cta-center { text-align: center; margin: 24px 0; }
.g3d3-btn-cta-big {
  display: inline-block; padding: 14px 36px; font-size: 1.7rem; font-weight: 800;
  background: linear-gradient(90deg, var(--g3d3-accent), #ff5500);
  color: #1A1A1A; border-radius: 40px; border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,140,0,.45);
}
.g3d3-btn-cta-green {
  background: linear-gradient(90deg, var(--g3d3-primary), var(--g3d3-primary-dark));
  color: #1A1A1A; box-shadow: 0 6px 20px rgba(0,255,127,.35);
}

/* ---------- Footer ---------- */
.g3d3-footer {
  background: #0c0c0c; border-top: 2px solid var(--g3d3-primary);
  padding: 26px 14px 30px; margin-top: 30px;
}
.g3d3-footer-brand { color: var(--g3d3-text); font-size: 1.3rem; margin-bottom: 14px; line-height: 1.6; }
.g3d3-footer-brand strong { color: var(--g3d3-primary); }
.g3d3-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px;
}
.g3d3-footer-links a { color: var(--g3d3-text-light); font-size: 1.25rem; padding: 4px 0; border-bottom: 1px dashed var(--g3d3-border); }
.g3d3-footer-links a:hover { color: var(--g3d3-primary); }
.g3d3-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.g3d3-footer-promos button, .g3d3-footer-promos a {
  background: var(--g3d3-bg-3); border: 1px solid var(--g3d3-border);
  color: var(--g3d3-primary); padding: 7px 12px; border-radius: 20px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.g3d3-footer-copy { color: var(--g3d3-text); font-size: 1.2rem; text-align: center; border-top: 1px solid var(--g3d3-border); padding-top: 14px; }

/* ---------- Bottom nav ---------- */
.g3d3-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--g3d3-bottom-h);
  background: linear-gradient(180deg, #161616, #0a0a0a);
  border-top: 2px solid var(--g3d3-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding: 4px 0;
}
.g3d3-bottom-nav-item {
  flex: 1; min-width: 60px; min-height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--g3d3-text); background: transparent; border: none;
  cursor: pointer; font-size: 1.05rem; transition: color .2s, transform .15s;
}
.g3d3-bottom-nav-item i, .g3d3-bottom-nav-item .material-icons-outlined,
.g3d3-bottom-nav-item ion-icon { font-size: 24px; }
.g3d3-bottom-nav-item ion-icon { width: 24px; height: 24px; }
.g3d3-bottom-nav-item:active { transform: scale(.9); }
.g3d3-bottom-nav-item.g3d3-nav-current { color: var(--g3d3-primary); }
.g3d3-bottom-nav-item.g3d3-nav-promo { color: var(--g3d3-accent); }

/* ---------- Back to top ---------- */
.g3d3-totop {
  position: fixed; right: 14px; bottom: calc(var(--g3d3-bottom-h) + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g3d3-accent); color: #1A1A1A; border: none; cursor: pointer;
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 999;
  box-shadow: var(--g3d3-shadow);
}
.g3d3-totop.g3d3-totop-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .g3d3-bottom-nav { display: none; }
  .g3d3-burger { display: none; }
  .g3d3-container { max-width: 1100px; }
  .g3d3-main { padding-bottom: 30px; }
  .g3d3-slides { height: 360px; }
  .g3d3-grid { grid-template-columns: repeat(6, 1fr); }
  .g3d3-features { grid-template-columns: repeat(4, 1fr); }
  .g3d3-footer-links { grid-template-columns: repeat(4, 1fr); }
  .g3d3-desktop-nav { display: flex; gap: 16px; align-items: center; }
  .g3d3-desktop-nav a { color: var(--g3d3-text-light); font-size: 1.35rem; }
  .g3d3-desktop-nav a:hover { color: var(--g3d3-primary); }
}
.g3d3-desktop-nav { display: none; }

@media (max-width: 768px) {
  main.g3d3-main { padding-bottom: 80px; }
}

/* ---------- Inline promo text link ---------- */
.g3d3-link-inline {
  color: var(--g3d3-accent); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--g3d3-accent);
}
.g3d3-prose { color: var(--g3d3-text); font-size: 1.35rem; line-height: 1.7; margin-bottom: 10px; }
.g3d3-prose strong { color: var(--g3d3-primary); }
.g3d3-prose a { color: var(--g3d3-accent); font-weight: 700; }
