/* ============================================================
 * fly68.homes - Main Stylesheet
 * Mobile-first HTML5 gaming website (max-width 430px)
 * All custom classes use v772- prefix for namespace isolation
 * Color palette: #0E1621 | #CD853F | #BBBBBB | #FF69B4
 * ============================================================ */

:root {
  --v772-bg: #0E1621;
  --v772-bg-alt: #131f2e;
  --v772-bg-dark: #0a1119;
  --v772-primary: #CD853F;
  --v772-primary-deep: #b8732f;
  --v772-text: #BBBBBB;
  --v772-text-light: #ffffff;
  --v772-accent: #FF69B4;
  --v772-accent-deep: #d94e95;
  --v772-border: rgba(205, 133, 63, 0.25);
}

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

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

body {
  font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--v772-bg);
  color: var(--v772-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v772-primary); text-decoration: none; }

/* ---------- Header ---------- */
.v772-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(14,22,33,0.96), rgba(14,22,33,0.88));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v772-border);
  max-width: 430px; margin: 0 auto;
  transition: background .25s ease, box-shadow .25s ease;
}
.v772-header-scrolled {
  background: rgba(14,22,33,0.98);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.v772-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; gap: 0.6rem;
}
.v772-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--v772-text-light); font-weight: 700; font-size: 1.6rem;
}
.v772-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v772-logo .v772-brand {
  background: linear-gradient(90deg, var(--v772-primary), var(--v772-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v772-header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ---------- Buttons ---------- */
.v772-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: none; cursor: pointer;
  padding: 0.6rem 1rem; font-size: 1.25rem; font-weight: 600;
  border-radius: 999px; transition: transform .15s ease, box-shadow .2s ease;
  min-height: 36px; line-height: 1;
}
.v772-btn-primary {
  background: linear-gradient(90deg, var(--v772-primary), var(--v772-primary-deep));
  color: #fff; box-shadow: 0 3px 10px rgba(205,133,63,0.4);
}
.v772-btn-pink {
  background: linear-gradient(90deg, var(--v772-accent), var(--v772-accent-deep));
  color: #fff; box-shadow: 0 3px 10px rgba(255,105,180,0.4);
}
.v772-btn-outline {
  background: transparent; border: 1px solid var(--v772-primary);
  color: var(--v772-primary);
}
.v772-btn:active { transform: scale(0.95); }
.v772-menu-toggle {
  background: transparent; border: none; color: var(--v772-text-light);
  font-size: 1.9rem; cursor: pointer; padding: 0.4rem 0.6rem;
  display: inline-flex; align-items: center; line-height: 1;
}

/* ---------- Mobile slide menu ---------- */
.v772-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--v772-bg-alt); z-index: 9999;
  padding: 6rem 1.4rem 2rem; overflow-y: auto;
  transition: right .3s ease;
  border-left: 1px solid var(--v772-border);
}
.v772-mobile-menu.v772-menu-active {
  right: 0; box-shadow: -8px 0 30px rgba(0,0,0,0.5);
}
.v772-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
}
.v772-menu-overlay.v772-overlay-active { opacity: 1; visibility: visible; }
.v772-mobile-menu a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 0.6rem; color: var(--v772-text-light);
  font-size: 1.35rem; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v772-mobile-menu a:active { background: rgba(205,133,63,0.12); }
.v772-menu-title {
  color: var(--v772-primary); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin: 1.2rem 0 0.4rem;
}

/* ---------- Main layout ---------- */
main { padding-top: 6.2rem; padding-bottom: 80px; }
.v772-section { padding: 1.6rem 1.2rem; }
.v772-section-title {
  font-size: 1.7rem; color: var(--v772-text-light);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.4;
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.v772-section-title i,
.v772-section-title .material-icons { color: var(--v772-accent); font-size: 1.5rem; }

/* ---------- Carousel ---------- */
.v772-carousel {
  position: relative; width: 100%; border-radius: 14px;
  overflow: hidden; margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.v772-slide { position: relative; display: none; cursor: pointer; }
.v772-slide img { width: 100%; height: 180px; object-fit: cover; }
.v772-slide-active { display: block; }
.v772-slide-caption {
  position: absolute; left: 1rem; bottom: 1rem;
  color: #fff; font-size: 1.4rem; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}
.v772-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; line-height: 1; display: flex;
  align-items: center; justify-content: center;
}
.v772-carousel-arrow.v772-prev { left: 8px; }
.v772-carousel-arrow.v772-next { right: 8px; }
.v772-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.v772-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; transition: all .2s ease;
}
.v772-dot-active { background: var(--v772-accent); width: 20px; border-radius: 4px; }

/* ---------- Game grid ---------- */
.v772-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.v772-game-card {
  background: var(--v772-bg-alt); border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: transform .15s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.v772-game-card:active {
  transform: scale(0.95); border-color: var(--v772-primary);
}
.v772-game-card img { width: 100%; height: 88px; object-fit: cover; }
.v772-game-name {
  padding: 0.45rem 0.4rem; font-size: 1.05rem; color: var(--v772-text-light);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v772-cat-tag {
  display: inline-block; padding: 0.3rem 0.9rem;
  background: linear-gradient(90deg, var(--v772-primary), var(--v772-primary-deep));
  color: #fff; font-size: 1.05rem; font-weight: 700;
  border-radius: 999px; margin-bottom: 0.8rem;
}

/* ---------- Cards & generic blocks ---------- */
.v772-card {
  background: var(--v772-bg-alt); border-radius: 12px;
  padding: 1.2rem; border: 1px solid var(--v772-border); margin-bottom: 1rem;
}
.v772-card h3 { color: var(--v772-text-light); font-size: 1.4rem; margin-bottom: 0.5rem; }
.v772-card p { font-size: 1.25rem; color: var(--v772-text); line-height: 1.6; }
.v772-card p + p { margin-top: 0.6rem; }
.v772-card a { font-weight: 700; }
.v772-promo-inline {
  display: inline; color: var(--v772-accent); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}

/* ---------- Steps / how to play ---------- */
.v772-step {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v772-step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--v772-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
.v772-step-text { font-size: 1.25rem; color: var(--v772-text-light); line-height: 1.5; }

/* ---------- FAQ ---------- */
.v772-faq-item { border-bottom: 1px solid var(--v772-border); padding: 0.8rem 0; }
.v772-faq-q { color: var(--v772-text-light); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.3rem; }
.v772-faq-a { color: var(--v772-text); font-size: 1.2rem; line-height: 1.5; }

/* ---------- RTP bar ---------- */
.v772-rtp-row { margin-bottom: 0.7rem; }
.v772-rtp-label {
  display: flex; justify-content: space-between;
  font-size: 1.2rem; color: var(--v772-text-light); margin-bottom: 0.3rem;
}
.v772-rtp-bar { height: 7px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.v772-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--v772-primary), var(--v772-accent)); }

/* ---------- CTA banner ---------- */
.v772-cta-banner {
  background: linear-gradient(135deg, var(--v772-primary), var(--v772-accent));
  padding: 1.6rem; border-radius: 14px; text-align: center;
  color: #fff; margin: 1rem 0;
}
.v772-cta-banner h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.v772-cta-banner p { font-size: 1.25rem; margin-bottom: 1rem; }
.v772-cta-banner .v772-btn { background: #fff; color: var(--v772-bg); }

/* ---------- Testimonials ---------- */
.v772-testimonial {
  background: var(--v772-bg-alt); padding: 1rem;
  border-radius: 10px; border-left: 3px solid var(--v772-accent); margin-bottom: 0.7rem;
}
.v772-testimonial p { font-size: 1.2rem; color: var(--v772-text-light); font-style: italic; }
.v772-testimonial span { display: block; color: var(--v772-primary); font-size: 1.1rem; font-weight: 600; margin-top: 0.3rem; }

/* ---------- Winners ---------- */
.v772-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.2rem;
}
.v772-winner-name { color: var(--v772-text-light); font-weight: 600; }
.v772-winner-amount { color: var(--v772-accent); font-weight: 700; }

/* ---------- Payment grid ---------- */
.v772-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.v772-pay-item {
  background: #fff; border-radius: 8px; padding: 0.5rem;
  text-align: center; color: var(--v772-bg);
  font-size: 1rem; font-weight: 700; min-height: 40px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Footer ---------- */
.v772-footer {
  background: var(--v772-bg-dark); padding: 2.2rem 1.2rem;
  border-top: 1px solid var(--v772-border); margin-top: 1rem;
}
.v772-footer h4 { color: var(--v772-primary); font-size: 1.3rem; margin-bottom: 0.6rem; }
.v772-footer p { color: var(--v772-text); font-size: 1.15rem; line-height: 1.6; margin-bottom: 1rem; }
.v772-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.v772-footer-links a {
  display: inline-block; padding: 0.35rem 0.7rem;
  background: var(--v772-bg-alt); color: var(--v772-text-light);
  border-radius: 6px; font-size: 1.1rem; border: 1px solid var(--v772-border);
}
.v772-footer-links a:active { background: var(--v772-primary); color: #fff; }
.v772-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.v772-footer-copy {
  text-align: center; color: var(--v772-text); font-size: 1.05rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---------- Mobile bottom nav ---------- */
.v772-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--v772-bg-alt), var(--v772-bg-dark));
  border-top: 1px solid var(--v772-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.45);
}
.v772-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 60px; min-height: 60px;
  background: transparent; border: none; cursor: pointer;
  color: var(--v772-text); font-size: 1rem;
  transition: transform .15s ease, color .2s ease; text-decoration: none;
}
.v772-bottom-btn i,
.v772-bottom-btn .material-icons,
.v772-bottom-btn ion-icon { font-size: 22px; line-height: 1; }
.v772-bottom-btn.v772-active { color: var(--v772-accent); }
.v772-bottom-btn:active { transform: scale(0.9); color: var(--v772-accent); }
.v772-bottom-btn.v772-promo-highlight { color: var(--v772-primary); }
.v772-bottom-btn.v772-promo-highlight i,
.v772-bottom-btn.v772-promo-highlight .material-icons {
  background: linear-gradient(135deg, var(--v772-primary), var(--v772-accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Desktop / tablet behaviour ---------- */
@media (min-width: 769px) {
  .v772-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
