/* ===========================================================
   theme-6b69.css - Shared stylesheet for 1xbet app download apk
   All custom classes use the dynamic prefix "w6b69-".
   Palette: #273746 (dark bg) | #F0F8FF (light text)
            #DB7093 (primary) | #FA8072 (accent) | #A0522D (warm)
   Mobile-first: container max-width: 430px.
   =========================================================== */

:root {
  --w6b69-primary: #DB7093;
  --w6b69-accent: #FA8072;
  --w6b69-warm: #A0522D;
  --w6b69-bg: #273746;
  --w6b69-bg-2: #1f2c38;
  --w6b69-bg-3: #2f4253;
  --w6b69-text: #F0F8FF;
  --w6b69-muted: #b9c6d2;
  --w6b69-gold: #f5c451;
  --w6b69-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  --w6b69-radius: 14px;
  --w6b69-radius-sm: 9px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5rem;
  color: var(--w6b69-text);
  background: linear-gradient(160deg, #273746 0%, #1f2c38 55%, #273746 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--w6b69-accent); text-decoration: none; }
a:hover { color: var(--w6b69-primary); }

.w6b69-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

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

main { padding-bottom: 92px; }

/* ===================== Header ===================== */
.w6b69-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #273746 0%, #2f4253 100%);
  border-bottom: 2px solid var(--w6b69-primary);
  box-shadow: var(--w6b69-shadow);
}

.w6b69-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.w6b69-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.w6b69-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.w6b69-logo-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--w6b69-text);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w6b69-logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--w6b69-accent); }

.w6b69-header-actions { display: flex; align-items: center; gap: 6px; }

.w6b69-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--w6b69-text);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.w6b69-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.w6b69-btn-login { background: transparent; border: 1.5px solid var(--w6b69-accent); color: var(--w6b69-accent); padding: 0 12px; }
.w6b69-btn-register { background: linear-gradient(90deg, var(--w6b69-primary), var(--w6b69-accent)); box-shadow: 0 3px 10px rgba(219, 112, 147, .45); }

.w6b69-menu-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--w6b69-text);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}
.w6b69-menu-btn:hover { background: rgba(255,255,255,.08); }

/* ===================== Mobile nav ===================== */
.w6b69-mobile-nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--w6b69-bg-2);
  border-bottom: 2px solid var(--w6b69-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.w6b69-mobile-nav.w6b69-menu-open { max-height: 540px; box-shadow: var(--w6b69-shadow); }

.w6b69-mobile-nav ul { list-style: none; margin: 0; padding: 6px 14px 12px; }
.w6b69-mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.w6b69-mobile-nav li:last-child { border-bottom: none; }
.w6b69-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 6px;
  color: var(--w6b69-text);
  font-size: 14px;
  font-weight: 600;
}
.w6b69-mobile-nav a i.material-icons,
.w6b69-mobile-nav a i { color: var(--w6b69-accent); font-size: 20px; }
.w6b69-mobile-nav a:hover { color: var(--w6b69-primary); }

/* ===================== Page offset (fixed header) ===================== */
.w6b69-page-top { height: 56px; }

/* ===================== Carousel ===================== */
.w6b69-carousel {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--w6b69-radius);
  overflow: hidden;
  box-shadow: var(--w6b69-shadow);
  background: var(--w6b69-bg-3);
}
.w6b69-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.w6b69-slide.w6b69-slide-active { display: block; }
.w6b69-slide img { width: 100%; height: 200px; object-fit: cover; }
.w6b69-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 14px;
  background: linear-gradient(0deg, rgba(39,55,70,.92) 0%, rgba(39,55,70,0) 100%);
  color: var(--w6b69-text);
}
.w6b69-slide-cap h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.w6b69-slide-cap p { margin: 0; font-size: 12px; color: var(--w6b69-muted); }

.w6b69-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.w6b69-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(240,248,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.w6b69-dot.w6b69-dot-active { background: var(--w6b69-accent); transform: scale(1.2); }

/* ===================== Section / Headings ===================== */
.w6b69-section { margin: 22px 0; }
.w6b69-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--w6b69-text);
}
.w6b69-section-title i { color: var(--w6b69-accent); font-size: 22px; }
.w6b69-section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--w6b69-primary), var(--w6b69-accent));
  display: inline-block;
}

h1.w6b69-h1 {
  font-size: 22px;
  line-height: 1.3;
  margin: 6px 0 10px;
  font-weight: 800;
  color: var(--w6b69-text);
}
h2.w6b69-h2 { font-size: 18px; font-weight: 800; margin: 18px 0 8px; color: var(--w6b69-text); }
h3.w6b69-h3 { font-size: 15px; font-weight: 700; margin: 14px 0 6px; color: var(--w6b69-accent); }

.w6b69-lead { font-size: 14px; color: var(--w6b69-muted); margin: 0 0 12px; }
.w6b69-p { font-size: 14px; color: var(--w6b69-text); margin: 0 0 10px; }

/* ===================== Game grid ===================== */
.w6b69-cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 6px; }
.w6b69-cat-tab {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--w6b69-bg-3);
  color: var(--w6b69-text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.w6b69-cat-tab-active { background: linear-gradient(90deg, var(--w6b69-primary), var(--w6b69-accent)); border-color: transparent; }

.w6b69-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.w6b69-grid-4 { grid-template-columns: repeat(4, 1fr); }

.w6b69-card {
  background: var(--w6b69-bg-2);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--w6b69-radius-sm);
  padding: 6px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  display: block;
  color: var(--w6b69-text);
}
.w6b69-card:hover { transform: translateY(-2px); box-shadow: var(--w6b69-shadow); border-color: var(--w6b69-primary); color: var(--w6b69-text); }
.w6b69-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 7px; margin-bottom: 4px; }
.w6b69-card-name { font-size: 11px; line-height: 1.25; font-weight: 600; color: var(--w6b69-text); min-height: 28px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.w6b69-cat-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; }
.w6b69-cat-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--w6b69-text); display: flex; align-items: center; gap: 6px; }
.w6b69-cat-head h3 i { color: var(--w6b69-accent); }
.w6b69-cat-link { font-size: 12px; color: var(--w6b69-accent); font-weight: 700; }

/* ===================== Cards / info blocks ===================== */
.w6b69-info-card {
  background: var(--w6b69-bg-2);
  border-radius: var(--w6b69-radius);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: var(--w6b69-shadow);
}
.w6b69-info-card h3 { margin-top: 0; }
.w6b69-info-list { margin: 0; padding-left: 18px; }
.w6b69-info-list li { margin-bottom: 6px; font-size: 13px; color: var(--w6b69-muted); }

.w6b69-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.w6b69-steps li {
  position: relative;
  padding: 10px 10px 10px 44px;
  margin-bottom: 8px;
  background: var(--w6b69-bg-3);
  border-radius: var(--w6b69-radius-sm);
  font-size: 13px;
  color: var(--w6b69-text);
}
.w6b69-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w6b69-primary), var(--w6b69-accent));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.w6b69-row { display: flex; flex-wrap: wrap; gap: 8px; }
.w6b69-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--w6b69-bg-3);
  color: var(--w6b69-text);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.06);
}
.w6b69-chip i { color: var(--w6b69-accent); font-size: 16px; }

/* Inline promo link (bold colored) */
.w6b69-promo-link {
  color: var(--w6b69-accent);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--w6b69-primary);
  text-underline-offset: 3px;
}
.w6b69-promo-link:hover { color: var(--w6b69-primary); }

/* Big CTA */
.w6b69-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(219,112,147,.18), rgba(250,128,114,.18));
  border: 1px solid var(--w6b69-primary);
  border-radius: var(--w6b69-radius);
  padding: 16px;
  margin: 16px 0;
}
.w6b69-cta h3 { margin: 0; color: var(--w6b69-text); }
.w6b69-cta p { margin: 0; font-size: 13px; color: var(--w6b69-muted); }
.w6b69-cta .w6b69-btn { align-self: stretch; min-height: 44px; font-size: 15px; }

/* Testimonials */
.w6b69-testimonials { display: grid; gap: 8px; }
.w6b69-testimonial {
  background: var(--w6b69-bg-2);
  border-left: 3px solid var(--w6b69-accent);
  border-radius: 8px;
  padding: 10px 12px;
}
.w6b69-testimonial p { margin: 0 0 6px; font-size: 13px; color: var(--w6b69-text); }
.w6b69-testimonial .w6b69-stars { color: var(--w6b69-gold); font-size: 12px; }
.w6b69-testimonial cite { font-size: 12px; color: var(--w6b69-muted); font-style: normal; }

/* Payment */
.w6b69-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.w6b69-pay span {
  background: var(--w6b69-bg-3);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--w6b69-text);
}
.w6b69-pay span i { display: block; font-size: 20px; color: var(--w6b69-accent); margin-bottom: 2px; }

/* Winners */
.w6b69-winners { list-style: none; margin: 0; padding: 0; }
.w6b69-winners li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  background: var(--w6b69-bg-3);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}
.w6b69-winners li b { color: var(--w6b69-gold); }

/* FAQ */
.w6b69-faq-item {
  background: var(--w6b69-bg-2);
  border-radius: var(--w6b69-radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.05);
}
.w6b69-faq-item h3 { margin: 0 0 6px; font-size: 14px; color: var(--w6b69-accent); }
.w6b69-faq-item p { margin: 0; font-size: 13px; color: var(--w6b69-muted); }

/* ===================== Footer ===================== */
.w6b69-footer {
  background: var(--w6b69-bg-2);
  border-top: 2px solid var(--w6b69-primary);
  padding: 18px 14px 8px;
  margin-top: 18px;
  color: var(--w6b69-muted);
}
.w6b69-footer-inner { max-width: 430px; margin: 0 auto; }
.w6b69-footer h4 { color: var(--w6b69-text); font-size: 14px; margin: 12px 0 6px; }
.w6b69-footer p { font-size: 12px; line-height: 1.5; margin: 0 0 10px; }
.w6b69-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  margin: 6px 0 12px;
}
.w6b69-footer-links a {
  font-size: 12px;
  color: var(--w6b69-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.w6b69-footer-links a:hover { color: var(--w6b69-accent); }
.w6b69-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0;
}
.w6b69-footer-promos .w6b69-btn { flex: 1 1 auto; min-height: 40px; font-size: 12px; padding: 0 10px; }
.w6b69-footer-copy {
  text-align: center;
  font-size: 11px;
  color: var(--w6b69-muted);
  padding: 10px 0 4px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 8px;
}

/* ===================== Mobile bottom nav ===================== */
.w6b69-bnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1f2c38 0%, #273746 100%);
  border-top: 2px solid var(--w6b69-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 64px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.35);
}
.w6b69-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w6b69-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
  transition: color .15s ease, transform .15s ease;
  text-decoration: none;
}
.w6b69-bnav-btn i { font-size: 22px; }
.w6b69-bnav-btn .material-icons { font-size: 24px; }
.w6b69-bnav-btn:hover { color: var(--w6b69-accent); transform: translateY(-1px); }
.w6b69-bnav-current { color: var(--w6b69-accent); }
.w6b69-bnav-current::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--w6b69-accent);
  border-radius: 0 0 4px 4px;
}
.w6b69-bnav-promo {
  background: linear-gradient(135deg, var(--w6b69-primary), var(--w6b69-accent));
  color: #fff;
  border-radius: 50%;
  width: 52px; height: 52px;
  margin-top: -18px;
  box-shadow: 0 4px 12px rgba(219,112,147,.5);
  align-self: center;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
}
.w6b69-bnav-promo i { font-size: 26px; }
.w6b69-bnav-promo:hover { color: #fff; }

/* ===================== Desktop ===================== */
.w6b69-desktop-nav { display: none; }

@media (min-width: 769px) {
  .w6b69-bnav { display: none; }
  main { padding-bottom: 24px; }
  .w6b69-desktop-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    margin-left: 16px;
  }
  .w6b69-desktop-nav a {
    color: var(--w6b69-text);
    font-size: 13px;
    font-weight: 600;
  }
  .w6b69-desktop-nav a:hover { color: var(--w6b69-accent); }
  .w6b69-menu-btn { display: none; }
}

@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}
