/* 399bet apk site CSS - prefix: g35e- */
/* Color palette: Teal/Gold/White/Cyan/Mint/DeepNavy */

:root {
  --g35e-primary: #20B2AA;
  --g35e-gold: #8B7355;
  --g35e-white: #FFFFFF;
  --g35e-accent: #00B8D4;
  --g35e-highlight: #B2DFDB;
  --g35e-bg: #2C3E50;
  --g35e-bg-dark: #1a2634;
  --g35e-bg-card: #34495E;
  --g35e-text: #FFFFFF;
  --g35e-text-muted: #B0BEC5;
  --g35e-radius: 8px;
  --g35e-radius-sm: 4px;
  --g35e-radius-lg: 12px;
  --g35e-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --g35e-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  background: var(--g35e-bg);
  color: var(--g35e-text);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a { color: var(--g35e-accent); text-decoration: none; transition: var(--g35e-transition); }
a:hover { color: var(--g35e-highlight); }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.g35e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--g35e-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 1px solid rgba(32,178,170,0.2);
}

.g35e-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g35e-logo {
  width: 28px;
  height: 28px;
  border-radius: var(--g35e-radius-sm);
}

.g35e-site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g35e-primary);
  white-space: nowrap;
}

.g35e-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g35e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--g35e-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--g35e-transition);
  white-space: nowrap;
}

.g35e-btn-register {
  background: var(--g35e-primary);
  color: var(--g35e-bg-dark);
}
.g35e-btn-register:hover { background: var(--g35e-accent); }

.g35e-btn-login {
  background: transparent;
  color: var(--g35e-primary);
  border: 1px solid var(--g35e-primary);
}
.g35e-btn-login:hover { background: var(--g35e-primary); color: var(--g35e-bg-dark); }

.g35e-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--g35e-text);
  font-size: 2.2rem;
  background: none;
  border: none;
}

/* ===== OVERLAY ===== */
.g35e-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--g35e-transition);
}
.g35e-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* ===== MOBILE MENU ===== */
.g35e-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--g35e-bg-dark);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.35s ease;
  padding: 20px 16px;
}
.g35e-menu-open { right: 0; }

.g35e-menu-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.g35e-menu-close button {
  background: none;
  border: none;
  color: var(--g35e-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.g35e-menu-section {
  margin-bottom: 16px;
}

.g35e-menu-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g35e-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(32,178,170,0.3);
}

.g35e-menu-link {
  display: block;
  padding: 8px 12px;
  color: var(--g35e-text-muted);
  font-size: 1.4rem;
  border-radius: var(--g35e-radius-sm);
  transition: var(--g35e-transition);
}
.g35e-menu-link:hover {
  background: rgba(32,178,170,0.1);
  color: var(--g35e-primary);
}

/* ===== MAIN CONTENT ===== */
main {
  padding-top: 56px;
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

.g35e-container {
  padding: 0 12px;
}

/* ===== CAROUSEL ===== */
.g35e-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--g35e-radius);
  margin-bottom: 16px;
}

.g35e-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
}

.g35e-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g35e-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g35e-slide-active { opacity: 1; }

.g35e-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.g35e-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--g35e-transition);
  border: none;
}
.g35e-dot-active {
  background: var(--g35e-primary);
  width: 20px;
  border-radius: 4px;
}

/* ===== GAME SECTIONS ===== */
.g35e-section {
  margin-bottom: 20px;
}

.g35e-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g35e-primary);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--g35e-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.g35e-section-title i {
  font-size: 2rem;
  color: var(--g35e-gold);
}

/* ===== GAME GRID ===== */
.g35e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.g35e-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--g35e-transition);
  border-radius: var(--g35e-radius);
  padding: 6px 2px;
  background: var(--g35e-bg-card);
}
.g35e-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32,178,170,0.3);
}

.g35e-game-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--g35e-radius);
  object-fit: cover;
  margin-bottom: 4px;
}

.g35e-game-name {
  font-size: 1.1rem;
  color: var(--g35e-text-muted);
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.8em;
}

/* ===== CONTENT CARDS ===== */
.g35e-card {
  background: var(--g35e-bg-card);
  border-radius: var(--g35e-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(32,178,170,0.15);
}

.g35e-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--g35e-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g35e-card-title i {
  color: var(--g35e-gold);
  font-size: 2rem;
}

.g35e-card-text {
  font-size: 1.4rem;
  color: var(--g35e-text-muted);
  line-height: 1.7;
}

.g35e-card-text p {
  margin-bottom: 10px;
}

.g35e-card-text strong {
  color: var(--g35e-highlight);
}

.g35e-card-text a {
  color: var(--g35e-accent);
  text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.g35e-cta {
  background: linear-gradient(135deg, var(--g35e-primary), var(--g35e-accent));
  border-radius: var(--g35e-radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 16px;
}

.g35e-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g35e-bg-dark);
  margin-bottom: 8px;
}

.g35e-cta-text {
  font-size: 1.4rem;
  color: var(--g35e-bg-dark);
  opacity: 0.9;
  margin-bottom: 14px;
}

.g35e-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--g35e-bg-dark);
  color: var(--g35e-primary);
  border: none;
  border-radius: var(--g35e-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--g35e-transition);
}
.g35e-cta-btn:hover {
  background: var(--g35e-bg);
  transform: scale(1.05);
}

/* ===== FEATURES LIST ===== */
.g35e-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.g35e-feature-item {
  background: var(--g35e-bg-card);
  border-radius: var(--g35e-radius);
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(32,178,170,0.1);
  transition: var(--g35e-transition);
}
.g35e-feature-item:hover {
  border-color: var(--g35e-primary);
}

.g35e-feature-icon {
  font-size: 2.4rem;
  color: var(--g35e-gold);
  margin-bottom: 6px;
}

.g35e-feature-label {
  font-size: 1.2rem;
  color: var(--g35e-text-muted);
  line-height: 1.3;
}

/* ===== WINNERS TICKER ===== */
.g35e-winners {
  background: var(--g35e-bg-card);
  border-radius: var(--g35e-radius-lg);
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(32,178,170,0.15);
}

.g35e-winners-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g35e-gold);
  margin-bottom: 8px;
}

.g35e-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.3rem;
}
.g35e-winner-row:last-child { border-bottom: none; }

.g35e-winner-name {
  color: var(--g35e-text-muted);
}

.g35e-winner-game {
  color: var(--g35e-primary);
  font-weight: 600;
}

.g35e-winner-amount {
  color: var(--g35e-gold);
  font-weight: 700;
}

/* ===== FOOTER ===== */
.g35e-footer {
  background: var(--g35e-bg-dark);
  padding: 24px 16px 20px;
  border-top: 1px solid rgba(32,178,170,0.2);
}

.g35e-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}

.g35e-footer-brand h3 {
  font-size: 1.8rem;
  color: var(--g35e-primary);
  margin-bottom: 6px;
}

.g35e-footer-brand p {
  font-size: 1.3rem;
  color: var(--g35e-text-muted);
}

.g35e-footer-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.g35e-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-bottom: 16px;
}

.g35e-footer-link {
  font-size: 1.2rem;
  color: var(--g35e-text-muted);
  padding: 4px 0;
  transition: var(--g35e-transition);
}
.g35e-footer-link:hover {
  color: var(--g35e-primary);
}

.g35e-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 12px;
}

/* ===== BOTTOM NAV ===== */
.g35e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--g35e-bg-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(32,178,170,0.2);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.g35e-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--g35e-text-muted);
  cursor: pointer;
  transition: var(--g35e-transition);
  gap: 2px;
  padding: 4px 8px;
  border-radius: var(--g35e-radius-sm);
}

.g35e-bottom-nav-btn i,
.g35e-bottom-nav-btn .material-symbols-outlined {
  font-size: 24px;
}

.g35e-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

.g35e-bottom-nav-btn:hover,
.g35e-nav-active {
  color: var(--g35e-primary);
}

.g35e-nav-active {
  background: rgba(32,178,170,0.1);
}

.g35e-bottom-nav-btn:active {
  transform: scale(0.92);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .g35e-bottom-nav { display: none; }
}

/* ===== SCROLL TOP ===== */
.g35e-scroll-top {
  position: fixed;
  bottom: 72px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--g35e-primary);
  color: var(--g35e-bg-dark);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--g35e-shadow);
  transition: var(--g35e-transition);
  opacity: 0.8;
}
.g35e-scroll-top:hover { opacity: 1; transform: scale(1.1); }

/* ===== H1 STYLING ===== */
.g35e-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g35e-text);
  text-align: center;
  margin: 16px 0;
  line-height: 1.4;
}

.g35e-h1-highlight {
  color: var(--g35e-primary);
}

/* ===== REVIEW/SAFETY PAGE STYLES ===== */
.g35e-page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--g35e-primary);
  text-align: center;
  margin: 16px 0 12px;
}

.g35e-page-subtitle {
  font-size: 1.5rem;
  color: var(--g35e-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.g35e-info-block {
  background: var(--g35e-bg-card);
  border-radius: var(--g35e-radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  border-left: 3px solid var(--g35e-primary);
}

.g35e-info-block h3 {
  font-size: 1.6rem;
  color: var(--g35e-primary);
  margin-bottom: 8px;
}

.g35e-info-block p {
  font-size: 1.4rem;
  color: var(--g35e-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.g35e-info-block ul {
  list-style: none;
  padding: 0;
}

.g35e-info-block li {
  font-size: 1.4rem;
  color: var(--g35e-text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.g35e-info-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g35e-gold);
}

.g35e-rating-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 12px;
}

.g35e-rating-stars i {
  font-size: 2.2rem;
  color: var(--g35e-gold);
}

.g35e-promo-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--g35e-primary), var(--g35e-accent));
  color: var(--g35e-bg-dark);
  padding: 4px 12px;
  border-radius: var(--g35e-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  margin: 4px 2px;
  transition: var(--g35e-transition);
}
.g35e-promo-inline:hover { transform: scale(1.05); }

/* ===== APP DOWNLOAD MODULE ===== */
.g35e-app-banner {
  background: linear-gradient(135deg, #1a3a3a, #2C3E50);
  border-radius: var(--g35e-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(32,178,170,0.2);
}

.g35e-app-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--g35e-radius);
  flex-shrink: 0;
}

.g35e-app-info h4 {
  font-size: 1.5rem;
  color: var(--g35e-primary);
  margin-bottom: 2px;
}

.g35e-app-info p {
  font-size: 1.2rem;
  color: var(--g35e-text-muted);
  margin-bottom: 6px;
}

.g35e-app-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: var(--g35e-primary);
  color: var(--g35e-bg-dark);
  border: none;
  border-radius: var(--g35e-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--g35e-transition);
}
.g35e-app-dl-btn:hover { background: var(--g35e-accent); }

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 768px) {
  .g35e-game-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .g35e-game-icon { width: 56px; height: 56px; }
  .g35e-game-name { font-size: 1rem; }
}
@media (max-width: 360px) {
  .g35e-game-grid { grid-template-columns: repeat(3, 1fr); }
  .g35e-game-icon { width: 64px; height: 64px; }
}
