/* Hello 88 - Core stylesheet (mobile-first) */
/* All custom classes use the g6c4- prefix per project rules */

:root {
  --g6c4-primary: #0000FF;
  --g6c4-accent: #00BFFF;
  --g6c4-sky: #87CEEB;
  --g6c4-dark: #1B263B;
  --g6c4-warm: #FFB74D;
  --g6c4-light: #F8F9FA;
  --g6c4-bg: #0f1830;
  --g6c4-bg2: #162042;
  --g6c4-card: #1d2a55;
  --g6c4-text: #F8F9FA;
  --g6c4-muted: #aab4d5;
  --g6c4-border: rgba(135, 206, 235, 0.18);
  --g6c4-radius: 14px;
  --g6c4-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --g6c4-maxw: 430px;
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  background: linear-gradient(180deg, #0b1230 0%, #131c44 100%);
  color: var(--g6c4-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--g6c4-sky); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.g6c4-container { width: 100%; max-width: var(--g6c4-maxw); margin: 0 auto; padding: 0 1.2rem; }
.g6c4-wrapper { width: 100%; max-width: var(--g6c4-maxw); margin: 0 auto; }

/* ===== Header ===== */
.g6c4-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 24, 48, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g6c4-border);
}
.g6c4-header-inner {
  max-width: var(--g6c4-maxw);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}
.g6c4-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--g6c4-text);
  letter-spacing: 0.3px;
}
.g6c4-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g6c4-logo span { background: linear-gradient(90deg, var(--g6c4-warm), var(--g6c4-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.g6c4-actions { display: flex; align-items: center; gap: 0.5rem; }
.g6c4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
  white-space: nowrap;
}
.g6c4-btn:active { transform: scale(0.96); }
.g6c4-btn-login { background: rgba(135, 206, 235, 0.14); color: var(--g6c4-sky); border: 1px solid rgba(135, 206, 235, 0.45); }
.g6c4-btn-register { background: linear-gradient(90deg, var(--g6c4-warm), #ff8a3d); color: #1B263B; box-shadow: 0 4px 14px rgba(255, 183, 77, 0.4); }

.g6c4-menu-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--g6c4-text);
  background: rgba(135, 206, 235, 0.12);
}
.g6c4-menu-toggle i { font-size: 2.2rem; }

/* ===== Mobile Menu (slide panel) ===== */
.g6c4-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 82%; max-width: 360px;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(180deg, #0c1430, #131c44);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
  padding: 2rem 1.4rem;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.g6c4-mobile-menu.g6c4-open { right: 0; }
.g6c4-menu-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.g6c4-menu-title { font-size: 1.7rem; color: var(--g6c4-muted); margin: 1.4rem 0 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.g6c4-menu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.g6c4-menu-list a {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  color: var(--g6c4-text);
  font-size: 1.5rem; font-weight: 600;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.g6c4-menu-list a:active { background: rgba(0, 191, 255, 0.15); }
.g6c4-menu-list i { font-size: 2rem; color: var(--g6c4-warm); }

.g6c4-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.g6c4-overlay.g6c4-show { opacity: 1; pointer-events: auto; }

/* ===== Main ===== */
.g6c4-main { padding-top: 74px; padding-bottom: 0; }
@media (max-width: 768px) { .g6c4-main { padding-bottom: 86px; } }

.g6c4-section { margin: 1.8rem 0; }
.g6c4-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: 0.8rem; }
.g6c4-section-head h2 { font-size: 1.8rem; margin: 0; color: var(--g6c4-text); position: relative; padding-left: 1.2rem; }
.g6c4-section-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--g6c4-warm), var(--g6c4-accent)); }
.g6c4-section-head .g6c4-link-more { font-size: 1.3rem; color: var(--g6c4-sky); font-weight: 700; }
.g6c4-section-head .g6c4-link-more:hover { text-decoration: underline; }

/* ===== Hero / Carousel ===== */
.g6c4-hero { position: relative; border-radius: var(--g6c4-radius); overflow: hidden; box-shadow: var(--g6c4-shadow); margin-bottom: 1.4rem; }
.g6c4-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g6c4-slides::-webkit-scrollbar { display: none; }
.g6c4-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.g6c4-slide img { width: 100%; height: 200px; object-fit: cover; }
.g6c4-slide-cta {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--g6c4-warm), #ff7e3d);
  color: #1B263B; font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.g6c4-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.g6c4-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.g6c4-dots span.g6c4-active { background: var(--g6c4-warm); width: 18px; border-radius: 999px; }

/* ===== Promo strip ===== */
.g6c4-promo-strip {
  display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.4rem;
  scrollbar-width: none;
}
.g6c4-promo-strip::-webkit-scrollbar { display: none; }
.g6c4-promo-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  background: rgba(0, 191, 255, 0.12); color: var(--g6c4-sky);
  border: 1px solid rgba(0, 191, 255, 0.3);
  font-weight: 700; font-size: 1.3rem;
}
.g6c4-promo-chip.g6c4-warm { background: rgba(255,183,77,0.14); color: var(--g6c4-warm); border-color: rgba(255,183,77,0.4); }

/* ===== Game grid ===== */
.g6c4-cat-title { font-size: 1.55rem; font-weight: 700; margin: 1.2rem 0 0.8rem; color: var(--g6c4-warm); display: flex; align-items: center; gap: 0.6rem; }
.g6c4-cat-title i { font-size: 1.8rem; }
.g6c4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (min-width: 390px) { .g6c4-grid { grid-template-columns: repeat(3, 1fr); } }
.g6c4-game {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.5rem; border-radius: 12px;
  background: var(--g6c4-card);
  border: 1px solid var(--g6c4-border);
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.g6c4-game:active { transform: scale(0.97); box-shadow: 0 4px 16px rgba(0,191,255,0.25); }
.g6c4-game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
.g6c4-game-name { font-size: 1.15rem; color: var(--g6c4-text); line-height: 1.3; font-weight: 600; word-break: break-word; }

/* ===== Cards / blocks ===== */
.g6c4-card {
  background: var(--g6c4-card);
  border: 1px solid var(--g6c4-border);
  border-radius: var(--g6c4-radius);
  padding: 1.4rem;
  box-shadow: var(--g6c4-shadow);
  margin-bottom: 1.2rem;
}
.g6c4-card h3 { margin: 0 0 0.8rem; font-size: 1.6rem; color: var(--g6c4-text); }
.g6c4-card p { margin: 0 0 0.8rem; color: var(--g6c4-muted); font-size: 1.4rem; line-height: 1.7; }
.g6c4-card p strong { color: var(--g6c4-warm); }

.g6c4-cta-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.g6c4-cta-row .g6c4-btn { flex: 1; min-width: 120px; }
.g6c4-btn-block { width: 100%; }
.g6c4-btn-promo { background: linear-gradient(90deg, var(--g6c4-primary), var(--g6c4-accent)); color: #fff; }
.g6c4-btn-ghost { background: rgba(255,255,255,0.06); color: var(--g6c4-text); border: 1px solid var(--g6c4-border); }

/* Inline text link to promo */
.g6c4-text-link { color: var(--g6c4-warm); font-weight: 800; text-decoration: underline; }

/* ===== Stats / RTP compact ===== */
.g6c4-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.g6c4-stat { background: rgba(0,0,0,0.25); border-radius: 10px; padding: 0.8rem; text-align: center; }
.g6c4-stat .g6c4-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--g6c4-warm); }
.g6c4-stat .g6c4-stat-label { font-size: 1.15rem; color: var(--g6c4-muted); }

/* ===== Testimonials ===== */
.g6c4-testi { display: flex; flex-direction: column; gap: 0.8rem; }
.g6c4-testi-item { background: rgba(0,0,0,0.22); border-radius: 10px; padding: 1rem; border-left: 3px solid var(--g6c4-warm); }
.g6c4-testi-item .g6c4-testi-name { font-weight: 800; color: var(--g6c4-sky); font-size: 1.3rem; margin-bottom: 0.3rem; }
.g6c4-testi-item p { margin: 0; font-size: 1.3rem; color: var(--g6c4-text); line-height: 1.5; }

/* ===== Payment icons ===== */
.g6c4-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g6c4-pay-item { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: 8px; background: rgba(255,255,255,0.06); font-size: 1.2rem; color: var(--g6c4-text); border: 1px solid var(--g6c4-border); }
.g6c4-pay-item i { color: var(--g6c4-warm); font-size: 1.6rem; }

/* ===== Winners ===== */
.g6c4-winners { display: flex; flex-direction: column; gap: 0.4rem; }
.g6c4-winner { display: flex; justify-content: space-between; padding: 0.55rem 0.8rem; border-radius: 8px; background: rgba(0,0,0,0.2); font-size: 1.25rem; }
.g6c4-winner .g6c4-winner-name { color: var(--g6c4-sky); font-weight: 700; }
.g6c4-winner .g6c4-winner-amount { color: var(--g6c4-warm); font-weight: 800; }

/* ===== FAQ ===== */
.g6c4-faq-item { border-bottom: 1px solid var(--g6c4-border); padding: 0.9rem 0; }
.g6c4-faq-q { font-weight: 700; color: var(--g6c4-text); font-size: 1.4rem; display: flex; align-items: center; gap: 0.5rem; }
.g6c4-faq-q i { color: var(--g6c4-warm); }
.g6c4-faq-a { color: var(--g6c4-muted); font-size: 1.3rem; line-height: 1.6; margin-top: 0.4rem; }

/* ===== App download CTA ===== */
.g6c4-app-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.g6c4-app-cta .g6c4-btn { flex: 1; min-width: 140px; }

/* ===== Footer ===== */
.g6c4-footer { background: #0a1024; border-top: 1px solid var(--g6c4-border); padding: 1.8rem 1.2rem 2rem; margin-top: 1.4rem; }
.g6c4-footer-inner { max-width: var(--g6c4-maxw); margin: 0 auto; }
.g6c4-footer-brand { font-size: 1.5rem; color: var(--g6c4-muted); line-height: 1.6; margin-bottom: 1rem; }
.g6c4-footer-brand strong { color: var(--g6c4-warm); }
.g6c4-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.g6c4-footer-links a { color: var(--g6c4-sky); font-size: 1.3rem; font-weight: 600; }
.g6c4-footer-links a:hover { text-decoration: underline; }
.g6c4-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.g6c4-footer-promos .g6c4-btn { padding: 0.6rem 1rem; font-size: 1.25rem; min-height: 36px; }
.g6c4-footer-copy { font-size: 1.2rem; color: var(--g6c4-muted); border-top: 1px dashed var(--g6c4-border); padding-top: 0.8rem; text-align: center; }

/* ===== Bottom nav (mobile) ===== */
.g6c4-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(10, 16, 36, 0.98);
  border-top: 1px solid var(--g6c4-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.g6c4-bottom-nav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  color: var(--g6c4-muted);
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  transition: color 0.15s, transform 0.15s;
}
.g6c4-bottom-nav-item i { font-size: 2.2rem; }
.g6c4-bottom-nav-item .material-icons { font-size: 2.4rem; }
.g6c4-bottom-nav-item:active { transform: scale(0.9); }
.g6c4-bottom-nav-item.g6c4-active { color: var(--g6c4-warm); }
.g6c4-bottom-nav-item.g6c4-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; border-radius: 999px; background: var(--g6c4-warm);
}
.g6c4-bottom-nav-item.g6c4-promo { color: var(--g6c4-sky); }
.g6c4-bottom-nav-item.g6c4-promo i { color: var(--g6c4-warm); }
.g6c4-bottom-nav-badge {
  position: absolute; top: 6px; right: 18px;
  background: #ff3b3b; color: #fff;
  font-size: 0.9rem; font-weight: 800;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}

@media (min-width: 769px) {
  .g6c4-bottom-nav { display: none; }
}

/* ===== Desktop nav (top) hidden on mobile, shown on desktop ===== */
.g6c4-desktop-nav { display: none; }
@media (min-width: 769px) {
  .g6c4-desktop-nav { display: flex; gap: 1.4rem; }
  .g6c4-desktop-nav a { color: var(--g6c4-text); font-size: 1.4rem; font-weight: 600; }
  .g6c4-desktop-nav a:hover { color: var(--g6c4-warm); }
}

/* ===== Utility ===== */
.g6c4-text-center { text-align: center; }
.g6c4-mt-1 { margin-top: 0.6rem; }
.g6c4-mt-2 { margin-top: 1.2rem; }
.g6c4-hidden-mobile { display: none; }
@media (min-width: 769px) { .g6c4-hidden-mobile { display: block; } .g6c4-only-mobile { display: none; } }

/* ===== H1 ===== */
.g6c4-h1 { font-size: 2rem; line-height: 1.3; margin: 1.2rem 0; color: var(--g6c4-text); padding: 0.6rem 1rem; border-radius: 12px; background: linear-gradient(90deg, rgba(0,191,255,0.12), rgba(255,183,77,0.12)); border: 1px solid var(--g6c4-border); }

/* ===== Hero banner alt (text) ===== */
.g6c4-hero-text { padding: 1.4rem; border-radius: var(--g6c4-radius); background: linear-gradient(135deg, rgba(0,0,255,0.25), rgba(0,191,255,0.18)); border: 1px solid var(--g6c4-border); margin-bottom: 1.2rem; }
.g6c4-hero-text h2 { margin: 0 0 0.6rem; font-size: 1.9rem; color: var(--g6c4-warm); }
.g6c4-hero-text p { margin: 0 0 0.8rem; color: var(--g6c4-text); font-size: 1.4rem; line-height: 1.6; }
