/* ============================================================
 * talabat.click - Core stylesheet
 * All custom classes use the g0e6- prefix for namespace isolation.
 * Mobile-first, max-width 430px, rem units (root 62.5%).
 * Palette: #1B263B | #FFF176 | #8A2BE2 | #FF8000 | #9966CC
 * ============================================================ */

:root {
  --g0e6-bg: #1B263B;
  --g0e6-bg-dark: #141d2e;
  --g0e6-bg-light: #273449;
  --g0e6-primary: #8A2BE2;
  --g0e6-accent: #FF8000;
  --g0e6-yellow: #FFF176;
  --g0e6-purple: #9966CC;
  --g0e6-text: #FFFFFF;
  --g0e6-text-muted: #c5cfe0;
  --g0e6-border: rgba(255, 241, 118, 0.18);
  --g0e6-radius: 1.2rem;
  --g0e6-radius-sm: 0.8rem;
  --g0e6-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--g0e6-bg);
  color: var(--g0e6-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.g0e6-container { width: 100%; padding: 0 1.2rem; }
.g0e6-wrapper { max-width: 430px; margin: 0 auto; padding-bottom: 8rem; }

/* ============ Header ============ */
.g0e6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g0e6-bg-dark) 0%, var(--g0e6-bg-light) 100%);
  border-bottom: 0.2rem solid var(--g0e6-primary);
  box-shadow: var(--g0e6-shadow);
}
.g0e6-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.g0e6-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.g0e6-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.g0e6-logo span {
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--g0e6-yellow), var(--g0e6-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.g0e6-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g0e6-menu-btn {
  background: transparent;
  border: 0.1rem solid var(--g0e6-border);
  color: var(--g0e6-text);
  width: 3.2rem; height: 3.2rem;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}
.g0e6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 3.6rem;
}
.g0e6-btn:active { transform: scale(0.96); }
.g0e6-btn-register {
  background: linear-gradient(135deg, var(--g0e6-accent), #ffb347);
  color: #1B263B;
  box-shadow: 0 0.3rem 0.8rem rgba(255, 128, 0, 0.35);
}
.g0e6-btn-login {
  background: linear-gradient(135deg, var(--g0e6-primary), var(--g0e6-purple));
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(138, 43, 226, 0.35);
}

/* ============ Mobile menu ============ */
.g0e6-mobile-menu {
  position: fixed;
  top: 5.6rem; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--g0e6-bg-dark);
  border-bottom: 0.2rem solid var(--g0e6-primary);
  padding: 1rem 1.2rem 1.4rem;
  z-index: 9999;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  max-height: 70vh;
  overflow-y: auto;
}
.g0e6-mobile-menu.g0e6-menu-open { transform: translateY(0); }
.g0e6-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.8rem;
  border-radius: 0.6rem;
  color: var(--g0e6-text);
  font-size: 1.4rem;
  border-bottom: 0.1rem solid rgba(255,255,255,0.06);
}
.g0e6-mobile-menu a:hover, .g0e6-mobile-menu a:active {
  background: rgba(138, 43, 226, 0.15);
}

/* ============ Carousel ============ */
.g0e6-carousel {
  position: relative;
  margin-top: 5.8rem;
  border-radius: var(--g0e6-radius);
  overflow: hidden;
  box-shadow: var(--g0e6-shadow);
}
.g0e6-carousel-viewport { overflow: hidden; }
.g0e6-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%;
}
.g0e6-carousel-slide {
  width: 33.333%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.g0e6-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.g0e6-carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(20,29,46,0.92));
  padding: 1.2rem 1rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g0e6-yellow);
}
.g0e6-carousel-dots {
  position: absolute;
  bottom: 0.6rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
  z-index: 5;
}
.g0e6-carousel-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  padding: 0;
}
.g0e6-carousel-dot.g0e6-dot-active { background: var(--g0e6-accent); width: 1.6rem; border-radius: 0.4rem; }

/* ============ Headings & sections ============ */
.g0e6-section { padding: 1.6rem 1.2rem; }
.g0e6-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--g0e6-yellow);
}
.g0e6-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--g0e6-purple);
}
.g0e6-hero-h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 2.6rem;
  margin: 1.2rem 0 0.6rem;
  color: #fff;
  text-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.4);
}
.g0e6-hero-sub {
  font-size: 1.4rem;
  color: var(--g0e6-text-muted);
  margin-bottom: 1rem;
}
.g0e6-cta-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  margin: 1rem 0;
}
.g0e6-cta-row .g0e6-btn { flex: 1; min-width: 12rem; }
.g0e6-text-link {
  color: var(--g0e6-accent);
  font-weight: 700;
  border-bottom: 0.1rem dashed var(--g0e6-accent);
  cursor: pointer;
}
.g0e6-text-link:hover { color: var(--g0e6-yellow); border-bottom-color: var(--g0e6-yellow); }

/* ============ Game categories ============ */
.g0e6-cat-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 1.8rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 0.4rem solid var(--g0e6-accent);
  color: #fff;
}
.g0e6-cat-title .g0e6-cat-bn {
  color: var(--g0e6-yellow);
  font-size: 1.3rem;
  font-weight: 600;
  margin-left: 0.6rem;
}
.g0e6-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.g0e6-game-card {
  background: var(--g0e6-bg-light);
  border-radius: var(--g0e6-radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  border: 0.1rem solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex; flex-direction: column; align-items: center;
  min-height: 44px;
}
.g0e6-game-card:hover, .g0e6-game-card:active {
  transform: translateY(-0.2rem);
  border-color: var(--g0e6-accent);
}
.g0e6-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 0.6rem; margin-bottom: 0.4rem;
}
.g0e6-game-name {
  font-size: 1.1rem;
  color: var(--g0e6-text);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============ Info / feature cards ============ */
.g0e6-card {
  background: var(--g0e6-bg-light);
  border-radius: var(--g0e6-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 0.1rem solid var(--g0e6-border);
  box-shadow: var(--g0e6-shadow);
}
.g0e6-card p { color: var(--g0e6-text-muted); font-size: 1.35rem; margin-bottom: 0.6rem; }
.g0e6-card p:last-child { margin-bottom: 0; }
.g0e6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.g0e6-feature-item {
  background: rgba(138, 43, 226, 0.08);
  border-radius: var(--g0e6-radius-sm);
  padding: 1rem;
  text-align: center;
}
.g0e6-feature-item .g0e6-icon {
  font-size: 2.2rem; color: var(--g0e6-accent); margin-bottom: 0.4rem;
}
.g0e6-feature-item h4 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--g0e6-yellow); }
.g0e6-feature-item p { font-size: 1.15rem; color: var(--g0e6-text-muted); line-height: 1.3rem; }

/* ============ RTP table ============ */
.g0e6-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-top: 0.6rem;
}
.g0e6-rtp-table th, .g0e6-rtp-table td {
  padding: 0.7rem 0.5rem;
  text-align: center;
  border-bottom: 0.1rem solid rgba(255,255,255,0.08);
}
.g0e6-rtp-table th { color: var(--g0e6-yellow); font-weight: 700; }
.g0e6-rtp-table td { color: var(--g0e6-text-muted); }
.g0e6-rtp-high { color: #4caf50; font-weight: 700; }
.g0e6-rtp-mid  { color: var(--g0e6-accent); font-weight: 700; }

/* ============ Testimonials ============ */
.g0e6-testimonial {
  background: var(--g0e6-bg-light);
  border-radius: var(--g0e6-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--g0e6-purple);
}
.g0e6-testimonial .g0e6-stars { color: var(--g0e6-yellow); font-size: 1.2rem; margin-bottom: 0.3rem; }
.g0e6-testimonial p { font-size: 1.25rem; color: var(--g0e6-text-muted); margin-bottom: 0.3rem; }
.g0e6-testimonial .g0e6-author { font-size: 1.1rem; color: var(--g0e6-accent); font-weight: 700; }

/* ============ Winners / payment / app ============ */
.g0e6-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.g0e6-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 128, 0, 0.08);
  padding: 0.7rem 1rem; border-radius: 0.6rem;
  font-size: 1.2rem;
}
.g0e6-winner-item .g0e6-wname { color: var(--g0e6-yellow); font-weight: 700; }
.g0e6-winner-item .g0e6-wamt { color: #4caf50; font-weight: 700; }

.g0e6-payment-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; margin-top: 0.6rem;
}
.g0e6-pay-item {
  background: var(--g0e6-bg-dark);
  border-radius: 0.6rem;
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1rem;
  color: var(--g0e6-text-muted);
  border: 0.1rem solid var(--g0e6-border);
}
.g0e6-pay-item .g0e6-icon { font-size: 1.8rem; color: var(--g0e6-purple); display: block; margin-bottom: 0.2rem; }

.g0e6-app-cta {
  background: linear-gradient(135deg, var(--g0e6-primary), var(--g0e6-accent));
  border-radius: var(--g0e6-radius);
  padding: 1.4rem; text-align: center; color: #fff;
}
.g0e6-app-cta h3 { color: var(--g0e6-yellow); margin-bottom: 0.4rem; }
.g0e6-app-cta p { font-size: 1.25rem; margin-bottom: 0.8rem; color: #fff; opacity: 0.9; }

/* ============ Footer ============ */
.g0e6-footer {
  background: var(--g0e6-bg-dark);
  border-top: 0.2rem solid var(--g0e6-primary);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.6rem;
}
.g0e6-footer-brand {
  font-size: 1.3rem; color: var(--g0e6-text-muted); margin-bottom: 1rem; line-height: 1.7rem;
}
.g0e6-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem;
}
.g0e6-footer-links a {
  font-size: 1.15rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--g0e6-bg-light);
  color: var(--g0e6-yellow);
  border: 0.1rem solid var(--g0e6-border);
}
.g0e6-footer-links a:hover { background: var(--g0e6-primary); color: #fff; }
.g0e6-footer-copy {
  font-size: 1.1rem; color: var(--g0e6-text-muted); text-align: center; border-top: 0.1rem solid rgba(255,255,255,0.06); padding-top: 0.8rem;
}

/* ============ Mobile bottom nav ============ */
.g0e6-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  background: linear-gradient(180deg, var(--g0e6-bg-light), var(--g0e6-bg-dark));
  border-top: 0.2rem solid var(--g0e6-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.3);
}
.g0e6-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--g0e6-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: color 0.2s ease, transform 0.15s ease;
  position: relative;
}
.g0e6-bnav-btn .g0e6-bnav-icon { font-size: 2.2rem; line-height: 1; }
.g0e6-bnav-btn .g0e6-bnav-label { font-size: 1rem; line-height: 1.2rem; }
.g0e6-bnav-btn:active { transform: scale(0.9); }
.g0e6-bnav-btn.g0e6-bnav-active { color: var(--g0e6-accent); }
.g0e6-bnav-btn.g0e6-bnav-active::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.4rem; height: 0.25rem;
  background: var(--g0e6-accent);
  border-radius: 0 0 0.3rem 0.3rem;
}
.g0e6-bnav-promo { color: var(--g0e6-yellow); }
.g0e6-bnav-badge {
  position: absolute; top: 0.3rem; right: 1rem;
  background: var(--g0e6-accent); color: #fff;
  font-size: 0.9rem; font-weight: 700;
  border-radius: 1rem; padding: 0 0.4rem;
  min-width: 1.4rem; text-align: center;
}

/* ============ Desktop: hide bottom nav, widen layout ============ */
@media (min-width: 769px) {
  .g0e6-bnav { display: none; }
  .g0e6-wrapper { padding-bottom: 2rem; }
  body { max-width: 768px; font-size: 1.6rem; }
  .g0e6-game-grid { grid-template-columns: repeat(5, 1fr); }
  .g0e6-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile bottom padding so content isn't hidden behind fixed nav */
@media (max-width: 768px) {
  main { padding-bottom: 7rem; }
}

/* Utility */
.g0e6-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.g0e6-back-top {
  position: fixed; bottom: 7rem; right: 1.2rem;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--g0e6-accent); color: #1B263B;
  border: none; font-size: 1.8rem; cursor: pointer; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--g0e6-shadow);
}
