/**
 * fg66.click - Main Stylesheet
 * All classes use g769- prefix for namespace isolation
 * Color palette: #FFFFFF #8470FF #6A5ACD #4A4A4A #0A0A0A #800080
 */

/* === CSS Variables === */
:root {
  --g769-primary: #8470FF;
  --g769-secondary: #6A5ACD;
  --g769-accent: #800080;
  --g769-bg: #0A0A0A;
  --g769-bg-card: #1A1A2E;
  --g769-bg-light: #16213E;
  --g769-text: #FFFFFF;
  --g769-text-muted: #B0B0C0;
  --g769-border: #2A2A4A;
  --g769-success: #4CAF50;
  --g769-warning: #FF9800;
  --g769-gradient: linear-gradient(135deg, #8470FF, #800080);
  --g769-radius: 1.2rem;
  --g769-radius-sm: 0.8rem;
  --g769-shadow: 0 4px 20px rgba(132, 112, 255, 0.15);
  --g769-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--g769-font);
  background: var(--g769-bg);
  color: var(--g769-text);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--g769-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--g769-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.g769-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g769-border);
  max-width: 430px; margin: 0 auto;
  transition: box-shadow 0.3s;
}
.g769-header-scrolled {
  box-shadow: 0 2px 15px rgba(132, 112, 255, 0.2);
}
.g769-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 5.6rem;
}
.g769-logo-area {
  display: flex; align-items: center; gap: 0.8rem;
}
.g769-logo-area img {
  width: 3.2rem; height: 3.2rem; border-radius: 0.6rem;
}
.g769-logo-text {
  font-size: 1.8rem; font-weight: 700;
  background: var(--g769-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g769-header-actions {
  display: flex; align-items: center; gap: 0.6rem;
}
.g769-btn-register, .g769-btn-login {
  padding: 0.5rem 1.2rem; border-radius: var(--g769-radius-sm);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s;
}
.g769-btn-register {
  background: var(--g769-gradient); color: #fff;
}
.g769-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.g769-btn-login {
  background: transparent; color: var(--g769-primary);
  border: 1px solid var(--g769-primary);
}
.g769-btn-login:hover { background: rgba(132, 112, 255, 0.1); }
.g769-hamburger {
  background: none; border: none; color: var(--g769-text);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* === Mobile Menu === */
.g769-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.g769-menu-active .g769-menu-overlay { display: block; }
.g769-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--g769-bg-card); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.g769-menu-active { right: 0 !important; }
.g769-menu-hidden { right: -280px; }
.g769-menu-close {
  background: none; border: none; color: var(--g769-text);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.g769-menu-links { margin-top: 3rem; }
.g769-menu-links a {
  display: block; padding: 1.2rem 0; color: var(--g769-text);
  font-size: 1.5rem; border-bottom: 1px solid var(--g769-border);
  transition: color 0.2s;
}
.g769-menu-links a:hover { color: var(--g769-primary); }

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

/* === Carousel === */
.g769-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 var(--g769-radius) var(--g769-radius);
}
.g769-slides { position: relative; width: 100%; height: 200px; }
.g769-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
}
.g769-slide-active { opacity: 1; }
.g769-slide img {
  width: 100%; height: 200px; object-fit: cover;
}
.g769-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.g769-slide-title {
  font-size: 1.6rem; font-weight: 700; color: #fff;
}

/* === Sections === */
.g769-section {
  padding: 2rem 1.2rem;
}
.g769-section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--g769-primary);
  color: var(--g769-text);
}
.g769-section-title i {
  margin-right: 0.5rem; color: var(--g769-primary);
}

/* === Game Grid === */
.g769-category-header {
  font-size: 1.7rem; font-weight: 700; margin: 1.5rem 0 1rem;
  color: var(--g769-primary); display: flex; align-items: center; gap: 0.6rem;
}
.g769-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (max-width: 360px) {
  .g769-game-grid { grid-template-columns: repeat(3, 1fr); }
}
.g769-game-item {
  text-align: center; cursor: pointer;
  border-radius: var(--g769-radius-sm);
  transition: transform 0.2s;
  padding: 0.5rem;
}
.g769-game-item:hover { transform: scale(1.05); }
.g769-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--g769-radius-sm);
  border: 2px solid var(--g769-border);
  margin-bottom: 0.4rem;
}
.g769-game-item:hover img { border-color: var(--g769-primary); }
.g769-game-name {
  font-size: 1.1rem; color: var(--g769-text-muted);
  line-height: 1.3; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === Cards === */
.g769-card {
  background: var(--g769-bg-card);
  border-radius: var(--g769-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--g769-border);
}
.g769-card-title {
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 1rem; color: var(--g769-text);
}

/* === Promo Buttons === */
.g769-promo-btn {
  display: inline-block;
  background: var(--g769-gradient);
  color: #fff; padding: 1rem 2.5rem;
  border-radius: 3rem; font-size: 1.6rem;
  font-weight: 700; cursor: pointer;
  border: none; transition: all 0.3s;
  text-align: center;
}
.g769-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(132, 112, 255, 0.4);
}
.g769-promo-text {
  color: var(--g769-primary); font-weight: 600;
  cursor: pointer; text-decoration: underline;
}
.g769-promo-text:hover { color: var(--g769-secondary); }

/* === Info Blocks === */
.g769-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.g769-info-item {
  background: var(--g769-bg-light);
  border-radius: var(--g769-radius-sm);
  padding: 1.2rem; text-align: center;
  border: 1px solid var(--g769-border);
}
.g769-info-value {
  font-size: 2.2rem; font-weight: 800;
  background: var(--g769-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g769-info-label {
  font-size: 1.2rem; color: var(--g769-text-muted);
  margin-top: 0.4rem;
}

/* === Testimonials === */
.g769-testimonial {
  background: var(--g769-bg-light);
  border-radius: var(--g769-radius-sm);
  padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--g769-primary);
}
.g769-testimonial-text {
  font-size: 1.4rem; color: var(--g769-text-muted);
  font-style: italic;
}
.g769-testimonial-author {
  font-size: 1.2rem; color: var(--g769-primary);
  margin-top: 0.5rem; font-weight: 600;
}

/* === Winners === */
.g769-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid var(--g769-border);
}
.g769-winner-name { font-size: 1.3rem; color: var(--g769-text); }
.g769-winner-game { font-size: 1.2rem; color: var(--g769-text-muted); }
.g769-winner-amount {
  font-size: 1.4rem; font-weight: 700; color: var(--g769-success);
}

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

/* === Footer === */
.g769-footer {
  background: var(--g769-bg-card);
  padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--g769-border);
}
.g769-footer-brand {
  font-size: 1.4rem; color: var(--g769-text-muted);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.g769-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.g769-footer-links a {
  background: var(--g769-bg-light);
  padding: 0.5rem 1rem; border-radius: var(--g769-radius-sm);
  font-size: 1.2rem; color: var(--g769-text);
  border: 1px solid var(--g769-border);
  transition: all 0.2s;
}
.g769-footer-links a:hover {
  border-color: var(--g769-primary); color: var(--g769-primary);
}
.g769-footer-copy {
  text-align: center; font-size: 1.2rem;
  color: var(--g769-text-muted); padding-top: 1rem;
  border-top: 1px solid var(--g769-border);
}

/* === Bottom Navigation (Mobile) === */
.g769-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; height: 60px;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--g769-border);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  padding: 0 0.5rem;
}
.g769-bottom-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-width: 60px; min-height: 50px;
  background: none; border: none;
  color: var(--g769-text-muted);
  cursor: pointer; transition: all 0.2s;
  font-size: 1rem; gap: 0.2rem;
}
.g769-bottom-btn i, .g769-bottom-btn .material-icons {
  font-size: 2.2rem;
}
.g769-bottom-btn:hover, .g769-bottom-btn:focus {
  color: var(--g769-primary);
}
.g769-bottom-btn-active {
  color: var(--g769-primary) !important;
}
.g769-bottom-btn-active i,
.g769-bottom-btn-active .material-icons {
  transform: scale(1.15);
}
@media (min-width: 769px) {
  .g769-bottom-nav { display: none; }
}

/* === Desktop Nav === */
.g769-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .g769-desktop-nav {
    display: flex; align-items: center; gap: 1.5rem;
  }
  .g769-desktop-nav a {
    color: var(--g769-text-muted); font-size: 1.4rem;
    transition: color 0.2s;
  }
  .g769-desktop-nav a:hover { color: var(--g769-primary); }
  .g769-hamburger { display: none; }
}

/* === Content Typography === */
.g769-text-block {
  font-size: 1.4rem; line-height: 1.8;
  color: var(--g769-text-muted);
  margin-bottom: 1rem;
}
.g769-text-block p { margin-bottom: 0.8rem; }
.g769-text-block strong { color: var(--g769-text); }
.g769-list-block {
  margin: 1rem 0; padding-left: 1.5rem;
}
.g769-list-block li {
  font-size: 1.4rem; line-height: 1.8;
  color: var(--g769-text-muted);
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* === FAQ === */
.g769-faq-item {
  border-bottom: 1px solid var(--g769-border);
  padding: 1rem 0;
}
.g769-faq-q {
  font-size: 1.5rem; font-weight: 600;
  color: var(--g769-text); margin-bottom: 0.5rem;
}
.g769-faq-a {
  font-size: 1.4rem; color: var(--g769-text-muted);
  line-height: 1.6;
}

/* === CTA Section === */
.g769-cta {
  text-align: center; padding: 2rem 1.2rem;
  background: var(--g769-gradient);
  border-radius: var(--g769-radius);
  margin: 1.5rem 0;
}
.g769-cta-title {
  font-size: 2rem; font-weight: 700; color: #fff;
  margin-bottom: 0.8rem;
}
.g769-cta-text {
  font-size: 1.4rem; color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem;
}

/* === Badge === */
.g769-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  font-size: 1.1rem; font-weight: 600;
}
.g769-badge-hot {
  background: #FF4444; color: #fff;
}
.g769-badge-new {
  background: var(--g769-primary); color: #fff;
}

/* === Helpers === */
.g769-text-center { text-align: center; }
.g769-mt-1 { margin-top: 0.5rem; }
.g769-mt-2 { margin-top: 1rem; }
.g769-mt-3 { margin-top: 1.5rem; }
.g769-mb-1 { margin-bottom: 0.5rem; }
.g769-mb-2 { margin-bottom: 1rem; }
.g769-mb-3 { margin-bottom: 1.5rem; }
.g769-p-1 { padding: 0.5rem; }
.g769-p-2 { padding: 1rem; }
.g769-hidden { display: none; }
.g769-divider {
  height: 1px; background: var(--g769-border);
  margin: 1.5rem 0;
}
