/* ============================================================
 * 32vin32.click - Core stylesheet
 * All custom classes use the "sd32-" prefix.
 * Palette: #FFCCCB | #66CDAA | #20B2AA | #1E1E1E | #3CB371
 * Mobile-first, max-width 430px.
 * ========================================================== */

:root {
  --sd32-primary: #20B2AA;
  --sd32-secondary: #66CDAA;
  --sd32-accent: #3CB371;
  --sd32-pink: #FFCCCB;
  --sd32-bg: #1E1E1E;
  --sd32-bg-alt: #232a28;
  --sd32-text: #f5f7f6;
  --sd32-text-muted: #b8c3c0;
  --sd32-gold: #FFD36b;
  --sd32-radius: 1.2rem;
  --sd32-shadow: 0 .4rem 1.4rem rgba(0, 0, 0, .35);
  --sd32-header-h: 5.6rem;
  --sd32-bottomnav-h: 6.2rem;
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--sd32-bg);
  color: var(--sd32-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--sd32-secondary); text-decoration: none; }
a:hover { color: var(--sd32-pink); }

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

main.sd32-main { padding-top: var(--sd32-header-h); padding-bottom: var(--sd32-bottomnav-h); }

/* ---------- Header ---------- */
.sd32-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #16302e 0%, #1E1E1E 60%, #20392f 100%);
  border-bottom: .15rem solid rgba(102, 205, 170, .35);
  box-shadow: var(--sd32-shadow);
}
.sd32-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--sd32-header-h); padding: 0 1.2rem;
}
.sd32-logo { display: flex; align-items: center; gap: .6rem; }
.sd32-logo img { width: 3rem; height: 3rem; border-radius: .6rem; }
.sd32-logo-name { font-size: 1.6rem; font-weight: 800; color: var(--sd32-secondary); letter-spacing: .03rem; }
.sd32-logo-name b { color: var(--sd32-pink); }

.sd32-header-actions { display: flex; align-items: center; gap: .5rem; }
.sd32-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem; padding: .65rem 1rem; border-radius: 2rem;
  font-size: 1.25rem; font-weight: 700; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  min-height: 3.4rem;
}
.sd32-btn:active { transform: scale(.96); }
.sd32-btn-register {
  background: linear-gradient(135deg, #3CB371, #20B2AA);
  color: #fff; box-shadow: 0 .3rem .8rem rgba(60, 179, 113, .35);
}
.sd32-btn-login {
  background: linear-gradient(135deg, #FFCCCB, #ff9a9a);
  color: #1E1E1E;
}
.sd32-btn-cta {
  background: linear-gradient(135deg, var(--sd32-gold), #ffb347);
  color: #1E1E1E; padding: .9rem 1.6rem; font-size: 1.35rem;
  box-shadow: 0 .35rem 1rem rgba(255, 211, 107, .35);
}

.sd32-icon-btn {
  background: transparent; border: .1rem solid rgba(102, 205, 170, .4);
  color: var(--sd32-text); border-radius: .8rem;
  width: 3.4rem; height: 3.4rem; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.4rem;
}

/* ---------- Mobile menu ---------- */
.sd32-mobile-menu {
  position: fixed; top: var(--sd32-header-h); left: 0; right: 0;
  background: #1a2522; padding: 1rem 1.4rem;
  max-height: 0; overflow: hidden; z-index: 9999;
  transition: max-height .3s ease;
  border-bottom: .15rem solid rgba(102, 205, 170, .25);
}
.sd32-mobile-menu.sd32-menu-open { max-height: 36rem; padding: 1.2rem 1.4rem; }
.sd32-mobile-menu a {
  display: block; padding: .9rem .4rem; color: var(--sd32-text);
  font-size: 1.3rem; border-bottom: .1rem solid rgba(255,255,255,.06);
}
.sd32-mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero / carousel ---------- */
.sd32-hero { position: relative; border-radius: var(--sd32-radius); overflow: hidden; margin: 1.4rem 0; box-shadow: var(--sd32-shadow); }
.sd32-slides { position: relative; }
.sd32-slide {
  display: none; position: relative; cursor: pointer;
}
.sd32-slide.sd32-slide-active { display: block; }
.sd32-slide img { width: 100%; height: 18rem; object-fit: cover; }
.sd32-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem; background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff; font-size: 1.3rem; font-weight: 700;
}
.sd32-dots { display: flex; justify-content: center; gap: .5rem; padding: .8rem 0; }
.sd32-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s;
}
.sd32-dot.sd32-dot-active { background: var(--sd32-secondary); }

/* ---------- Section titles ---------- */
.sd32-section { margin: 2rem 0; }
.sd32-section-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.sd32-section-head h2 { font-size: 1.5rem; color: var(--sd32-secondary); }
.sd32-section-head .material-icons-outlined,
.sd32-section-head i { color: var(--sd32-pink); font-size: 1.6rem; }
.sd32-section-desc { color: var(--sd32-text-muted); font-size: 1.15rem; margin-bottom: 1rem; }

h1.sd32-h1 { font-size: 1.7rem; color: var(--sd32-text); margin: 1.4rem 0; line-height: 2.2rem; }
h1.sd32-h1 b { color: var(--sd32-pink); }
h3.sd32-h3 { font-size: 1.3rem; color: var(--sd32-secondary); margin: .8rem 0 .4rem; }

/* ---------- Filter tabs ---------- */
.sd32-filter { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1rem; }
.sd32-filter-tab {
  flex: 0 0 auto; padding: .55rem 1rem; border-radius: 2rem;
  background: #2a322f; color: var(--sd32-text-muted); font-size: 1.15rem;
  cursor: pointer; white-space: nowrap; border: .1rem solid transparent;
}
.sd32-filter-tab.sd32-filter-active {
  background: linear-gradient(135deg, #20B2AA, #3CB371); color: #fff;
}

/* ---------- Game grid ---------- */
.sd32-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.sd32-game-card {
  background: var(--sd32-bg-alt); border-radius: .8rem; padding: .5rem;
  text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s;
  border: .1rem solid rgba(102, 205, 170, .12);
}
.sd32-game-card:active { transform: scale(.95); box-shadow: 0 0 .8rem rgba(60, 179, 113, .5); }
.sd32-game-card img { width: 100%; height: 8.5rem; object-fit: cover; border-radius: .6rem; margin-bottom: .4rem; }
.sd32-game-card-name { font-size: 1.05rem; color: var(--sd32-text); line-height: 1.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd32-game-card-type { font-size: .95rem; color: var(--sd32-secondary); margin-top: .2rem; }

/* ---------- Promo / feature blocks ---------- */
.sd32-card {
  background: var(--sd32-bg-alt); border-radius: var(--sd32-radius);
  padding: 1.4rem; margin-bottom: 1.2rem; box-shadow: var(--sd32-shadow);
  border: .1rem solid rgba(102, 205, 170, .12);
}
.sd32-card p { color: var(--sd32-text-muted); font-size: 1.15rem; margin: .6rem 0; }
.sd32-card ul { padding-left: 1.4rem; color: var(--sd32-text-muted); font-size: 1.15rem; }
.sd32-card li { margin: .35rem 0; }
.sd32-card a.sd32-link-text { color: var(--sd32-pink); font-weight: 700; }

.sd32-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.sd32-feature-item {
  background: #232a28; padding: 1rem; border-radius: .8rem; text-align: center;
}
.sd32-feature-item i, .sd32-feature-item span.material-icons-outlined { font-size: 2rem; color: var(--sd32-pink); }
.sd32-feature-item h3 { margin: .4rem 0; color: var(--sd32-secondary); font-size: 1.2rem; }
.sd32-feature-item p { font-size: 1.05rem; color: var(--sd32-text-muted); }

.sd32-testimonial { display: flex; gap: .8rem; padding: .8rem; background: #232a28; border-radius: .8rem; margin-bottom: .6rem; }
.sd32-testimonial-avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: linear-gradient(135deg, #20B2AA, #3CB371); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sd32-testimonial-name { font-weight: 700; color: var(--sd32-secondary); font-size: 1.15rem; }
.sd32-testimonial-text { color: var(--sd32-text-muted); font-size: 1.1rem; }
.sd32-stars { color: var(--sd32-gold); font-size: 1rem; }

.sd32-winners { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .5rem; }
.sd32-winner { flex: 0 0 auto; background: #232a28; padding: .6rem 1rem; border-radius: .8rem; min-width: 14rem; }
.sd32-winner-name { color: var(--sd32-pink); font-weight: 700; font-size: 1.1rem; }
.sd32-winner-amount { color: var(--sd32-gold); font-weight: 800; font-size: 1.25rem; }
.sd32-winner-game { color: var(--sd32-text-muted); font-size: 1rem; }

.sd32-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; text-align: center; }
.sd32-pay-item { background: #232a28; padding: .8rem; border-radius: .6rem; }
.sd32-pay-item i { font-size: 1.8rem; color: var(--sd32-secondary); }
.sd32-pay-item span { display: block; margin-top: .3rem; font-size: 1rem; color: var(--sd32-text-muted); }

.sd32-cta-box {
  background: linear-gradient(135deg, #1f3b34, #2b4f47);
  border-radius: var(--sd32-radius); padding: 1.4rem; text-align: center;
  border: .15rem solid rgba(255, 204, 203, .35); margin: 1.4rem 0;
}
.sd32-cta-box p { color: var(--sd32-text); font-size: 1.2rem; margin-bottom: .8rem; }

.sd32-rtp-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: .1rem solid rgba(255,255,255,.06); font-size: 1.1rem; }
.sd32-rtp-row span:last-child { color: var(--sd32-gold); font-weight: 700; }

.sd32-faq-item { background: #232a28; border-radius: .6rem; padding: .9rem 1rem; margin-bottom: .6rem; }
.sd32-faq-q { font-weight: 700; color: var(--sd32-secondary); font-size: 1.2rem; }
.sd32-faq-a { color: var(--sd32-text-muted); font-size: 1.1rem; margin-top: .4rem; }

/* ---------- Footer ---------- */
.sd32-footer {
  background: #141a18; padding: 2rem 1.2rem 3rem; margin-top: 2rem;
  border-top: .15rem solid rgba(102, 205, 170, .25);
}
.sd32-footer h4 { color: var(--sd32-secondary); font-size: 1.25rem; margin: 1rem 0 .5rem; }
.sd32-footer p { color: var(--sd32-text-muted); font-size: 1.1rem; }
.sd32-footer-links { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin: .8rem 0; }
.sd32-footer-links a { font-size: 1.1rem; color: var(--sd32-text-muted); }
.sd32-footer-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.sd32-footer-copy { margin-top: 1rem; color: var(--sd32-text-muted); font-size: 1rem; text-align: center; }

/* ---------- Mobile bottom navigation ---------- */
.sd32-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1c2a25 0%, #14201c 100%);
  border-top: .15rem solid rgba(102, 205, 170, .35);
  height: var(--sd32-bottomnav-h);
  display: flex; justify-content: space-around; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sd32-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--sd32-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; cursor: pointer; font-size: 1rem;
  transition: color .15s, transform .15s;
}
.sd32-navbtn i, .sd32-navbtn span.micon,
.sd32-navbtn span.icon-ion { font-size: 2.2rem; }
.sd32-navbtn:active { transform: scale(.9); }
.sd32-navbtn.sd32-navbtn-active { color: var(--sd32-pink); }
.sd32-navbtn-promo { color: var(--sd32-secondary); }
.sd32-navbtn-promo2 { color: var(--sd32-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .sd32-bottomnav { display: none; }
  main.sd32-main { padding-bottom: 2rem; }
  .sd32-wrapper, .sd32-header-inner { max-width: 760px; }
}
@media (max-width: 768px) {
  main.sd32-main { padding-bottom: calc(var(--sd32-bottomnav-h) + 1rem); }
}
