/* ============================================================
   me777.homes - me777.css
   Mobile-first (max-width: 430px base), rem units (root 62.5%)
   All custom classes use the "v7d8-" prefix.
   Palette: #20B2AA | #3A3A3A | #3CB371 | #FF69B4
   ============================================================ */

:root {
  --v7d8-primary: #20B2AA;     /* Light Sea Green - brand */
  --v7d8-bg: #1f1f24;          /* Deep neutral background */
  --v7d8-surface: #3A3A3A;     /* Dark gray surface */
  --v7d8-success: #3CB371;     /* Medium Sea Green */
  --v7d8-hot: #FF69B4;         /* Hot pink accent */
  --v7d8-text: #f5f7f8;        /* Light text */
  --v7d8-muted: #b9c2c4;       /* Muted light text */
  --v7d8-line: rgba(255,255,255,.10);
  --v7d8-radius: 14px;
  --v7d8-shadow: 0 6px 22px rgba(0,0,0,.35);
  --v7d8-header-h: 56px;
  --v7d8-bottom-h: 60px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 50% -10%, #2a3a3a 0%, var(--v7d8-bg) 60%);
  color: var(--v7d8-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

.v7d8-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v7d8-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.v7d8-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--v7d8-header-h);
  background: linear-gradient(90deg, #2b2b30 0%, var(--v7d8-surface) 100%);
  border-bottom: 2px solid var(--v7d8-primary);
  z-index: 1000;
  box-shadow: var(--v7d8-shadow);
}
.v7d8-header-inner {
  max-width: 430px; margin: 0 auto;
  height: 100%; padding: 0 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.v7d8-logo { display: flex; align-items: center; gap: .6rem; color: var(--v7d8-text); font-weight: 800; font-size: 1.7rem; }
.v7d8-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v7d8-logo .v7d8-logo-accent { color: var(--v7d8-primary); }
.v7d8-header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.v7d8-menu-toggle {
  background: transparent; border: 1px solid var(--v7d8-line);
  color: var(--v7d8-text); width: 38px; height: 38px; border-radius: 10px;
  font-size: 1.8rem; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.v7d8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 38px; padding: 0 1rem; border-radius: 10px; border: none;
  font-weight: 700; font-size: 1.3rem; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.v7d8-btn:active { transform: scale(.96); }
.v7d8-btn-primary { background: linear-gradient(135deg, var(--v7d8-primary), #16908a); color: #fff; }
.v7d8-btn-hot { background: linear-gradient(135deg, var(--v7d8-hot), #d94d96); color: #fff; }
.v7d8-btn-ghost { background: transparent; color: var(--v7d8-text); border: 1px solid var(--v7d8-line); }
.v7d8-btn-success { background: linear-gradient(135deg, var(--v7d8-success), #2e9a5e); color: #fff; }

/* ---------- Mobile menu (slide down) ---------- */
.v7d8-mobile-menu {
  position: fixed; top: var(--v7d8-header-h); left: 0; right: 0;
  background: var(--v7d8-surface); border-bottom: 1px solid var(--v7d8-line);
  max-height: 0; overflow: hidden; transition: max-height .28s ease; z-index: 9999;
}
.v7d8-menu-open { max-height: 80vh; overflow-y: auto; }
.v7d8-mobile-menu nav { display: flex; flex-direction: column; padding: .6rem 1rem 1rem; }
.v7d8-mobile-menu a {
  color: var(--v7d8-text); padding: 1rem .6rem; border-bottom: 1px solid var(--v7d8-line);
  font-size: 1.4rem; display: flex; align-items: center; gap: .8rem;
}
.v7d8-mobile-menu a:hover { color: var(--v7d8-primary); }

/* ---------- Page body offset ---------- */
.v7d8-main { padding-top: calc(var(--v7d8-header-h) + .8rem); padding-bottom: 90px; }

/* ---------- Carousel ---------- */
.v7d8-carousel {
  position: relative; border-radius: var(--v7d8-radius); overflow: hidden; box-shadow: var(--v7d8-shadow);
}
.v7d8-carousel-viewport { overflow: hidden; }
.v7d8-carousel-track { display: flex; transition: transform .6s ease; }
.v7d8-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.v7d8-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.v7d8-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 1.25rem; font-weight: 600;
}
.v7d8-carousel-dots { display: flex; gap: .5rem; justify-content: center; padding: .6rem 0; }
.v7d8-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.35); padding: 0;
}
.v7d8-dot-active { background: var(--v7d8-primary); }

/* ---------- Section ---------- */
.v7d8-section { padding: 1.6rem 0; }
.v7d8-section-title {
  font-size: 1.7rem; font-weight: 800; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.v7d8-section-title::before {
  content: ""; width: 5px; height: 1.6rem; border-radius: 3px; background: linear-gradient(var(--v7d8-primary), var(--v7d8-hot));
}
.v7d8-subtitle { color: var(--v7d8-muted); font-size: 1.3rem; margin: 0 0 1rem; }
.v7d8-lead { color: var(--v7d8-muted); font-size: 1.35rem; }
.v7d8-text-link { color: var(--v7d8-primary); font-weight: 700; cursor: pointer; }
.v7d8-text-link:hover { color: var(--v7d8-hot); }

/* ---------- Filter pills ---------- */
.v7d8-filter-bar { display: flex; gap: .6rem; overflow-x: auto; padding: .4rem 0 1rem; }
.v7d8-filter-pill {
  flex: 0 0 auto; padding: .55rem 1.1rem; border-radius: 20px; background: var(--v7d8-surface);
  color: var(--v7d8-text); border: 1px solid var(--v7d8-line); font-size: 1.25rem; cursor: pointer;
}
.v7d8-pill-active { background: linear-gradient(135deg, var(--v7d8-primary), var(--v7d8-success)); color: #fff; border-color: transparent; }

/* ---------- Game grid ---------- */
.v7d8-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.v7d8-card {
  background: var(--v7d8-surface); border-radius: var(--v7d8-radius); overflow: hidden;
  border: 1px solid var(--v7d8-line); transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer; display: flex; flex-direction: column;
}
.v7d8-card:hover { transform: translateY(-3px); box-shadow: var(--v7d8-shadow); }
.v7d8-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #222; }
.v7d8-card-name {
  padding: .5rem .4rem .7rem; font-size: 1.15rem; text-align: center; color: var(--v7d8-text);
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v7d8-game-block { margin-top: 1.2rem; }
.v7d8-game-block h3 { font-size: 1.45rem; margin: 0 0 .8rem; color: var(--v7d8-primary); display: flex; align-items: center; gap: .5rem; }

/* ---------- Feature / highlight blocks ---------- */
.v7d8-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.v7d8-tile {
  background: linear-gradient(135deg, rgba(32,178,170,.16), rgba(60,179,113,.10));
  border: 1px solid var(--v7d8-line); border-radius: var(--v7d8-radius); padding: 1.2rem;
}
.v7d8-tile h4 { margin: 0 0 .5rem; font-size: 1.4rem; color: var(--v7d8-text); }
.v7d8-tile p { margin: 0; color: var(--v7d8-muted); font-size: 1.25rem; }

.v7d8-banner {
  background: linear-gradient(135deg, var(--v7d8-hot), var(--v7d8-primary));
  border-radius: var(--v7d8-radius); padding: 1.4rem; color: #fff; box-shadow: var(--v7d8-shadow);
}
.v7d8-banner h3 { margin: 0 0 .5rem; font-size: 1.6rem; }
.v7d8-banner p { margin: 0 0 1rem; font-size: 1.25rem; opacity: .95; }

/* ---------- Testimonial ---------- */
.v7d8-testimonial {
  background: var(--v7d8-surface); border-left: 4px solid var(--v7d8-success);
  border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: .8rem;
}
.v7d8-testimonial p { margin: 0 0 .4rem; font-size: 1.25rem; color: var(--v7d8-text); }
.v7d8-testimonial span { color: var(--v7d8-primary); font-size: 1.15rem; font-weight: 700; }

/* ---------- Winner strip ---------- */
.v7d8-winner {
  display: flex; align-items: center; gap: .8rem; background: var(--v7d8-surface);
  padding: .7rem .9rem; border-radius: 10px; margin-bottom: .6rem; border: 1px solid var(--v7d8-line);
}
.v7d8-winner b { color: var(--v7d8-success); }
.v7d8-winner small { color: var(--v7d8-muted); margin-left: auto; }

/* ---------- Payment chips ---------- */
.v7d8-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.v7d8-chip {
  background: var(--v7d8-surface); border: 1px solid var(--v7d8-line); border-radius: 30px;
  padding: .5rem 1rem; font-size: 1.2rem; color: var(--v7d8-text); display: flex; align-items: center; gap: .4rem;
}

/* ---------- App CTA ---------- */
.v7d8-appcta { display: flex; gap: 1rem; align-items: center; background: var(--v7d8-surface); border-radius: var(--v7d8-radius); padding: 1rem; border: 1px solid var(--v7d8-line); }
.v7d8-appcta img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }

/* ---------- Prose (SEO text) ---------- */
.v7d8-prose p { margin: 0 0 .9rem; color: var(--v7d8-text); font-size: 1.3rem; line-height: 1.55; }
.v7d8-prose h2 { font-size: 1.6rem; margin: 1.4rem 0 .6rem; color: var(--v7d8-primary); }
.v7d8-prose h3 { font-size: 1.4rem; margin: 1.1rem 0 .5rem; color: var(--v7d8-success); }
.v7d8-prose ul { padding-left: 1.3rem; color: var(--v7d8-muted); margin: 0 0 1rem; }
.v7d8-prose li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.v7d8-footer {
  background: var(--v7d8-surface); border-top: 2px solid var(--v7d8-primary);
  padding: 1.6rem 0 2rem; margin-top: 1.4rem; color: var(--v7d8-muted);
}
.v7d8-footer h4 { color: var(--v7d8-text); font-size: 1.35rem; margin: .6rem 0 .5rem; }
.v7d8-footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.v7d8-footer-links a { color: var(--v7d8-muted); font-size: 1.2rem; }
.v7d8-footer-links a:hover { color: var(--v7d8-primary); }
.v7d8-footer-promos { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.v7d8-footer-copy { font-size: 1.15rem; opacity: .8; border-top: 1px solid var(--v7d8-line); padding-top: 1rem; margin-top: 1rem; }

/* ---------- Bottom nav ---------- */
.v7d8-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--v7d8-bottom-h);
  background: rgba(31,31,36,.96); backdrop-filter: blur(6px);
  border-top: 1px solid var(--v7d8-line); z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch;
}
.v7d8-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v7d8-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  cursor: pointer; transition: color .15s ease, transform .15s ease;
}
.v7d8-bottom-nav-btn .material-icons,
.v7d8-bottom-nav-btn ion-icon,
.v7d8-bottom-nav-btn i { font-size: 22px; }
.v7d8-bottom-nav-btn span { font-size: 11px; }
.v7d8-bottom-nav-btn:active { transform: scale(.92); }
.v7d8-nav-current { color: var(--v7d8-primary); }
.v7d8-bottom-nav-btn:hover { color: var(--v7d8-primary); }
.v7d8-nav-badge {
  position: absolute; transform: translate(14px,-8px); background: var(--v7d8-hot); color: #fff;
  font-size: 10px; padding: 1px 5px; border-radius: 8px; font-weight: 700;
}
.v7d8-bottom-nav-btn { position: relative; }

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

/* ---------- Responsive ---------- */
@media (min-width: 431px) {
  .v7d8-grid { grid-template-columns: repeat(4, 1fr); }
  .v7d8-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .v7d8-container, .v7d8-wrapper, .v7d8-header-inner { max-width: 960px; }
  .v7d8-grid { grid-template-columns: repeat(6, 1fr); }
  .v7d8-bottom-nav { display: none; }
  .v7d8-main { padding-bottom: 2rem; }
  .v7d8-carousel-slide img { height: 320px; }
}
