/**
 * 8999 vet - Layout Stylesheet
 * CSS class prefix: g3a6-
 * Color palette: #C9C9FF | #262626 | #ADFF2F | #CED4DA | #FF91A4
 */

:root {
  --g3a6-primary: #C9C9FF;
  --g3a6-bg: #262626;
  --g3a6-accent: #ADFF2F;
  --g3a6-text: #CED4DA;
  --g3a6-pink: #FF91A4;
  --g3a6-dark: #1a1a1a;
  --g3a6-darker: #111111;
  --g3a6-card: #2a2a2a;
  --g3a6-border: #3a3a3a;
  --g3a6-white: #ffffff;
  --g3a6-gold: #FFD700;
  --g3a6-radius: 8px;
  --g3a6-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

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

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

/* Header */
.g3a6-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--g3a6-darker);
  border-bottom: 1px solid var(--g3a6-border);
  padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  height: 52px;
}

.g3a6-logo-area {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}

.g3a6-logo-area img { width: 28px; height: 28px; border-radius: 4px; }

.g3a6-logo-area span {
  font-size: 1.5rem; font-weight: 700;
  color: var(--g3a6-primary);
  letter-spacing: 0.5px;
}

.g3a6-header-actions { display: flex; gap: 0.5rem; align-items: center; }

.g3a6-btn-register, .g3a6-btn-login {
  border: none; border-radius: 6px;
  padding: 0.5rem 1rem; font-size: 1.2rem;
  font-weight: 600; cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.g3a6-btn-register {
  background: linear-gradient(135deg, var(--g3a6-accent), #7FFF00);
  color: var(--g3a6-dark);
}

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

.g3a6-btn-register:hover { transform: scale(1.03); }
.g3a6-btn-login:hover { background: rgba(201,201,255,0.1); }

.g3a6-menu-toggle {
  background: none; border: none;
  color: var(--g3a6-primary); font-size: 2rem;
  cursor: pointer; padding: 0.4rem;
  line-height: 1;
}

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

.g3a6-menu-active { right: 0 !important; }

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

.g3a6-mobile-menu a:hover { color: var(--g3a6-accent); }

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

.g3a6-menu-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

.g3a6-overlay-active { display: block !important; }

/* Container & Layout */
.g3a6-container {
  max-width: 430px; margin: 0 auto;
  padding: 0 1rem;
}

.g3a6-main {
  padding-top: 56px;
  min-height: 100vh;
}

/* Slider */
.g3a6-slider-wrap {
  position: relative; width: 100%;
  overflow: hidden; border-radius: var(--g3a6-radius);
  margin-top: 0.8rem;
}

.g3a6-slide {
  display: none; width: 100%;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.g3a6-slide img { width: 100%; height: auto; display: block; border-radius: var(--g3a6-radius); }

.g3a6-slider-dots {
  display: flex; justify-content: center;
  gap: 0.6rem; padding: 0.6rem 0;
}

.g3a6-slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--g3a6-border); border: none;
  cursor: pointer; transition: background 0.3s;
}

.g3a6-slider-dot.g3a6-dot-active { background: var(--g3a6-accent); }

/* Section Headings */
.g3a6-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--g3a6-primary);
  margin: 2rem 0 1rem; padding: 0 0.5rem;
  border-left: 3px solid var(--g3a6-accent);
  padding-left: 1rem;
}

.g3a6-section-title i { margin-right: 0.5rem; color: var(--g3a6-accent); }

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

.g3a6-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--g3a6-radius);
  padding: 0.4rem;
  background: var(--g3a6-card);
}

.g3a6-game-item:hover { transform: scale(1.03); }

.g3a6-game-item img {
  width: 100%; aspect-ratio: 1;
  border-radius: 6px; object-fit: cover;
  margin-bottom: 0.3rem;
}

.g3a6-game-item span {
  font-size: 1rem; color: var(--g3a6-text);
  display: block; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Label */
.g3a6-cat-label {
  font-size: 1.3rem; font-weight: 600;
  color: var(--g3a6-accent);
  margin: 1.5rem 0 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(173,255,47,0.1);
  border-radius: 20px;
  display: inline-block;
}

/* Content Sections */
.g3a6-content-block {
  background: var(--g3a6-card);
  border-radius: var(--g3a6-radius);
  padding: 1.2rem; margin: 1rem 0;
  border: 1px solid var(--g3a6-border);
}

.g3a6-content-block h2 {
  font-size: 1.6rem; color: var(--g3a6-primary);
  margin-bottom: 0.8rem;
}

.g3a6-content-block h3 {
  font-size: 1.4rem; color: var(--g3a6-accent);
  margin: 1rem 0 0.5rem;
}

.g3a6-content-block p {
  font-size: 1.3rem; line-height: 1.6;
  color: var(--g3a6-text); margin-bottom: 0.8rem;
}

.g3a6-content-block ul, .g3a6-content-block ol {
  padding-left: 1.5rem; margin-bottom: 0.8rem;
}

.g3a6-content-block li {
  font-size: 1.3rem; line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* Promo Link Text */
.g3a6-promo-text {
  color: var(--g3a6-accent); font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: color 0.2s;
  border-bottom: 1px dashed var(--g3a6-accent);
}

.g3a6-promo-text:hover { color: var(--g3a6-gold); border-color: var(--g3a6-gold); }

/* CTA Buttons */
.g3a6-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g3a6-accent), #7FFF00);
  color: var(--g3a6-dark); font-weight: 700;
  padding: 1rem 2rem; border-radius: 30px;
  text-decoration: none; font-size: 1.5rem;
  cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(173,255,47,0.3);
}

.g3a6-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(173,255,47,0.4);
}

/* Winner Cards */
.g3a6-winner-card {
  background: linear-gradient(135deg, var(--g3a6-card), #333);
  border-radius: var(--g3a6-radius);
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  display: flex; align-items: center; gap: 0.8rem;
  border: 1px solid var(--g3a6-border);
}

.g3a6-winner-card img { width: 36px; height: 36px; border-radius: 50%; }

.g3a6-winner-info { flex: 1; }
.g3a6-winner-name { font-size: 1.2rem; color: var(--g3a6-primary); font-weight: 600; }
.g3a6-winner-amount { font-size: 1.3rem; color: var(--g3a6-gold); font-weight: 700; }
.g3a6-winner-game { font-size: 1rem; color: var(--g3a6-text); }

/* Payment Methods */
.g3a6-payment-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin: 1rem 0;
}

.g3a6-payment-item {
  background: var(--g3a6-card);
  border-radius: 6px; padding: 0.5rem 1rem;
  font-size: 1.1rem; color: var(--g3a6-text);
  border: 1px solid var(--g3a6-border);
}

/* Footer */
.g3a6-footer {
  background: var(--g3a6-darker);
  border-top: 1px solid var(--g3a6-border);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}

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

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

.g3a6-footer-links a {
  background: var(--g3a6-card);
  color: var(--g3a6-primary); text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 20px;
  font-size: 1.1rem; border: 1px solid var(--g3a6-border);
  transition: all 0.2s;
}

.g3a6-footer-links a:hover {
  border-color: var(--g3a6-accent);
  color: var(--g3a6-accent);
}

.g3a6-footer-copy {
  text-align: center; font-size: 1.1rem;
  color: #666; padding-top: 1rem;
  border-top: 1px solid var(--g3a6-border);
}

/* Bottom Navigation */
.g3a6-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1e1e1e, #111);
  border-top: 1px solid var(--g3a6-accent);
  display: flex; justify-content: space-around;
  align-items: center; height: 60px;
  max-width: 430px; margin: 0 auto;
  padding: 0 0.3rem;
}

.g3a6-bottom-nav-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: none; border: none;
  color: var(--g3a6-text); cursor: pointer;
  min-width: 60px; min-height: 56px;
  transition: all 0.2s; position: relative;
  padding: 0.4rem;
}

.g3a6-bottom-nav-btn i,
.g3a6-bottom-nav-btn span.material-symbols-outlined {
  font-size: 22px; margin-bottom: 0.2rem;
  transition: all 0.2s;
}

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

.g3a6-bottom-nav-btn.g3a6-nav-active {
  color: var(--g3a6-accent);
}

.g3a6-bottom-nav-btn.g3a6-nav-active::after {
  content: '';
  position: absolute; top: -1px; left: 20%; right: 20%;
  height: 2px; background: var(--g3a6-accent);
  border-radius: 0 0 2px 2px;
}

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

/* Responsive */
@media (min-width: 769px) {
  .g3a6-bottom-nav { display: none; }
  .g3a6-header { max-width: 100%; }
  body { max-width: 100%; }
  .g3a6-container { max-width: 800px; }
}

@media (max-width: 768px) {
  .g3a6-main { padding-bottom: 75px; }
  .g3a6-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
}

@media (max-width: 360px) {
  .g3a6-game-grid { grid-template-columns: repeat(3, 1fr); }
  .g3a6-btn-register { padding: 0.4rem 0.7rem; font-size: 1.1rem; }
  .g3a6-btn-login { padding: 0.4rem 0.7rem; font-size: 1.1rem; }
}

/* Utility */
.g3a6-text-center { text-align: center; }
.g3a6-mt-1 { margin-top: 1rem; }
.g3a6-mb-1 { margin-bottom: 1rem; }
.g3a6-mt-2 { margin-top: 2rem; }
.g3a6-mb-2 { margin-bottom: 2rem; }
.g3a6-flex-center { display: flex; align-items: center; justify-content: center; }
.g3a6-hidden { display: none !important; }
