/* ============================================================
 * fbm play - layout.css
 * Mobile-first HTML5 casino/gaming front-end.
 * All custom classes use the "v8a9-" prefix.
 * Palette: #0F0F23 (deep navy bg) | #FF4500 (orange-red) | #A0522D (brown)
 * Root font: 62.5% (1rem = 10px).
 * ========================================================== */

:root {
  --v8a9-bg: #0F0F23;
  --v8a9-bg-2: #161638;
  --v8a9-bg-3: #1f1f4a;
  --v8a9-primary: #FF4500;
  --v8a9-primary-2: #ff6a33;
  --v8a9-secondary: #A0522D;
  --v8a9-text: #f4f4f8;
  --v8a9-text-dim: #b5b5cc;
  --v8a9-line: rgba(255, 255, 255, 0.08);
  --v8a9-gold: #ffd479;
  --v8a9-green: #2ecc71;
  --v8a9-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --v8a9-radius: 14px;
  --v8a9-max: 430px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(255, 69, 0, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(160, 82, 45, 0.18), transparent 60%),
    var(--v8a9-bg);
  color: var(--v8a9-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 1rem; color: #fff; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1.2rem; color: var(--v8a9-text-dim); }

.v8a9-container { width: 100%; max-width: var(--v8a9-max); margin: 0 auto; padding: 0 1.2rem; }
.v8a9-wrapper { padding: 2rem 0; }

/* ============================================================
 * HEADER / TOP NAV
 * ========================================================== */
.v8a9-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.96), rgba(15, 15, 35, 0.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v8a9-line);
}
.v8a9-header-inner {
  max-width: var(--v8a9-max); margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.v8a9-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; }
.v8a9-brand img { width: 28px; height: 28px; border-radius: 7px; }
.v8a9-brand-text { font-weight: 800; letter-spacing: 0.3px; font-size: 1.6rem; }
.v8a9-brand-text span { color: var(--v8a9-primary); }

.v8a9-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.v8a9-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; min-height: 38px;
  border: none; border-radius: 999px;
  font-size: 1.35rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
  text-decoration: none;
}
.v8a9-btn-primary {
  background: linear-gradient(135deg, var(--v8a9-primary), #ff7a3d);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.4);
}
.v8a9-btn-primary:hover { color: #fff; transform: translateY(-1px); }
.v8a9-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--v8a9-text);
  border: 1px solid var(--v8a9-line);
}
.v8a9-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.v8a9-btn-block { width: 100%; }
.v8a9-btn-lg { padding: 1rem 1.6rem; min-height: 48px; font-size: 1.5rem; }

.v8a9-burger {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v8a9-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
}
.v8a9-burger i { font-size: 20px; }

/* ============================================================
 * MOBILE MENU DRAWER
 * ========================================================== */
.v8a9-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}
.v8a9-backdrop-show { opacity: 1; pointer-events: auto; }

.v8a9-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 80%; max-width: 320px; height: 100vh;
  background: linear-gradient(180deg, #14143a, #0c0c20);
  z-index: 9999;
  transform: translateX(0);
  transition: right .3s ease;
  padding: 1.4rem 1.2rem 3rem;
  overflow-y: auto;
  border-left: 1px solid var(--v8a9-line);
}
.v8a9-menu-open { right: 0; }
.v8a9-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.v8a9-menu-head h3 { margin: 0; color: #fff; font-size: 1.6rem; }
.v8a9-menu-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--v8a9-line);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.v8a9-menu-section-title {
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--v8a9-text-dim); margin: 1.2rem 0 0.6rem;
}
.v8a9-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 0.8rem; border-radius: 10px;
  color: var(--v8a9-text); font-weight: 600;
  border: 1px solid transparent;
}
.v8a9-menu-link:hover { background: rgba(255, 69, 0, 0.12); color: #fff; border-color: var(--v8a9-line); }
.v8a9-menu-link i { font-size: 18px; color: var(--v8a9-primary); width: 22px; text-align: center; }

/* ============================================================
 * HERO / CAROUSEL
 * ========================================================== */
.v8a9-main { padding-top: 64px; padding-bottom: 80px; }

.v8a9-hero { padding: 1.2rem 0 0.4rem; }
.v8a9-carousel {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--v8a9-shadow); border: 1px solid var(--v8a9-line);
  background: #0a0a1c;
}
.v8a9-carousel-track {
  display: flex; transition: transform .6s ease;
}
.v8a9-carousel-slide {
  min-width: 100%; position: relative; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  cursor: pointer;
}
.v8a9-carousel-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7));
}
.v8a9-slide-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; z-index: 2; color: #fff;
}
.v8a9-slide-caption .v8a9-slide-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 .2rem; }
.v8a9-slide-caption .v8a9-slide-sub { font-size: 1.25rem; color: var(--v8a9-gold); margin: 0; }
.v8a9-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
}
.v8a9-carousel-arrow:hover { background: var(--v8a9-primary); }
.v8a9-arrow-prev { left: 8px; }
.v8a9-arrow-next { right: 8px; }
.v8a9-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
.v8a9-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45); border: none; cursor: pointer; padding: 0;
}
.v8a9-dot-active { background: var(--v8a9-primary); width: 22px; border-radius: 4px; }

/* ============================================================
 * SECTION + CARDS
 * ========================================================== */
.v8a9-section { padding: 2rem 0; }
.v8a9-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem; gap: 0.8rem;
}
.v8a9-section-title {
  font-size: 1.9rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 0.6rem;
}
.v8a9-section-title::before {
  content: ""; width: 4px; height: 1.4rem; background: var(--v8a9-primary); border-radius: 2px;
}
.v8a9-section-more { font-size: 1.25rem; color: var(--v8a9-primary-2); font-weight: 600; }

.v8a9-card {
  background: linear-gradient(180deg, rgba(31, 31, 74, 0.6), rgba(22, 22, 56, 0.6));
  border: 1px solid var(--v8a9-line);
  border-radius: var(--v8a9-radius);
  padding: 1.2rem;
  box-shadow: var(--v8a9-shadow);
}
.v8a9-card-accent { border-top: 3px solid var(--v8a9-primary); }

.v8a9-grid {
  display: grid; gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr);
}
.v8a9-grid-2 { grid-template-columns: repeat(2, 1fr); }
.v8a9-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Game tile */
.v8a9-game {
  background: linear-gradient(180deg, #1c1c44, #14143a);
  border: 1px solid var(--v8a9-line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.v8a9-game:hover { transform: translateY(-2px); border-color: var(--v8a9-primary); box-shadow: 0 6px 18px rgba(255, 69, 0, 0.25); }
.v8a9-game-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: #0a0a1c;
}
.v8a9-game-name {
  padding: 0.5rem 0.6rem; font-size: 1.15rem; font-weight: 600; color: #fff;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v8a9-game-badge {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  background: var(--v8a9-primary); color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 0.1rem 0.5rem;
  border-radius: 6px;
}
.v8a9-game-badge-hot { background: #e8336a; }
.v8a9-game-badge-new { background: var(--v8a9-green); }

/* Category chip */
.v8a9-cat-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.v8a9-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); color: var(--v8a9-text-dim);
  font-size: 1.2rem; font-weight: 600; border: 1px solid var(--v8a9-line);
}
.v8a9-chip i { font-size: 14px; color: var(--v8a9-primary); }

/* Filter tabs */
.v8a9-filter-row { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.v8a9-filter-tab {
  flex: 0 0 auto; padding: 0.55rem 1.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); color: var(--v8a9-text-dim);
  font-size: 1.25rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--v8a9-line);
}
.v8a9-tab-active { background: var(--v8a9-primary); color: #fff; border-color: transparent; }

/* ============================================================
 * CTA STRIP
 * ========================================================== */
.v8a9-cta {
  background: linear-gradient(135deg, var(--v8a9-primary), #b03a1c);
  border-radius: 16px; padding: 1.4rem;
  text-align: center; color: #fff;
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.35);
  margin: 1.5rem 0;
}
.v8a9-cta h3 { color: #fff; margin-bottom: 0.4rem; }
.v8a9-cta p { color: rgba(255, 255, 255, 0.92); margin-bottom: 1rem; }
.v8a9-cta .v8a9-btn { background: #fff; color: var(--v8a9-primary); }
.v8a9-cta .v8a9-btn:hover { color: var(--v8a9-primary); }

/* Feature list */
.v8a9-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.v8a9-feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v8a9-line);
  border-radius: 12px; padding: 1rem; text-align: center;
}
.v8a9-feature i { font-size: 26px; color: var(--v8a9-primary); margin-bottom: 0.5rem; }
.v8a9-feature h4 { color: #fff; margin: 0 0 0.3rem; font-size: 1.3rem; }
.v8a9-feature p { margin: 0; font-size: 1.15rem; color: var(--v8a9-text-dim); }

/* Steps */
.v8a9-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.v8a9-steps li {
  position: relative; padding: 0.8rem 0.8rem 0.8rem 3.2rem; margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--v8a9-line);
  border-radius: 12px; counter-increment: step;
}
.v8a9-steps li::before {
  content: counter(step); position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--v8a9-primary); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.v8a9-steps strong { color: #fff; }

/* Testimonials */
.v8a9-testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v8a9-line); border-radius: 12px;
  padding: 1rem; margin-bottom: 0.8rem;
}
.v8a9-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.v8a9-testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v8a9-primary), var(--v8a9-secondary));
  color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.v8a9-testi-name { color: #fff; font-weight: 700; }
.v8a9-testi-stars { color: var(--v8a9-gold); font-size: 1.1rem; }
.v8a9-testimonial p { margin: 0; color: var(--v8a9-text-dim); font-size: 1.2rem; }

/* RTP table */
.v8a9-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v8a9-rtp-table th, .v8a9-rtp-table td {
  padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--v8a9-line); text-align: left;
}
.v8a9-rtp-table th { color: var(--v8a9-gold); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; }
.v8a9-rtp-table td { color: var(--v8a9-text-dim); }
.v8a9-rtp-table tr:last-child td { border-bottom: none; }
.v8a9-rtp-bar { background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; height: 8px; }
.v8a9-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--v8a9-primary), var(--v8a9-gold)); }

/* Winners / achievements */
.v8a9-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.8rem; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--v8a9-line);
  margin-bottom: 0.5rem;
}
.v8a9-winner-name { color: #fff; font-weight: 600; font-size: 1.2rem; }
.v8a9-winner-amount { color: var(--v8a9-gold); font-weight: 800; font-size: 1.25rem; }

/* Payment methods */
.v8a9-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v8a9-pay {
  flex: 1 1 30%; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--v8a9-line);
  border-radius: 10px; padding: 0.7rem; color: var(--v8a9-text); font-weight: 600; font-size: 1.15rem;
  min-width: 90px;
}
.v8a9-pay i { font-size: 18px; color: var(--v8a9-primary); }

/* FAQ */
.v8a9-faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--v8a9-line);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.v8a9-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem; cursor: pointer; color: #fff; font-weight: 700; font-size: 1.3rem;
}
.v8a9-faq-q i { color: var(--v8a9-primary); transition: transform .2s ease; }
.v8a9-faq-item.v8a9-faq-open .v8a9-faq-q i { transform: rotate(45deg); }
.v8a9-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.1rem; }
.v8a9-faq-open .v8a9-faq-a { max-height: 500px; padding-bottom: 1rem; }
.v8a9-faq-a p { margin: 0; }

/* Tricks / tips list */
.v8a9-tricks { list-style: none; padding: 0; margin: 0; }
.v8a9-tricks li {
  padding: 0.6rem 0 0.6rem 1.8rem; position: relative; color: var(--v8a9-text-dim);
  border-bottom: 1px dashed var(--v8a9-line);
}
.v8a9-tricks li:last-child { border-bottom: none; }
.v8a9-tricks li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0.6rem; color: var(--v8a9-green); font-size: 1.1rem;
}

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

/* Inline promo link inside text */
.v8a9-promo-link {
  color: var(--v8a9-primary); font-weight: 800;
  border-bottom: 2px dotted var(--v8a9-primary);
  cursor: pointer;
}
.v8a9-promo-link:hover { color: var(--v8a9-gold); border-bottom-color: var(--v8a9-gold); }

/* App download CTA box */
.v8a9-app-cta {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(160,82,45,0.4), rgba(255,69,0,0.2));
  border: 1px solid var(--v8a9-line); border-radius: 14px; padding: 1.2rem;
}
.v8a9-app-cta .v8a9-app-icon {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover;
}
.v8a9-app-cta h4 { margin: 0 0 0.2rem; color: #fff; }
.v8a9-app-cta p { margin: 0; font-size: 1.15rem; }

/* ============================================================
 * FOOTER
 * ========================================================== */
.v8a9-footer {
  background: linear-gradient(180deg, #0c0c20, #06060f);
  border-top: 1px solid var(--v8a9-line);
  padding: 2.2rem 0 1rem;
  margin-top: 2rem;
}
.v8a9-footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.v8a9-footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.v8a9-footer-brand strong { color: #fff; font-size: 1.5rem; }
.v8a9-footer-brand strong span { color: var(--v8a9-primary); }
.v8a9-footer-desc { font-size: 1.2rem; color: var(--v8a9-text-dim); margin-bottom: 1rem; }
.v8a9-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.v8a9-footer-promos .v8a9-btn { flex: 1 1 45%; min-width: 130px; font-size: 1.2rem; padding: 0.6rem 0.8rem; }
.v8a9-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem;
  margin: 1rem 0;
}
.v8a9-footer-links a { color: var(--v8a9-text-dim); font-size: 1.2rem; }
.v8a9-footer-links a:hover { color: var(--v8a9-primary-2); }
.v8a9-footer-bottom {
  border-top: 1px solid var(--v8a9-line);
  padding-top: 1rem; margin-top: 0.5rem;
  font-size: 1.1rem; color: var(--v8a9-text-dim);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem;
}

/* ============================================================
 * MOBILE BOTTOM NAV
 * ========================================================== */
.v8a9-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(20, 20, 48, 0.98), rgba(10, 10, 28, 1));
  border-top: 1px solid var(--v8a9-line);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}
.v8a9-bottom-nav-btn {
  flex: 1 1 0; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--v8a9-text-dim);
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.v8a9-bottom-nav-btn i,
.v8a9-bottom-nav-btn span.material-icons-outlined,
.v8a9-bottom-nav-btn ion-icon { font-size: 22px; }
.v8a9-bottom-nav-btn .v8a9-nav-label { font-size: 1rem; line-height: 1.1; }
.v8a9-bottom-nav-btn:hover { color: #fff; }
.v8a9-bottom-nav-btn:active { transform: scale(0.92); }
.v8a9-nav-current { color: var(--v8a9-primary); }
.v8a9-nav-current::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; background: var(--v8a9-primary); border-radius: 0 0 4px 4px;
}
.v8a9-nav-promo {
  color: #fff;
  background: linear-gradient(135deg, var(--v8a9-primary), #b03a1c);
  margin: 6px; border-radius: 14px;
}
.v8a9-nav-promo i { color: #fff; }
.v8a9-nav-promo .v8a9-nav-label { color: #fff; }
.v8a9-nav-badge {
  position: absolute; top: 4px; right: 12px;
  background: var(--v8a9-primary); color: #fff;
  font-size: 0.85rem; font-weight: 700;
  border-radius: 10px; padding: 0 4px; line-height: 1.4;
}

/* ============================================================
 * RESPONSIVE / DESKTOP
 * ========================================================== */
@media (min-width: 768px) {
  :root { --v8a9-max: 960px; }
  body { font-size: 1.6rem; }
  .v8a9-grid { grid-template-columns: repeat(6, 1fr); }
  .v8a9-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .v8a9-feature-row { grid-template-columns: repeat(4, 1fr); }
  .v8a9-footer-links { grid-template-columns: repeat(4, 1fr); }
  /* Hide mobile-only chrome on desktop */
  .v8a9-bottom-nav { display: none; }
  .v8a9-burger { display: none; }
  .v8a9-main { padding-bottom: 0; }
  .v8a9-desktop-nav { display: flex !important; }
}

.v8a9-desktop-nav { display: none; align-items: center; gap: 0.4rem; }
.v8a9-desktop-nav a {
  color: var(--v8a9-text-dim); font-size: 1.25rem; font-weight: 600;
  padding: 0.5rem 0.8rem; border-radius: 8px;
}
.v8a9-desktop-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Mobile-only padding so content isn't hidden behind bottom nav */
@media (max-width: 767px) {
  .v8a9-footer { padding-bottom: 80px; }
}

/* Utility */
.v8a9-text-center { text-align: center; }
.v8a9-mt-1 { margin-top: 0.5rem; }
.v8a9-mt-2 { margin-top: 1rem; }
.v8a9-mt-3 { margin-top: 1.5rem; }
.v8a9-mb-0 { margin-bottom: 0; }
.v8a9-hide-mobile { display: none; }
@media (min-width: 768px) {
  .v8a9-hide-mobile { display: block; }
  .v8a9-hide-desktop { display: none; }
}
