/**
 * Lucky Taya - Core Stylesheet
 * Prefix: g698-
 * Mobile-first responsive design, max-width 430px
 */

/* CSS Variables */
:root {
  --g698-primary: #8470FF;
  --g698-bg: #273746;
  --g698-text: #F8F8FF;
  --g698-highlight: #F4A460;
  --g698-secondary: #9932CC;
  --g698-bg-dark: #1a2632;
  --g698-bg-card: #2c3e50;
  --g698-bg-light: #34495e;
  --g698-radius: 8px;
  --g698-radius-lg: 12px;
  --g698-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --g698-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: var(--g698-text);
  background: var(--g698-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--g698-primary); text-decoration: none; transition: var(--g698-transition); }
a:hover { color: var(--g698-highlight); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.g698-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}
.g698-wrapper {
  width: 100%;
  overflow: hidden;
}

/* ========= HEADER ========= */
.g698-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g698-bg-dark) 0%, var(--g698-bg) 100%);
  border-bottom: 1px solid rgba(132,112,255,0.2);
  height: 56px;
}
.g698-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
}
.g698-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.g698-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.g698-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--g698-primary), var(--g698-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g698-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g698-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--g698-radius);
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--g698-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.g698-btn-register {
  background: linear-gradient(135deg, var(--g698-highlight), #e8973a);
  color: var(--g698-bg-dark);
}
.g698-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(244,164,96,0.4); }
.g698-btn-login {
  background: transparent;
  color: var(--g698-text);
  border: 1px solid var(--g698-primary);
}
.g698-btn-login:hover { background: var(--g698-primary); color: #fff; }
.g698-btn-affiliate {
  background: linear-gradient(135deg, var(--g698-primary), var(--g698-secondary));
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--g698-radius-lg);
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--g698-transition);
}
.g698-btn-affiliate:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(132,112,255,0.5); }
.g698-menu-toggle {
  background: none;
  border: none;
  color: var(--g698-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ========= MOBILE MENU ========= */
.g698-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: var(--g698-transition);
}
.g698-overlay-active { opacity: 1; visibility: visible; }
.g698-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: var(--g698-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.g698-menu-active { right: 0; }
.g698-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(132,112,255,0.2);
}
.g698-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g698-primary);
}
.g698-menu-close {
  background: none;
  border: none;
  color: var(--g698-text);
  font-size: 2.2rem;
  cursor: pointer;
}
.g698-menu-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 0;
  color: var(--g698-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--g698-transition);
}
.g698-menu-nav a:hover { color: var(--g698-primary); padding-left: 8px; }
.g698-menu-nav a span.g698-menu-icon { font-size: 1.8rem; width: 24px; text-align: center; }

/* ========= CAROUSEL ========= */
.g698-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--g698-radius-lg);
  margin-bottom: 1.5rem;
}
.g698-carousel-track { position: relative; width: 100%; padding-top: 50%; }
.g698-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g698-slide-active { opacity: 1; }
.g698-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g698-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.g698-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--g698-transition);
}
.g698-dot-active { background: var(--g698-highlight); width: 20px; border-radius: 4px; }

/* ========= MAIN CONTENT ========= */
.g698-main {
  padding-top: 64px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .g698-main { padding-bottom: 80px; }
}

/* ========= SECTION TITLES ========= */
.g698-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g698-text);
  margin: 1.5rem 0 1rem;
  padding-left: 12px;
  border-left: 3px solid var(--g698-primary);
  line-height: 2.2rem;
}
.g698-section-title span { color: var(--g698-highlight); }

/* ========= GAME GRID ========= */
.g698-game-section { margin-bottom: 1.5rem; }
.g698-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g698-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  border-radius: var(--g698-radius);
  background: var(--g698-bg-card);
  cursor: pointer;
  transition: var(--g698-transition);
}
.g698-game-item:hover { background: var(--g698-bg-light); transform: translateY(-2px); }
.g698-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  margin-bottom: 4px;
}
.g698-game-name {
  font-size: 1rem;
  color: var(--g698-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ========= CONTENT CARDS ========= */
.g698-card {
  background: var(--g698-bg-card);
  border-radius: var(--g698-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--g698-shadow);
}
.g698-card h2 {
  font-size: 1.6rem;
  color: var(--g698-primary);
  margin-bottom: 1rem;
  line-height: 2rem;
}
.g698-card h3 {
  font-size: 1.4rem;
  color: var(--g698-highlight);
  margin-bottom: 0.8rem;
  line-height: 1.8rem;
}
.g698-card p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: rgba(248,248,255,0.85);
  margin-bottom: 1rem;
}
.g698-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.g698-card li {
  font-size: 1.3rem;
  line-height: 2rem;
  color: rgba(248,248,255,0.85);
  margin-bottom: 0.5rem;
  list-style: disc;
}
.g698-highlight-box {
  background: linear-gradient(135deg, rgba(132,112,255,0.15), rgba(153,50,204,0.15));
  border: 1px solid rgba(132,112,255,0.3);
  border-radius: var(--g698-radius);
  padding: 1rem;
  margin: 1rem 0;
}
.g698-text-link {
  color: var(--g698-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.g698-text-link:hover { color: var(--g698-highlight); }

/* ========= FAQ ========= */
.g698-faq-item {
  border-bottom: 1px solid rgba(132,112,255,0.15);
  padding: 1rem 0;
}
.g698-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g698-highlight);
  margin-bottom: 0.5rem;
}
.g698-faq-a {
  font-size: 1.3rem;
  color: rgba(248,248,255,0.8);
  line-height: 2rem;
}

/* ========= TESTIMONIALS ========= */
.g698-testimonial {
  background: var(--g698-bg-light);
  border-radius: var(--g698-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g698-primary);
}
.g698-testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g698-primary);
}
.g698-testimonial-text {
  font-size: 1.2rem;
  color: rgba(248,248,255,0.8);
  line-height: 1.8rem;
  margin-top: 0.5rem;
}
.g698-testimonial-stars { color: var(--g698-highlight); font-size: 1.2rem; }

/* ========= WINNERS TABLE ========= */
.g698-winners-table {
  width: 100%;
  border-collapse: collapse;
}
.g698-winners-table th {
  background: var(--g698-primary);
  color: #fff;
  font-size: 1.1rem;
  padding: 8px;
  text-align: left;
}
.g698-winners-table td {
  font-size: 1.1rem;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(248,248,255,0.85);
}
.g698-winners-table tr:nth-child(even) { background: rgba(132,112,255,0.05); }
.g698-win-amount { color: var(--g698-highlight); font-weight: 600; }

/* ========= PAYMENT GRID ========= */
.g698-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.g698-payment-item {
  background: var(--g698-bg-light);
  border-radius: var(--g698-radius);
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--g698-text);
}

/* ========= DOWNLOAD CTA ========= */
.g698-download-box {
  background: linear-gradient(135deg, var(--g698-primary), var(--g698-secondary));
  border-radius: var(--g698-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}
.g698-download-box h2 { color: #fff; font-size: 1.8rem; margin-bottom: 0.5rem; }
.g698-download-box p { color: rgba(255,255,255,0.9); font-size: 1.3rem; margin-bottom: 1.5rem; }
.g698-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g698-highlight);
  color: var(--g698-bg-dark);
  padding: 12px 28px;
  border-radius: var(--g698-radius-lg);
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--g698-transition);
}
.g698-download-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(244,164,96,0.5); }

/* ========= FOOTER ========= */
.g698-footer {
  background: var(--g698-bg-dark);
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(132,112,255,0.15);
}
.g698-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.g698-footer-brand p {
  font-size: 1.2rem;
  color: rgba(248,248,255,0.7);
  line-height: 1.8rem;
  max-width: 320px;
  margin: 0 auto;
}
.g698-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 1.5rem 0;
}
.g698-footer-links a {
  font-size: 1.1rem;
  color: rgba(248,248,255,0.7);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: var(--g698-transition);
}
.g698-footer-links a:hover { border-color: var(--g698-primary); color: var(--g698-primary); }
.g698-footer-affiliate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 1rem 0;
}
.g698-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(248,248,255,0.4);
  margin-top: 1.5rem;
}

/* ========= BOTTOM NAVIGATION ========= */
.g698-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--g698-bg-dark), #0f1923);
  border-top: 1px solid rgba(132,112,255,0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 4px;
}
.g698-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: rgba(248,248,255,0.5);
  cursor: pointer;
  transition: var(--g698-transition);
  border-radius: var(--g698-radius);
  padding: 4px 8px;
  text-decoration: none;
}
.g698-bnav-btn:hover { color: var(--g698-primary); }
.g698-bnav-btn .g698-bnav-icon { font-size: 2.2rem; line-height: 1; margin-bottom: 2px; }
.g698-bnav-btn .g698-bnav-label { font-size: 0.95rem; font-weight: 500; }
.g698-bnav-active {
  color: var(--g698-primary) !important;
}
.g698-bnav-active .g698-bnav-icon {
  filter: drop-shadow(0 0 6px rgba(132,112,255,0.6));
}
@media (min-width: 769px) {
  .g698-bottom-nav { display: none; }
}

/* ========= UTILITY ========= */
.g698-text-center { text-align: center; }
.g698-mt-1 { margin-top: 1rem; }
.g698-mb-1 { margin-bottom: 1rem; }
.g698-mb-2 { margin-bottom: 2rem; }
.g698-hidden { display: none !important; }

/* ========= RESPONSIVE ========= */
@media (max-width: 430px) {
  .g698-game-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .g698-game-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 769px) {
  body { background: #1a2632; }
  .g698-main { padding-bottom: 0; }
}
