/* dwin.click basefile CSS - all classes use w7d12- prefix */
/* Palette: #34495E | #141414 | #87CEEB | #808080 */

:root {
  --w7d12-primary: #34495E;
  --w7d12-bg: #141414;
  --w7d12-accent: #87CEEB;
  --w7d12-muted: #808080;
  --w7d12-text: #f5f7fa;
  --w7d12-card: #1e2a36;
  --w7d12-card-2: #243341;
  --w7d12-border: #2a3b4a;
  --w7d12-gold: #f0c040;
  --w7d12-grad: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
}

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

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

body {
  font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--w7d12-bg);
  color: var(--w7d12-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 100%;
  overflow-x: hidden;
}

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

a { color: var(--w7d12-accent); text-decoration: none; }
a:hover { color: var(--w7d12-gold); }

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

/* ===== Header ===== */
.w7d12-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w7d12-grad);
  border-bottom: 1px solid var(--w7d12-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.w7d12-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; min-height: 5.6rem;
}
.w7d12-logo { display: flex; align-items: center; gap: 0.8rem; color: var(--w7d12-text); }
.w7d12-logo img { width: 30px; height: 30px; border-radius: 6px; }
.w7d12-logo-text { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.5px; }
.w7d12-logo-text span { color: var(--w7d12-accent); }
.w7d12-head-actions { display: flex; align-items: center; gap: 0.6rem; }
.w7d12-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.4rem; border-radius: 8px; cursor: pointer;
  font-size: 1.3rem; font-weight: 700; border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 44px; min-height: 44px;
}
.w7d12-btn:hover { transform: translateY(-1px); }
.w7d12-btn-primary { background: linear-gradient(135deg, #87CEEB, #5aa9c9); color: #0d1b25; box-shadow: 0 3px 8px rgba(135,206,235,0.3); }
.w7d12-btn-secondary { background: var(--w7d12-gold); color: #1a1300; }
.w7d12-btn-outline { background: transparent; border: 1.5px solid var(--w7d12-accent); color: var(--w7d12-accent); }
.w7d12-menu-toggle {
  background: transparent; border: 1px solid var(--w7d12-border);
  color: var(--w7d12-text); width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.w7d12-menu-toggle i { font-size: 2.2rem; }

/* ===== Mobile expandable menu ===== */
.w7d12-mobile-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0; z-index: 9999;
  background: var(--w7d12-grad);
  max-width: 430px; margin: 0 auto;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  border-bottom: 1px solid var(--w7d12-border);
}
.w7d12-mobile-menu.w7d12-menu-open { max-height: 600px; padding: 1rem 1.2rem; }
.w7d12-mobile-menu a {
  display: block; padding: 1rem; color: var(--w7d12-text);
  border-bottom: 1px solid var(--w7d12-border); font-size: 1.4rem;
}
.w7d12-mobile-menu a:hover { background: rgba(135,206,235,0.1); color: var(--w7d12-accent); }
.w7d12-mobile-menu a i { margin-right: 0.8rem; color: var(--w7d12-accent); width: 24px; }

/* ===== Main ===== */
main { padding-top: 6rem; padding-bottom: 80px; }

.w7d12-section { padding: 2.4rem 1.2rem; }
.w7d12-section h2 { font-size: 1.9rem; margin-bottom: 1.2rem; color: var(--w7d12-accent); }
.w7d12-section h3 { font-size: 1.6rem; margin: 1.2rem 0 0.8rem; color: var(--w7d12-text); }
.w7d12-section p { margin-bottom: 1rem; color: #c7d1da; }
.w7d12-h1 { font-size: 2.2rem; line-height: 1.4rem; padding: 1.5rem 1.2rem; color: var(--w7d12-text); text-align: center; }
.w7d12-h1 span { color: var(--w7d12-accent); }

/* ===== Carousel ===== */
.w7d12-carousel {
  position: relative; max-width: 430px; margin: 1rem auto;
  border-radius: 12px; overflow: hidden; aspect-ratio: 16/7;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.w7d12-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
}
.w7d12-slide.w7d12-slide-active { opacity: 1; }
.w7d12-slide img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.w7d12-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.8rem; }
.w7d12-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--w7d12-muted); cursor: pointer; transition: all 0.2s;
}
.w7d12-dot.w7d12-dot-active { background: var(--w7d12-accent); transform: scale(1.3); }

/* ===== Category tabs ===== */
.w7d12-cat-tabs {
  display: flex; gap: 0.8rem; overflow-x: auto; padding: 1rem 1.2rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.w7d12-cat-tabs::-webkit-scrollbar { display: none; }
.w7d12-cat-tab {
  flex: 0 0 auto; padding: 0.8rem 1.4rem; border-radius: 20px;
  background: var(--w7d12-card); color: var(--w7d12-text);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--w7d12-border); white-space: nowrap;
  transition: all 0.2s;
}
.w7d12-cat-tab-active { background: linear-gradient(135deg, #87CEEB, #5aa9c9); color: #0d1b25; border-color: transparent; }

/* ===== Games grid ===== */
.w7d12-cat-block { margin-bottom: 2rem; }
.w7d12-cat-title {
  font-size: 1.6rem; padding: 0.8rem 1.2rem; margin-bottom: 0.8rem;
  border-left: 4px solid var(--w7d12-accent); color: var(--w7d12-accent);
}
.w7d12-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; padding: 0 1.2rem;
}
.w7d12-gcard {
  background: var(--w7d12-card); border-radius: 10px; overflow: hidden;
  text-align: center; cursor: pointer; border: 1px solid var(--w7d12-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.w7d12-gcard:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(135,206,235,0.25); border-color: var(--w7d12-accent); }
.w7d12-gcard img { width: 100%; height: 80px; object-fit: cover; background: #0d1620; }
.w7d12-gcard-name {
  font-size: 1.1rem; padding: 0.5rem 0.4rem; color: var(--w7d12-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Feature/cards ===== */
.w7d12-card {
  background: var(--w7d12-card); border-radius: 12px; padding: 1.4rem;
  margin: 0.8rem 1.2rem; border: 1px solid var(--w7d12-border);
}
.w7d12-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem 1.2rem; }
.w7d12-feature { background: var(--w7d12-card-2); padding: 1.2rem; border-radius: 10px; text-align: center; border: 1px solid var(--w7d12-border); }
.w7d12-feature i { font-size: 2.8rem; color: var(--w7d12-accent); margin-bottom: 0.6rem; }
.w7d12-feature h3 { font-size: 1.4rem; color: var(--w7d12-text); margin-bottom: 0.4rem; }
.w7d12-feature p { font-size: 1.2rem; color: var(--w7d12-muted); }

/* ===== CTA banner ===== */
.w7d12-cta {
  background: linear-gradient(135deg, #34495E, #1a2530);
  border: 1px solid var(--w7d12-accent); border-radius: 12px;
  padding: 2rem 1.5rem; margin: 1.5rem 1.2rem; text-align: center;
}
.w7d12-cta h2 { color: var(--w7d12-accent); margin-bottom: 1rem; }
.w7d12-cta p { margin-bottom: 1.2rem; }

/* ===== Footer ===== */
.w7d12-footer {
  background: var(--w7d12-grad); padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--w7d12-border); margin-top: 2rem;
}
.w7d12-footer-brand { margin-bottom: 1.2rem; font-size: 1.3rem; color: #b8c4ce; }
.w7d12-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 1.5rem;
}
.w7d12-footer-links a { color: var(--w7d12-text); font-size: 1.2rem; padding: 0.4rem 0; }
.w7d12-footer-links a:hover { color: var(--w7d12-accent); }
.w7d12-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.w7d12-footer-promo .w7d12-btn { padding: 0.6rem 1rem; font-size: 1.2rem; }
.w7d12-copyright { font-size: 1.1rem; color: var(--w7d12-muted); text-align: center; margin-top: 1.2rem; }

/* ===== Mobile bottom nav ===== */
.w7d12-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w7d12-grad); border-top: 1px solid var(--w7d12-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.w7d12-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w7d12-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; gap: 0.2rem; transition: color 0.2s, transform 0.15s;
}
.w7d12-navbtn i { font-size: 22px; }
.w7d12-navbtn .material-icons, .w7d12-navbtn .ion-md-home { font-size: 24px; }
.w7d12-navbtn:hover { color: var(--w7d12-accent); transform: translateY(-2px); }
.w7d12-navbtn-active { color: var(--w7d12-accent); }
.w7d12-navbtn-active i { color: var(--w7d12-gold); }

/* ===== Testimonial ===== */
.w7d12-testi { background: var(--w7d12-card); padding: 1.2rem; border-radius: 10px; margin: 0.8rem 1.2rem; border-left: 3px solid var(--w7d12-accent); }
.w7d12-testi p { font-style: italic; color: #c7d1da; margin-bottom: 0.6rem; }
.w7d12-testi b { color: var(--w7d12-gold); font-size: 1.2rem; }

/* ===== Winner strip ===== */
.w7d12-winners { display: flex; gap: 0.8rem; overflow-x: auto; padding: 1rem 1.2rem; scrollbar-width: none; }
.w7d12-winners::-webkit-scrollbar { display: none; }
.w7d12-winner { flex: 0 0 auto; background: var(--w7d12-card); padding: 0.8rem 1.2rem; border-radius: 20px; border: 1px solid var(--w7d12-border); white-space: nowrap; }
.w7d12-winner b { color: var(--w7d12-gold); }

/* ===== Payment ===== */
.w7d12-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1rem 1.2rem; }
.w7d12-pay span { background: var(--w7d12-card); padding: 0.6rem 1rem; border-radius: 8px; font-size: 1.2rem; border: 1px solid var(--w7d12-border); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .w7d12-bottomnav { display: none; }
  .w7d12-container { max-width: 430px; }
  .w7d12-header-inner, .w7d12-mobile-menu, .w7d12-carousel, .w7d12-bottomnav { max-width: 430px; margin-left: auto; margin-right: auto; }
  main { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}