/* ============================================================
 * fb030.click - Core stylesheet
 * All custom classes use the g708- prefix for isolation.
 * Palette: #B2DFDB | #1E1E1E | #E0F2F1 | #FF5722 | #48D1CC
 * ============================================================ */

:root {
  --g708-primary: #FF5722;
  --g708-primary-dark: #E84A1B;
  --g708-secondary: #48D1CC;
  --g708-secondary-dark: #36B3AE;
  --g708-bg-dark: #1E1E1E;
  --g708-bg-mid: #2A2A2A;
  --g708-bg-deep: #0F0F0F;
  --g708-bg-light: #E0F2F1;
  --g708-accent: #B2DFDB;
  --g708-text-light: #E0F2F1;
  --g708-text-dark: #1E1E1E;
  --g708-text-muted: #9E9E9E;
  --g708-border: #383838;
  --g708-gold: #FFC107;
  --g708-success: #4CAF50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--g708-bg-dark);
  color: var(--g708-text-light);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--g708-secondary); text-decoration: none; }
button { font-family: inherit; }

/* ============ Header ============ */
.g708-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
  border-bottom: 2px solid var(--g708-primary);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.g708-logo { display: flex; align-items: center; gap: 0.6rem; }
.g708-logo-img {
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 2px solid var(--g708-primary); object-fit: cover;
}
.g708-logo-text {
  font-size: 1.8rem; font-weight: 800;
  color: var(--g708-primary); letter-spacing: 0.04em;
}
.g708-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g708-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.7rem 1.4rem;
  font-size: 1.3rem; font-weight: 700;
  border-radius: 2.4rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none; line-height: 1;
}
.g708-btn-primary {
  background: linear-gradient(135deg, var(--g708-primary) 0%, var(--g708-primary-dark) 100%);
  color: #fff; box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}
.g708-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 87, 34, 0.5); }
.g708-btn-secondary {
  background: transparent; color: var(--g708-secondary);
  border: 2px solid var(--g708-secondary);
}
.g708-btn-secondary:hover { background: var(--g708-secondary); color: var(--g708-bg-dark); }
.g708-btn-block { display: flex; width: 100%; }
.g708-menu-toggle {
  background: transparent; border: none; color: var(--g708-text-light);
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem;
}

/* ============ Mobile Menu ============ */
.g708-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.g708-overlay-active { opacity: 1; pointer-events: auto; }
.g708-mobile-menu {
  position: fixed; top: 0; right: -82%;
  width: 82%; max-width: 320px; height: 100vh;
  background: var(--g708-bg-dark); z-index: 9999;
  padding: 2rem 1.5rem; overflow-y: auto;
  transition: right 0.3s ease;
}
.g708-menu-open { right: 0; }
.g708-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--g708-border);
}
.g708-menu-close {
  background: transparent; border: none; color: var(--g708-text-light);
  font-size: 2rem; cursor: pointer; line-height: 1;
}
.g708-menu-list { list-style: none; }
.g708-menu-item { margin-bottom: 0.4rem; }
.g708-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem; color: var(--g708-text-light);
  font-size: 1.3rem; border-radius: 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.g708-menu-link:hover { background: var(--g708-bg-mid); color: var(--g708-primary); }
.g708-menu-promo {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--g708-border);
  display: grid; gap: 0.8rem;
}

/* ============ Carousel ============ */
.g708-carousel {
  position: relative; margin: 1.2rem 0;
  border-radius: 1rem; overflow: hidden;
  aspect-ratio: 16/9; background: var(--g708-bg-mid);
}
.g708-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.5s ease;
}
.g708-slide img { width: 100%; height: 100%; object-fit: cover; }
.g708-slide-active { opacity: 1; }
.g708-slide-cta {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 2;
  background: rgba(0,0,0,0.65); padding: 1rem 1.4rem;
  border-radius: 0.8rem; max-width: 75%;
  backdrop-filter: blur(2px);
}
.g708-slide-cta h3 { color: var(--g708-primary); font-size: 1.6rem; margin-bottom: 0.3rem; }
.g708-slide-cta p { font-size: 1.2rem; color: var(--g708-text-light); }
.g708-dots {
  position: absolute; bottom: 1rem; right: 1rem;
  display: flex; gap: 0.5rem; z-index: 3;
}
.g708-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.2s;
}
.g708-dot-active { background: var(--g708-primary); }

/* ============ Main / Sections ============ */
.g708-main { padding: 0 1.2rem 8rem; }
.g708-section { margin: 2rem 0; }
.g708-section-title {
  font-size: 1.6rem; font-weight: 800; color: var(--g708-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g708-border);
  display: flex; align-items: center; gap: 0.6rem;
}
.g708-h1 {
  font-size: 2rem; font-weight: 900;
  color: var(--g708-text-light); text-align: center;
  margin: 1.5rem 0; line-height: 1.3;
}
.g708-h1 span { color: var(--g708-primary); }
.g708-intro {
  background: var(--g708-bg-mid); padding: 1.5rem;
  border-radius: 1rem; border-left: 4px solid var(--g708-primary);
  font-size: 1.3rem; color: var(--g708-text-light); line-height: 1.6;
}
.g708-content p { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.6; color: var(--g708-text-light); }
.g708-content h2 { font-size: 1.6rem; color: var(--g708-primary); margin: 1.5rem 0 0.8rem; font-weight: 800; }
.g708-content h3 { font-size: 1.4rem; color: var(--g708-secondary); margin: 1rem 0 0.5rem; font-weight: 700; }
.g708-content ul { list-style: none; margin: 0.5rem 0 1rem; }
.g708-content li {
  font-size: 1.3rem; padding: 0.4rem 0 0 1.6rem;
  position: relative; line-height: 1.6;
}
.g708-content li::before {
  content: '\f005'; font-family: 'Font Awesome 6 Free';
  font-weight: 900; color: var(--g708-primary);
  position: absolute; left: 0; top: 0.5rem; font-size: 1rem;
}

/* ============ Game Grid ============ */
.g708-game-section { margin: 1.5rem 0; }
.g708-cat-title {
  font-size: 1.5rem; font-weight: 800;
  color: var(--g708-secondary); margin-bottom: 0.8rem;
  padding-left: 0.8rem; border-left: 4px solid var(--g708-secondary);
}
.g708-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g708-game-card {
  background: var(--g708-bg-mid); border-radius: 0.8rem;
  overflow: hidden; cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid var(--g708-border);
}
.g708-game-card:hover {
  border-color: var(--g708-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.g708-game-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.g708-game-name {
  padding: 0.4rem 0.3rem; font-size: 1.1rem;
  text-align: center; color: var(--g708-text-light);
  font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ============ Feature Cards ============ */
.g708-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.g708-feature-card {
  background: linear-gradient(135deg, var(--g708-bg-mid) 0%, #1A1A1A 100%);
  padding: 1.2rem 1rem; border-radius: 1rem;
  text-align: center; border: 1px solid var(--g708-border);
}
.g708-feature-icon {
  font-size: 2.4rem; color: var(--g708-primary); margin-bottom: 0.5rem;
}
.g708-feature-card h3 {
  font-size: 1.3rem; color: var(--g708-text-light); margin-bottom: 0.4rem;
}
.g708-feature-card p { font-size: 1.1rem; color: var(--g708-text-muted); }

/* ============ Promo Banner ============ */
.g708-promo-banner {
  background: linear-gradient(135deg, var(--g708-primary) 0%, var(--g708-primary-dark) 100%);
  padding: 1.5rem; border-radius: 1rem;
  margin: 1.5rem 0; text-align: center;
}
.g708-promo-banner h3 { font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.g708-promo-banner p { font-size: 1.2rem; color: rgba(255,255,255,0.92); margin-bottom: 1rem; }
.g708-promo-banner .g708-btn { background: #fff; color: var(--g708-primary); }

/* ============ RTP Table ============ */
.g708-rtp-table {
  width: 100%; border-collapse: collapse;
  background: var(--g708-bg-mid);
  border-radius: 0.8rem; overflow: hidden;
  font-size: 1.2rem;
}
.g708-rtp-table th, .g708-rtp-table td {
  padding: 0.8rem 1rem; text-align: left;
  border-bottom: 1px solid var(--g708-border);
}
.g708-rtp-table th { background: var(--g708-primary); color: #fff; font-weight: 700; }
.g708-rtp-table td { color: var(--g708-text-light); }
.g708-rtp-table tr:last-child td { border-bottom: none; }
.g708-rtp-high { color: var(--g708-success) !important; font-weight: 700; }

/* ============ Testimonials ============ */
.g708-testimonials { display: grid; gap: 0.8rem; }
.g708-testimonial {
  background: var(--g708-bg-mid); padding: 1.2rem;
  border-radius: 0.8rem; border-left: 3px solid var(--g708-secondary);
}
.g708-testimonial p { font-size: 1.2rem; color: var(--g708-text-light); font-style: italic; margin-bottom: 0.5rem; line-height: 1.5; }
.g708-testimonial-author { font-size: 1.1rem; color: var(--g708-primary); font-weight: 700; }

/* ============ Payment Methods ============ */
.g708-payments { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; padding: 0.5rem 0; }
.g708-payment {
  background: var(--g708-bg-mid); padding: 0.7rem 1.2rem;
  border-radius: 0.6rem; border: 1px solid var(--g708-border);
  font-size: 1.2rem; display: flex; align-items: center; gap: 0.4rem;
  color: var(--g708-text-light);
}
.g708-payment i { color: var(--g708-secondary); }

/* ============ Winners ============ */
.g708-winners { background: var(--g708-bg-mid); border-radius: 0.8rem; padding: 0.8rem 1rem; }
.g708-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px dashed var(--g708-border);
  font-size: 1.2rem; gap: 0.5rem;
}
.g708-winner-row:last-child { border-bottom: none; }
.g708-winner-name { color: var(--g708-secondary); font-weight: 700; }
.g708-winner-game { color: var(--g708-text-muted); font-size: 1.1rem; }
.g708-winner-amount { color: var(--g708-gold); font-weight: 800; }

/* ============ App Download CTA ============ */
.g708-app-cta {
  background: linear-gradient(135deg, var(--g708-secondary) 0%, var(--g708-secondary-dark) 100%);
  padding: 1.5rem; border-radius: 1rem;
  text-align: center; margin: 1.5rem 0; color: #fff;
}
.g708-app-cta h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.g708-app-cta p { font-size: 1.2rem; margin-bottom: 1rem; }
.g708-app-cta .g708-btn { background: var(--g708-primary); color: #fff; }

/* ============ Security Badges ============ */
.g708-security {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; padding: 0.5rem 0;
}
.g708-security-badge {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.3rem; font-size: 1rem; color: var(--g708-text-muted); text-align: center;
}
.g708-security-badge i, .g708-security-badge .material-icons-outlined {
  font-size: 2.4rem; color: var(--g708-success);
}

/* ============ FAQ ============ */
.g708-faq-item {
  background: var(--g708-bg-mid); border-radius: 0.8rem;
  margin-bottom: 0.7rem; overflow: hidden;
  border: 1px solid var(--g708-border);
}
.g708-faq-q {
  padding: 1rem 1.2rem; font-size: 1.3rem; font-weight: 700;
  color: var(--g708-primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.g708-faq-q .g708-faq-icon { transition: transform 0.2s; }
.g708-faq-open .g708-faq-icon { transform: rotate(180deg); }
.g708-faq-a {
  padding: 0 1.2rem; max-height: 0; overflow: hidden;
  font-size: 1.2rem; color: var(--g708-text-light);
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.g708-faq-open .g708-faq-a { padding: 0 1.2rem 1rem; max-height: 400px; }

/* ============ Footer ============ */
.g708-footer {
  background: var(--g708-bg-deep);
  padding: 2rem 1.2rem 9rem;
  border-top: 2px solid var(--g708-primary);
  margin-top: 2rem;
}
.g708-footer-brand {
  font-size: 1.5rem; font-weight: 800;
  color: var(--g708-primary); margin-bottom: 0.5rem;
}
.g708-footer-desc {
  font-size: 1.2rem; color: var(--g708-text-muted);
  margin-bottom: 1.5rem; line-height: 1.6;
}
.g708-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; margin-bottom: 1.5rem;
}
.g708-footer-link {
  font-size: 1.2rem; color: var(--g708-text-light);
  padding: 0.4rem 0; border-bottom: 1px dashed var(--g708-border);
}
.g708-footer-link:hover { color: var(--g708-primary); }
.g708-footer-promos {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.g708-footer-promos .g708-btn { flex: 1; min-width: 45%; font-size: 1.1rem; padding: 0.7rem; }
.g708-copyright {
  text-align: center; font-size: 1.1rem; color: var(--g708-text-muted);
  border-top: 1px solid var(--g708-border); padding-top: 1rem;
}

/* ============ Mobile Bottom Nav ============ */
.g708-bottom-nav {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #1E1E1E 0%, #0A0A0A 100%);
  border-top: 2px solid var(--g708-primary);
  display: flex; justify-content: space-around;
  padding: 0.5rem 0; z-index: 1000; height: 6rem;
}
.g708-nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.2rem;
  background: transparent; border: none;
  color: var(--g708-text-muted); font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  min-width: 60px; min-height: 60px;
}
.g708-nav-btn i, .g708-nav-btn .material-icons-outlined,
.g708-nav-btn .material-icons-two-tone, .g708-nav-btn ion-icon {
  font-size: 2rem; line-height: 1;
}
.g708-nav-btn:active { transform: scale(0.92); }
.g708-nav-btn:hover, .g708-nav-active { color: var(--g708-primary); }
.g708-nav-btn-promo { position: relative; }
.g708-nav-btn-promo i { font-size: 2.2rem; }
.g708-nav-btn-promo::after {
  content: ''; position: absolute; top: -0.6rem;
  width: 0.6rem; height: 0.6rem; background: var(--g708-gold);
  border-radius: 50%; box-shadow: 0 0 6px var(--g708-gold);
}

/* ============ Promo Inline Link ============ */
.g708-promo-link {
  color: var(--g708-primary); font-weight: 700;
  cursor: pointer; text-decoration: underline;
}
.g708-promo-link:hover { color: var(--g708-gold); }

/* ============ Responsive / Desktop ============ */
@media (min-width: 769px) {
  .g708-bottom-nav { display: none; }
  body { max-width: 430px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
  .g708-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) { .g708-main { padding-bottom: 8rem; } }
@media (max-width: 360px) {
  .g708-game-grid { grid-template-columns: repeat(2, 1fr); }
  .g708-features { grid-template-columns: 1fr; }
}
