/**
 * 667bdt - Core Stylesheet
 * All classes use v7a8- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --v7a8-primary: #4169E1;
  --v7a8-bg: #262626;
  --v7a8-text: #E5E5E5;
  --v7a8-accent: #0000CD;
  --v7a8-light: #87CEFA;
  --v7a8-gold: #FAFAD2;
  --v7a8-dark: #1a1a1a;
  --v7a8-card-bg: #2a2a2a;
  --v7a8-border: #3a3a3a;
  font-size: 62.5%;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--v7a8-bg);
  color: var(--v7a8-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a { color: var(--v7a8-light); text-decoration: none; }
a:hover { color: var(--v7a8-gold); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.v7a8-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v7a8-wrapper { padding: 1.5rem 0; }
.v7a8-grid { display: grid; gap: 1rem; }

/* Header */
.v7a8-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 2px solid var(--v7a8-primary);
  max-width: 430px; margin: 0 auto;
}
.v7a8-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 5.2rem;
}
.v7a8-logo { display: flex; align-items: center; gap: 0.6rem; }
.v7a8-logo img { width: 3rem; height: 3rem; border-radius: 0.5rem; }
.v7a8-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--v7a8-gold); }
.v7a8-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.v7a8-btn-register {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a; border: none; padding: 0.6rem 1.4rem;
  border-radius: 2rem; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
}
.v7a8-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(255,215,0,0.5); }
.v7a8-btn-login {
  background: transparent; color: var(--v7a8-light);
  border: 1.5px solid var(--v7a8-light); padding: 0.6rem 1.4rem;
  border-radius: 2rem; font-size: 1.3rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.v7a8-btn-login:hover { background: var(--v7a8-light); color: var(--v7a8-bg); }
.v7a8-menu-toggle {
  background: none; border: none; color: var(--v7a8-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.v7a8-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100vh; z-index: 9999;
  background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
  transition: right 0.35s ease; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.v7a8-mobile-menu.v7a8-menu-active { right: 0; }
.v7a8-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.v7a8-menu-overlay.v7a8-overlay-active { display: block; }
.v7a8-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--v7a8-border);
}
.v7a8-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--v7a8-gold); }
.v7a8-menu-close { background: none; border: none; color: var(--v7a8-text); font-size: 2.4rem; cursor: pointer; }
.v7a8-menu-links { list-style: none; }
.v7a8-menu-links li { margin-bottom: 0.3rem; }
.v7a8-menu-links a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: 0.8rem;
  color: var(--v7a8-text); font-size: 1.4rem;
  transition: all 0.2s;
}
.v7a8-menu-links a:hover { background: rgba(65,105,225,0.2); color: var(--v7a8-light); }
.v7a8-menu-links i, .v7a8-menu-links .material-icons { font-size: 2rem; width: 2.4rem; text-align: center; }

/* Carousel */
.v7a8-carousel {
  position: relative; width: 100%; overflow: hidden;
  margin-top: 5.2rem; aspect-ratio: 16/9;
  background: var(--v7a8-dark);
}
.v7a8-slide {
  display: none; width: 100%; height: 100%; cursor: pointer;
}
.v7a8-slide img { width: 100%; height: 100%; object-fit: cover; }
.v7a8-slide-active { display: block; }
.v7a8-slide-dots {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.6rem;
}
.v7a8-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
}
.v7a8-dot.v7a8-dot-active { background: var(--v7a8-gold); }

/* Section styles */
.v7a8-section { padding: 1.5rem 0; }
.v7a8-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v7a8-gold);
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v7a8-primary);
  display: flex; align-items: center; gap: 0.8rem;
}
.v7a8-section-title i { font-size: 2rem; color: var(--v7a8-primary); }

/* Category title */
.v7a8-cat-title {
  font-size: 1.6rem; font-weight: 700; color: var(--v7a8-light);
  margin: 1.5rem 0 0.8rem; padding-left: 1rem;
  border-left: 3px solid var(--v7a8-primary);
}

/* Game Grid */
.v7a8-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.5rem 0;
}
.v7a8-game-item {
  text-align: center; cursor: pointer;
  border-radius: 0.8rem; overflow: hidden;
  transition: transform 0.2s;
}
.v7a8-game-item:hover { transform: scale(1.05); }
.v7a8-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 0.6rem; border: 1px solid var(--v7a8-border);
}
.v7a8-game-name {
  font-size: 1.1rem; color: var(--v7a8-text);
  margin-top: 0.3rem; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
  padding: 0 0.2rem;
}

/* Card */
.v7a8-card {
  background: var(--v7a8-card-bg); border-radius: 1rem;
  padding: 1.5rem; margin-bottom: 1rem;
  border: 1px solid var(--v7a8-border);
}
.v7a8-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v7a8-gold);
  margin-bottom: 0.8rem;
}

/* Promo button */
.v7a8-promo-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--v7a8-primary), var(--v7a8-accent));
  color: #fff; font-size: 1.5rem; font-weight: 700;
  border-radius: 3rem; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.v7a8-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(65,105,225,0.4); }
.v7a8-promo-link { color: var(--v7a8-gold); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* Features grid */
.v7a8-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.v7a8-feature-item {
  background: var(--v7a8-card-bg); padding: 1rem;
  border-radius: 0.8rem; text-align: center;
  border: 1px solid var(--v7a8-border);
}
.v7a8-feature-item i { font-size: 2.4rem; color: var(--v7a8-primary); margin-bottom: 0.5rem; }
.v7a8-feature-item h3 { font-size: 1.2rem; color: var(--v7a8-gold); margin-bottom: 0.3rem; }
.v7a8-feature-item p { font-size: 1.1rem; color: var(--v7a8-text); }

/* Winner list */
.v7a8-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem; border-bottom: 1px solid var(--v7a8-border);
}
.v7a8-winner-name { font-size: 1.2rem; color: var(--v7a8-light); }
.v7a8-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--v7a8-gold); }
.v7a8-winner-game { font-size: 1.1rem; color: #888; }

/* Testimonial */
.v7a8-testimonial {
  background: var(--v7a8-card-bg); padding: 1.2rem;
  border-radius: 0.8rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v7a8-primary);
}
.v7a8-testimonial-text { font-size: 1.3rem; color: var(--v7a8-text); font-style: italic; }
.v7a8-testimonial-author { font-size: 1.1rem; color: var(--v7a8-light); margin-top: 0.5rem; }

/* Payment icons */
.v7a8-payment-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.v7a8-payment-item {
  background: var(--v7a8-card-bg); padding: 0.8rem 1.5rem;
  border-radius: 0.6rem; font-size: 1.2rem; color: var(--v7a8-light);
  border: 1px solid var(--v7a8-border);
}

/* App download */
.v7a8-app-section {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 2rem; border-radius: 1rem; text-align: center;
  border: 1px solid var(--v7a8-primary);
}
.v7a8-app-section h3 { font-size: 1.8rem; color: var(--v7a8-gold); margin-bottom: 1rem; }
.v7a8-app-section p { font-size: 1.3rem; color: var(--v7a8-text); margin-bottom: 1.5rem; }
.v7a8-download-btn {
  display: inline-block; padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a; font-size: 1.6rem; font-weight: 700;
  border-radius: 3rem; cursor: pointer; border: none;
}

/* Footer */
.v7a8-footer {
  background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
  padding: 2rem 1.2rem 1rem; margin-top: 2rem;
  border-top: 2px solid var(--v7a8-primary);
}
.v7a8-footer-brand { font-size: 1.3rem; color: #999; line-height: 1.6; margin-bottom: 1.5rem; }
.v7a8-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.5rem; justify-content: center;
}
.v7a8-footer-link {
  padding: 0.5rem 1.2rem; background: var(--v7a8-card-bg);
  border-radius: 2rem; font-size: 1.1rem; color: var(--v7a8-light);
  border: 1px solid var(--v7a8-border); cursor: pointer;
  transition: all 0.2s;
}
.v7a8-footer-link:hover { background: var(--v7a8-primary); color: #fff; }
.v7a8-copyright {
  text-align: center; font-size: 1.1rem; color: #666;
  padding-top: 1rem; border-top: 1px solid var(--v7a8-border);
}

/* Bottom Navigation */
.v7a8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: linear-gradient(180deg, #1a1a2e, #0a0a14);
  border-top: 2px solid var(--v7a8-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
}
.v7a8-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; color: #888;
  font-size: 1rem; cursor: pointer; transition: all 0.3s;
  padding: 0.4rem;
}
.v7a8-bottom-btn i, .v7a8-bottom-btn .material-icons { font-size: 2.2rem; margin-bottom: 0.2rem; }
.v7a8-bottom-btn span { font-size: 1rem; }
.v7a8-bottom-btn:hover, .v7a8-bottom-btn.v7a8-btn-active {
  color: var(--v7a8-gold);
}
.v7a8-bottom-btn.v7a8-btn-active {
  transform: scale(1.1);
}

/* Help page styles */
.v7a8-help-content { padding: 1rem 0; }
.v7a8-help-section { margin-bottom: 1.5rem; }
.v7a8-help-section h2 {
  font-size: 1.6rem; color: var(--v7a8-gold);
  margin-bottom: 0.8rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--v7a8-border);
}
.v7a8-help-section h3 {
  font-size: 1.4rem; color: var(--v7a8-light); margin: 1rem 0 0.5rem;
}
.v7a8-help-section p, .v7a8-help-section li {
  font-size: 1.3rem; color: var(--v7a8-text); line-height: 1.6;
}
.v7a8-help-section ol, .v7a8-help-section ul {
  padding-left: 2rem; margin-bottom: 0.8rem;
}
.v7a8-faq-item {
  background: var(--v7a8-card-bg); border-radius: 0.8rem;
  padding: 1.2rem; margin-bottom: 0.8rem;
  border: 1px solid var(--v7a8-border);
}
.v7a8-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--v7a8-gold); margin-bottom: 0.5rem; }
.v7a8-faq-a { font-size: 1.3rem; color: var(--v7a8-text); line-height: 1.6; }

/* Responsive - Desktop */
@media (min-width: 769px) {
  .v7a8-bottom-nav { display: none; }
  .v7a8-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
}
