/*!
 * ph222 vip login - layout-b709.css
 * Mobile-first casino homepage styles. Every custom selector uses the
 * "v92d-" prefix and every CSS variable uses the "--v92d-" prefix so the
 * stylesheet stays isolated when deployed alongside shared assets.
 *
 * Palette: #0C0C0C (deep background) + #F0E68C (khaki accent text).
 */

:root {
  --v92d-bg: #0C0C0C;
  --v92d-bg-soft: #161616;
  --v92d-bg-card: #1c1c1c;
  --v92d-bg-card-hi: #242424;
  --v92d-primary: #F0E68C;
  --v92d-primary-strong: #ffd95c;
  --v92d-text: #EAEAEA;
  --v92d-text-dim: #A8A8A8;
  --v92d-border: rgba(240, 230, 140, 0.18);
  --v92d-danger: #e0563a;
  --v92d-success: #46c47e;
  --v92d-accent: #c1272d;
  --v92d-radius: 12px;
  --v92d-radius-sm: 8px;
  --v92d-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --v92d-header-h: 56px;
  --v92d-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #1a1a1a 0%, var(--v92d-bg) 65%);
  color: var(--v92d-text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--v92d-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--v92d-primary); font-weight: 700; line-height: 1.35; margin: 0 0 .6rem; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1rem; }

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

.v92d-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

main { padding-bottom: calc(var(--v92d-bottomnav-h) + 24px); }

/* ---------- Header ---------- */
.v92d-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v92d-header-h);
  background: linear-gradient(180deg, #000000 0%, #141414 100%);
  border-bottom: 1px solid var(--v92d-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.v92d-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--v92d-primary);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .2px;
}
.v92d-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v92d-brand span { white-space: nowrap; }

.v92d-actions { display: flex; align-items: center; gap: .5rem; }

.v92d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform .15s ease, filter .2s ease;
}
.v92d-btn:active { transform: scale(0.96); }
.v92d-btn--login {
  background: transparent;
  color: var(--v92d-primary);
  border: 1px solid var(--v92d-primary);
}
.v92d-btn--register {
  background: linear-gradient(135deg, var(--v92d-primary) 0%, #e8b94a 100%);
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(240, 230, 140, 0.35);
}
.v92d-btn--block { display: flex; width: 100%; padding: 1rem; font-size: 1.5rem; }
.v92d-btn--lg { padding: 1.1rem 1.4rem; font-size: 1.6rem; }

.v92d-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--v92d-border);
  color: var(--v92d-primary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ---------- Mobile slide-down menu ---------- */
.v92d-menu {
  position: fixed;
  top: var(--v92d-header-h);
  left: 0; right: 0;
  background: #0f0f0f;
  border-bottom: 1px solid var(--v92d-border);
  transform: translateY(-130%);
  transition: transform .28s ease;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 1.2rem 1.4rem;
}
.v92d-menu--open { transform: translateY(0); }
.v92d-menu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.v92d-menu-row a {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem;
  background: var(--v92d-bg-card);
  border: 1px solid var(--v92d-border);
  border-radius: var(--v92d-radius-sm);
  color: var(--v92d-text);
  font-size: 1.3rem;
}
.v92d-menu-row a i { color: var(--v92d-primary); font-size: 1.6rem; }
.v92d-menu-row a:hover { text-decoration: none; background: var(--v92d-bg-card-hi); }

/* ---------- Carousel ---------- */
.v92d-carousel {
  position: relative;
  margin-top: calc(var(--v92d-header-h) + 1rem);
  border-radius: var(--v92d-radius);
  overflow: hidden;
  box-shadow: var(--v92d-shadow);
  aspect-ratio: 16/9;
  background: #0a0a0a;
}
.v92d-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--carousel-fade, 320ms) ease;
  cursor: pointer;
}
.v92d-slide--active { opacity: 1; }
.v92d-slide img { width: 100%; height: 100%; object-fit: cover; }
.v92d-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 100%);
  color: #fff;
}
.v92d-slide-overlay strong { color: var(--v92d-primary); font-size: 1.7rem; display: block; }
.v92d-slide-overlay span { font-size: 1.3rem; color: var(--v92d-text-dim); }
.v92d-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--v92d-border);
  color: var(--v92d-primary);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.v92d-arrow--prev { left: 8px; }
.v92d-arrow--next { right: 8px; }
.v92d-dots {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.v92d-slide-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; padding: 0; cursor: pointer;
}
.v92d-slide-dot--active { background: var(--v92d-primary); }

/* ---------- Section + chip navigation ---------- */
.v92d-section { padding: 1.6rem 0; }
.v92d-section-title {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.v92d-section-title i { color: var(--v92d-primary); }
.v92d-section-title h2 { margin: 0; flex: 1; }
.v92d-section-title .v92d-link { font-size: 1.2rem; color: var(--v92d-primary); }

.v92d-chips {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.v92d-chips::-webkit-scrollbar { display: none; }
.v92d-chip {
  white-space: nowrap;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--v92d-bg-card);
  border: 1px solid var(--v92d-border);
  color: var(--v92d-text);
  font-size: 1.2rem;
  cursor: pointer;
}
.v92d-chip--active {
  background: var(--v92d-primary);
  color: #1a1a1a;
  border-color: var(--v92d-primary);
}

/* ---------- Game grid ---------- */
.v92d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.v92d-card {
  background: var(--v92d-bg-card);
  border-radius: var(--v92d-radius-sm);
  overflow: hidden;
  border: 1px solid var(--v92d-border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
  min-height: 44px;
}
.v92d-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--v92d-primary); }
.v92d-card:active { transform: scale(0.97); }
.v92d-card-img {
  aspect-ratio: 1/1;
  background: #050505;
  display: flex; align-items: center; justify-content: center;
}
.v92d-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v92d-card-name {
  padding: .5rem .4rem .6rem;
  font-size: 1.15rem;
  color: var(--v92d-text);
  text-align: center;
  line-height: 1.25;
  min-height: 32px;
}

.v92d-cat-head {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.6rem 0 .8rem;
}
.v92d-cat-head i { color: var(--v92d-primary); font-size: 1.8rem; }
.v92d-cat-head h3 { margin: 0; font-size: 1.55rem; }
.v92d-cat-head .v92d-cat-count { color: var(--v92d-text-dim); font-size: 1.15rem; }

/* ---------- Info / promo modules ---------- */
.v92d-panel {
  background: var(--v92d-bg-card);
  border: 1px solid var(--v92d-border);
  border-radius: var(--v92d-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.v92d-panel h3 { margin-top: 0; }
.v92d-list { margin: 0; padding-left: 1.4rem; }
.v92d-list li { margin-bottom: .55rem; }

.v92d-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
.v92d-feature {
  background: var(--v92d-bg-card-hi);
  border-radius: var(--v92d-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--v92d-border);
}
.v92d-feature i { color: var(--v92d-primary); font-size: 2.2rem; margin-bottom: .4rem; }
.v92d-feature strong { display: block; color: var(--v92d-primary); font-size: 1.3rem; margin-bottom: .2rem; }
.v92d-feature span { font-size: 1.15rem; color: var(--v92d-text-dim); line-height: 1.35; }

.v92d-rtp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: .5rem;
  padding: .7rem .2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.2rem;
}
.v92d-rtp-row:last-child { border-bottom: none; }
.v92d-rtp-row span:first-child { color: var(--v92d-text); }
.v92d-rtp-row .v92d-rtp-val { color: var(--v92d-success); font-weight: 700; }
.v92d-rtp-row .v92d-rtp-tag { color: var(--v92d-text-dim); }

.v92d-testimonial {
  background: var(--v92d-bg-card-hi);
  border-left: 3px solid var(--v92d-primary);
  padding: 1rem 1.1rem;
  border-radius: var(--v92d-radius-sm);
  margin-bottom: .8rem;
}
.v92d-testimonial p { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.4; }
.v92d-testimonial footer { color: var(--v92d-text-dim); font-size: 1.1rem; }

.v92d-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.v92d-pay {
  background: var(--v92d-bg-card-hi);
  border: 1px solid var(--v92d-border);
  border-radius: var(--v92d-radius-sm);
  padding: .7rem .2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--v92d-text-dim);
}
.v92d-pay i { color: var(--v92d-primary); font-size: 1.8rem; display: block; margin-bottom: .2rem; }

.v92d-winner {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.2rem;
}
.v92d-winner:last-child { border-bottom: none; }
.v92d-winner strong { color: var(--v92d-primary); }
.v92d-winner .v92d-amount { margin-left: auto; color: var(--v92d-success); font-weight: 700; }

.v92d-cta-band {
  background: linear-gradient(135deg, #1d1503 0%, #2a2008 100%);
  border: 1px solid var(--v92d-primary);
  border-radius: var(--v92d-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.2rem 0;
}
.v92d-cta-band h3 { margin-top: 0; }
.v92d-cta-band p { color: var(--v92d-text-dim); margin-bottom: 1rem; }

.v92d-promo-link {
  color: var(--v92d-primary);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.v92d-footer {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--v92d-border);
  color: var(--v92d-text-dim);
  font-size: 1.2rem;
  line-height: 1.5;
}
.v92d-footer h4 { color: var(--v92d-primary); font-size: 1.3rem; margin: .4rem 0 .6rem; }
.v92d-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin: 1rem 0;
}
.v92d-footer-links a { color: var(--v92d-text); font-size: 1.15rem; }
.v92d-footer-promo {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0;
}
.v92d-footer-promo button {
  flex: 1 1 45%;
  background: var(--v92d-primary);
  color: #1a1a1a;
  border: none;
  border-radius: var(--v92d-radius-sm);
  padding: .8rem;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
}
.v92d-footer-promo button.v92d-footer-outline {
  background: transparent;
  color: var(--v92d-primary);
  border: 1px solid var(--v92d-primary);
}
.v92d-copyright { text-align: center; padding: 1rem 0 1.4rem; color: var(--v92d-text-dim); font-size: 1.1rem; }

/* ---------- Mobile bottom nav ---------- */
.v92d-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--v92d-bottomnav-h);
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  border-top: 1px solid var(--v92d-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.v92d-bottomnav a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--v92d-text-dim);
  text-decoration: none;
  font-size: 1.05rem;
  padding: .35rem 0;
  position: relative;
  transition: color .2s ease;
}
.v92d-bottomnav a i, .v92d-bottomnav a span.material-icons, .v92d-bottomnav a ion-icon {
  font-size: 2.2rem;
  margin-bottom: .15rem;
}
.v92d-bottomnav a:hover { color: var(--v92d-primary); text-decoration: none; }
.v92d-bottomnav a:active { transform: scale(0.93); }
.v92d-bottomnav a.v92d-active { color: var(--v92d-primary); }
.v92d-bottomnav a.v92d-active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 26px; height: 3px;
  background: var(--v92d-primary);
  border-radius: 0 0 4px 4px;
}
.v92d-bottomnav .v92d-badge {
  position: absolute;
  top: 6px; right: 50%; transform: translateX(20px);
  background: var(--v92d-accent);
  color: #fff;
  border-radius: 999px;
  font-size: .9rem;
  padding: 0 .35rem;
  line-height: 1.4;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v92d-bottomnav { display: none; }
  main { padding-bottom: 24px; }
}

/* Larger phones still cap to the 430px brand container. */
@media (min-width: 431px) and (max-width: 768px) {
  .v92d-header, .v92d-menu, .v92d-bottomnav { left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; }
  .v92d-menu.v92d-menu--open { transform: translateX(-50%) translateY(0); }
}
