/* ============================================================
   sunwin inc - sunwininc.click
   Core stylesheet (class prefix: vc32-)
   Palette: #E65100 | #6C757D | #FFCCCB | #48D1CC | #2C3E50
   Mobile-first, max-width 430px primary target.
   ============================================================ */

:root {
  --vc32-primary: #E65100;
  --vc32-secondary: #6C757D;
  --vc32-soft: #FFCCCB;
  --vc32-accent: #48D1CC;
  --vc32-dark: #2C3E50;
  --vc32-bg: #141a24;
  --vc32-bg-2: #1b2330;
  --vc32-card: #20283a;
  --vc32-text: #f3f5f8;
  --vc32-muted: #b6bdca;
  --vc32-gold: #ffcf5c;
  --vc32-radius: 14px;
  --vc32-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  --vc32-header-h: 56px;
  --vc32-bottomnav-h: 62px;
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--vc32-bg);
  color: var(--vc32-text);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

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

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

.vc32-wrapper { width: 100%; }

/* ---------- Header ---------- */
.vc32-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--vc32-header-h);
  background: linear-gradient(90deg, #1b2330 0%, #2C3E50 100%);
  border-bottom: 2px solid var(--vc32-primary);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.vc32-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  max-width: 480px;
  margin: 0 auto;
}
.vc32-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}
.vc32-brand img { width: 30px; height: 30px; border-radius: 6px; }
.vc32-brand-name { font-size: 17px; letter-spacing: .3px; }
.vc32-brand-name span { color: var(--vc32-primary); }

.vc32-header-actions { display: flex; align-items: center; gap: 8px; }

.vc32-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.vc32-btn:active { transform: scale(.96); }
.vc32-btn-login {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--vc32-accent);
}
.vc32-btn-register {
  background: linear-gradient(90deg, var(--vc32-primary), #ff8a3c);
  color: #fff;
  box-shadow: 0 3px 10px rgba(230,81,0,.4);
}

.vc32-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  width: 38px; height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vc32-icon-btn:active { background: rgba(255,255,255,.1); }

/* Hamburger */
.vc32-hamburger {
  width: 26px; height: 20px;
  position: relative;
  cursor: pointer;
}
.vc32-hamburger span {
  display: block;
  position: absolute;
  height: 3px; width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: .3s;
}
.vc32-hamburger span:nth-child(1) { top: 0; }
.vc32-hamburger span:nth-child(2) { top: 8px; }
.vc32-hamburger span:nth-child(3) { top: 16px; }
.vc32-hamburger.vc32-is-active span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.vc32-hamburger.vc32-is-active span:nth-child(2) { opacity: 0; }
.vc32-hamburger.vc32-is-active span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

/* ---------- Mobile menu ---------- */
.vc32-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.vc32-menu-overlay.vc32-is-visible { opacity: 1; visibility: visible; }

.vc32-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--vc32-bg-2);
  z-index: 9999;
  padding: 70px 18px 30px;
  overflow-y: auto;
  transition: right .3s ease;
  border-left: 2px solid var(--vc32-primary);
}
.vc32-mobile-menu.vc32-is-open { right: 0; }
.vc32-mobile-menu h3 {
  color: var(--vc32-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 18px 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 6px;
}
.vc32-mobile-menu a {
  display: block;
  color: var(--vc32-text);
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 14px;
}
.vc32-mobile-menu a:hover { color: var(--vc32-gold); padding-left: 12px; }

/* ---------- Hero / Slider ---------- */
main { padding-top: var(--vc32-header-h); }

.vc32-hero {
  position: relative;
  margin: 12px 0 6px;
  border-radius: var(--vc32-radius);
  overflow: hidden;
  box-shadow: var(--vc32-shadow);
}
.vc32-slider { position: relative; }
.vc32-slide {
  display: none;
  position: relative;
}
.vc32-slide.vc32-is-active { display: block; }
.vc32-slide img { width: 100%; height: 190px; object-fit: cover; }
.vc32-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.vc32-slide-caption h2 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.vc32-slide-caption p { color: var(--vc32-soft); font-size: 12px; }
.vc32-slide-cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--vc32-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
}

.vc32-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}
.vc32-slider-arrow.vc32-prev { left: 6px; }
.vc32-slider-arrow.vc32-next { right: 6px; }

.vc32-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.vc32-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
}
.vc32-dot.vc32-is-active { background: var(--vc32-primary); width: 22px; border-radius: 4px; }

/* ---------- Section / headings ---------- */
.vc32-section { padding: 18px 0 10px; }
.vc32-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.vc32-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  position: relative;
  padding-left: 12px;
}
.vc32-section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: var(--vc32-primary);
  border-radius: 3px;
}
.vc32-section-title em { color: var(--vc32-gold); font-style: normal; }
.vc32-section-link { font-size: 12px; color: var(--vc32-accent); }

/* ---------- Filter chips ---------- */
.vc32-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.vc32-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 18px;
  background: var(--vc32-card);
  color: var(--vc32-muted);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
}
.vc32-chip.vc32-is-active {
  background: var(--vc32-primary);
  color: #fff;
  border-color: var(--vc32-primary);
}

/* ---------- Game grid ---------- */
.vc32-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vc32-grid.vc32-grid-4 { grid-template-columns: repeat(4, 1fr); }
.vc32-grid.vc32-grid-2 { grid-template-columns: repeat(2, 1fr); }

.vc32-card {
  background: var(--vc32-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.vc32-card:active { transform: scale(.97); }
.vc32-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e131c;
}
.vc32-card-name {
  padding: 6px 6px 7px;
  font-size: 11px;
  text-align: center;
  color: var(--vc32-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc32-card-badge {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--vc32-primary);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 700;
}
.vc32-card-badge.vc32-hot { background: #d9304f; }
.vc32-card-badge.vc32-new { background: var(--vc32-accent); color: #08252a; }

/* ---------- Info / content blocks ---------- */
.vc32-card-box {
  background: var(--vc32-card);
  border-radius: var(--vc32-radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.05);
}
.vc32-card-box h2 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.vc32-card-box h3 { color: var(--vc32-gold); font-size: 15px; margin: 12px 0 6px; }
.vc32-card-box p { color: var(--vc32-muted); font-size: 13.5px; margin-bottom: 8px; }
.vc32-card-box ul { margin: 6px 0 10px 18px; color: var(--vc32-muted); font-size: 13px; }
.vc32-card-box li { margin-bottom: 4px; }

.vc32-prose {
  background: var(--vc32-card);
  border-radius: var(--vc32-radius);
  padding: 16px;
  margin: 10px 0;
  border-left: 3px solid var(--vc32-accent);
}
.vc32-prose h2 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.vc32-prose h3 { font-size: 15px; color: var(--vc32-gold); margin: 10px 0 6px; }
.vc32-prose p { color: var(--vc32-muted); font-size: 13.5px; margin-bottom: 8px; }

/* ---------- Category highlights ---------- */
.vc32-cat-highlight {
  display: flex;
  gap: 12px;
  background: var(--vc32-card);
  border-radius: var(--vc32-radius);
  padding: 12px;
  margin-bottom: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.05);
}
.vc32-cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.vc32-cat-icon.vc32-ic-hot { background: rgba(230,81,0,.18); color: var(--vc32-primary); }
.vc32-cat-icon.vc32-ic-casino { background: rgba(72,209,204,.18); color: var(--vc32-accent); }
.vc32-cat-icon.vc32-ic-card { background: rgba(255,207,92,.18); color: var(--vc32-gold); }
.vc32-cat-icon.vc32-ic-fish { background: rgba(108,117,125,.25); color: #dfe4ea; }
.vc32-cat-icon.vc32-ic-slot { background: rgba(217,48,79,.18); color: #ff6b81; }
.vc32-cat-highlight h3 { color: #fff; font-size: 14px; margin-bottom: 3px; }
.vc32-cat-highlight p { color: var(--vc32-muted); font-size: 12px; }

/* ---------- Winners / testimonial ---------- */
.vc32-winner-list { display: grid; gap: 8px; }
.vc32-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--vc32-card);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
}
.vc32-winner-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--vc32-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.vc32-winner-amount { color: var(--vc32-gold); font-weight: 700; margin-left: auto; }

.vc32-testimonial {
  background: var(--vc32-card);
  border-radius: var(--vc32-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-top: 3px solid var(--vc32-accent);
}
.vc32-testimonial-stars { color: var(--vc32-gold); margin-bottom: 6px; font-size: 13px; }
.vc32-testimonial p { color: var(--vc32-text); font-size: 13px; font-style: italic; }
.vc32-testimonial .vc32-author { color: var(--vc32-muted); font-size: 12px; margin-top: 6px; }

/* ---------- Payment / app CTA ---------- */
.vc32-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.vc32-pay-chip {
  background: #fff;
  color: var(--vc32-dark);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vc32-app-cta {
  background: linear-gradient(120deg, #2C3E50, #E65100);
  border-radius: var(--vc32-radius);
  padding: 16px;
  margin: 12px 0;
  color: #fff;
}
.vc32-app-cta h3 { font-size: 16px; margin-bottom: 6px; }
.vc32-app-cta p { font-size: 12.5px; color: #ffe7d6; margin-bottom: 10px; }
.vc32-app-cta .vc32-btn {
  background: #fff;
  color: var(--vc32-primary);
}

/* ---------- FAQ ---------- */
.vc32-faq-item {
  background: var(--vc32-card);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
}
.vc32-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.vc32-faq-q .vc32-faq-icon { color: var(--vc32-primary); transition: transform .2s; }
.vc32-faq-item.vc32-is-open .vc32-faq-icon { transform: rotate(45deg); }
.vc32-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 14px;
  color: var(--vc32-muted);
  font-size: 13px;
}
.vc32-faq-item.vc32-is-open .vc32-faq-a { max-height: 320px; padding-bottom: 12px; }

/* ---------- Big CTA ---------- */
.vc32-cta-band {
  background: linear-gradient(90deg, var(--vc32-primary), #ff8a3c);
  border-radius: var(--vc32-radius);
  padding: 18px 14px;
  text-align: center;
  color: #fff;
  margin: 14px 0;
}
.vc32-cta-band h3 { font-size: 17px; margin-bottom: 6px; }
.vc32-cta-band p { font-size: 12.5px; margin-bottom: 12px; color: #fff5ec; }
.vc32-cta-band .vc32-btn { background: #fff; color: var(--vc32-primary); }

/* ---------- Footer ---------- */
.vc32-footer {
  background: #0e131c;
  padding: 24px 0 90px;
  margin-top: 16px;
  border-top: 2px solid var(--vc32-primary);
}
.vc32-footer-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.vc32-footer h4 { color: var(--vc32-gold); font-size: 13px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.vc32-footer a { display: block; color: var(--vc32-muted); font-size: 12.5px; padding: 4px 0; }
.vc32-footer p { color: var(--vc32-muted); font-size: 12.5px; }
.vc32-footer-buttons {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.vc32-footer-buttons .vc32-btn { flex: 1 1 auto; min-width: 120px; }
.vc32-footer-bottom {
  text-align: center;
  color: #6b7280;
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 12px;
}

/* ---------- Bottom nav ---------- */
.vc32-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--vc32-bottomnav-h);
  background: linear-gradient(180deg, #1b2330, #11161f);
  border-top: 2px solid var(--vc32-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.vc32-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--vc32-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  padding: 6px 2px;
  position: relative;
  transition: color .15s ease;
}
.vc32-nav-btn .vc32-nav-icon { font-size: 22px; line-height: 1; }
.vc32-nav-btn:active { transform: scale(.92); }
.vc32-nav-btn.vc32-is-current { color: var(--vc32-primary); }
.vc32-nav-btn.vc32-is-current::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px; height: 3px;
  background: var(--vc32-primary);
  border-radius: 0 0 3px 3px;
}
.vc32-nav-btn.vc32-nav-promo {
  color: var(--vc32-gold);
}
.vc32-nav-btn.vc32-nav-promo .vc32-nav-icon {
  background: linear-gradient(120deg, var(--vc32-primary), var(--vc32-gold));
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -10px;
  box-shadow: 0 3px 10px rgba(230,81,0,.5);
  font-size: 20px;
}

/* ---------- Back to top ---------- */
.vc32-backtop {
  position: fixed;
  right: 14px; bottom: calc(var(--vc32-bottomnav-h) + 12px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vc32-primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 999;
  box-shadow: var(--vc32-shadow);
}
.vc32-backtop.vc32-is-visible { opacity: 1; visibility: visible; }

/* ---------- Marquee ---------- */
.vc32-marquee {
  background: var(--vc32-bg-2);
  color: var(--vc32-gold);
  font-size: 12px;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 8px;
  margin: 8px 0;
}
.vc32-marquee span { display: inline-block; padding-left: 100%; animation: vc32marq 22s linear infinite; }
@keyframes vc32marq { to { transform: translateX(-100%); } }

/* ---------- Stats strip ---------- */
.vc32-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.vc32-stat {
  background: var(--vc32-card);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.vc32-stat b { display: block; color: var(--vc32-gold); font-size: 16px; }
.vc32-stat span { color: var(--vc32-muted); font-size: 11px; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { background: #0e131c; }
  .vc32-container { max-width: 960px; padding: 0 20px; }
  .vc32-header-inner { max-width: 960px; }
  .vc32-bottomnav { display: none; }
  .vc32-footer { padding-bottom: 24px; }
  .vc32-grid { grid-template-columns: repeat(6, 1fr); }
  .vc32-grid.vc32-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .vc32-slide img { height: 320px; }
  .vc32-footer-grid { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 0 !important; }
}

/* ---------- Mobile bottom padding for nav clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--vc32-bottomnav-h) + 18px); }
}
