/* ============================================================
 * 8xx1a.click - design-2528.css
 * All custom classes use the "v873-" prefix.
 * Mobile-first responsive layout (max-width: 430px baseline).
 * ============================================================ */

:root {
  --v873-primary: #8B4513;     /* saddle brown - brand accent */
  --v873-accent: #7CFC00;      /* lawn green - call to action */
  --v873-bg: #1C2833;          /* deep slate - background */
  --v873-bg-2: #141c25;        /* darker slate - cards */
  --v873-sand: #D2B48C;        /* tan - secondary surface */
  --v873-cream: #FFDEAD;       /* navajo white - soft highlight */
  --v873-line: #DEE2E6;        /* light grey - text on light */
  --v873-text: #F5F1E8;        /* warm white - body text */
  --v873-muted: #9aa7b2;       /* muted slate - secondary text */
  --v873-radius: 1.2rem;
  --v873-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #1C2833 0%, #0f1620 100%);
  color: var(--v873-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--v873-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.25; }

.v873-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v873-wrapper { width: 100%; }
.v873-main { padding-bottom: 90px; } /* clearance for bottom nav */
.v873-no-scroll { overflow: hidden; }

/* ------------------------------- Header ------------------------------ */
.v873-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1C2833, #2a160a);
  border-bottom: 0.2rem solid var(--v873-primary);
}
.v873-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 6rem;
}
.v873-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--v873-cream);
  font-weight: 800;
  font-size: 1.9rem;
  text-decoration: none;
}
.v873-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.v873-logo span b { color: var(--v873-accent); }

.v873-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v873-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.v873-btn:active { transform: scale(0.96); }
.v873-btn-primary { background: linear-gradient(135deg, #7CFC00, #4a9d00); color: #1C2833; }
.v873-btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.v873-btn-ghost {
  background: transparent;
  border: 0.15rem solid var(--v873-sand);
  color: var(--v873-cream);
}
.v873-btn-ghost:hover { background: rgba(210,180,140,0.12); text-decoration: none; }
.v873-menu-btn {
  background: transparent;
  border: none;
  color: var(--v873-cream);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* ----------------------------- Mobile menu --------------------------- */
.v873-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(28, 40, 51, 0.98);
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 7rem 1.4rem 4rem;
}
.v873-mobile-menu.v873-menu-open { transform: translateY(0); }
.v873-mobile-menu a {
  display: block;
  padding: 1.2rem 0.6rem;
  color: var(--v873-cream);
  font-size: 1.6rem;
  border-bottom: 0.1rem solid rgba(210, 180, 140, 0.2);
}
.v873-mobile-menu a:hover { color: var(--v873-accent); text-decoration: none; }
.v873-menu-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: transparent;
  border: none;
  color: var(--v873-cream);
  font-size: 2.6rem;
  cursor: pointer;
}

/* ------------------------------ Carousel ----------------------------- */
.v873-carousel {
  position: relative;
  margin: 1.2rem 0;
  border-radius: var(--v873-radius);
  overflow: hidden;
  box-shadow: var(--v873-shadow);
}
.v873-carousel-track { position: relative; }
.v873-carousel-slide {
  display: none;
  cursor: pointer;
}
.v873-carousel-slide.v873-slide-active { display: block; }
.v873-carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 18rem;
  object-fit: cover;
}
.v873-carousel-cap {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: rgba(28, 40, 51, 0.72);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  color: var(--v873-cream);
}
.v873-carousel-cap b { color: var(--v873-accent); }
.v873-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 40, 51, 0.6);
  color: var(--v873-cream);
  border: none;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}
.v873-carousel-arrow.v873-prev { left: 0.6rem; }
.v873-carousel-arrow.v873-next { right: 0.6rem; }
.v873-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
}
.v873-carousel-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(210, 180, 140, 0.4);
  border: none;
  cursor: pointer;
}
.v873-carousel-dot.v873-dot-active { background: var(--v873-accent); }

/* ----------------------------- Sections ------------------------------ */
.v873-section { margin: 2.4rem 0; }
.v873-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.v873-section-title {
  font-size: 2rem;
  color: var(--v873-cream);
  border-left: 0.4rem solid var(--v873-accent);
  padding-left: 0.8rem;
}
.v873-section-title b { color: var(--v873-accent); }
.v873-section-link { font-size: 1.3rem; color: var(--v873-sand); }

/* ----------------------------- Game grid ----------------------------- */
.v873-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v873-game {
  display: block;
  background: var(--v873-bg-2);
  border-radius: 1rem;
  overflow: hidden;
  border: 0.1rem solid rgba(210, 180, 140, 0.18);
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.v873-game:hover { transform: translateY(-0.2rem); border-color: var(--v873-accent); text-decoration: none; }
.v873-game img { width: 100%; height: 9rem; object-fit: cover; }
.v873-game-name {
  padding: 0.6rem 0.5rem;
  font-size: 1.25rem;
  color: var(--v873-cream);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v873-game-badge {
  display: inline-block;
  font-size: 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(124, 252, 0, 0.18);
  color: var(--v873-accent);
  margin-bottom: 0.4rem;
}

/* --------------------------- Feature cards --------------------------- */
.v873-card {
  background: var(--v873-bg-2);
  border-radius: var(--v873-radius);
  padding: 1.6rem;
  border: 0.1rem solid rgba(210, 180, 140, 0.15);
  box-shadow: var(--v873-shadow);
  margin-bottom: 1.2rem;
}
.v873-card h3 { color: var(--v873-cream); font-size: 1.7rem; }
.v873-card p { margin: 0 0 1rem; color: var(--v873-text); font-size: 1.4rem; }
.v873-card .v873-btn { margin-top: 0.4rem; }

.v873-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.v873-chip {
  background: var(--v873-bg-2);
  color: var(--v873-cream);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 0.1rem solid var(--v873-sand);
  font-size: 1.3rem;
  cursor: pointer;
}
.v873-chip-active { background: var(--v873-accent); color: #1C2833; border-color: var(--v873-accent); }

/* Promo banner CTA */
.v873-promo-banner {
  background: linear-gradient(120deg, #8B4513, #4a9d00);
  border-radius: var(--v873-radius);
  padding: 1.8rem;
  color: var(--v873-cream);
  text-align: center;
  margin: 1.6rem 0;
}
.v873-promo-banner h3 { font-size: 2rem; color: #fff; }
.v873-promo-banner p { font-size: 1.4rem; margin: 0.6rem 0 1.2rem; }
.v873-link-text {
  color: var(--v873-accent);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 0.1rem dashed var(--v873-accent);
}

/* Steps / how-to */
.v873-steps { counter-reset: step; }
.v873-step {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin-bottom: 0.8rem;
  background: var(--v873-bg-2);
  border-radius: 1rem;
  font-size: 1.4rem;
  color: var(--v873-text);
}
.v873-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--v873-accent);
  color: #1C2833;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonials */
.v873-quote {
  background: var(--v873-bg-2);
  border-left: 0.4rem solid var(--v873-accent);
  padding: 1.2rem;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}
.v873-quote b { color: var(--v873-cream); display: block; margin-top: 0.4rem; }

/* Winners strip */
.v873-winners {
  background: var(--v873-bg-2);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.v873-winner {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  border-bottom: 0.1rem dashed rgba(210,180,140,0.25);
  padding-bottom: 0.4rem;
}
.v873-winner b { color: var(--v873-accent); }

/* SEO body */
.v873-seo p { font-size: 1.4rem; color: var(--v873-text); margin: 0 0 1rem; }
.v873-seo h2 { font-size: 1.9rem; color: var(--v873-cream); margin-top: 1.6rem; }
.v873-seo h3 { font-size: 1.6rem; color: var(--v873-sand); }

/* ------------------------------- Footer ------------------------------ */
.v873-footer {
  background: #0e141c;
  border-top: 0.2rem solid var(--v873-primary);
  padding: 2.4rem 0;
  margin-top: 2rem;
  color: var(--v873-muted);
}
.v873-footer h4 { color: var(--v873-cream); font-size: 1.5rem; margin: 0 0 0.8rem; }
.v873-footer p { font-size: 1.3rem; line-height: 1.6; }
.v873-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 1rem 0;
}
.v873-footer-links a { font-size: 1.25rem; color: var(--v873-sand); }
.v873-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin: 1rem 0;
}
.v873-footer-promos button {
  background: linear-gradient(135deg, #7CFC00, #4a9d00);
  color: #1C2833;
  border: none;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
}
.v873-copy { font-size: 1.2rem; color: var(--v873-muted); margin-top: 1.2rem; }

/* --------------------------- Bottom nav ------------------------------ */
.v873-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 6.2rem;
  background: linear-gradient(180deg, #2a160a, #141c25);
  border-top: 0.2rem solid var(--v873-primary);
  box-shadow: 0 -0.4rem 1.2rem rgba(0,0,0,0.4);
}
.v873-navbtn {
  flex: 1;
  min-width: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: transparent;
  border: none;
  color: var(--v873-sand);
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}
.v873-navbtn:active { transform: scale(0.9); }
.v873-navbtn i,
.v873-navbtn span.material-icons-outlined,
.v873-navbtn ion-icon { font-size: 2.2rem; }
.v873-navbtn ion-icon { font-size: 2.4rem; }
.v873-navbtn-current { color: var(--v873-accent); }
.v873-navbtn-promo { color: var(--v873-cream); }
.v873-navbtn-promo i { color: var(--v873-accent); }

/* ------------------------------ Desktop ------------------------------ */
@media (min-width: 769px) {
  .v873-bottomnav { display: none; }
  .v873-main { padding-bottom: 2rem; }
  .v873-container { max-width: 960px; }
  .v873-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .v873-main { padding-bottom: 90px; }
}
