/* oklive - oklive.homes - core base CSS */
/* All custom classes use the v106- prefix. */

:root {
  --v106-primary: #DA70D6;
  --v106-primary-dark: #800080;
  --v106-accent: #FFF176;
  --v106-bg: #1E1E1E;
  --v106-bg-light: #2a2a2a;
  --v106-text: #AFEEEE;
  --v106-text-light: #f5f5f5;
  --v106-border: #3a3a3a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--v106-bg);
  color: var(--v106-text-light);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.v106-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1E1E1E 0%, #2a1a2a 100%);
  border-bottom: 1px solid var(--v106-primary-dark);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.v106-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--v106-accent);
  font-weight: 700;
  font-size: 1.8rem;
}
.v106-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v106-logo span { background: linear-gradient(90deg, var(--v106-accent), var(--v106-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.v106-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v106-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 24px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 36px;
}
.v106-btn:hover { transform: scale(1.04); }
.v106-btn-register {
  background: linear-gradient(90deg, var(--v106-primary), var(--v106-primary-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(218,112,214,0.4);
}
.v106-btn-login {
  background: transparent;
  color: var(--v106-accent);
  border: 1px solid var(--v106-accent);
}
.v106-menu-btn {
  background: transparent;
  border: none;
  color: var(--v106-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
}

/* ---------- Mobile menu ---------- */
.v106-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--v106-bg-light);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v106-primary-dark);
}
.v106-mobile-menu.v106-menu-open { right: 0; }
.v106-mobile-menu a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--v106-border);
  color: var(--v106-text-light);
  font-size: 1.4rem;
}
.v106-mobile-menu a:hover { color: var(--v106-accent); padding-left: 0.6rem; }
.v106-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--v106-accent);
  font-size: 2.4rem;
  cursor: pointer;
}
.v106-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}
.v106-overlay.v106-menu-open { display: block; }

/* ---------- Main / Hero ---------- */
main { padding-top: 6rem; }
.v106-carousel {
  position: relative;
  margin: 1rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.v106-slide { display: none; }
.v106-slide img { width: 100%; height: 180px; object-fit: cover; cursor: pointer; }
.v106-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1.5rem 1rem 1rem;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.v106-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.v106-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.v106-dot.v106-dot-active { background: var(--v106-accent); }

/* ---------- Sections ---------- */
.v106-section { padding: 1.5rem 1rem; }
.v106-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--v106-accent);
  border-left: 4px solid var(--v106-primary);
  padding-left: 0.8rem;
}
.v106-section-text { font-size: 1.3rem; color: var(--v106-text-light); margin-bottom: 0.8rem; }
.v106-promo-link {
  color: var(--v106-accent);
  font-weight: 700;
  cursor: pointer;
}
.v106-promo-link:hover { color: var(--v106-primary); text-decoration: underline; }

/* ---------- Game grid ---------- */
.v106-cat-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v106-primary);
  margin: 1.2rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v106-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v106-game-card {
  background: var(--v106-bg-light);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--v106-border);
}
.v106-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(218,112,214,0.3);
  border-color: var(--v106-primary);
}
.v106-game-card img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.v106-game-name {
  font-size: 1.1rem;
  color: var(--v106-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Features / cards ---------- */
.v106-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.v106-card {
  background: var(--v106-bg-light);
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid var(--v106-border);
}
.v106-card h3 { color: var(--v106-accent); font-size: 1.5rem; margin-bottom: 0.6rem; }
.v106-card p { font-size: 1.25rem; color: var(--v106-text-light); }

.v106-stats-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.8rem; }
.v106-stat {
  flex: 1 1 45%;
  background: var(--v106-bg-light);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--v106-primary-dark);
}
.v106-stat-num { font-size: 1.8rem; font-weight: 700; color: var(--v106-accent); }
.v106-stat-label { font-size: 1.1rem; color: var(--v106-text); }

/* ---------- FAQ ---------- */
.v106-faq-item { border-bottom: 1px solid var(--v106-border); padding: 0.8rem 0; }
.v106-faq-q {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--v106-accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.v106-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s; font-size: 1.25rem; color: var(--v106-text-light); }
.v106-faq-open .v106-faq-a { max-height: 300px; padding-top: 0.6rem; }

/* ---------- Testimonials ---------- */
.v106-testimonial {
  background: var(--v106-bg-light);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v106-primary);
}
.v106-testimonial-name { color: var(--v106-accent); font-weight: 600; font-size: 1.3rem; }

/* ---------- Payment / winners ---------- */
.v106-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v106-pay-badge {
  background: var(--v106-bg-light);
  border: 1px solid var(--v106-border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--v106-text);
}
.v106-winner {
  display: flex; justify-content: space-between;
  background: var(--v106-bg-light);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.v106-winner-amount { color: var(--v106-accent); font-weight: 700; }

/* ---------- CTA ---------- */
.v106-cta {
  background: linear-gradient(135deg, var(--v106-primary-dark), var(--v106-primary));
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  margin: 1.2rem 1rem;
}
.v106-cta h2 { color: #fff; font-size: 1.8rem; margin-bottom: 0.6rem; }
.v106-cta p { color: var(--v106-accent); font-size: 1.3rem; margin-bottom: 1rem; }
.v106-cta .v106-btn { background: var(--v106-accent); color: var(--v106-bg); }

/* ---------- Footer ---------- */
.v106-footer {
  background: #161616;
  padding: 1.5rem 1rem 5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--v106-primary-dark);
}
.v106-footer-brand { color: var(--v106-accent); font-size: 1.4rem; margin-bottom: 0.6rem; font-weight: 700; }
.v106-footer-text { font-size: 1.2rem; color: var(--v106-text); margin-bottom: 1rem; }
.v106-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.v106-footer-links a {
  background: var(--v106-bg-light);
  border: 1px solid var(--v106-border);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 1.15rem;
  color: var(--v106-text);
}
.v106-footer-links a:hover { color: var(--v106-accent); border-color: var(--v106-primary); }
.v106-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.v106-footer-promo .v106-btn { font-size: 1.15rem; padding: 0.5rem 1rem; }
.v106-copyright { font-size: 1.1rem; color: #777; text-align: center; margin-top: 1rem; }

/* ---------- Bottom nav ---------- */
.v106-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #2a1a2a, #1E1E1E);
  border-top: 1px solid var(--v106-primary-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.v106-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v106-text);
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}
.v106-nav-item:hover { color: var(--v106-accent); transform: translateY(-2px); }
.v106-nav-item.active { color: var(--v106-accent); }
.v106-nav-item i, .v106-nav-item .material-icons-outlined, .v106-nav-item ion-icon { font-size: 24px; }
.v106-nav-item .material-icons-outlined { font-size: 24px; }
.v106-nav-item ion-icon { font-size: 24px; }
.v106-nav-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--v106-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Back to top ---------- */
.v106-back-top {
  position: fixed;
  bottom: 76px; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--v106-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}
.v106-back-top.v106-back-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v106-bottom-nav { display: none; }
  main { padding-bottom: 0; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
