/* ============================================================
 * 78 wins - style-dd74.css
 * All custom classes use "sdd7-" prefix.
 * Palette: #95A5A6 | #0000FF | #36454F | #2E4057 | #EE82EE | #F8F9FA
 * Mobile-first. Root font 62.5% => 1rem = 10px.
 * ============================================================ */

:root {
  --sdd7-primary: #0000FF;
  --sdd7-accent: #EE82EE;
  --sdd7-bg: #36454F;
  --sdd7-bg-deep: #2E4057;
  --sdd7-bg-card: #3d5067;
  --sdd7-text: #F8F9FA;
  --sdd7-muted: #95A5A6;
  --sdd7-light: #F8F9FA;
  --sdd7-border: rgba(248, 249, 250, 0.12);
  --sdd7-gold: #f5c542;
  --sdd7-success: #2ecc71;
  --sdd7-danger: #ff5a5a;
}

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

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

body {
  font-family: "Segoe UI", "Be Vietnam Pro", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #2E4057 0%, #36454F 50%, #2E4057 100%);
  color: var(--sdd7-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a { color: var(--sdd7-accent); text-decoration: none; }
a:hover { color: var(--sdd7-light); }

.sdd7-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }

.sdd7-container { width: 100%; padding: 0 1.2rem; }

/* ---------------- Header ---------------- */
.sdd7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2E4057 0%, #0000FF 100%);
  border-bottom: 1px solid var(--sdd7-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.sdd7-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  min-height: 5.6rem;
}
.sdd7-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; }
.sdd7-brand img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.sdd7-brand-name { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.02em; }
.sdd7-brand-name span { color: var(--sdd7-accent); }

.sdd7-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.sdd7-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700;
  border: none; border-radius: 2rem;
  padding: 0.7rem 1.3rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.sdd7-btn:hover { transform: translateY(-1px); }
.sdd7-btn-register {
  background: linear-gradient(90deg, #EE82EE, #ff6ad5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(238, 130, 238, 0.35);
}
.sdd7-btn-login {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.sdd7-btn-primary {
  background: linear-gradient(90deg, #0000FF, #4f6dff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,255,0.35);
}
.sdd7-btn-gold {
  background: linear-gradient(90deg, #f5c542, #ffd970);
  color: #2E4057;
}
.sdd7-btn-block { display: flex; width: 100%; }

.sdd7-menu-btn {
  background: transparent; border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
}

/* ---------------- Mobile menu ---------------- */
.sdd7-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: #2E4057;
  z-index: 9999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transition: right 0.28s ease;
  border-left: 1px solid var(--sdd7-border);
  box-shadow: -6px 0 20px rgba(0,0,0,0.4);
}
.sdd7-mobile-menu.sdd7-active { right: 0; }
.sdd7-mobile-menu h3 { color: var(--sdd7-accent); margin-bottom: 1rem; font-size: 1.5rem; }
.sdd7-mobile-menu a {
  display: block;
  padding: 0.9rem 0.8rem;
  color: var(--sdd7-text);
  border-bottom: 1px solid var(--sdd7-border);
  font-size: 1.35rem;
}
.sdd7-mobile-menu a:hover { background: rgba(238,130,238,0.15); color: #fff; }
.sdd7-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}
.sdd7-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
body.sdd7-menu-open .sdd7-overlay { display: block; }

/* ---------------- Main ---------------- */
main { padding-top: 6rem; padding-bottom: 1rem; }
@media (max-width: 768px) {
  main { padding-bottom: 8.5rem; }
}

.sdd7-section { padding: 2rem 0; }
.sdd7-section-title {
  font-size: 1.7rem; font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.sdd7-section-title i { color: var(--sdd7-accent); }
.sdd7-section-sub { color: var(--sdd7-muted); font-size: 1.25rem; margin-bottom: 1.2rem; }

/* ---------------- Carousel ---------------- */
.sdd7-carousel {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.sdd7-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.sdd7-carousel-slide {
  min-width: 100%;
  position: relative;
}
.sdd7-carousel-slide img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
.sdd7-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: #fff;
}
.sdd7-carousel-cap h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; }
.sdd7-carousel-cap p { font-size: 1.2rem; opacity: 0.92; }
.sdd7-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem;
  background: rgba(0,0,0,0.4); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.sdd7-carousel-nav.sdd7-prev { left: 0.8rem; }
.sdd7-carousel-nav.sdd7-next { right: 0.8rem; }
.sdd7-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 0.6rem;
  display: flex; justify-content: center; gap: 0.5rem;
  z-index: 2;
}
.sdd7-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
}
.sdd7-carousel-dot.sdd7-current { background: var(--sdd7-accent); width: 1.8rem; border-radius: 0.5rem; }

/* ---------------- Hero ---------------- */
.sdd7-hero {
  background: radial-gradient(circle at 30% 20%, rgba(238,130,238,0.18), transparent 60%),
              linear-gradient(135deg, #0000FF 0%, #2E4057 100%);
  padding: 2rem 1.2rem;
  text-align: center;
  border-radius: 0 0 1.5rem 1.5rem;
}
.sdd7-hero h1 {
  font-size: 2.1rem; font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 0.8rem;
}
.sdd7-hero p { color: rgba(255,255,255,0.92); font-size: 1.3rem; margin-bottom: 1.4rem; }
.sdd7-hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.sdd7-stat-row {
  display: flex; justify-content: space-around; gap: 0.5rem;
  margin-top: 1.6rem;
}
.sdd7-stat-item { text-align: center; }
.sdd7-stat-num {
  font-size: 1.8rem; font-weight: 800; color: var(--sdd7-gold);
}
.sdd7-stat-label { font-size: 1.1rem; color: rgba(255,255,255,0.8); }

/* ---------------- Game grid ---------------- */
.sdd7-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.sdd7-filter-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--sdd7-border);
  color: var(--sdd7-text);
  padding: 0.5rem 1rem;
  border-radius: 1.6rem;
  font-size: 1.15rem;
  white-space: nowrap;
  cursor: pointer;
}
.sdd7-filter-btn.sdd7-filter-current {
  background: linear-gradient(90deg, #0000FF, #EE82EE);
  border-color: transparent;
  color: #fff;
}

.sdd7-game-section { margin-top: 1.5rem; }
.sdd7-game-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem;
}
.sdd7-game-section-head h2 {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 0.5rem;
}
.sdd7-game-section-head h2 i { color: var(--sdd7-gold); }

.sdd7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
@media (min-width: 360px) {
  .sdd7-grid { grid-template-columns: repeat(3, 1fr); }
}

.sdd7-card {
  background: var(--sdd7-bg-card);
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--sdd7-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  position: relative;
}
.sdd7-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(238,130,238,0.25); }
.sdd7-card-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: #1f2c39;
}
.sdd7-card-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.05rem;
  color: #fff;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}
.sdd7-card-hot {
  position: absolute; top: 0.3rem; left: 0.3rem;
  background: var(--sdd7-danger); color: #fff;
  font-size: 0.9rem; font-weight: 700;
  padding: 0.1rem 0.5rem; border-radius: 0.4rem;
}

/* ---------------- Info / content cards ---------------- */
.sdd7-panel {
  background: var(--sdd7-bg-card);
  border-radius: 1rem;
  padding: 1.4rem;
  margin: 1rem 0;
  border: 1px solid var(--sdd7-border);
}
.sdd7-panel h2 { color: #fff; font-size: 1.6rem; margin-bottom: 0.7rem; font-weight: 800; }
.sdd7-panel h3 { color: var(--sdd7-accent); font-size: 1.35rem; margin: 1rem 0 0.4rem; font-weight: 700; }
.sdd7-panel p { color: rgba(255,255,255,0.9); margin-bottom: 0.7rem; }
.sdd7-panel ul { list-style: none; padding-left: 0; }
.sdd7-panel ul li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.9);
}
.sdd7-panel ul li:before {
  content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; color: var(--sdd7-accent);
}

.sdd7-step {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.8rem 0; border-bottom: 1px dashed var(--sdd7-border);
}
.sdd7-step:last-child { border-bottom: none; }
.sdd7-step-num {
  flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%;
  background: linear-gradient(135deg, #0000FF, #EE82EE);
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.sdd7-step-body strong { color: #fff; display: block; margin-bottom: 0.2rem; }

/* ---------------- FAQ ---------------- */
.sdd7-faq-item {
  background: var(--sdd7-bg-card);
  border: 1px solid var(--sdd7-border);
  border-radius: 0.7rem;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.sdd7-faq-head {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.6rem;
}
.sdd7-faq-head i { color: var(--sdd7-accent); transition: transform 0.2s; }
.sdd7-faq-item.sdd7-faq-open .sdd7-faq-head i { transform: rotate(180deg); }
.sdd7-faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.2rem;
  color: rgba(255,255,255,0.9);
}
.sdd7-faq-item.sdd7-faq-open .sdd7-faq-body {
  max-height: 600px;
  padding: 0 1.2rem 1rem;
}

/* ---------------- Testimonials ---------------- */
.sdd7-testimonial {
  background: var(--sdd7-bg-card);
  border-radius: 0.8rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--sdd7-accent);
}
.sdd7-testi-stars { color: var(--sdd7-gold); margin-bottom: 0.4rem; font-size: 1.05rem; }
.sdd7-testi-text { color: rgba(255,255,255,0.92); margin-bottom: 0.5rem; }
.sdd7-testi-author { font-size: 1.1rem; color: var(--sdd7-muted); }

/* ---------------- Payment ---------------- */
.sdd7-pay-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.sdd7-pay-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--sdd7-border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.3rem;
  text-align: center;
  font-size: 1rem;
  color: #fff;
}
.sdd7-pay-item i { font-size: 1.6rem; color: var(--sdd7-accent); display: block; margin-bottom: 0.3rem; }

/* ---------------- Winners ---------------- */
.sdd7-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--sdd7-bg-card);
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.sdd7-winner-name { color: #fff; font-weight: 700; }
.sdd7-winner-amount { color: var(--sdd7-gold); font-weight: 800; }

/* ---------------- App CTA ---------------- */
.sdd7-app-cta {
  background: linear-gradient(135deg, #0000FF 0%, #EE82EE 100%);
  border-radius: 1.2rem;
  padding: 1.6rem;
  text-align: center;
  margin: 1.5rem 0;
  color: #fff;
}
.sdd7-app-cta h2 { color: #fff; font-size: 1.7rem; margin-bottom: 0.4rem; }
.sdd7-app-cta p { color: rgba(255,255,255,0.92); margin-bottom: 1rem; }
.sdd7-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.sdd7-footer {
  background: #1d2a36;
  padding: 2.2rem 1.2rem 8.5rem;
  margin-top: 2rem;
  border-top: 2px solid var(--sdd7-primary);
}
.sdd7-footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.sdd7-footer p { color: var(--sdd7-muted); font-size: 1.15rem; margin-bottom: 1rem; }
.sdd7-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 1.2rem;
}
.sdd7-footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  text-decoration: underline;
}
.sdd7-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.sdd7-footer-copy {
  border-top: 1px solid var(--sdd7-border);
  padding-top: 1rem;
  font-size: 1.1rem;
  color: var(--sdd7-muted);
  text-align: center;
}

/* ---------------- Bottom Nav ---------------- */
.sdd7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(180deg, #2E4057, #1d2a36);
  border-top: 1px solid var(--sdd7-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
@media (min-width: 769px) {
  .sdd7-bottom-nav { display: none; }
  .sdd7-footer { padding-bottom: 2.2rem; }
}
.sdd7-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--sdd7-muted);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  position: relative;
  padding: 0.3rem 0;
}
.sdd7-bottom-nav-btn i, .sdd7-bottom-nav-btn .material-icons {
  font-size: 2.2rem;
  transition: transform 0.15s, color 0.15s;
}
.sdd7-bottom-nav-btn:hover { color: #fff; }
.sdd7-bottom-nav-btn:hover i { transform: scale(1.1); color: var(--sdd7-accent); }
.sdd7-bottom-nav-btn.sdd7-current { color: var(--sdd7-accent); }
.sdd7-bottom-nav-btn.sdd7-current i { color: var(--sdd7-gold); }
.sdd7-bottom-nav-btn .sdd7-badge {
  position: absolute; top: 0.4rem; right: 1.1rem;
  background: var(--sdd7-danger); color: #fff;
  font-size: 0.85rem; font-weight: 700;
  padding: 0 0.4rem; border-radius: 0.8rem;
  min-width: 1.4rem; text-align: center;
}

/* ---------------- Utilities ---------------- */
.sdd7-text-center { text-align: center; }
.sdd7-mt-1 { margin-top: 1rem; }
.sdd7-mt-2 { margin-top: 2rem; }
.sdd7-hidden { display: none !important; }
.sdd7-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.sdd7-tag {
  display: inline-block; background: rgba(238,130,238,0.18);
  color: var(--sdd7-accent);
  border: 1px solid rgba(238,130,238,0.4);
  padding: 0.2rem 0.7rem; border-radius: 1rem;
  font-size: 1.05rem; margin: 0.2rem 0.2rem 0.2rem 0;
}

.sdd7-cta-banner {
  background: linear-gradient(90deg, #EE82EE, #0000FF);
  color: #fff;
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.sdd7-cta-banner h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff; }
.sdd7-cta-banner p { margin-bottom: 0.9rem; font-size: 1.15rem; }

/* desktop tweaks */
@media (min-width: 769px) {
  body { background: #2E4057; }
  .sdd7-wrapper { max-width: 760px; box-shadow: 0 0 30px rgba(0,0,0,0.3); }
  .sdd7-grid { grid-template-columns: repeat(6, 1fr); }
}
