/* ============================================================
 * me777 vip - theme-7916.css
 * Mobile-first casino theme. Max content width 430px.
 * Palette: #0F0F23 / #006400 / #00FF7F / #CC99FF / #FFFFFF
 * All custom classes use the v656- prefix.
 * ============================================================ */

:root {
  --v656-bg: #0F0F23;
  --v656-bg-2: #15153a;
  --v656-primary: #006400;
  --v656-accent: #00FF7F;
  --v656-purple: #CC99FF;
  --v656-text: #FFFFFF;
  --v656-muted: #B8B8D1;
  --v656-card: #1c1c44;
  --v656-border: rgba(204, 153, 255, 0.22);
  --v656-radius: 14px;
  --v656-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --v656-header-h: 58px;
  --v656-bnav-h: 62px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--v656-bg);
  color: var(--v656-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v656-accent); text-decoration: none; }
a:hover { color: var(--v656-purple); }

/* Layout */
.v656-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}
.v656-container { padding: 14px 12px 24px; }
.v656-grid {
  display: grid;
  gap: 10px;
}
.v656-main {
  padding-top: calc(var(--v656-header-h) + 6px);
}

/* Header */
.v656-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v656-header-h);
  background: linear-gradient(90deg, #0F0F23 0%, #1a1a44 60%, #006400 140%);
  border-bottom: 1px solid var(--v656-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow .25s ease;
}
.v656-header-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.v656-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.v656-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v656-text);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: .3px;
}
.v656-brand img { width: 30px; height: 30px; border-radius: 8px; }
.v656-brand span b { color: var(--v656-accent); }
.v656-header-actions { display: flex; align-items: center; gap: 6px; }
.v656-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  min-height: 38px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.v656-btn:active { transform: scale(.96); }
.v656-btn-login {
  background: transparent;
  color: var(--v656-text);
  border: 1.5px solid var(--v656-accent);
}
.v656-btn-login:hover { background: rgba(0,255,127,.12); }
.v656-btn-register {
  background: linear-gradient(90deg, #00FF7F, #CC99FF);
  color: #0F0F23;
  box-shadow: 0 4px 14px rgba(0,255,127,.35);
}
.v656-menu-toggle {
  background: transparent;
  border: none;
  color: var(--v656-text);
  font-size: 2rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
#v656-mobile-menu {
  position: fixed;
  top: var(--v656-header-h);
  left: 0; right: 0;
  background: var(--v656-bg-2);
  border-bottom: 1px solid var(--v656-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 9999;
}
#v656-mobile-menu.v656-menu-open { max-height: 460px; }
.v656-menu-list {
  list-style: none;
  padding: 8px 14px 14px;
  display: grid;
  gap: 6px;
}
.v656-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  color: var(--v656-text);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  font-size: 1.45rem;
}
.v656-menu-list a:hover { background: rgba(0,255,127,.12); color: var(--v656-accent); }
.v656-menu-list a i { color: var(--v656-purple); width: 22px; text-align: center; }

/* Hero / carousel */
.v656-carousel {
  position: relative;
  border-radius: var(--v656-radius);
  overflow: hidden;
  box-shadow: var(--v656-shadow);
  margin-top: 10px;
}
.v656-slide {
  display: none;
  position: relative;
}
.v656-slide.v656-slide-active { display: block; }
.v656-slide img { width: 100%; height: 190px; object-fit: cover; cursor: pointer; }
.v656-slide-cap {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(15,15,35,.72);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--v656-accent);
}
.v656-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 5px;
}
.v656-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.v656-dot.v656-dot-active { background: var(--v656-accent); }

/* Sections */
.v656-section { margin: 22px 0 6px; }
.v656-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--v656-text);
  border-left: 4px solid var(--v656-accent);
  padding-left: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v656-section-title i { color: var(--v656-purple); }
.v656-lead { color: var(--v656-muted); font-size: 1.4rem; }
.v656-text b, .v656-text strong { color: var(--v656-accent); }
.v656-text .v656-kw { color: var(--v656-purple); font-weight: 700; }

/* Game grids */
.v656-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v656-game-card {
  background: var(--v656-card);
  border: 1px solid var(--v656-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.v656-game-card:hover { transform: translateY(-3px); box-shadow: var(--v656-shadow); border-color: var(--v656-accent); }
.v656-game-card img { width: 100%; height: 92px; object-fit: cover; }
.v656-game-card .v656-game-name {
  padding: 6px 4px;
  font-size: 1.15rem;
  color: var(--v656-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards */
.v656-card {
  background: var(--v656-card);
  border: 1px solid var(--v656-border);
  border-radius: var(--v656-radius);
  padding: 14px;
  box-shadow: var(--v656-shadow);
}
.v656-card h3 { color: var(--v656-accent); margin-bottom: 8px; font-size: 1.6rem; }
.v656-card p { color: var(--v656-muted); font-size: 1.35rem; }

/* Feature list */
.v656-features { display: grid; gap: 10px; }
.v656-feature {
  display: flex;
  gap: 10px;
  background: var(--v656-card);
  border: 1px solid var(--v656-border);
  border-radius: 12px;
  padding: 12px;
}
.v656-feature .v656-ic {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #006400, #00FF7F);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.7rem;
}
.v656-feature h4 { color: var(--v656-text); font-size: 1.45rem; margin-bottom: 4px; }
.v656-feature p { color: var(--v656-muted); font-size: 1.3rem; }

/* RTP / stats */
.v656-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v656-stat {
  background: linear-gradient(135deg, #15153a, #006400);
  border: 1px solid var(--v656-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.v656-stat .v656-stat-num { font-size: 2.1rem; font-weight: 800; color: var(--v656-accent); }
.v656-stat .v656-stat-label { font-size: 1.2rem; color: var(--v656-muted); }

/* CTA block */
.v656-cta {
  background: linear-gradient(120deg, #006400, #0F0F23 70%);
  border: 1px solid var(--v656-accent);
  border-radius: var(--v656-radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--v656-shadow);
}
.v656-cta h3 { color: var(--v656-accent); margin-bottom: 8px; font-size: 1.8rem; }
.v656-cta p { color: var(--v656-text); margin-bottom: 12px; font-size: 1.35rem; }
.v656-cta .v656-btn-register { font-size: 1.55rem; padding: 12px 22px; }

/* Testimonials */
.v656-testi { display: grid; gap: 10px; }
.v656-testi-item {
  background: var(--v656-card);
  border-left: 3px solid var(--v656-purple);
  border-radius: 10px;
  padding: 12px;
}
.v656-testi-item .v656-stars { color: #FFD24A; margin-bottom: 4px; }
.v656-testi-item p { font-size: 1.3rem; color: var(--v656-muted); }
.v656-testi-item .v656-author { margin-top: 6px; font-size: 1.2rem; color: var(--v656-accent); font-weight: 700; }

/* Payment row */
.v656-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.v656-pay span {
  background: var(--v656-card);
  border: 1px solid var(--v656-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--v656-text);
}

/* Winners list */
.v656-winners { display: grid; gap: 6px; }
.v656-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--v656-card);
  border-radius: 8px; padding: 8px 12px;
  font-size: 1.3rem;
}
.v656-winner .v656-wname { color: var(--v656-text); }
.v656-winner .v656-wamt { color: var(--v656-accent); font-weight: 800; }

/* Footer */
.v656-footer {
  background: #08081c;
  border-top: 1px solid var(--v656-border);
  padding: 22px 14px calc(var(--v656-bnav-h) + 24px);
  margin-top: 24px;
}
.v656-footer p { color: var(--v656-muted); font-size: 1.3rem; margin-bottom: 10px; }
.v656-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.v656-footer-links a {
  background: var(--v656-card);
  border: 1px solid var(--v656-border);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--v656-text);
  font-size: 1.25rem;
}
.v656-footer-links a:hover { color: var(--v656-accent); border-color: var(--v656-accent); }
.v656-promo-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v656-promo-row .v656-btn-register { font-size: 1.3rem; padding: 8px 14px; }
.v656-copy { font-size: 1.2rem; color: var(--v656-muted); margin-top: 12px; border-top: 1px solid var(--v656-border); padding-top: 10px; }

/* Bottom nav */
.v656-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--v656-bnav-h);
  background: linear-gradient(90deg, #0F0F23, #15153a);
  border-top: 1px solid var(--v656-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.v656-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--v656-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color .2s ease, transform .15s ease;
}
.v656-bnav-btn:active { transform: scale(.9); }
.v656-bnav-btn .v656-ic { font-size: 2.2rem; }
.v656-bnav-btn.v656-bnav-active { color: var(--v656-accent); }
.v656-bnav-btn.v656-bnav-promo { color: var(--v656-purple); }

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

.v656-no-scroll { overflow: hidden; }

/* Mobile content clearance for fixed bottom nav */
@media (max-width: 768px) {
  .v656-main { padding-bottom: calc(var(--v656-bnav-h) + 14px); }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v656-bnav { display: none; }
  .v656-footer { padding-bottom: 22px; }
}

/* 430px optimized mobile block */
@media (max-width: 430px) {
  body { font-size: 1.45rem; }
  .v656-wrapper { padding: 0 10px; }
  .v656-game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .v656-game-card img { height: 80px; }
  .v656-game-card .v656-game-name { font-size: 1.1rem; }
  .v656-section-title { font-size: 1.65rem; }
  .v656-slide img { height: 165px; }
  .v656-btn { padding: 8px 12px; font-size: 1.3rem; }
  .v656-brand { font-size: 1.55rem; }
  .v656-brand img { width: 26px; height: 26px; }
  .v656-cta h3 { font-size: 1.6rem; }
  .v656-stat .v656-stat-num { font-size: 1.9rem; }
  .v656-bnav-btn .v656-ic { font-size: 2rem; }
}
