/* jili free100 jilicoin - Main Stylesheet */
/* CSS class prefix: g3b4- */
/* Color palette: #262626 | #D2691E | #F5F5F5 | #696969 */

:root {
  --g3b4-primary: #D2691E;
  --g3b4-bg: #262626;
  --g3b4-text: #F5F5F5;
  --g3b4-muted: #696969;
  --g3b4-dark: #1a1a1a;
  --g3b4-card: #2f2f2f;
  --g3b4-border: #3a3a3a;
  --g3b4-accent: #e8a040;
  --g3b4-gold: #d4a843;
  --g3b4-success: #28a745;
  --g3b4-font-size: 62.5%;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--g3b4-font-size);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--g3b4-bg);
  color: var(--g3b4-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.g3b4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g3b4-dark);
  border-bottom: 2px solid var(--g3b4-primary);
  max-width: 430px;
  margin: 0 auto;
}

.g3b4-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 5rem;
}

.g3b4-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.g3b4-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.g3b4-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g3b4-primary);
  white-space: nowrap;
}

.g3b4-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g3b4-btn-register {
  background: var(--g3b4-primary);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 3.2rem;
  min-width: 5.5rem;
  transition: background 0.2s, transform 0.15s;
}

.g3b4-btn-register:hover {
  background: var(--g3b4-accent);
  transform: scale(1.03);
}

.g3b4-btn-login {
  background: transparent;
  color: var(--g3b4-primary);
  border: 1.5px solid var(--g3b4-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 3.2rem;
  min-width: 5.5rem;
  transition: background 0.2s, transform 0.15s;
}

.g3b4-btn-login:hover {
  background: rgba(210, 105, 30, 0.15);
  transform: scale(1.03);
}

.g3b4-menu-toggle {
  background: none;
  border: none;
  color: var(--g3b4-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ========== MOBILE MENU ========== */
.g3b4-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 75%;
  height: 100vh;
  background: var(--g3b4-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.g3b4-menu-active {
  right: 0 !important;
}

.g3b4-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.g3b4-overlay-active {
  display: block !important;
}

.g3b4-menu-close {
  background: none;
  border: none;
  color: var(--g3b4-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.g3b4-menu-list {
  list-style: none;
  margin-top: 3rem;
}

.g3b4-menu-list li {
  border-bottom: 1px solid var(--g3b4-border);
}

.g3b4-menu-list a {
  display: block;
  padding: 1.2rem 0.5rem;
  color: var(--g3b4-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.g3b4-menu-list a:hover {
  color: var(--g3b4-primary);
}

/* ========== MAIN CONTENT ========== */
.g3b4-main {
  padding-top: 5.5rem;
  min-height: 100vh;
}

/* ========== CAROUSEL ========== */
.g3b4-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.g3b4-carousel-track {
  position: relative;
  width: 100%;
  height: 20rem;
}

.g3b4-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.g3b4-slide-active {
  opacity: 1 !important;
}

.g3b4-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g3b4-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.g3b4-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.g3b4-dot-active {
  background: var(--g3b4-primary) !important;
}

/* ========== SECTIONS ========== */
.g3b4-section {
  padding: 1.5rem 1rem;
}

.g3b4-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g3b4-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g3b4-primary);
}

.g3b4-h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--g3b4-text);
  margin-bottom: 1rem;
  line-height: 2.2rem;
}

.g3b4-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g3b4-primary);
  margin: 1.5rem 0 0.8rem;
}

.g3b4-h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--g3b4-accent);
  margin: 1rem 0 0.5rem;
}

.g3b4-p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--g3b4-text);
  margin-bottom: 0.8rem;
}

/* ========== GAME GRID ========== */
.g3b4-game-section {
  padding: 1rem;
}

.g3b4-game-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g3b4-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g3b4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.g3b4-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--g3b4-card);
  border-radius: 0.6rem;
  padding: 0.5rem 0.2rem;
}

.g3b4-game-item:hover {
  transform: scale(1.05);
}

.g3b4-game-item img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.g3b4-game-name {
  font-size: 1rem;
  color: var(--g3b4-text);
  margin-top: 0.3rem;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== CARDS ========== */
.g3b4-card {
  background: var(--g3b4-card);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--g3b4-border);
}

.g3b4-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g3b4-accent);
  margin-bottom: 0.6rem;
}

/* ========== PROMO BUTTONS ========== */
.g3b4-promo-btn {
  display: inline-block;
  background: var(--g3b4-primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  border: none;
  min-height: 4.4rem;
  min-width: 8rem;
}

.g3b4-promo-btn:hover {
  background: var(--g3b4-accent);
  transform: scale(1.03);
}

.g3b4-promo-link {
  color: var(--g3b4-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.g3b4-promo-link:hover {
  color: var(--g3b4-accent);
}

/* ========== FOOTER ========== */
.g3b4-footer {
  background: var(--g3b4-dark);
  padding: 2rem 1rem 6rem;
  border-top: 2px solid var(--g3b4-primary);
}

.g3b4-footer-brand {
  font-size: 1.3rem;
  color: var(--g3b4-muted);
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

.g3b4-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.g3b4-footer-links a {
  color: var(--g3b4-primary);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.g3b4-footer-links a:hover {
  color: var(--g3b4-accent);
}

.g3b4-footer-copy {
  font-size: 1.1rem;
  color: var(--g3b4-muted);
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--g3b4-border);
}

/* ========== BOTTOM NAV ========== */
.g3b4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g3b4-dark);
  border-top: 2px solid var(--g3b4-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 5.8rem;
  max-width: 430px;
  margin: 0 auto;
}

.g3b4-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.2rem;
  background: none;
  border: none;
  color: var(--g3b4-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.3rem;
}

.g3b4-bottom-nav-btn:hover,
.g3b4-nav-active {
  color: var(--g3b4-primary);
  transform: scale(1.08);
}

.g3b4-bottom-nav-btn .g3b4-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.g3b4-bottom-nav-btn .g3b4-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* ========== UTILITY ========== */
.g3b4-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.g3b4-wrapper {
  padding: 1rem;
}

.g3b4-text-center {
  text-align: center;
}

.g3b4-mt-1 { margin-top: 0.5rem; }
.g3b4-mt-2 { margin-top: 1rem; }
.g3b4-mt-3 { margin-top: 1.5rem; }
.g3b4-mb-1 { margin-bottom: 0.5rem; }
.g3b4-mb-2 { margin-bottom: 1rem; }

.g3b4-highlight {
  color: var(--g3b4-primary);
  font-weight: 600;
}

.g3b4-badge {
  display: inline-block;
  background: var(--g3b4-primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
}

.g3b4-divider {
  border: none;
  border-top: 1px solid var(--g3b4-border);
  margin: 1rem 0;
}

.g3b4-list {
  list-style: none;
  padding: 0;
}

.g3b4-list li {
  padding: 0.5rem 0;
  font-size: 1.3rem;
  color: var(--g3b4-text);
  border-bottom: 1px solid var(--g3b4-border);
}

/* ========== RTP TABLE ========== */
.g3b4-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.g3b4-rtp-table th,
.g3b4-rtp-table td {
  padding: 0.6rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid var(--g3b4-border);
}

.g3b4-rtp-table th {
  color: var(--g3b4-primary);
  font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.g3b4-testimonial {
  background: var(--g3b4-card);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g3b4-primary);
}

.g3b4-testimonial-author {
  font-weight: 700;
  color: var(--g3b4-accent);
  font-size: 1.2rem;
}

.g3b4-testimonial-text {
  font-size: 1.2rem;
  color: var(--g3b4-text);
  margin-top: 0.3rem;
  line-height: 1.5rem;
}

/* ========== WINNERS ========== */
.g3b4-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--g3b4-border);
}

.g3b4-winner-name {
  font-size: 1.2rem;
  color: var(--g3b4-accent);
  font-weight: 600;
}

.g3b4-winner-amount {
  font-size: 1.2rem;
  color: var(--g3b4-success);
  font-weight: 700;
}

/* ========== PAYMENT ========== */
.g3b4-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.g3b4-payment-item {
  background: var(--g3b4-card);
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--g3b4-text);
  border: 1px solid var(--g3b4-border);
}

/* ========== DESKTOP HIDE ========== */
@media (min-width: 769px) {
  .g3b4-bottom-nav {
    display: none;
  }
}

/* ========== MOBILE PADDING ========== */
@media (max-width: 768px) {
  .g3b4-main {
    padding-bottom: 7rem;
  }
}
