/* 6777 bit apk - Core CSS Module */
/* All classes use g62c- prefix for namespace isolation */

:root {
  --g62c-primary: #EE82EE;
  --g62c-secondary: #800080;
  --g62c-bg: #1A1A1A;
  --g62c-bg-light: #2A2A2A;
  --g62c-bg-card: #222222;
  --g62c-text: #FAFAFA;
  --g62c-text-muted: #CCCCCC;
  --g62c-accent: #EE82EE;
  --g62c-border: #333333;
  --g62c-gold: #FFD700;
  --g62c-gradient: linear-gradient(135deg, #EE82EE 0%, #800080 100%);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Arial, sans-serif;
  background-color: var(--g62c-bg);
  color: var(--g62c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--g62c-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.g62c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g62c-bg);
  border-bottom: 1px solid var(--g62c-border);
  max-width: 430px;
  margin: 0 auto;
}

.g62c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 5rem;
}

.g62c-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g62c-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.g62c-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g62c-primary);
}

.g62c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g62c-btn-register, .g62c-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.2s, opacity 0.2s;
}

.g62c-btn-register {
  background: var(--g62c-gradient);
  color: #fff;
}

.g62c-btn-login {
  background: transparent;
  color: var(--g62c-primary);
  border: 1px solid var(--g62c-primary);
}

.g62c-btn-register:active, .g62c-btn-login:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.g62c-menu-toggle {
  background: none;
  border: none;
  color: var(--g62c-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Menu Overlay */
.g62c-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.g62c-overlay-active { display: block; }

/* Mobile Slide Menu */
.g62c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--g62c-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.g62c-menu-active { right: 0; }

.g62c-mobile-menu .g62c-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--g62c-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.g62c-mobile-menu .g62c-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g62c-primary);
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.g62c-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--g62c-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g62c-border);
  transition: color 0.2s;
}

.g62c-mobile-menu a:hover { color: var(--g62c-primary); }

/* Main Content */
.g62c-main {
  padding-top: 5.5rem;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .g62c-main { padding-bottom: 7rem; }
}

/* Carousel */
.g62c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin: 0.5rem 0;
}

.g62c-slide {
  width: 100%;
  display: none;
  cursor: pointer;
}

.g62c-slide:first-child { display: block; }

.g62c-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* Section */
.g62c-section {
  padding: 1.5rem 1rem;
}

.g62c-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g62c-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g62c-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g62c-section-title i { font-size: 1.8rem; }

/* Game Grid */
.g62c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.g62c-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.g62c-game-item:active { transform: scale(0.93); }

.g62c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 2px solid var(--g62c-border);
  transition: border-color 0.2s;
}

.g62c-game-item:hover img { border-color: var(--g62c-primary); }

.g62c-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--g62c-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.g62c-card {
  background: var(--g62c-bg-card);
  border: 1px solid var(--g62c-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.g62c-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g62c-primary);
  margin-bottom: 0.8rem;
}

.g62c-card p {
  color: var(--g62c-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
}

/* Promo Link Button */
.g62c-promo-btn {
  display: inline-block;
  background: var(--g62c-gradient);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem 0;
}

.g62c-promo-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px rgba(238,130,238,0.5);
}

.g62c-promo-text {
  color: var(--g62c-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.g62c-promo-text:hover { color: #FFD700; }

/* Footer */
.g62c-footer {
  background: var(--g62c-bg-light);
  border-top: 1px solid var(--g62c-border);
  padding: 2rem 1rem;
  text-align: center;
}

.g62c-footer-brand {
  color: var(--g62c-text-muted);
  font-size: 1.2rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
}

.g62c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.g62c-footer-links a {
  color: var(--g62c-text);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: var(--g62c-bg);
  border-radius: 0.5rem;
  border: 1px solid var(--g62c-border);
  transition: background 0.2s;
}

.g62c-footer-links a:hover { background: var(--g62c-secondary); }

.g62c-footer-copy {
  color: #666;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Bottom Navigation */
.g62c-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g62c-bg-light);
  border-top: 1px solid var(--g62c-border);
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
}

@media (max-width: 768px) {
  .g62c-bottom-nav { display: flex; }
}

.g62c-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--g62c-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
}

.g62c-bottom-btn i, .g62c-bottom-btn .material-icons {
  font-size: 2.2rem;
}

.g62c-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.1rem;
}

.g62c-bottom-btn:active { transform: scale(0.9); }

.g62c-bottom-active {
  color: var(--g62c-primary) !important;
}

.g62c-bottom-active i { color: var(--g62c-primary); }

/* Utility */
.g62c-container { padding: 0 1rem; }
.g62c-text-center { text-align: center; }
.g62c-mt-1 { margin-top: 0.5rem; }
.g62c-mt-2 { margin-top: 1rem; }
.g62c-mt-3 { margin-top: 1.5rem; }
.g62c-mb-2 { margin-bottom: 1rem; }
.g62c-hidden { display: none; }

/* RTP Bar */
.g62c-rtp-bar {
  background: var(--g62c-bg-card);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--g62c-border);
}

.g62c-rtp-bar span:first-child { font-size: 1.2rem; color: var(--g62c-text-muted); }
.g62c-rtp-bar span:last-child { font-size: 1.3rem; font-weight: 700; color: var(--g62c-gold); }

/* Winner Item */
.g62c-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--g62c-border);
}

.g62c-winner-item:last-child { border-bottom: none; }

.g62c-winner-name { font-size: 1.2rem; color: var(--g62c-text-muted); }
.g62c-winner-amount { font-size: 1.3rem; color: var(--g62c-gold); font-weight: 700; }
.g62c-winner-game { font-size: 1.1rem; color: #888; }

/* FAQ */
.g62c-faq-item {
  background: var(--g62c-bg-card);
  border: 1px solid var(--g62c-border);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}

.g62c-faq-q {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g62c-primary);
  margin-bottom: 0.5rem;
}

.g62c-faq-a {
  font-size: 1.2rem;
  color: var(--g62c-text-muted);
  line-height: 2rem;
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .g62c-bottom-nav { display: none !important; }
  body { max-width: 430px; }
}
