/* JL Boss App Core Styles - prefix: g8cc- | Colors: #2C3E50, #9932CC, #E9967A, #D8BFD8, #CC99FF */
html { font-size: 62.5%; scroll-behavior: smooth; }
:root {
  --g8cc-primary: #9932CC; --g8cc-primary-dark: #7B24A0; --g8cc-secondary: #CC99FF;
  --g8cc-accent: #E9967A; --g8cc-bg-dark: #2C3E50; --g8cc-bg-darker: #1E2D3D;
  --g8cc-bg-card: #34495E; --g8cc-text-light: #D8BFD8; --g8cc-text-white: #F5F0FF;
  --g8cc-border: #5D4E6E; --g8cc-gold: #FFD700;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--g8cc-bg-dark); color: var(--g8cc-text-white); line-height: 1.5rem;
  max-width: 430px; margin: 0 auto; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--g8cc-secondary); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* HEADER */
.g8cc-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 56px;
  background: linear-gradient(135deg, var(--g8cc-bg-darker), var(--g8cc-bg-dark));
  border-bottom: 2px solid var(--g8cc-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
}
.g8cc-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.g8cc-logo-area img { width: 32px; height: 32px; border-radius: 6px; }
.g8cc-logo-area span {
  font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(90deg, var(--g8cc-secondary), var(--g8cc-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.g8cc-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g8cc-btn-register {
  background: linear-gradient(135deg, var(--g8cc-primary), var(--g8cc-primary-dark));
  color: #fff; border: none; padding: 0.6rem 1.4rem; border-radius: 20px;
  font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.g8cc-btn-register:hover { background: linear-gradient(135deg, var(--g8cc-accent), var(--g8cc-primary)); transform: scale(1.05); }
.g8cc-btn-login {
  background: transparent; color: var(--g8cc-secondary); border: 1.5px solid var(--g8cc-secondary);
  padding: 0.6rem 1.4rem; border-radius: 20px; font-size: 1.3rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.g8cc-btn-login:hover { background: rgba(153, 50, 204, 0.15); }
.g8cc-menu-toggle {
  background: none; border: none; color: var(--g8cc-text-light);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* MOBILE MENU */
.g8cc-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--g8cc-bg-darker); z-index: 9999; transition: right 0.35s ease;
  padding: 6rem 2rem 2rem; overflow-y: auto;
}
.g8cc-menu-active { right: 0; }
.g8cc-mobile-menu a {
  display: block; color: var(--g8cc-text-light); font-size: 1.5rem;
  padding: 1.2rem 0; border-bottom: 1px solid rgba(93, 78, 110, 0.4); transition: color 0.2s;
}
.g8cc-mobile-menu a:hover { color: var(--g8cc-secondary); }
.g8cc-menu-close {
  position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: none;
  color: var(--g8cc-text-light); font-size: 2.4rem; cursor: pointer;
}
.g8cc-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6); z-index: 9998; display: none;
}
.g8cc-overlay-active { display: block; }

/* MAIN CONTENT */
.g8cc-main { padding-top: 56px; padding-bottom: 1rem; }

/* CAROUSEL */
.g8cc-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 12px 12px; }
.g8cc-slide { display: none; width: 100%; cursor: pointer; }
.g8cc-slide-active { display: block; }
.g8cc-slide img { width: 100%; height: 200px; object-fit: cover; }
.g8cc-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.g8cc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: background 0.3s;
}
.g8cc-dot-active { background: var(--g8cc-accent); width: 24px; border-radius: 5px; }

/* SECTIONS */
.g8cc-section { padding: 2rem 1.4rem; }
.g8cc-section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 1.4rem;
  padding-left: 1rem; border-left: 4px solid var(--g8cc-primary); color: var(--g8cc-text-white);
}

/* GAME GRID */
.g8cc-game-section { margin-bottom: 2rem; }
.g8cc-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g8cc-game-item { text-align: center; cursor: pointer; transition: transform 0.2s; }
.g8cc-game-item:hover { transform: translateY(-3px); }
.g8cc-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  border: 2px solid transparent; transition: border-color 0.3s;
}
.g8cc-game-item:hover img { border-color: var(--g8cc-primary); }
.g8cc-game-item p {
  font-size: 1.1rem; color: var(--g8cc-text-light); margin-top: 0.4rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* CATEGORY TABS */
.g8cc-cat-tabs {
  display: flex; gap: 0.6rem; margin-bottom: 1.4rem; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0.4rem;
}
.g8cc-cat-tabs::-webkit-scrollbar { display: none; }
.g8cc-cat-tab {
  background: var(--g8cc-bg-card); color: var(--g8cc-text-light); border: 1px solid var(--g8cc-border);
  padding: 0.6rem 1.4rem; border-radius: 18px; font-size: 1.2rem; white-space: nowrap;
  cursor: pointer; transition: all 0.3s;
}
.g8cc-cat-tab-active, .g8cc-cat-tab:hover { background: var(--g8cc-primary); color: #fff; border-color: var(--g8cc-primary); }

/* CONTENT BLOCKS */
.g8cc-content-block {
  background: var(--g8cc-bg-card); border-radius: 12px; padding: 1.6rem;
  margin-bottom: 1.6rem; border: 1px solid rgba(153, 50, 204, 0.2);
}
.g8cc-content-block h3 { font-size: 1.7rem; color: var(--g8cc-secondary); margin-bottom: 1rem; }
.g8cc-content-block p { font-size: 1.3rem; line-height: 1.8rem; color: var(--g8cc-text-light); margin-bottom: 1rem; }

/* PROMO BUTTONS */
.g8cc-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g8cc-primary), var(--g8cc-primary-dark));
  color: #fff; padding: 1rem 2.4rem; border-radius: 25px; font-size: 1.5rem;
  font-weight: 700; cursor: pointer; text-align: center; transition: all 0.3s; border: none;
}
.g8cc-promo-btn:hover {
  background: linear-gradient(135deg, var(--g8cc-accent), var(--g8cc-primary));
  transform: translateY(-2px); box-shadow: 0 4px 15px rgba(153, 50, 204, 0.4);
}
.g8cc-promo-text { color: var(--g8cc-accent); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* PAYMENT & TESTIMONIALS & WINNERS */
.g8cc-payment-grid { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.g8cc-payment-item {
  background: var(--g8cc-bg-darker); border: 1px solid var(--g8cc-border);
  border-radius: 10px; padding: 1rem 1.6rem; text-align: center; font-size: 1.3rem; color: var(--g8cc-text-light);
}
.g8cc-testimonial {
  background: var(--g8cc-bg-darker); border-radius: 10px; padding: 1.4rem;
  margin-bottom: 1rem; border-left: 3px solid var(--g8cc-accent);
}
.g8cc-testimonial p { font-size: 1.3rem; color: var(--g8cc-text-light); font-style: italic; margin-bottom: 0.6rem; }
.g8cc-testimonial span { font-size: 1.2rem; color: var(--g8cc-secondary); font-weight: 600; }
.g8cc-winner-row {
  display: flex; justify-content: space-between; padding: 0.8rem 0;
  border-bottom: 1px solid rgba(93, 78, 110, 0.3); font-size: 1.3rem;
}
.g8cc-winner-name { color: var(--g8cc-secondary); font-weight: 600; }
.g8cc-winner-game { color: var(--g8cc-text-light); flex: 1; text-align: center; }
.g8cc-winner-amount { color: var(--g8cc-gold); font-weight: 700; }

/* FOOTER */
.g8cc-footer { background: var(--g8cc-bg-darker); padding: 2.5rem 1.4rem 8rem; border-top: 2px solid var(--g8cc-primary); }
.g8cc-footer-brand { font-size: 1.3rem; color: var(--g8cc-text-light); line-height: 1.7rem; margin-bottom: 1.6rem; }
.g8cc-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }
.g8cc-footer-links a {
  background: var(--g8cc-bg-card); color: var(--g8cc-text-light); padding: 0.5rem 1.2rem;
  border-radius: 15px; font-size: 1.2rem; border: 1px solid var(--g8cc-border); transition: all 0.2s;
}
.g8cc-footer-links a:hover { background: var(--g8cc-primary); color: #fff; }
.g8cc-footer-copy { font-size: 1.1rem; color: rgba(216, 191, 216, 0.5); text-align: center; }

/* BOTTOM NAVIGATION */
.g8cc-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px;
  background: linear-gradient(180deg, var(--g8cc-bg-dark), var(--g8cc-bg-darker));
  border-top: 2px solid var(--g8cc-primary);
  display: flex; justify-content: space-around; align-items: center; z-index: 1000;
}
.g8cc-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: none; border: none;
  color: var(--g8cc-text-light); cursor: pointer; transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.g8cc-bnav-btn:hover, .g8cc-bnav-btn.g8cc-bnav-active { color: var(--g8cc-accent); }
.g8cc-bnav-btn i, .g8cc-bnav-btn span.material-symbols-outlined { font-size: 24px; margin-bottom: 2px; }
.g8cc-bnav-label { font-size: 1rem; font-weight: 500; }

/* RTP TABLE */
.g8cc-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.g8cc-rtp-table th { background: var(--g8cc-primary); color: #fff; padding: 0.8rem; text-align: left; font-weight: 600; }
.g8cc-rtp-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(93, 78, 110, 0.3); color: var(--g8cc-text-light); }
.g8cc-rtp-table tr:nth-child(even) { background: rgba(44, 62, 80, 0.5); }

/* FEATURES & DOWNLOAD */
.g8cc-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.g8cc-feature-card {
  background: var(--g8cc-bg-darker); border: 1px solid var(--g8cc-border);
  border-radius: 10px; padding: 1.4rem 1rem; text-align: center;
}
.g8cc-feature-card i { font-size: 2.8rem; color: var(--g8cc-primary); margin-bottom: 0.8rem; }
.g8cc-feature-card h4 { font-size: 1.3rem; color: var(--g8cc-secondary); margin-bottom: 0.4rem; }
.g8cc-feature-card p { font-size: 1.1rem; color: var(--g8cc-text-light); }
.g8cc-download-box {
  background: linear-gradient(135deg, var(--g8cc-bg-darker), var(--g8cc-bg-card));
  border: 2px solid var(--g8cc-primary); border-radius: 14px; padding: 2rem; text-align: center;
}
.g8cc-download-box h3 { font-size: 1.8rem; color: var(--g8cc-secondary); margin-bottom: 1rem; }
.g8cc-download-box p { font-size: 1.3rem; color: var(--g8cc-text-light); margin-bottom: 1.4rem; }

/* UTILITIES */
.g8cc-text-center { text-align: center; }
.g8cc-mb-1 { margin-bottom: 1rem; }
.g8cc-mt-1 { margin-top: 1rem; }

/* RESPONSIVE */
@media (min-width: 769px) { .g8cc-bnav { display: none; } .g8cc-main { padding-bottom: 2rem; } .g8cc-footer { padding-bottom: 2.5rem; } }
@media (max-width: 768px) { .g8cc-main { padding-bottom: 80px; } }
