/*!
 * swerte77 link - design-104f.css
 * Mobile-first design system. All custom classes use the g4f3- prefix.
 * Color reference: #C9C9FF text | #495057 accent | #0C0C0C background.
 * Root font-size 62.5% so 1rem = 10px for easy math.
 */

:root {
  --g4f3-bg: #0C0C0C;
  --g4f3-bg-alt: #141414;
  --g4f3-bg-card: #1b1b1b;
  --g4f3-text: #C9C9FF;
  --g4f3-text-soft: rgba(201, 201, 255, 0.74);
  --g4f3-text-mute: rgba(201, 201, 255, 0.55);
  --g4f3-accent: #495057;
  --g4f3-gold: #FFD24A;
  --g4f3-hot: #FF6B35;
  --g4f3-border: rgba(201, 201, 255, 0.12);
  --g4f3-radius: 1.2rem;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--g4f3-bg);
  color: var(--g4f3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--g4f3-gold); text-decoration: none; }
a:hover { color: var(--g4f3-hot); }
img { max-width: 100%; display: block; }

.g4f3-wrapper {
  max-width: 430px;
  margin: 0 auto;
  background: var(--g4f3-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* ===== Header ===== */
.g4f3-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
  border-bottom: 1px solid var(--g4f3-border);
}
.g4f3-logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.55rem; font-weight: 800; color: var(--g4f3-text); }
.g4f3-logo img { width: 30px; height: 30px; border-radius: 0.6rem; object-fit: cover; }
.g4f3-header-actions { display: flex; align-items: center; gap: 0.4rem; }

.g4f3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: 1rem; font-size: 1.25rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; min-height: 36px; font-family: inherit;
  transition: transform 0.15s ease, background 0.2s ease;
}
.g4f3-btn:active { transform: scale(0.95); }
.g4f3-btn-login { background: transparent; color: var(--g4f3-text); border-color: var(--g4f3-border); }
.g4f3-btn-register {
  background: linear-gradient(135deg, var(--g4f3-gold), var(--g4f3-hot));
  color: #0C0C0C; font-weight: 800; box-shadow: 0 3px 8px rgba(255, 107, 53, 0.25);
}
.g4f3-menu-btn {
  background: transparent; border: 1px solid var(--g4f3-border); border-radius: 0.8rem;
  color: var(--g4f3-text); width: 36px; height: 36px; font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ===== Mobile slide-in menu ===== */
.g4f3-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
  background: #111; border-left: 1px solid var(--g4f3-border);
  padding: 5rem 1.2rem 2rem; transition: right 0.28s ease; z-index: 9999; overflow-y: auto;
}
.g4f3-mobile-menu.g4f3-menu-open { right: 0; }
.g4f3-nav-list { list-style: none; padding: 0; margin: 0; }
.g4f3-nav-list li { border-bottom: 1px solid var(--g4f3-border); }
.g4f3-nav-list a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0.4rem; color: var(--g4f3-text); font-size: 1.3rem;
}
.g4f3-nav-list a:hover { color: var(--g4f3-gold); padding-left: 0.8rem; }
.g4f3-nav-list i { color: var(--g4f3-gold); width: 20px; text-align: center; }
.g4f3-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; color: var(--g4f3-text); font-size: 1.6rem; cursor: pointer;
}

/* ===== Carousel ===== */
.g4f3-carousel { position: relative; overflow: hidden; }
.g4f3-carousel-track { position: relative; height: 175px; }
.g4f3-carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.55s ease; display: block;
}
.g4f3-carousel-slide.g4f3-active { opacity: 1; }
.g4f3-carousel-slide img { width: 100%; height: 175px; object-fit: cover; }
.g4f3-carousel-dots {
  position: absolute; bottom: 0.7rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem;
}
.g4f3-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35); border: none; cursor: pointer; padding: 0;
}
.g4f3-carousel-dot.g4f3-active { background: var(--g4f3-gold); width: 22px; border-radius: 5px; }

/* ===== Main / sections ===== */
main { padding: 1rem 1rem 9rem; }
.g4f3-section { margin: 1.8rem 0; }
.g4f3-section-title {
  font-size: 1.65rem; font-weight: 800; margin: 0 0 0.8rem;
  color: var(--g4f3-gold); border-left: 4px solid var(--g4f3-hot);
  padding-left: 0.7rem; line-height: 1.8rem;
}
.g4f3-h1 { font-size: 1.95rem; line-height: 2.4rem; font-weight: 800; color: var(--g4f3-text); margin: 1rem 0 0.6rem; }
.g4f3-lead { font-size: 1.32rem; color: var(--g4f3-text-soft); margin: 0 0 1rem; line-height: 1.7rem; }
.g4f3-lead strong { color: var(--g4f3-text); }

/* Category chips */
.g4f3-cat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.2rem; }
.g4f3-chip {
  background: var(--g4f3-bg-card); border: 1px solid var(--g4f3-border); color: var(--g4f3-text);
  padding: 0.45rem 0.9rem; border-radius: 1.2rem; font-size: 1.15rem; cursor: pointer;
}
.g4f3-chip:hover { color: var(--g4f3-gold); border-color: var(--g4f3-gold); }

/* ===== Games grid ===== */
.g4f3-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.g4f3-game-card {
  background: var(--g4f3-bg-card); border-radius: 0.8rem; overflow: hidden;
  border: 1px solid var(--g4f3-border); cursor: pointer; display: block;
  transition: transform 0.15s, border-color 0.2s;
}
.g4f3-game-card:hover { border-color: var(--g4f3-gold); transform: translateY(-2px); }
.g4f3-game-card:active { transform: scale(0.97); }
.g4f3-game-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #222; }
.g4f3-game-name {
  display: block; font-size: 1.1rem; color: var(--g4f3-text); text-align: center;
  padding: 0.35rem 0.3rem 0.55rem; line-height: 1.25rem; min-height: 2.8rem;
}

/* ===== Cards / content blocks ===== */
.g4f3-card {
  background: var(--g4f3-bg-card); border: 1px solid var(--g4f3-border);
  border-radius: var(--g4f3-radius); padding: 1.2rem; margin-bottom: 1.2rem;
}
.g4f3-card h3 { margin: 0 0 0.6rem; color: var(--g4f3-gold); font-size: 1.4rem; }
.g4f3-card p { margin: 0 0 0.6rem; color: var(--g4f3-text-soft); font-size: 1.28rem; line-height: 1.65rem; }
.g4f3-card p:last-child { margin-bottom: 0; }
.g4f3-card a { color: var(--g4f3-gold); font-weight: 700; }

/* Numbered steps */
.g4f3-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.g4f3-steps li {
  counter-increment: step; position: relative;
  padding: 0.4rem 0 0.4rem 3rem; color: var(--g4f3-text-soft);
  font-size: 1.25rem; line-height: 1.6rem;
}
.g4f3-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.3rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--g4f3-gold), var(--g4f3-hot));
  color: #0C0C0C; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}

/* Feature grid */
.g4f3-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.g4f3-feature {
  background: var(--g4f3-bg-card); border-radius: 0.8rem; padding: 1rem 0.8rem;
  text-align: center; border: 1px solid var(--g4f3-border);
}
.g4f3-feature .material-icons, .g4f3-feature ion-icon, .g4f3-feature i { font-size: 2.2rem; color: var(--g4f3-gold); }
.g4f3-feature h4 { margin: 0.4rem 0 0.2rem; font-size: 1.2rem; color: var(--g4f3-text); }
.g4f3-feature p { font-size: 1.12rem; color: var(--g4f3-text-mute); margin: 0; line-height: 1.4rem; }

/* Testimonials */
.g4f3-testimonial {
  background: var(--g4f3-bg-card); border-left: 3px solid var(--g4f3-gold);
  border-radius: 0.8rem; padding: 0.9rem 1rem; margin-bottom: 0.7rem;
}
.g4f3-testimonial p { margin: 0 0 0.5rem; font-style: italic; color: var(--g4f3-text-soft); font-size: 1.22rem; }
.g4f3-testimonial-meta { color: var(--g4f3-gold); font-weight: 700; font-size: 1.15rem; }
.g4f3-stars { color: var(--g4f3-gold); font-size: 1.1rem; margin-right: 0.3rem; }

/* Winners ticker */
.g4f3-winners {
  background: linear-gradient(90deg, #1a1a1a, #111);
  border: 1px solid var(--g4f3-border); border-radius: 0.8rem;
  padding: 0.6rem 0.9rem; margin-bottom: 1rem;
}
.g4f3-winner-row {
  display: flex; justify-content: space-between; font-size: 1.15rem;
  padding: 0.3rem 0; border-bottom: 1px dashed var(--g4f3-border);
}
.g4f3-winner-row:last-child { border-bottom: none; }
.g4f3-winner-name { color: var(--g4f3-gold); font-weight: 700; }
.g4f3-winner-amount { color: var(--g4f3-hot); font-weight: 700; }

/* Payment chips */
.g4f3-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.g4f3-pay {
  background: var(--g4f3-bg-card); border-radius: 0.6rem; border: 1px solid var(--g4f3-border);
  padding: 0.7rem 0.3rem; text-align: center; font-size: 1.05rem; color: var(--g4f3-text-soft);
}
.g4f3-pay .material-icons, .g4f3-pay i, .g4f3-pay ion-icon {
  font-size: 1.8rem; color: var(--g4f3-gold); display: block; margin-bottom: 0.2rem;
}

/* App download CTA */
.g4f3-app-cta {
  display: flex; gap: 1rem; align-items: center;
  background: linear-gradient(135deg, #1c1300, #110600);
  border: 1px solid var(--g4f3-gold); border-radius: var(--g4f3-radius); padding: 1rem;
}
.g4f3-app-icon { font-size: 3.2rem; color: var(--g4f3-gold); flex-shrink: 0; }
.g4f3-app-cta-body { flex: 1; min-width: 0; }
.g4f3-app-cta h4 { margin: 0; font-size: 1.35rem; color: var(--g4f3-text); }
.g4f3-app-cta p { margin: 0.2rem 0 0.6rem; font-size: 1.15rem; color: var(--g4f3-text-mute); }
.g4f3-app-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.g4f3-app-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.8rem; border-radius: 0.6rem;
  background: rgba(255, 210, 74, 0.12); border: 1px solid var(--g4f3-gold);
  color: var(--g4f3-gold); font-size: 1.1rem; cursor: pointer;
}
.g4f3-app-btn:active { transform: scale(0.95); }

/* CTA banner */
.g4f3-cta-banner {
  background: linear-gradient(135deg, #2a1a00, #4a1100);
  border-radius: var(--g4f3-radius); padding: 1.4rem 1rem;
  text-align: center; border: 1px solid var(--g4f3-gold); margin: 1.4rem 0;
}
.g4f3-cta-banner h3 { margin: 0 0 0.4rem; color: var(--g4f3-gold); font-size: 1.6rem; }
.g4f3-cta-banner p { color: var(--g4f3-text-soft); font-size: 1.25rem; margin: 0 0 1rem; }
.g4f3-cta-big {
  display: inline-block; padding: 0.9rem 2rem; font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--g4f3-gold), var(--g4f3-hot));
  color: #0C0C0C; border-radius: 2rem; cursor: pointer; border: none; font-family: inherit;
}
.g4f3-cta-big:active { transform: scale(0.96); }

/* Inline FAQ */
.g4f3-faq-item {
  background: var(--g4f3-bg-card); border: 1px solid var(--g4f3-border);
  border-radius: 0.8rem; margin-bottom: 0.5rem; overflow: hidden;
}
.g4f3-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1rem; cursor: pointer; font-weight: 700; color: var(--g4f3-text);
  font-size: 1.25rem; background: transparent; border: none; width: 100%;
  text-align: left; font-family: inherit;
}
.g4f3-faq-q i { color: var(--g4f3-gold); transition: transform 0.2s; }
.g4f3-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1rem; color: var(--g4f3-text-soft); font-size: 1.2rem; line-height: 1.6rem;
}
.g4f3-faq-item.g4f3-faq-open .g4f3-faq-a { max-height: 320px; padding: 0 1rem 1rem; }
.g4f3-faq-item.g4f3-faq-open .g4f3-faq-q i { transform: rotate(45deg); }

/* Inline promo text link */
.g4f3-text-link { color: var(--g4f3-gold); font-weight: 700; cursor: pointer; }
.g4f3-text-link:hover { color: var(--g4f3-hot); }
.g4f3-pill {
  display: inline-block; padding: 0.25rem 0.7rem;
  background: rgba(255, 210, 74, 0.12); color: var(--g4f3-gold);
  border-radius: 1rem; font-size: 1.1rem; margin-right: 0.3rem; font-weight: 700;
}

/* ===== Footer ===== */
.g4f3-footer {
  background: #060606; border-top: 1px solid var(--g4f3-border);
  padding: 1.6rem 1.2rem 9rem; font-size: 1.2rem; color: var(--g4f3-text-mute);
}
.g4f3-footer-brand { color: var(--g4f3-text); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.4rem; }
.g4f3-footer p { margin: 0 0 1rem; line-height: 1.6rem; color: var(--g4f3-text-soft); }
.g4f3-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.g4f3-footer-promo button, .g4f3-footer-promo a {
  padding: 0.5rem 0.9rem; font-size: 1.15rem; border-radius: 0.6rem;
  background: var(--g4f3-bg-card); border: 1px solid var(--g4f3-border);
  color: var(--g4f3-gold); cursor: pointer; text-decoration: none;
}
.g4f3-footer-promo button:hover, .g4f3-footer-promo a:hover { background: rgba(255, 210, 74, 0.12); }
.g4f3-footer-links {
  list-style: none; padding: 0; margin: 1rem 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
.g4f3-footer-links a { color: var(--g4f3-text-soft); font-size: 1.15rem; }
.g4f3-footer-links a:hover { color: var(--g4f3-gold); }
.g4f3-copyright {
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--g4f3-border);
  font-size: 1.1rem; color: var(--g4f3-text-mute); text-align: center;
}

/* ===== Mobile bottom navigation ===== */
.g4f3-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, #1a1a1a, #060606);
  border-top: 1px solid var(--g4f3-border);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0.3rem 0.2rem; z-index: 1000; height: 62px;
}
.g4f3-bottomnav-btn {
  flex: 1; background: transparent; border: none; color: var(--g4f3-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 58px; cursor: pointer; gap: 0.2rem;
  transition: color 0.2s, transform 0.15s; text-decoration: none; font-family: inherit; padding: 0;
}
.g4f3-bottomnav-btn:active { transform: scale(0.92); }
.g4f3-bottomnav-btn:hover { color: var(--g4f3-gold); }
.g4f3-bottomnav-btn i, .g4f3-bottomnav-btn .material-icons, .g4f3-bottomnav-btn .bi { font-size: 22px; }
.g4f3-bottomnav-btn ion-icon { font-size: 24px; }
.g4f3-bottomnav-active { color: var(--g4f3-gold); }
.g4f3-bottomnav-active i, .g4f3-bottomnav-active .material-icons,
.g4f3-bottomnav-active ion-icon, .g4f3-bottomnav-active .bi { color: var(--g4f3-gold); }
.g4f3-bottomnav-label { font-size: 1rem; line-height: 1.2rem; font-weight: 600; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .g4f3-games-grid { grid-template-columns: repeat(4, 1fr); }
  .g4f3-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .g4f3-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .g4f3-bottomnav { display: none; }
  main { padding-bottom: 2rem; }
  .g4f3-footer { padding-bottom: 2rem; }
  .g4f3-wrapper { box-shadow: 0 0 60px rgba(0, 0, 0, 0.8); }
}
