/* GoJackpot Layout - Prefix: pg16- | Colors: #26A69A #00E5FF #0A0A0A #00CED1 */
:root {
  --pg16-primary: #26A69A; --pg16-secondary: #00E5FF; --pg16-bg: #0A0A0A;
  --pg16-accent: #00CED1; --pg16-text: #E0E0E0; --pg16-text-muted: #9E9E9E;
  --pg16-white: #FFFFFF; --pg16-card-bg: #141414; --pg16-card-border: #1E1E1E;
  --pg16-gradient: linear-gradient(135deg, #26A69A 0%, #00CED1 100%);
  --pg16-radius: 8px; --pg16-radius-lg: 12px;
  --pg16-header-h: 56px; --pg16-bottom-h: 60px;
  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: var(--pg16-bg); color: var(--pg16-text); font-size: 1.4rem; line-height: 1.5rem; max-width: 430px; margin: 0 auto; overflow-x: hidden; }
a { color: var(--pg16-secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pg16-accent); }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.pg16-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; height: var(--pg16-header-h); background: linear-gradient(180deg, #111 0%, #0A0A0A 100%); border-bottom: 1px solid var(--pg16-primary); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; z-index: 1000; transition: transform 0.3s ease; }
.pg16-header-left { display: flex; align-items: center; gap: 8px; }
.pg16-logo { width: 32px; height: 32px; border-radius: 6px; }
.pg16-site-name { font-size: 1.6rem; font-weight: 700; color: var(--pg16-primary); letter-spacing: 0.5px; }
.pg16-header-right { display: flex; align-items: center; gap: 8px; }
.pg16-btn-register, .pg16-btn-login { padding: 6px 14px; border: none; border-radius: 4px; font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.pg16-btn-register { background: var(--pg16-gradient); color: var(--pg16-white); }
.pg16-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.pg16-btn-login { background: transparent; color: var(--pg16-primary); border: 1px solid var(--pg16-primary); }
.pg16-btn-login:hover { background: var(--pg16-primary); color: var(--pg16-white); }
.pg16-menu-btn { background: none; border: none; color: var(--pg16-text); font-size: 2rem; cursor: pointer; padding: 4px; display: flex; align-items: center; }

/* MOBILE MENU */
.pg16-mobile-menu { display: none; flex-direction: column; position: fixed; top: var(--pg16-header-h); left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: #111; border-bottom: 2px solid var(--pg16-primary); z-index: 9999; padding: 8px 0; }
.app164-menu-active { animation: pg16-slideDown 0.25s ease; }
@keyframes pg16-slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.pg16-mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--pg16-text); font-size: 1.3rem; border-bottom: 1px solid #1A1A1A; transition: background 0.2s; }
.pg16-mobile-menu a:hover { background: #1A1A1A; color: var(--pg16-primary); }
.pg16-mobile-menu a i { width: 20px; text-align: center; color: var(--pg16-accent); }

/* MAIN */
.pg16-main { padding-top: calc(var(--pg16-header-h) + 4px); padding-bottom: 40px; min-height: 100vh; }

/* CAROUSEL */
.pg16-carousel { position: relative; width: 100%; overflow: hidden; }
.pg16-slide { display: none; width: 100%; cursor: pointer; }
.pg16-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.pg16-carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.pg16-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s; border: none; }
.pg16-dot-active, .pg16-dot:hover { background: var(--pg16-primary); }
.pg16-carousel-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 6px; z-index: 5; }
.pg16-carousel-arrows button { background: rgba(0,0,0,0.5); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* SECTIONS */
.pg16-section { padding: 16px 12px; margin-bottom: 8px; }
.pg16-section-title { font-size: 1.7rem; font-weight: 700; color: var(--pg16-white); margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--pg16-primary); display: flex; align-items: center; gap: 8px; }
.pg16-section-title i { color: var(--pg16-secondary); }
.pg16-section-subtitle { font-size: 1.3rem; color: var(--pg16-text-muted); margin-bottom: 10px; }

/* GAME GRID */
.pg16-game-section { margin-bottom: 16px; }
.pg16-category-title { font-size: 1.5rem; font-weight: 600; color: var(--pg16-accent); margin: 12px 0 8px; padding-left: 8px; border-left: 3px solid var(--pg16-primary); }
.pg16-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg16-game-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; text-decoration: none; }
.pg16-game-item:hover { transform: scale(1.05); }
.pg16-game-icon { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 1px solid var(--pg16-card-border); transition: border-color 0.2s; }
.pg16-game-item:hover .pg16-game-icon { border-color: var(--pg16-primary); }
.pg16-game-name { font-size: 1rem; color: var(--pg16-text); text-align: center; margin-top: 4px; line-height: 1.2; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* CARDS */
.pg16-card { background: var(--pg16-card-bg); border: 1px solid var(--pg16-card-border); border-radius: var(--pg16-radius); padding: 14px; margin-bottom: 10px; }
.pg16-card-title { font-size: 1.5rem; font-weight: 600; color: var(--pg16-white); margin-bottom: 8px; }
.pg16-card p, .pg16-card li { font-size: 1.2rem; color: var(--pg16-text-muted); line-height: 1.8rem; }
.pg16-card ul { padding-left: 16px; }
.pg16-card li { margin-bottom: 4px; }

/* PROMO BUTTONS */
.pg16-promo-btn { display: inline-block; padding: 10px 24px; background: var(--pg16-gradient); color: var(--pg16-white); border: none; border-radius: var(--pg16-radius); font-size: 1.3rem; font-weight: 600; cursor: pointer; text-align: center; transition: all 0.2s; text-decoration: none; }
.pg16-promo-btn:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }
.pg16-promo-btn-outline { display: inline-block; padding: 8px 20px; background: transparent; color: var(--pg16-primary); border: 1px solid var(--pg16-primary); border-radius: var(--pg16-radius); font-size: 1.2rem; font-weight: 500; cursor: pointer; text-align: center; transition: all 0.2s; text-decoration: none; }
.pg16-promo-btn-outline:hover { background: var(--pg16-primary); color: var(--pg16-white); }
.pg16-text-link { color: var(--pg16-secondary); font-weight: 600; cursor: pointer; text-decoration: underline; }
.pg16-text-link:hover { color: var(--pg16-accent); }

/* FAQ */
.pg16-faq-item { margin-bottom: 10px; }
.pg16-faq-q { font-size: 1.3rem; font-weight: 600; color: var(--pg16-primary); margin-bottom: 4px; }
.pg16-faq-a { font-size: 1.2rem; color: var(--pg16-text-muted); line-height: 1.7rem; padding-left: 10px; border-left: 2px solid #1E1E1E; }

/* STATS */
.pg16-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pg16-stat-item { background: var(--pg16-card-bg); border: 1px solid var(--pg16-card-border); border-radius: var(--pg16-radius); padding: 10px; text-align: center; }
.pg16-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--pg16-secondary); }
.pg16-stat-label { font-size: 1rem; color: var(--pg16-text-muted); }

/* WINNERS */
.pg16-winner-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #1A1A1A; }
.pg16-winner-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pg16-gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.pg16-winner-info { flex: 1; }
.pg16-winner-name { font-size: 1.2rem; color: var(--pg16-text); font-weight: 500; }
.pg16-winner-game { font-size: 1rem; color: var(--pg16-text-muted); }
.pg16-winner-amount { font-size: 1.3rem; font-weight: 700; color: #FFD700; }

/* TESTIMONIALS */
.pg16-testimonial { background: var(--pg16-card-bg); border-left: 3px solid var(--pg16-primary); padding: 12px; margin-bottom: 8px; border-radius: 0 var(--pg16-radius) var(--pg16-radius) 0; }
.pg16-testimonial-text { font-size: 1.2rem; color: var(--pg16-text-muted); line-height: 1.7rem; font-style: italic; margin-bottom: 6px; }
.pg16-testimonial-author { font-size: 1.1rem; color: var(--pg16-primary); font-weight: 600; }

/* FOOTER */
.pg16-footer { background: #0D0D0D; border-top: 1px solid #1A1A1A; padding: 20px 12px 30px; margin-top: 16px; }
.pg16-footer-brand { font-size: 1.3rem; color: var(--pg16-text-muted); line-height: 1.7rem; margin-bottom: 14px; }
.pg16-footer-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 14px; }
.pg16-footer-links a { font-size: 1.1rem; color: var(--pg16-text-muted); transition: color 0.2s; }
.pg16-footer-links a:hover { color: var(--pg16-primary); }
.pg16-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pg16-footer-promos button { flex: 1; min-width: 100px; padding: 8px 10px; font-size: 1.1rem; }
.pg16-footer-copy { font-size: 1rem; color: #555; text-align: center; border-top: 1px solid #1A1A1A; padding-top: 12px; }

/* BOTTOM NAV */
.pg16-bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; height: var(--pg16-bottom-h); background: linear-gradient(180deg, #111 0%, #0A0A0A 100%); border-top: 1px solid var(--pg16-primary); display: flex; justify-content: space-around; align-items: center; z-index: 1000; transition: transform 0.3s ease; }
.pg16-bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; min-height: 48px; background: none; border: none; color: var(--pg16-text-muted); cursor: pointer; transition: color 0.2s; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.pg16-bottom-nav-item:hover, .pg16-bottom-nav-item.pg16-nav-active { color: var(--pg16-primary); }
.pg16-bottom-nav-item .pg16-nav-icon { font-size: 22px; margin-bottom: 2px; }
.pg16-bottom-nav-item .pg16-nav-label { font-size: 1rem; line-height: 1.2; }
.pg16-bottom-nav-item:active { transform: scale(0.92); }

/* RESPONSIVE */
@media (max-width: 768px) { .pg16-main { padding-bottom: 80px; } }
@media (min-width: 769px) { .pg16-bottom-nav { display: none; } }

/* UTILITIES */
.pg16-text-center { text-align: center; }
.pg16-mt-8 { margin-top: 8px; } .pg16-mt-12 { margin-top: 12px; }
.pg16-mb-8 { margin-bottom: 8px; } .pg16-mb-12 { margin-bottom: 12px; }

/* PAYMENT */
.pg16-payment-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
.pg16-payment-icon { width: 44px; height: 28px; background: var(--pg16-card-bg); border: 1px solid var(--pg16-card-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--pg16-text-muted); font-size: 1rem; font-weight: 600; }

/* APP CTA */
.pg16-app-cta { background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%); border: 1px solid var(--pg16-primary); border-radius: var(--pg16-radius-lg); padding: 16px; text-align: center; }
.pg16-app-cta h3 { font-size: 1.5rem; color: var(--pg16-white); margin-bottom: 8px; }
.pg16-app-cta p { font-size: 1.2rem; color: var(--pg16-text-muted); margin-bottom: 12px; }

/* RTP BAR */
.pg16-rtp-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pg16-rtp-label { font-size: 1.1rem; color: var(--pg16-text-muted); min-width: 90px; }
.pg16-rtp-track { flex: 1; height: 6px; background: #1A1A1A; border-radius: 3px; overflow: hidden; }
.pg16-rtp-fill { height: 100%; border-radius: 3px; background: var(--pg16-gradient); }
.pg16-rtp-value { font-size: 1.1rem; color: var(--pg16-secondary); font-weight: 600; min-width: 36px; }
