/**
 * luck game - Core Stylesheet
 * Class prefix: g260-
 * CSS Variables: --g260-*
 * Colors: #BBBBBB | #20B2AA | #00695C | #0D1117 | #E0FFFF
 * Dark bg: #0D1117, Light text: #E0FFFF
 */

:root {
  --g260-primary: #20B2AA;
  --g260-secondary: #00695C;
  --g260-bg: #0D1117;
  --g260-bg-light: #161B22;
  --g260-bg-card: #1C2333;
  --g260-text: #E0FFFF;
  --g260-text-muted: #BBBBBB;
  --g260-accent: #20B2AA;
  --g260-accent-hover: #2EC4B6;
  --g260-border: #30363D;
  --g260-gold: #FFD700;
  --g260-radius: 8px;
  --g260-radius-lg: 12px;
  --g260-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --g260-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Base reset and typography */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--g260-bg);
  color: var(--g260-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g260-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.g260-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g260-bg-light) 0%, #0D1117 100%);
  border-bottom: 1px solid var(--g260-border);
  padding: 0 1.2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g260-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.g260-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.g260-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g260-text);
  letter-spacing: 0.5px;
}
.g260-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g260-btn-register, .g260-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--g260-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 32px;
}
.g260-btn-register {
  background: linear-gradient(135deg, var(--g260-accent) 0%, var(--g260-secondary) 100%);
  color: #fff;
}
.g260-btn-register:hover { opacity: 0.9; transform: scale(1.02); }
.g260-btn-login {
  background: transparent;
  color: var(--g260-accent);
  border: 1.5px solid var(--g260-accent);
}
.g260-btn-login:hover { background: rgba(32, 178, 170, 0.1); }
.g260-menu-toggle {
  background: none;
  border: none;
  color: var(--g260-text-muted);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.g260-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.g260-overlay-active { opacity: 1; visibility: visible; }
.g260-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: var(--g260-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}
.g260-menu-active { right: 0; }
.g260-mobile-menu .g260-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--g260-border);
}
.g260-menu-close {
  background: none;
  border: none;
  color: var(--g260-text-muted);
  font-size: 2.4rem;
  cursor: pointer;
}
.g260-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g260-primary);
}
.g260-mobile-menu ul { list-style: none; }
.g260-mobile-menu li { margin-bottom: 0.4rem; }
.g260-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--g260-text);
  font-size: 1.4rem;
  border-radius: var(--g260-radius);
  transition: all 0.2s ease;
}
.g260-mobile-menu a:hover {
  background: rgba(32, 178, 170, 0.1);
  color: var(--g260-primary);
}
.g260-mobile-menu .material-icons,
.g260-mobile-menu .bi { font-size: 2rem; color: var(--g260-primary); }

/* Main Content */
.g260-main {
  padding-top: 60px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .g260-main { padding-bottom: 80px; }
}

/* Carousel */
.g260-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g260-radius-lg) var(--g260-radius-lg);
}
.g260-carousel-inner { position: relative; width: 100%; padding-top: 46.5%; }
.g260-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g260-slide-active { opacity: 1; }
.g260-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g260-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.g260-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.g260-dot-active {
  background: var(--g260-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section */
.g260-section {
  padding: 2rem 1.2rem;
}
.g260-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g260-text);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.g260-section-title .material-icons,
.g260-section-title .bi,
.g260-section-title .fas,
.g260-section-title .ion-icon {
  color: var(--g260-primary);
  font-size: 2rem;
}
.g260-section-subtitle {
  font-size: 1.3rem;
  color: var(--g260-text-muted);
  margin-bottom: 1.6rem;
  line-height: 1.6rem;
}

/* Game Grid */
.g260-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.g260-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: var(--g260-radius);
  padding: 0.6rem;
}
.g260-game-card:hover { transform: translateY(-2px); }
.g260-game-card:active { transform: scale(0.96); }
.g260-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g260-radius);
  object-fit: cover;
  border: 1px solid var(--g260-border);
  margin-bottom: 0.4rem;
}
.g260-game-name {
  font-size: 1.1rem;
  color: var(--g260-text-muted);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Modules */
.g260-content-block {
  background: var(--g260-bg-card);
  border-radius: var(--g260-radius-lg);
  padding: 2rem 1.6rem;
  margin: 0 1.2rem 1.6rem;
  border: 1px solid var(--g260-border);
}
.g260-content-block h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g260-text);
  margin-bottom: 1rem;
}
.g260-content-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g260-primary);
  margin: 1.2rem 0 0.6rem;
}
.g260-content-block p {
  font-size: 1.4rem;
  color: var(--g260-text-muted);
  line-height: 2.2rem;
  margin-bottom: 1rem;
}
.g260-content-block ul, .g260-content-block ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.g260-content-block li {
  font-size: 1.4rem;
  color: var(--g260-text-muted);
  line-height: 2.2rem;
  margin-bottom: 0.4rem;
}

/* Promo Button */
.g260-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g260-accent) 0%, var(--g260-secondary) 100%);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: var(--g260-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}
.g260-promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}
.g260-promo-btn-lg {
  display: block;
  width: 100%;
  padding: 1.4rem;
  font-size: 1.6rem;
  border-radius: var(--g260-radius-lg);
}

/* Link styles */
.g260-link-promo {
  color: var(--g260-gold);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.g260-link-promo:hover { color: var(--g260-accent); }
.g260-link-internal {
  color: var(--g260-primary);
  text-decoration: underline;
}
.g260-link-internal:hover { color: var(--g260-accent-hover); }

/* Testimonials */
.g260-testimonial {
  background: var(--g260-bg-light);
  border-radius: var(--g260-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--g260-primary);
}
.g260-testimonial-name {
  font-weight: 600;
  color: var(--g260-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.g260-testimonial-text {
  color: var(--g260-text-muted);
  font-size: 1.3rem;
  line-height: 1.8rem;
}

/* Winners table */
.g260-winners-table {
  width: 100%;
  border-collapse: collapse;
}
.g260-winners-table th {
  background: var(--g260-bg-light);
  color: var(--g260-primary);
  font-size: 1.2rem;
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--g260-border);
}
.g260-winners-table td {
  font-size: 1.2rem;
  padding: 0.6rem 0.8rem;
  color: var(--g260-text-muted);
  border-bottom: 1px solid var(--g260-border);
}
.g260-winners-table .g260-win-amount {
  color: var(--g260-gold);
  font-weight: 600;
}

/* Payment icons */
.g260-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}
.g260-payment-item {
  background: var(--g260-bg-light);
  border-radius: var(--g260-radius);
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--g260-border);
  font-size: 1.2rem;
  color: var(--g260-text-muted);
}

/* Footer */
.g260-footer {
  background: var(--g260-bg-light);
  border-top: 1px solid var(--g260-border);
  padding: 2.4rem 1.2rem 3rem;
  margin-top: 2rem;
}
.g260-footer-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.g260-footer-brand p {
  font-size: 1.2rem;
  color: var(--g260-text-muted);
  line-height: 1.8rem;
  max-width: 320px;
  margin: 0 auto;
}
.g260-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1.6rem 0;
}
.g260-footer-promo .g260-promo-btn {
  padding: 0.7rem 1.4rem;
  font-size: 1.2rem;
}
.g260-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: center;
  margin: 1.6rem 0;
}
.g260-footer-links a {
  font-size: 1.2rem;
  color: var(--g260-text-muted);
  transition: color 0.2s;
}
.g260-footer-links a:hover { color: var(--g260-primary); }
.g260-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--g260-text-muted);
  margin-top: 1.6rem;
  opacity: 0.7;
}

/* Bottom Navigation */
.g260-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--g260-bg-light) 0%, #0a0e14 100%);
  border-top: 1px solid var(--g260-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
.g260-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--g260-text-muted);
  transition: all 0.25s ease;
  padding: 0.4rem;
  border-radius: var(--g260-radius);
  position: relative;
}
.g260-bottom-nav-btn:active { transform: scale(0.9); }
.g260-bottom-nav-btn .material-icons,
.g260-bottom-nav-btn .bi,
.g260-bottom-nav-btn .fas,
.g260-bottom-nav-btn .far,
.g260-bottom-nav-btn .ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
  transition: color 0.25s ease;
}
.g260-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
  transition: color 0.25s ease;
}
.g260-bottom-nav-btn:hover,
.g260-nav-current {
  color: var(--g260-primary);
}
.g260-nav-current::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--g260-primary);
  border-radius: 1px;
}

/* Responsive - hide bottom nav on desktop */
@media (min-width: 769px) {
  .g260-bottom-nav { display: none; }
}
@media (min-width: 769px) {
  .g260-header { max-width: 430px; }
}

/* FAQ Accordion */
.g260-faq-item {
  border: 1px solid var(--g260-border);
  border-radius: var(--g260-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.g260-faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  background: var(--g260-bg-light);
  color: var(--g260-text);
  font-size: 1.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.g260-faq-question:hover { background: var(--g260-bg-card); }
.g260-faq-answer {
  padding: 1rem 1.4rem;
  color: var(--g260-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
  display: none;
}
.g260-faq-answer.g260-faq-open { display: block; }

/* Utility classes */
.g260-text-center { text-align: center; }
.g260-text-gold { color: var(--g260-gold); }
.g260-text-accent { color: var(--g260-primary); }
.g260-mt-1 { margin-top: 1rem; }
.g260-mb-1 { margin-bottom: 1rem; }
.g260-hidden { display: none; }

/* Category badge */
.g260-cat-badge {
  display: inline-block;
  background: rgba(32, 178, 170, 0.15);
  color: var(--g260-primary);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
