/* plus777 apk - Core stylesheet
   Every custom class uses the w3105- prefix and every CSS variable
   uses the --w3105- prefix so the file stays namespaced and portable.
   Palette: #AD1457 | #FFB3FF | #F8F9FA | #FFF176 | #FFB74D | #333333 */

:root {
  --w3105-primary: #AD1457;
  --w3105-primary-dark: #7a0d3e;
  --w3105-primary-light: #FFB3FF;
  --w3105-accent-yellow: #FFF176;
  --w3105-accent-orange: #FFB74D;
  --w3105-bg: #F8F9FA;
  --w3105-bg-alt: #fff5fb;
  --w3105-text: #333333;
  --w3105-text-muted: #6b4a52;
  --w3105-dark: #333333;
  --w3105-card-bg: #ffffff;
  --w3105-border: rgba(173, 20, 87, 0.15);
  --w3105-shadow: 0 4px 18px rgba(173, 20, 87, 0.18);
  --w3105-radius: 14px;
  --w3105-radius-sm: 8px;
  --w3105-header-h: 60px;
  --w3105-bottom-h: 62px;
  --w3105-gradient: linear-gradient(135deg, #AD1457 0%, #ff5fa2 60%, #FFB74D 120%);
  --w3105-gradient-soft: linear-gradient(135deg, #FFB3FF 0%, #FFF176 100%);
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--w3105-text);
  background: var(--w3105-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Header ---------- */
.w3105-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w3105-header-h);
  background: var(--w3105-gradient);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.w3105-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.w3105-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
}
.w3105-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w3105-logo .w3105-logo-text { white-space: nowrap; }

.w3105-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.w3105-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-family: inherit;
}
.w3105-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.w3105-btn-register {
  background: var(--w3105-accent-yellow);
  color: var(--w3105-primary-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.w3105-btn-register:hover { transform: translateY(-1px); background: #ffdf6a; }
.w3105-btn-login {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}
.w3105-btn-login:hover { background: rgba(255,255,255,0.32); }
.w3105-btn-primary {
  background: var(--w3105-primary);
  color: #fff;
  box-shadow: var(--w3105-shadow);
}
.w3105-btn-primary:hover { background: var(--w3105-primary-dark); }
.w3105-btn-ghost {
  background: transparent;
  color: var(--w3105-primary);
  border: 1px solid var(--w3105-border);
}
.w3105-btn-block { width: 100%; }

.w3105-menu-toggle {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile slide-down menu ---------- */
.w3105-mobile-menu {
  position: fixed;
  top: var(--w3105-header-h);
  left: 0; right: 0;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.w3105-mobile-menu.w3105-menu-open { max-height: 420px; }
.w3105-mobile-menu nav {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.w3105-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--w3105-bg-alt);
  border-radius: var(--w3105-radius-sm);
  color: var(--w3105-primary-dark);
  font-size: 1.35rem;
  font-weight: 600;
  border: 1px solid var(--w3105-border);
}
.w3105-mobile-menu a i { font-size: 1.6rem; color: var(--w3105-primary); }

/* ---------- Hero / Carousel ---------- */
.w3105-main {
  padding-top: calc(var(--w3105-header-h) + 8px);
}
.w3105-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 10px 0 6px;
  box-shadow: var(--w3105-shadow);
}
.w3105-carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.w3105-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.w3105-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.w3105-carousel-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.w3105-carousel-caption h2 { font-size: 1.9rem; font-weight: 700; }
.w3105-carousel-caption p { font-size: 1.25rem; opacity: .95; }
.w3105-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}
.w3105-carousel-prev { left: 8px; }
.w3105-carousel-next { right: 8px; }
.w3105-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
}
.w3105-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
}
.w3105-carousel-dot-active { background: var(--w3105-accent-yellow); width: 20px; border-radius: 4px; }

/* ---------- Section blocks ---------- */
.w3105-section {
  padding: 18px 0 6px;
}
.w3105-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--w3105-primary-dark);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--w3105-primary);
}
.w3105-section-title i { color: var(--w3105-primary); font-size: 1.9rem; }
.w3105-section-sub {
  font-size: 1.3rem;
  color: var(--w3105-text-muted);
  margin-bottom: 10px;
}

.w3105-filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0 10px;
  scrollbar-width: none;
}
.w3105-filter-bar::-webkit-scrollbar { display: none; }
.w3105-filter-chip {
  padding: 6px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--w3105-border);
  color: var(--w3105-primary);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.w3105-filter-chip-active {
  background: var(--w3105-primary);
  color: #fff;
  border-color: var(--w3105-primary);
}

/* ---------- Game grid ---------- */
.w3105-game-section { margin-bottom: 14px; }
.w3105-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.w3105-game-card {
  background: var(--w3105-card-bg);
  border-radius: var(--w3105-radius-sm);
  padding: 6px;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--w3105-border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.w3105-game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--w3105-shadow);
  border-color: var(--w3105-primary-light);
}
.w3105-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.w3105-game-name {
  font-size: 1.15rem;
  color: var(--w3105-text);
  margin-top: 4px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Generic cards ---------- */
.w3105-card {
  background: var(--w3105-card-bg);
  border-radius: var(--w3105-radius);
  padding: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--w3105-border);
  margin-bottom: 10px;
}
.w3105-card h3 {
  font-size: 1.5rem;
  color: var(--w3105-primary-dark);
  margin-bottom: 6px;
}
.w3105-card p {
  font-size: 1.3rem;
  color: var(--w3105-text);
  margin-bottom: 6px;
}
.w3105-card .w3105-link {
  font-weight: 700;
  color: var(--w3105-primary);
  text-decoration: underline;
}

.w3105-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.w3105-feature-item {
  background: var(--w3105-bg-alt);
  padding: 10px;
  border-radius: var(--w3105-radius-sm);
  text-align: center;
  border: 1px solid var(--w3105-border);
}
.w3105-feature-item i { font-size: 2.4rem; color: var(--w3105-primary); }
.w3105-feature-item h4 { font-size: 1.3rem; margin-top: 4px; color: var(--w3105-primary-dark); }
.w3105-feature-item p { font-size: 1.15rem; color: var(--w3105-text-muted); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.w3105-testimonial {
  background: #fff;
  border-radius: var(--w3105-radius-sm);
  padding: 10px 12px;
  border-left: 4px solid var(--w3105-accent-yellow);
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.w3105-testimonial-stars { color: var(--w3105-accent-orange); font-size: 1.2rem; }
.w3105-testimonial p { font-size: 1.25rem; color: var(--w3105-text); margin: 4px 0; }
.w3105-testimonial cite { font-size: 1.15rem; color: var(--w3105-primary); font-weight: 600; }

/* ---------- Winners strip ---------- */
.w3105-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: linear-gradient(90deg, #fff5fb, #fff);
  border: 1px solid var(--w3105-border);
  border-radius: var(--w3105-radius-sm);
  margin-bottom: 6px;
}
.w3105-winner .w3105-winner-name { font-weight: 700; color: var(--w3105-primary-dark); font-size: 1.25rem; }
.w3105-winner .w3105-winner-game { font-size: 1.15rem; color: var(--w3105-text-muted); }
.w3105-winner .w3105-winner-amount { color: var(--w3105-primary); font-weight: 700; font-size: 1.4rem; }

/* ---------- Payment grid ---------- */
.w3105-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.w3105-payment-item {
  background: #fff;
  border: 1px solid var(--w3105-border);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--w3105-text-muted);
}
.w3105-payment-item i { font-size: 2rem; color: var(--w3105-primary); }

/* ---------- CTA band ---------- */
.w3105-cta {
  background: var(--w3105-gradient);
  color: #fff;
  padding: 16px;
  border-radius: var(--w3105-radius);
  text-align: center;
  margin: 12px 0;
  box-shadow: var(--w3105-shadow);
}
.w3105-cta h3 { font-size: 1.7rem; margin-bottom: 4px; }
.w3105-cta p { font-size: 1.3rem; opacity: .95; margin-bottom: 10px; }
.w3105-cta .w3105-btn { background: #fff; color: var(--w3105-primary-dark); }

/* ---------- FAQ ---------- */
.w3105-faq-item {
  background: #fff;
  border: 1px solid var(--w3105-border);
  border-radius: var(--w3105-radius-sm);
  padding: 10px 12px;
  margin-bottom: 6px;
}
.w3105-faq-item h4 { font-size: 1.35rem; color: var(--w3105-primary-dark); margin-bottom: 4px; }
.w3105-faq-item p { font-size: 1.25rem; color: var(--w3105-text); }

/* ---------- Footer ---------- */
.w3105-footer {
  background: var(--w3105-dark);
  color: #fff;
  padding: 20px 0 90px;
  margin-top: 16px;
}
.w3105-footer-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.w3105-footer-about {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #ffd9e8;
  margin-bottom: 10px;
}
.w3105-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.w3105-footer-promos .w3105-btn {
  background: var(--w3105-primary);
  color: #fff;
  min-height: 34px;
  font-size: 1.2rem;
}
.w3105-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.w3105-footer-links a {
  color: #ffd9e8;
  font-size: 1.2rem;
  text-decoration: underline;
}
.w3105-footer-copy {
  font-size: 1.1rem;
  color: #ffb3c8;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 8px;
  text-align: center;
}

/* ---------- Bottom nav (mobile only) ---------- */
.w3105-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w3105-bottom-h);
  background: #fff;
  border-top: 1px solid var(--w3105-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
}
.w3105-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--w3105-text-muted);
  text-decoration: none;
  font-family: inherit;
  transition: color .15s ease, transform .15s ease;
}
.w3105-bottom-nav-btn i { font-size: 2.2rem; }
.w3105-bottom-nav-btn span { font-size: 1.05rem; margin-top: 2px; }
.w3105-bottom-nav-btn:active { transform: scale(0.92); }
.w3105-bottom-nav-active,
.w3105-bottom-nav-btn:hover { color: var(--w3105-primary); }
.w3105-bottom-nav-promo {
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  margin-top: -16px;
  background: var(--w3105-gradient);
  box-shadow: var(--w3105-shadow);
}
.w3105-bottom-nav-promo i { color: #fff; font-size: 2rem; }
.w3105-bottom-nav-promo span { display: none; }

/* ---------- Back to top button ---------- */
.w3105-top-btn {
  position: fixed;
  right: 12px;
  bottom: calc(var(--w3105-bottom-h) + 12px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--w3105-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 999;
}
.w3105-top-btn-visible { opacity: 1; pointer-events: auto; }

/* ---------- Desktop layout ---------- */
@media (min-width: 769px) {
  body { background: #f1f1f1; }
  .w3105-container { max-width: 430px; }
  .w3105-header-inner { max-width: 430px; }
  .w3105-footer-inner { max-width: 430px; }
  .w3105-bottom-nav { display: none; }
  .w3105-footer { padding-bottom: 24px; }
  .w3105-top-btn { bottom: 18px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 360px) {
  .w3105-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w3105-payment-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile bottom padding so content is never hidden behind the nav bar */
@media (max-width: 768px) {
  .w3105-main { padding-bottom: calc(var(--w3105-bottom-h) + 14px); }
}
