/* ==========================================================================
   jl89.homes - view-jl89-a716.css
   All custom classes and CSS variables use the "v6da-" prefix.
   Palette: #FFCC33 (gold) | #FFA500 (orange) | #262626 (dark base)
   Mobile-first 320-430px canvas. Wider screens keep the phone canvas centered.
   ========================================================================== */

:root {
  --v6da-gold: #FFCC33;
  --v6da-orange: #FFA500;
  --v6da-dark: #262626;
  --v6da-dark-2: #1d1d1d;
  --v6da-dark-3: #333333;
  --v6da-ink: #fff7e6;
  --v6da-muted: #b9a987;
  --v6da-line: rgba(255, 204, 51, 0.18);
  --v6da-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --v6da-radius: 14px;
  --v6da-radius-sm: 10px;
  --v6da-header-h: 56px;
  --v6da-bottom-h: 64px;
  --v6da-max: 480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--v6da-dark);
  color: var(--v6da-ink);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  font-size: 15px;
  line-height: 1.55;
}

body {
  max-width: var(--v6da-max);
  margin: 0 auto;
  position: relative;
  background:
    radial-gradient(circle at 18% -8%, rgba(255, 165, 0, 0.20), transparent 52%),
    radial-gradient(circle at 96% 6%, rgba(255, 204, 51, 0.14), transparent 48%),
    var(--v6da-dark);
  min-height: 100vh;
}

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

/* Make the phone canvas visible on wide screens without going desktop-width. */
.v6da-frame {
  position: relative;
  min-height: 100vh;
  padding-bottom: calc(var(--v6da-bottom-h) + 24px);
}

/* ==========================================================================
   Top header / brand bar
   ========================================================================== */
.v6da-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--v6da-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1f1f1f 100%);
  border-bottom: 2px solid var(--v6da-gold);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.v6da-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.v6da-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 2px solid var(--v6da-gold);
  background: #000;
  flex: 0 0 auto;
}
.v6da-brand-name {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 18px;
  color: var(--v6da-gold);
  white-space: nowrap;
}
.v6da-brand-name span { color: var(--v6da-ink); font-weight: 600; font-size: 12px; display: block; line-height: 1.1; }

.v6da-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v6da-btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  min-height: 36px;
  min-width: 44px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.v6da-btn:active { transform: scale(0.94); }
.v6da-btn-primary {
  background: linear-gradient(135deg, var(--v6da-orange), var(--v6da-gold));
  color: #2a1a00;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.45);
}
.v6da-btn-ghost {
  background: transparent;
  color: var(--v6da-ink);
  border: 1.5px solid var(--v6da-gold);
}
.v6da-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #333;
  border: 1px solid var(--v6da-line);
  color: var(--v6da-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.v6da-menu-btn:active { transform: scale(0.92); }

/* ==========================================================================
   Expandable nav drawer (overlay style under header)
   ========================================================================== */
.v6da-menu-drawer {
  position: fixed;
  top: var(--v6da-header-h);
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--v6da-max);
  background: #1b1b1b;
  border-bottom: 1px solid var(--v6da-line);
  box-shadow: var(--v6da-shadow);
  transform: translateY(-130%);
  transition: transform .26s ease;
  z-index: 55;
  padding: 8px 14px 14px;
  max-height: 70vh;
  overflow-y: auto;
}
.v6da-menu-drawer.v6da-menu-open { transform: translateY(0); }
.v6da-menu-title {
  font-size: 12px;
  color: var(--v6da-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 8px 2px 6px;
}
.v6da-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v6da-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #262626;
  border: 1px solid var(--v6da-line);
  color: var(--v6da-ink);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.v6da-menu-link:hover { background: #303030; color: var(--v6da-gold); }
.v6da-menu-link .v6da-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--v6da-orange); flex: 0 0 auto;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.v6da-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: var(--v6da-radius);
  overflow: hidden;
  box-shadow: var(--v6da-shadow);
  background: #111;
}
.v6da-slides { position: relative; }
.v6da-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.v6da-slide.v6da-slide-active { opacity: 1; position: relative; pointer-events: auto; }
.v6da-slide img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  display: block;
}
.v6da-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent);
  color: #fff;
}
.v6da-slide-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--v6da-gold);
}
.v6da-slide-text { margin: 0; font-size: 12px; color: #ffe9b8; }
.v6da-slide-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--v6da-orange), var(--v6da-gold));
  color: #2a1a00;
}
.v6da-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.v6da-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none; padding: 0; cursor: pointer;
}
.v6da-dot.v6da-dot-active { background: var(--v6da-gold); width: 18px; border-radius: 5px; }

/* ==========================================================================
   Section shells
   ========================================================================== */
.v6da-wrap { padding: 0 12px; }
.v6da-section { margin: 18px 0 6px; }
.v6da-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.v6da-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--v6da-ink);
  margin: 0;
  position: relative;
  padding-left: 12px;
}
.v6da-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--v6da-gold), var(--v6da-orange));
}
.v6da-section-title small {
  display: block;
  font-size: 11px;
  color: var(--v6da-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.v6da-section-more {
  font-size: 12px;
  color: var(--v6da-gold);
  font-weight: 600;
}
.v6da-lead {
  font-size: 13px;
  color: var(--v6da-muted);
  margin: 0 0 10px;
}

/* Category quick chips (scroll-to only) */
.v6da-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.v6da-chips::-webkit-scrollbar { display: none; }
.v6da-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #2f2f2f;
  border: 1px solid var(--v6da-line);
  color: var(--v6da-ink);
  cursor: pointer;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.v6da-chip:active { transform: scale(0.94); }

/* ==========================================================================
   Game grid
   ========================================================================== */
.v6da-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .v6da-game-grid { gap: 10px; }
}
@media (min-width: 400px) {
  .v6da-game-grid { grid-template-columns: repeat(5, 1fr); }
}
.v6da-game {
  background: #2a2a2a;
  border: 1px solid var(--v6da-line);
  border-radius: var(--v6da-radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, border-color .15s;
}
.v6da-game:active { transform: scale(0.95); border-color: var(--v6da-gold); }
.v6da-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}
.v6da-game-name {
  font-size: 10.5px;
  line-height: 1.25;
  padding: 5px 5px 6px;
  text-align: center;
  color: var(--v6da-ink);
  font-weight: 600;
  word-break: break-word;
  min-height: 28px;
}

/* ==========================================================================
   Supplementary modules (home)
   ========================================================================== */
.v6da-card {
  background: #2a2a2a;
  border: 1px solid var(--v6da-line);
  border-radius: var(--v6da-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.v6da-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--v6da-gold);
}
.v6da-card p { margin: 0 0 8px; font-size: 13px; color: #e8e2d2; }
.v6da-card p:last-child { margin-bottom: 0; }

.v6da-app-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
}
.v6da-app-row img {
  width: 110px; height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--v6da-line);
}
.v6da-app-actions { display: flex; flex-direction: column; gap: 8px; }
.v6da-app-actions .v6da-btn { width: 100%; }

.v6da-pill-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.v6da-pill {
  background: #1f1f1f;
  border: 1px solid var(--v6da-line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.v6da-pill b { display: block; font-size: 18px; color: var(--v6da-gold); }
.v6da-pill span { font-size: 11px; color: var(--v6da-muted); }

/* Testimonials */
.v6da-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v6da-tile {
  background: #1f1f1f;
  border: 1px solid var(--v6da-line);
  border-radius: 10px;
  padding: 10px;
}
.v6da-tile .v6da-stars { color: var(--v6da-gold); font-size: 12px; letter-spacing: 1px; }
.v6da-tile p { margin: 6px 0 4px; font-size: 12px; color: #e8e2d2; line-height: 1.45; }
.v6da-tile cite { font-size: 11px; color: var(--v6da-muted); font-style: normal; }

/* Styles chips */
.v6da-style-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.v6da-style {
  background: #1f1f1f;
  border: 1px solid var(--v6da-line);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.v6da-style b { display: block; font-size: 13px; color: var(--v6da-gold); }
.v6da-style span { font-size: 10.5px; color: var(--v6da-muted); }

/* FAQ */
.v6da-faq { border-top: 1px solid var(--v6da-line); }
.v6da-faq-item { border-bottom: 1px solid var(--v6da-line); }
.v6da-faq-head {
  width: 100%;
  background: none;
  border: none;
  color: var(--v6da-ink);
  text-align: left;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.v6da-faq-head .v6da-faq-icon {
  color: var(--v6da-gold);
  transition: transform .2s;
  flex: 0 0 auto;
}
.v6da-faq-item.v6da-faq-open .v6da-faq-icon { transform: rotate(45deg); }
.v6da-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .2s;
  padding: 0 2px;
  color: var(--v6da-muted);
  font-size: 13px;
}
.v6da-faq-item.v6da-faq-open .v6da-faq-body {
  max-height: 260px;
  padding: 0 2px 12px;
}

/* ==========================================================================
   Extended footer (home only)
   ========================================================================== */
.v6da-ext {
  margin-top: 18px;
  background: #1c1c1c;
  border-top: 2px solid var(--v6da-gold);
  padding: 16px 12px 8px;
}
.v6da-ext-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 420px) {
  .v6da-ext-grid { grid-template-columns: 1fr 1fr; }
}
.v6da-ext-block h4 {
  font-size: 13px;
  color: var(--v6da-gold);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.v6da-ext-block p { font-size: 12.5px; color: var(--v6da-muted); margin: 0 0 8px; }
.v6da-ext-block ul { list-style: none; padding: 0; margin: 0; }
.v6da-ext-block li { margin-bottom: 6px; }
.v6da-ext-block a { font-size: 12.5px; color: #e8e2d2; }
.v6da-ext-block a:hover { color: var(--v6da-gold); }
.v6da-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v6da-ext-promo {
  background: #262626;
  border: 1px solid var(--v6da-line);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--v6da-ink);
  text-align: center;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v6da-ext-promo:active { transform: scale(0.96); }
.v6da-disclaimer {
  margin-top: 14px;
  padding: 12px;
  background: #151515;
  border-left: 3px solid var(--v6da-orange);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--v6da-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Footer + bottom navigation
   ========================================================================== */
.v6da-footer {
  margin-top: 12px;
  padding: 14px 12px calc(var(--v6da-bottom-h) + 18px);
  text-align: center;
  font-size: 11.5px;
  color: var(--v6da-muted);
  border-top: 1px solid var(--v6da-line);
  background: #181818;
}
.v6da-footer b { color: var(--v6da-gold); }
.v6da-footer .v6da-foot-links {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
}
.v6da-footer .v6da-foot-links a { color: #c8c0aa; font-size: 11.5px; }

.v6da-bottom {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: var(--v6da-max);
  height: var(--v6da-bottom-h);
  background: linear-gradient(180deg, #2c2c2c, #161616);
  border-top: 2px solid var(--v6da-gold);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 70;
  box-shadow: 0 -3px 18px rgba(0, 0, 0, 0.55);
}
.v6da-bottom-btn {
  background: none;
  border: none;
  color: var(--v6da-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  min-height: 44px;
  position: relative;
  transition: color .15s;
}
.v6da-bottom-btn svg { width: 22px; height: 22px; }
.v6da-bottom-btn .v6da-bottom-icon { stroke: var(--v6da-muted); transition: stroke .15s, transform .12s; }
.v6da-bottom-btn.is-active { color: var(--v6da-gold); }
.v6da-bottom-btn.is-active .v6da-bottom-icon { stroke: var(--v6da-gold); fill: rgba(255, 204, 51, 0.22); }
.v6da-bottom-btn:active .v6da-bottom-icon { transform: scale(1.18); }
.v6da-bottom-btn.is-promo {
  color: #2a1a00;
  background: linear-gradient(135deg, var(--v6da-orange), var(--v6da-gold));
}
.v6da-bottom-btn.is-promo .v6da-bottom-icon { stroke: #2a1a00; }
.v6da-bottom-btn.is-promo.is-active { color: #2a1a00; }
.v6da-bottom-btn.is-promo.is-active .v6da-bottom-icon { stroke: #2a1a00; fill: rgba(0,0,0,0.18); }

/* Visually hidden helper */
.v6da-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Tap feedback state */
.v6da-tapped { transform: scale(0.96); }
