/* ============================================================
   cwin555.homes - style.css
   All classes use prefix: w5691-
   Palette: #6A5ACD (primary) | #2C2C2C (bg) | #B2DFDB (light)
   Mobile-first, max-width 430px
   ============================================================ */

:root {
  --w5691-primary: #6A5ACD;
  --w5691-bg: #2C2C2C;
  --w5691-light: #B2DFDB;
  --w5691-gold: #F2C94C;
  --w5691-dark2: #1f1f1f;
  --w5691-text: #ECECEC;
  --w5691-muted: #9aa0a6;
  --w5691-accent: #FF5A5F;
  --w5691-radius: 12px;
}

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

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

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--w5691-bg);
  color: var(--w5691-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--w5691-light); text-decoration: none; }

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

/* ---------- Header ---------- */
.w5691-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #2C2C2C, #3a3a3a);
  border-bottom: 2px solid var(--w5691-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.w5691-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; min-height: 52px;
}
.w5691-logo {
  display: flex; align-items: center; gap: .6rem; font-weight: 700;
  color: var(--w5691-light); font-size: 1.7rem;
}
.w5691-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w5691-logo span { color: var(--w5691-gold); }

.w5691-header-actions { display: flex; align-items: center; gap: .5rem; }
.w5691-btn {
  border: none; border-radius: 20px; padding: .55rem 1.1rem;
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  min-height: 36px; transition: transform .15s, opacity .15s;
}
.w5691-btn:active { transform: scale(.96); }
.w5691-btn-register {
  background: linear-gradient(90deg, var(--w5691-gold), #e6b800);
  color: #2C2C2C;
}
.w5691-btn-login {
  background: var(--w5691-primary); color: #fff;
}
.w5691-menu-btn {
  background: transparent; border: 1px solid var(--w5691-light);
  color: var(--w5691-light); border-radius: 8px;
  width: 36px; height: 36px; font-size: 1.6rem; cursor: pointer;
}

/* Expandable nav menu */
.w5691-nav-menu {
  max-height: 0; overflow: hidden;
  background: var(--w5691-dark2);
  transition: max-height .3s ease;
}
.w5691-nav-menu.w5691-open { max-height: 420px; }
.w5691-nav-menu ul { list-style: none; padding: .4rem 1rem; }
.w5691-nav-menu li a {
  display: block; padding: .9rem .6rem; color: var(--w5691-text);
  border-bottom: 1px solid #3a3a3a; font-size: 1.35rem;
}
.w5691-nav-menu li a:active { color: var(--w5691-gold); }

/* ---------- Main ---------- */
.w5691-main { padding-top: 64px; padding-bottom: 80px; }

/* ---------- Carousel ---------- */
.w5691-carousel {
  position: relative; margin: 1rem 0; border-radius: var(--w5691-radius);
  overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.w5691-slide {
  display: none; position: relative; cursor: pointer;
}
.w5691-slide.w5691-active { display: block; }
.w5691-slide img { width: 100%; height: 180px; object-fit: cover; }
.w5691-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 1.2rem 1rem .8rem; color: #fff; font-weight: 600;
}
.w5691-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
}
.w5691-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.w5691-dot.w5691-active { background: var(--w5691-gold); }

/* ---------- Section ---------- */
.w5691-section { padding: 1.4rem 1.2rem; }
.w5691-section h1 {
  font-size: 1.9rem; color: var(--w5691-gold); margin-bottom: .6rem;
  line-height: 1.3;
}
.w5691-section h2 {
  font-size: 1.6rem; color: var(--w5691-light); margin: 1.2rem 0 .6rem;
  border-left: 4px solid var(--w5691-primary); padding-left: .8rem;
}
.w5691-section h3 {
  font-size: 1.4rem; color: var(--w5691-light); margin: 1rem 0 .4rem;
}
.w5691-section p { margin-bottom: .7rem; color: var(--w5691-text); }
.w5691-section .w5691-promo {
  color: var(--w5691-gold); font-weight: 700; cursor: pointer;
}
.w5691-section .w5691-promo:hover { text-decoration: underline; }

/* ---------- Game grid ---------- */
.w5691-cat-title {
  font-size: 1.5rem; color: var(--w5691-gold); margin: 1rem 0 .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.w5691-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
}
.w5691-game-card {
  background: var(--w5691-dark2); border-radius: var(--w5691-radius);
  padding: .5rem; text-align: center; cursor: pointer;
  border: 1px solid #3a3a3a; transition: transform .15s, border-color .15s;
}
.w5691-game-card:active { transform: scale(.96); border-color: var(--w5691-primary); }
.w5691-game-card img {
  width: 100%; height: 72px; object-fit: cover; border-radius: 8px;
}
.w5691-game-card span {
  display: block; font-size: 1.1rem; margin-top: .35rem;
  color: var(--w5691-text); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Cards ---------- */
.w5691-card {
  background: var(--w5691-dark2); border-radius: var(--w5691-radius);
  padding: 1rem; margin-bottom: .8rem; border: 1px solid #3a3a3a;
}
.w5691-card-title { font-size: 1.3rem; color: var(--w5691-gold); margin-bottom: .4rem; }

.w5691-features { display: grid; gap: .6rem; }
.w5691-feature {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .6rem; background: rgba(106,90,205,.12); border-radius: 8px;
}
.w5691-feature .material-icons { color: var(--w5691-primary); font-size: 22px; }

/* ---------- Testimonials ---------- */
.w5691-testi {
  background: var(--w5691-dark2); border-radius: var(--w5691-radius);
  padding: .9rem; margin-bottom: .6rem; border-left: 3px solid var(--w5691-gold);
}
.w5691-testi-name { color: var(--w5691-gold); font-weight: 600; font-size: 1.2rem; }
.w5691-stars { color: var(--w5691-gold); font-size: 1.2rem; }

/* ---------- Winners ---------- */
.w5691-winner {
  display: flex; justify-content: space-between; padding: .5rem 0;
  border-bottom: 1px solid #3a3a3a; font-size: 1.25rem;
}
.w5691-winner b { color: var(--w5691-gold); }

/* ---------- Payment ---------- */
.w5691-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.w5691-pay span {
  background: var(--w5691-dark2); border: 1px solid #3a3a3a;
  border-radius: 6px; padding: .4rem .8rem; font-size: 1.15rem; color: var(--w5691-light);
}

/* ---------- CTA ---------- */
.w5691-cta {
  display: block; text-align: center; margin: 1rem 1.2rem;
  background: linear-gradient(90deg, var(--w5691-primary), #8a7ae0);
  color: #fff; padding: 1rem; border-radius: var(--w5691-radius);
  font-weight: 700; font-size: 1.5rem; cursor: pointer;
  box-shadow: 0 4px 12px rgba(106,90,205,.5);
}
.w5691-cta:active { transform: scale(.98); }

/* ---------- App download ---------- */
.w5691-app {
  display: flex; gap: .8rem; align-items: center; flex-wrap: wrap;
  background: var(--w5691-dark2); padding: 1rem; border-radius: var(--w5691-radius);
}
.w5691-app-btn {
  flex: 1; min-width: 140px; text-align: center;
  background: var(--w5691-primary); color: #fff; padding: .8rem;
  border-radius: 8px; cursor: pointer; font-weight: 600;
}

/* ---------- Footer ---------- */
.w5691-footer {
  background: var(--w5691-dark2); padding: 1.4rem 1.2rem 2rem;
  border-top: 2px solid var(--w5691-primary); margin-top: 1rem;
}
.w5691-footer p { color: var(--w5691-muted); font-size: 1.2rem; margin-bottom: .6rem; }
.w5691-footer-links {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .6rem 0;
}
.w5691-footer-links a {
  color: var(--w5691-light); font-size: 1.2rem; text-decoration: underline;
}
.w5691-footer-promo {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0;
}
.w5691-footer-promo button {
  background: var(--w5691-gold); color: #2C2C2C; border: none;
  border-radius: 6px; padding: .5rem .9rem; font-size: 1.2rem;
  font-weight: 600; cursor: pointer;
}
.w5691-copy { color: var(--w5691-muted); font-size: 1.1rem; margin-top: .6rem; }

/* ---------- Mobile bottom nav ---------- */
.w5691-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 60px; display: flex; justify-content: space-around;
  background: linear-gradient(180deg, #2C2C2C, #1f1f1f);
  border-top: 2px solid var(--w5691-primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,.5);
}
.w5691-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w5691-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; transition: color .15s, transform .15s;
}
.w5691-bnav-btn i, .w5691-bnav-btn .material-icons,
.w5691-bnav-btn .ion-icon { font-size: 22px; }
.w5691-bnav-btn span { font-size: 10px; }
.w5691-bnav-btn:active { transform: scale(.92); }
.w5691-bnav-btn.w5691-current { color: var(--w5691-gold); }
.w5691-bnav-btn.w5691-current i,
.w5691-bnav-btn.w5691-current .material-icons { color: var(--w5691-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w5691-bnav { display: none; }
  .w5691-main { padding-bottom: 20px; }
}

/* ---------- Mobile clearance ---------- */
@media (max-width: 768px) {
  .w5691-main { padding-bottom: 80px; }
}
