/* ============================================================
   me777 casino legit - Theme stylesheet
   Prefix: g7b2-  (every custom class / var uses this)
   Palette: #1C2833 (bg) | #FF91A4 (light) | #E91E63 (accent)
   ============================================================ */

:root {
  --g7b2-bg: #1C2833;
  --g7b2-bg-2: #243447;
  --g7b2-bg-3: #0F1820;
  --g7b2-light: #FF91A4;
  --g7b2-accent: #E91E63;
  --g7b2-text: #F5F7FA;
  --g7b2-text-dim: #B8C2CC;
  --g7b2-gold: #FFD56B;
  --g7b2-shadow: 0 0.6rem 1.8rem rgba(0,0,0,0.35);
  --g7b2-radius: 1.2rem;
  --g7b2-primary: #E91E63;
  font-size: 62.5%;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--g7b2-bg);
  color: var(--g7b2-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g7b2-light); text-decoration: none; }

/* ---------- Layout ---------- */
.g7b2-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.g7b2-container { padding: 1.6rem 1.4rem; }
.g7b2-section { padding: 2.4rem 0; }
.g7b2-section--alt { background: var(--g7b2-bg-2); }

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

/* ---------- Header ---------- */
.g7b2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g7b2-bg-3), var(--g7b2-bg-2));
  border-bottom: 0.2rem solid var(--g7b2-accent);
  box-shadow: var(--g7b2-shadow);
}
.g7b2-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 5.6rem;
}
.g7b2-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--g7b2-text);
  font-weight: 700;
  font-size: 1.7rem;
}
.g7b2-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.g7b2-brand-name span { color: var(--g7b2-light); }

.g7b2-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g7b2-menu-toggle {
  background: transparent;
  border: 0.1rem solid var(--g7b2-light);
  color: var(--g7b2-light);
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.g7b2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.85rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
  min-height: 4rem;
  text-align: center;
}
.g7b2-btn:active { transform: scale(0.96); }
.g7b2-btn--login {
  background: transparent;
  color: var(--g7b2-light);
  border: 0.15rem solid var(--g7b2-light);
}
.g7b2-btn--register {
  background: linear-gradient(135deg, var(--g7b2-accent), #FF5C8A);
  color: #fff;
  box-shadow: 0 0.4rem 1rem rgba(233,30,99,0.35);
}

/* ---------- Mobile menu ---------- */
.g7b2-mobile-menu {
  position: fixed;
  top: 5.6rem; left: 0; right: 0;
  background: var(--g7b2-bg-3);
  border-bottom: 0.2rem solid var(--g7b2-accent);
  padding: 1rem 1.4rem 1.4rem;
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  z-index: 9999;
  max-height: 75vh;
  overflow-y: auto;
}
.g7b2-mobile-menu.g7b2-menu-open { transform: translateY(0); }
.g7b2-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--g7b2-text);
  border-bottom: 0.1rem solid rgba(255,255,255,0.08);
  font-size: 1.4rem;
}
.g7b2-mobile-menu a:active { color: var(--g7b2-light); }

/* ---------- Hero / Carousel ---------- */
.g7b2-hero { margin-top: 6.4rem; }
.g7b2-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--g7b2-radius);
  box-shadow: var(--g7b2-shadow);
}
.g7b2-carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.g7b2-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.g7b2-carousel-slide img { width: 100%; height: auto; }
.g7b2-carousel-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

/* ---------- Titles ---------- */
.g7b2-h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  margin: 1.6rem 0 0.8rem;
  color: var(--g7b2-text);
}
.g7b2-h2 {
  font-size: 1.9rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--g7b2-light);
  border-left: 0.4rem solid var(--g7b2-accent);
  padding-left: 0.8rem;
}
.g7b2-h3 { font-size: 1.6rem; margin: 1rem 0 0.4rem; color: var(--g7b2-gold); }
.g7b2-lead { color: var(--g7b2-text-dim); font-size: 1.4rem; }
.g7b2-text-pink { color: var(--g7b2-light); font-weight: 700; }

/* ---------- Cards ---------- */
.g7b2-card {
  background: var(--g7b2-bg-2);
  border-radius: var(--g7b2-radius);
  padding: 1.4rem;
  box-shadow: var(--g7b2-shadow);
  margin-bottom: 1.2rem;
}
.g7b2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (min-width: 380px) {
  .g7b2-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Games ---------- */
.g7b2-cat-title {
  margin: 1.6rem 0 0.6rem;
  color: var(--g7b2-gold);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g7b2-game {
  text-align: center;
  cursor: pointer;
  background: var(--g7b2-bg-3);
  border-radius: 0.8rem;
  padding: 0.6rem 0.3rem;
  transition: transform 0.15s ease;
  text-decoration: none;
  display: block;
}
.g7b2-game:active { transform: scale(0.94); }
.g7b2-game img { width: 100%; border-radius: 0.6rem; margin-bottom: 0.3rem; }
.g7b2-game-name {
  font-size: 1.05rem;
  color: var(--g7b2-text);
  line-height: 1.2;
  word-break: break-word;
}

/* ---------- Promo blocks ---------- */
.g7b2-cta {
  background: linear-gradient(135deg, var(--g7b2-accent), #FF5C8A);
  color: #fff;
  padding: 1.4rem;
  border-radius: var(--g7b2-radius);
  text-align: center;
  margin: 1.4rem 0;
  box-shadow: var(--g7b2-shadow);
}
.g7b2-cta h3 { color: #fff; }
.g7b2-cta .g7b2-btn--register { background: #fff; color: var(--g7b2-accent); }

.g7b2-list { margin: 0.6rem 0 1rem 1.4rem; color: var(--g7b2-text-dim); }
.g7b2-list li { margin-bottom: 0.4rem; line-height: 1.5; }

/* ---------- Testimonials ---------- */
.g7b2-quote {
  border-left: 0.3rem solid var(--g7b2-light);
  padding: 0.6rem 1rem;
  margin-bottom: 0.8rem;
  background: var(--g7b2-bg-3);
  border-radius: 0.6rem;
  font-style: italic;
  color: var(--g7b2-text-dim);
}
.g7b2-quote b { color: var(--g7b2-light); font-style: normal; }

/* ---------- Footer ---------- */
.g7b2-footer {
  background: var(--g7b2-bg-3);
  border-top: 0.2rem solid var(--g7b2-accent);
  padding: 2rem 1.4rem 7rem;
  margin-top: 2rem;
  color: var(--g7b2-text-dim);
  font-size: 1.3rem;
}
.g7b2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}
.g7b2-footer-links a { color: var(--g7b2-light); }
.g7b2-footer-copy { margin-top: 1rem; font-size: 1.2rem; color: var(--g7b2-text-dim); }

/* ---------- Bottom nav (mobile) ---------- */
.g7b2-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: var(--g7b2-bg-3);
  border-top: 0.15rem solid var(--g7b2-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.35);
}
.g7b2-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--g7b2-text-dim);
  background: transparent;
  border: 0;
  cursor: pointer;
  gap: 0.2rem;
  transition: transform 0.15s ease, color 0.2s ease;
}
.g7b2-bottomnav-btn:active { transform: scale(0.9); }
.g7b2-bottomnav-btn .material-icons,
.g7b2-bottomnav-btn ion-icon,
.g7b2-bottomnav-btn i { font-size: 2.4rem; }
.g7b2-bottomnav-label { font-size: 1rem; }
.g7b2-bottomnav-btn.g7b2-active { color: var(--g7b2-accent); }
.g7b2-bottomnav-btn.g7b2-promo { color: var(--g7b2-gold); }
@media (min-width: 769px) {
  .g7b2-bottomnav { display: none; }
}

/* ---------- Payment / winner pills ---------- */
.g7b2-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.g7b2-pill {
  background: var(--g7b2-bg-3);
  border: 0.1rem solid var(--g7b2-light);
  color: var(--g7b2-text);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
}

/* ---------- RTP bars ---------- */
.g7b2-bar {
  height: 1.2rem;
  background: var(--g7b2-bg-3);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.g7b2-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g7b2-accent), var(--g7b2-gold));
}

/* ---------- Mobile viewport tuning ---------- */
@media (max-width: 430px) {
  .g7b2-h1 { font-size: 2rem; }
  .g7b2-h2 { font-size: 1.7rem; }
  .g7b2-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .g7b2-game-name { font-size: 1rem; }
  .g7b2-wrapper { padding: 0 1rem; }
  .g7b2-header-inner { padding: 0.6rem 0.8rem; }
  .g7b2-brand { font-size: 1.5rem; }
  .g7b2-btn { padding: 0.7rem 1rem; font-size: 1.2rem; }
}
