/**
 * fb7772 - Design Stylesheet
 * All classes use g069- prefix for namespace isolation
 * Color palette: #9400D3 | #E6E6FA | #333333 | #4B0082
 * Mobile-first responsive design (max-width: 430px core)
 */

:root {
  --g069-primary: #9400D3;
  --g069-secondary: #4B0082;
  --g069-bg: #333333;
  --g069-bg-dark: #1a1a2e;
  --g069-bg-card: #2a2a3e;
  --g069-text: #E6E6FA;
  --g069-text-muted: #b0b0c8;
  --g069-accent: #9400D3;
  --g069-accent-hover: #a820e0;
  --g069-border: #4a4a6a;
  --g069-success: #28a745;
  --g069-warning: #ffc107;
  --g069-radius: 8px;
  --g069-radius-lg: 12px;
  --g069-shadow: 0 4px 15px rgba(0,0,0,0.3);
  --g069-transition: all 0.3s ease;
}

/* 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', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--g069-bg-dark);
  color: var(--g069-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--g069-accent); text-decoration: none; transition: var(--g069-transition); }
a:hover { color: var(--g069-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.g069-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.g069-wrapper { width: 100%; position: relative; }

/* Header */
.g069-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g069-secondary), var(--g069-bg));
  padding: 0.8rem 1rem; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--g069-accent);
  transition: var(--g069-transition);
}
.g069-header-scrolled {
  background: rgba(74, 0, 130, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(148, 0, 211, 0.3);
}
.g069-header-left { display: flex; align-items: center; gap: 0.8rem; }
.g069-header-logo { width: 32px; height: 32px; border-radius: 6px; }
.g069-header-name { font-size: 1.6rem; font-weight: 700; color: #fff; white-space: nowrap; }
.g069-header-right { display: flex; align-items: center; gap: 0.6rem; }
.g069-header-btn {
  padding: 0.5rem 1.2rem; border-radius: 20px; border: none;
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: var(--g069-transition);
}
.g069-btn-register {
  background: linear-gradient(135deg, var(--g069-accent), #b030e8);
  color: #fff;
}
.g069-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(148,0,211,0.5); }
.g069-btn-login {
  background: transparent; color: var(--g069-text); border: 1.5px solid var(--g069-accent);
}
.g069-btn-login:hover { background: rgba(148,0,211,0.15); }
.g069-menu-toggle {
  background: none; border: none; color: var(--g069-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Overlay */
.g069-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.3s ease;
}

/* Mobile Menu */
.g069-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 9999;
  background: linear-gradient(180deg, var(--g069-secondary), var(--g069-bg-dark));
  transform: translateX(-100%); opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem; overflow-y: auto;
}
.g069-mobile-menu-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--g069-border); }
.g069-mobile-menu-logo { width: 36px; height: 36px; border-radius: 8px; }
.g069-mobile-menu-title { font-size: 1.8rem; font-weight: 700; color: #fff; }
.g069-mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1rem; background: none; border: none;
  color: var(--g069-text); font-size: 2.2rem; cursor: pointer;
}
.g069-mobile-menu-nav { list-style: none; }
.g069-mobile-menu-nav li { margin-bottom: 0.3rem; }
.g069-mobile-menu-nav a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  color: var(--g069-text); font-size: 1.4rem; border-radius: var(--g069-radius);
  transition: var(--g069-transition);
}
.g069-mobile-menu-nav a:hover, .g069-mobile-menu-nav a:focus {
  background: rgba(148,0,211,0.2); color: #fff;
}
.g069-mobile-menu-nav .g069-nav-icon { font-size: 2rem; width: 28px; text-align: center; }

/* Main Content */
.g069-main { padding-top: 6rem; }
@media (max-width: 768px) { .g069-main { padding-bottom: 80px; } }

/* Carousel */
.g069-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--g069-radius-lg); margin-bottom: 1.5rem; }
.g069-slides-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; }
.g069-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.g069-slide img { width: 100%; height: 100%; object-fit: cover; }
.g069-slide-active { opacity: 1; }
.g069-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.g069-carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: var(--g069-transition); border: none;
}
.g069-dot-active { background: var(--g069-accent); transform: scale(1.2); }

/* Section */
.g069-section { margin-bottom: 2rem; padding: 0 0.2rem; }
.g069-section-title {
  font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem;
  padding-left: 1rem; border-left: 4px solid var(--g069-accent);
  line-height: 2.2rem;
}

/* Game Grid */
.g069-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.g069-game-item {
  text-align: center; cursor: pointer; transition: var(--g069-transition);
  background: var(--g069-bg-card); border-radius: var(--g069-radius);
  padding: 0.6rem 0.3rem; border: 1px solid transparent;
}
.g069-game-item:hover { transform: translateY(-3px); border-color: var(--g069-accent); box-shadow: var(--g069-shadow); }
.g069-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px;
  margin-bottom: 0.4rem;
}
.g069-game-name {
  font-size: 1.1rem; color: var(--g069-text-muted); line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Label */
.g069-cat-label {
  font-size: 1.5rem; font-weight: 600; color: var(--g069-accent);
  margin: 1.5rem 0 0.8rem; display: flex; align-items: center; gap: 0.6rem;
}
.g069-cat-label i, .g069-cat-label .material-symbols-outlined { font-size: 2rem; }

/* Cards */
.g069-card {
  background: var(--g069-bg-card); border-radius: var(--g069-radius-lg);
  padding: 1.5rem; margin-bottom: 1.2rem; border: 1px solid var(--g069-border);
  transition: var(--g069-transition);
}
.g069-card:hover { border-color: var(--g069-accent); }
.g069-card-title { font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 0.8rem; }
.g069-card-text { font-size: 1.3rem; color: var(--g069-text-muted); line-height: 1.8rem; }

/* Buttons */
.g069-promo-btn {
  display: inline-block; padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--g069-accent), #b030e8);
  color: #fff; border: none; border-radius: 25px; font-size: 1.4rem;
  font-weight: 700; cursor: pointer; transition: var(--g069-transition);
  text-align: center; min-height: 44px;
}
.g069-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(148,0,211,0.5); }
.g069-btn-active { transform: scale(0.95); }
.g069-promo-link {
  color: var(--g069-accent); font-weight: 700; cursor: pointer;
  transition: var(--g069-transition);
}
.g069-promo-link:hover { color: var(--g069-accent-hover); text-decoration: underline; }

/* Footer */
.g069-footer {
  background: linear-gradient(180deg, var(--g069-bg-dark), #0a0a1a);
  padding: 2rem 1rem; text-align: center; margin-top: 2rem;
  border-top: 2px solid var(--g069-accent);
}
.g069-footer-desc { font-size: 1.2rem; color: var(--g069-text-muted); line-height: 1.8rem; margin-bottom: 1.5rem; }
.g069-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.g069-footer-link {
  padding: 0.4rem 1rem; background: rgba(148,0,211,0.15); border-radius: 15px;
  color: var(--g069-text); font-size: 1.1rem; border: 1px solid var(--g069-border);
  transition: var(--g069-transition);
}
.g069-footer-link:hover { background: rgba(148,0,211,0.3); color: #fff; }
.g069-footer-copy { font-size: 1.1rem; color: #666; margin-top: 1rem; }

/* Bottom Navigation */
.g069-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g069-secondary), #1a0a2e);
  border-top: 1.5px solid rgba(148,0,211,0.4);
  height: 62px; padding: 0; justify-content: space-around; align-items: center;
}
@media (max-width: 768px) { .g069-bottom-nav { display: flex; } }
.g069-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 58px; background: none; border: none;
  color: var(--g069-text-muted); cursor: pointer; transition: var(--g069-transition);
  border-radius: 8px; position: relative;
}
.g069-bottom-nav-btn i,
.g069-bottom-nav-btn .material-symbols-outlined,
.g069-bottom-nav-btn ion-icon,
.g069-bottom-nav-btn bi { font-size: 2.2rem; }
.g069-bottom-nav-btn span { font-size: 1rem; margin-top: 2px; }
.g069-bottom-nav-btn:hover { color: var(--g069-accent); }
.g069-bottom-nav-btn:hover i,
.g069-bottom-nav-btn:hover .material-symbols-outlined,
.g069-bottom-nav-btn:hover ion-icon { transform: scale(1.15); }
.g069-nav-active { color: #fff !important; }
.g069-nav-active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--g069-accent); border-radius: 2px;
}

/* Helpers */
.g069-text-center { text-align: center; }
.g069-mt-1 { margin-top: 0.8rem; }
.g069-mt-2 { margin-top: 1.6rem; }
.g069-mb-1 { margin-bottom: 0.8rem; }
.g069-mb-2 { margin-bottom: 1.6rem; }
.g069-hidden { display: none; }
.g069-flex { display: flex; }
.g069-flex-center { display: flex; align-items: center; justify-content: center; }
.g069-gap-1 { gap: 0.8rem; }
.g069-gap-2 { gap: 1.6rem; }

/* Help page styles */
.g069-help-section { padding: 1.5rem 0; }
.g069-help-title { font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem; }
.g069-help-text { font-size: 1.3rem; color: var(--g069-text-muted); line-height: 2rem; margin-bottom: 1rem; }
.g069-help-list { list-style: none; padding: 0; }
.g069-help-list li {
  padding: 0.8rem 1rem; background: var(--g069-bg-card); border-radius: var(--g069-radius);
  margin-bottom: 0.6rem; border-left: 3px solid var(--g069-accent);
  font-size: 1.3rem; color: var(--g069-text-muted); line-height: 1.8rem;
}
.g069-faq-item { margin-bottom: 1.2rem; }
.g069-faq-q {
  font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.g069-faq-a { font-size: 1.3rem; color: var(--g069-text-muted); line-height: 1.8rem; padding-left: 2rem; }

/* Winner showcase */
.g069-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.g069-winner-item {
  display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem;
  background: var(--g069-bg-card); border-radius: var(--g069-radius);
  border: 1px solid var(--g069-border);
}
.g069-winner-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--g069-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1.3rem; }
.g069-winner-info { flex: 1; }
.g069-winner-name { font-size: 1.2rem; color: #fff; font-weight: 600; }
.g069-winner-game { font-size: 1.1rem; color: var(--g069-text-muted); }
.g069-winner-amount { font-size: 1.3rem; color: var(--g069-warning); font-weight: 700; }

/* Payment methods */
.g069-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.g069-payment-item {
  padding: 0.6rem 1.2rem; background: var(--g069-bg-card); border-radius: var(--g069-radius);
  border: 1px solid var(--g069-border); font-size: 1.2rem; color: var(--g069-text);
  display: flex; align-items: center; gap: 0.5rem;
}

/* App download CTA */
.g069-app-cta {
  background: linear-gradient(135deg, rgba(148,0,211,0.2), rgba(75,0,130,0.3));
  border: 2px solid var(--g069-accent); border-radius: var(--g069-radius-lg);
  padding: 1.5rem; text-align: center;
}
.g069-app-cta-title { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.g069-app-cta-text { font-size: 1.2rem; color: var(--g069-text-muted); margin-bottom: 1rem; }

/* Responsive desktop */
@media (min-width: 769px) {
  .g069-container { max-width: 768px; }
  .g069-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g069-header { padding: 1rem 2rem; }
}
@media (min-width: 1024px) {
  .g069-container { max-width: 960px; }
  .g069-game-grid { grid-template-columns: repeat(8, 1fr); }
}
