/* ============================================================
 * 6613.homes - design.css
 * All custom classes use the "g01f-" prefix for isolation.
 * Mobile-first. Root font 62.5% => 1rem = 10px.
 * Palette: #FFCC02 gold | #1C2833 dark | #BDB76B khaki
 *          #FFA500 orange | #F4A460 sandy
 * ============================================================ */

:root {
  --g01f-primary: #FFCC02;
  --g01f-secondary: #FFA500;
  --g01f-bg: #1C2833;
  --g01f-bg-soft: #232f3e;
  --g01f-bg-card: #2a3848;
  --g01f-text: #f5f5f5;
  --g01f-text-muted: #c7ced8;
  --g01f-khaki: #BDB76B;
  --g01f-sandy: #F4A460;
  --g01f-border: rgba(255, 204, 2, 0.18);
  --g01f-radius: 14px;
  --g01f-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

/* ---------- Base reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Be Vietnam Pro", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--g01f-bg);
  color: var(--g01f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g01f-primary); text-decoration: none; }

/* ---------- Layout wrappers ---------- */
.g01f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}
.g01f-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.g01f-main { padding-bottom: 9rem; } /* clearance for bottom nav */

/* ---------- Header ---------- */
.g01f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #14202c 0%, #1C2833 100%);
  border-bottom: 1px solid var(--g01f-border);
  box-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.g01f-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 0.6rem;
}
.g01f-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.g01f-brand img {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--g01f-primary);
}
.g01f-brand-name {
  color: var(--g01f-primary);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.g01f-brand-tag {
  color: var(--g01f-text-muted);
  font-size: 1.1rem;
  display: block;
  line-height: 1.2rem;
}
.g01f-header-actions { display: flex; gap: 0.5rem; align-items: center; }

/* ---------- Buttons ---------- */
.g01f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 1.35rem;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
  text-decoration: none;
}
.g01f-btn:active { transform: scale(0.96); }
.g01f-btn-primary {
  background: linear-gradient(135deg, var(--g01f-primary) 0%, var(--g01f-secondary) 100%);
  color: #1C2833;
  box-shadow: 0 4px 14px rgba(255,165,0,0.35);
}
.g01f-btn-outline {
  background: transparent;
  color: var(--g01f-primary);
  border: 1.5px solid var(--g01f-primary);
}
.g01f-btn-block {
  display: flex;
  width: 100%;
  padding: 1.05rem;
  font-size: 1.55rem;
}

/* ---------- Hamburger toggle ---------- */
.g01f-menu-toggle {
  background: transparent;
  border: 1px solid var(--g01f-border);
  color: var(--g01f-primary);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}
.g01f-toggle-active { background: var(--g01f-primary); color: #1C2833; }

/* ---------- Mobile expandable menu ---------- */
.g01f-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--g01f-bg-soft);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 7rem 1.4rem 2rem;
  overflow-y: auto;
  border-left: 1px solid var(--g01f-border);
  box-shadow: -8px 0 30px rgba(0,0,0,0.45);
}
.g01f-mobile-menu.g01f-menu-open { transform: translateX(0); }
.g01f-mobile-menu h4 {
  color: var(--g01f-khaki);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.4rem 0 0.6rem;
}
.g01f-mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--g01f-text);
  font-size: 1.4rem;
}
.g01f-mobile-menu a:active { background: rgba(255,204,2,0.08); }

/* ---------- Carousel ---------- */
.g01f-carousel {
  position: relative;
  margin: 5.6rem 0 1rem;
  border-radius: var(--g01f-radius);
  overflow: hidden;
  box-shadow: var(--g01f-shadow);
}
.g01f-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.g01f-slide.g01f-slide-active { display: block; }
.g01f-slide img { width: 100%; height: 190px; object-fit: cover; }
.g01f-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  padding: 2.2rem 1.2rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}
.g01f-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.g01f-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
}
.g01f-dot.g01f-dot-active { background: var(--g01f-primary); width: 20px; border-radius: 4px; }

/* ---------- Section ---------- */
.g01f-section { padding: 1.6rem 0; }
.g01f-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.85rem;
  color: var(--g01f-primary);
  margin-bottom: 1rem;
  font-weight: 800;
}
.g01f-section-title i { color: var(--g01f-secondary); font-size: 1.7rem; }
.g01f-section-sub {
  color: var(--g01f-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ---------- Hero / H1 ---------- */
.g01f-hero {
  padding: 1rem 0 0.4rem;
}
.g01f-h1 {
  font-size: 2.3rem;
  line-height: 2.6rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.g01f-h1 span { color: var(--g01f-primary); }
.g01f-lead { color: var(--g01f-text-muted); font-size: 1.35rem; }

/* ---------- Game grid ---------- */
.g01f-cat-head {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 1.6rem 0 0.8rem;
}
.g01f-cat-badge {
  background: linear-gradient(135deg, var(--g01f-secondary), #ff7e00);
  color: #1C2833;
  padding: 0.32rem 0.8rem;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.g01f-cat-title { font-size: 1.5rem; font-weight: 700; color: var(--g01f-khaki); }

.g01f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g01f-game-card {
  background: var(--g01f-bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  display: block;
}
.g01f-game-card:active { transform: scale(0.95); }
.g01f-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e1620;
}
.g01f-game-name {
  font-size: 1.05rem;
  color: var(--g01f-text);
  padding: 0.45rem 0.3rem 0.55rem;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Cards / Features ---------- */
.g01f-card {
  background: var(--g01f-bg-card);
  border-radius: var(--g01f-radius);
  padding: 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,204,2,0.08);
  box-shadow: var(--g01f-shadow);
}
.g01f-card-title {
  color: var(--g01f-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.g01f-card p { color: var(--g01f-text-muted); font-size: 1.3rem; line-height: 1.7rem; }

.g01f-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.g01f-feature {
  background: var(--g01f-bg-card);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,204,2,0.08);
}
.g01f-feature i { font-size: 2.4rem; color: var(--g01f-primary); margin-bottom: 0.4rem; }
.g01f-feature h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.2rem; }
.g01f-feature p { font-size: 1.15rem; color: var(--g01f-text-muted); line-height: 1.4rem; }

/* ---------- RTP table ---------- */
.g01f-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.g01f-rtp-table th, .g01f-rtp-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}
.g01f-rtp-table th { color: var(--g01f-khaki); font-size: 1.15rem; text-transform: uppercase; }
.g01f-rtp-table td.g01f-rt-val { color: var(--g01f-primary); font-weight: 700; }

/* ---------- Testimonials ---------- */
.g01f-testimonial {
  background: var(--g01f-bg-card);
  border-left: 3px solid var(--g01f-primary);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}
.g01f-testimonial p { color: var(--g01f-text); font-size: 1.25rem; line-height: 1.6rem; font-style: italic; }
.g01f-testimonial .g01f-stars { color: var(--g01f-primary); margin: 0.3rem 0; font-size: 1.1rem; }
.g01f-testimonial .g01f-author { color: var(--g01f-khaki); font-size: 1.15rem; font-weight: 600; }

/* ---------- Payment chips ---------- */
.g01f-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g01f-chip {
  background: var(--g01f-bg-card);
  border: 1px solid var(--g01f-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 1.15rem;
  color: var(--g01f-text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Winners list ---------- */
.g01f-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g01f-bg-card);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}
.g01f-winner b { color: var(--g01f-primary); }

/* ---------- CTA banner ---------- */
.g01f-cta {
  background: linear-gradient(135deg, #2a3848 0%, #3a2a14 100%);
  border: 1px solid var(--g01f-border);
  border-radius: var(--g01f-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.4rem 0;
}
.g01f-cta h3 { color: var(--g01f-primary); font-size: 1.7rem; margin-bottom: 0.4rem; }
.g01f-cta p { color: var(--g01f-text-muted); font-size: 1.25rem; margin-bottom: 1rem; }

/* ---------- App download CTA ---------- */
.g01f-app-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.g01f-app-row .g01f-btn { flex: 1; min-width: 45%; }

/* ---------- FAQ ---------- */
.g01f-faq-item {
  background: var(--g01f-bg-card);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255,255,255,0.04);
}
.g01f-faq-item h3 { color: var(--g01f-primary); font-size: 1.3rem; margin-bottom: 0.3rem; }
.g01f-faq-item p { color: var(--g01f-text-muted); font-size: 1.22rem; line-height: 1.6rem; }

/* ---------- Footer ---------- */
.g01f-footer {
  background: #14202c;
  border-top: 1px solid var(--g01f-border);
  padding: 1.8rem 0 9.5rem;
  margin-top: 1.5rem;
}
.g01f-footer-brand {
  color: var(--g01f-text-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
}
.g01f-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.g01f-footer-links a {
  color: var(--g01f-text-muted);
  font-size: 1.15rem;
  text-decoration: underline;
}
.g01f-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.g01f-footer-promos .g01f-btn { flex: 1; min-width: 40%; font-size: 1.2rem; padding: 0.6rem 0.8rem; }
.g01f-copyright {
  color: #8a93a0;
  font-size: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
  text-align: center;
}

/* ---------- Bottom navigation (mobile) ---------- */
.g01f-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1f2c3b 0%, #14202c 100%);
  border-top: 1px solid var(--g01f-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.g01f-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--g01f-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.15s, transform 0.15s;
}
.g01f-bottom-nav-btn i { font-size: 22px; }
.g01f-bottom-nav-btn:active { transform: scale(0.92); }
.g01f-bottom-nav-btn.g01f-nav-active { color: var(--g01f-primary); }
.g01f-bottom-nav-btn.g01f-nav-active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 3px;
  background: var(--g01f-primary);
  border-radius: 0 0 4px 4px;
}
.g01f-bottom-nav-btn.g01f-nav-promo { color: var(--g01f-primary); }

/* ---------- Reveal animation ---------- */
.g01f-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.g01f-reveal.g01f-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .g01f-bottom-nav { display: none; }
  .g01f-main { padding-bottom: 2rem; }
  .g01f-footer { padding-bottom: 2rem; }
  .g01f-wrapper, .g01f-container, .g01f-header-row { max-width: 430px; }
}

/* Ensure viewport literal exists: max-width: 430px applied to wrappers above */
.g01f-viewport-guard { max-width: 430px; }
