/* d188.click - Core stylesheet. All custom classes use w5893- prefix. */
:root {
  --w5893-bg: #0C0C0C;
  --w5893-surface: #1a1410;
  --w5893-surface-2: #221a13;
  --w5893-primary: #8B7355;
  --w5893-accent: #FF7F50;
  --w5893-violet: #8A2BE2;
  --w5893-text: #F5DEB3;
  --w5893-text-muted: #c9b896;
  --w5893-gray: #495057;
  --w5893-border: rgba(245, 222, 179, 0.12);
  --w5893-radius: 14px;
  --w5893-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

* { 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(--w5893-bg);
  background-image: radial-gradient(circle at 20% 0%, rgba(138, 43, 226, 0.18), transparent 45%),
                    radial-gradient(circle at 90% 10%, rgba(255, 127, 80, 0.14), transparent 40%);
  color: var(--w5893-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Layout ---------- */
.w5893-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: rgba(12, 12, 12, 0.6);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.w5893-container {
  width: 100%;
  padding: 0 1.4rem;
}

main { padding-bottom: 80px; }

/* ---------- Header ---------- */
.w5893-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #161009, #0C0C0C);
  border-bottom: 1px solid var(--w5893-border);
}
.w5893-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.2rem;
}
.w5893-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w5893-brand img { width: 30px; height: 30px; border-radius: 8px; }
.w5893-brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--w5893-accent), var(--w5893-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.w5893-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w5893-icon-btn {
  background: transparent;
  border: none;
  color: var(--w5893-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w5893-icon-btn:active { transform: scale(0.92); background: rgba(245,222,179,0.08); }

/* ---------- Buttons ---------- */
.w5893-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.w5893-btn:active { transform: scale(0.95); }
.w5893-btn-primary {
  background: linear-gradient(90deg, var(--w5893-accent), #ff6a33);
  color: #1a0a00;
  box-shadow: 0 4px 14px rgba(255, 127, 80, 0.4);
}
.w5893-btn-ghost {
  background: transparent;
  border: 1px solid var(--w5893-text);
  color: var(--w5893-text);
}
.w5893-btn-violet {
  background: linear-gradient(90deg, var(--w5893-violet), #6a1bb8);
  color: #fff;
  box-shadow: 0 4px 14px rgba(138, 43, 226, 0.45);
}
.w5893-btn-block { width: 100%; }

/* ---------- Nav drawer ---------- */
.w5893-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #120c07;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  padding: 7rem 1.6rem 2rem;
  overflow-y: auto;
  transition: right 0.28s ease;
  border-left: 1px solid var(--w5893-border);
}
.w5893-nav-drawer.w5893-open { right: 0; }
.w5893-nav-drawer a {
  display: block;
  padding: 1rem 0;
  color: var(--w5893-text);
  border-bottom: 1px solid var(--w5893-border);
  font-size: 1.45rem;
}
.w5893-nav-drawer a:hover { color: var(--w5893-accent); text-decoration: none; }
.w5893-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--w5893-text);
  font-size: 2.2rem;
  cursor: pointer;
}

/* ---------- Hero / Carousel ---------- */
.w5893-hero { padding: 1.2rem 0 0.4rem; }
.w5893-carousel {
  position: relative;
  border-radius: var(--w5893-radius);
  overflow: hidden;
  box-shadow: var(--w5893-shadow);
}
.w5893-slide-track {
  display: flex;
  transition: transform 0.5s ease;
}
.w5893-slide {
  min-width: 100%;
  position: relative;
}
.w5893-slide img { width: 100%; height: 180px; object-fit: cover; }
.w5893-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.w5893-slide-overlay h2 { font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.w5893-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
}
.w5893-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(245,222,179,0.3);
  border: none; cursor: pointer;
}
.w5893-dot.w5893-active { background: var(--w5893-accent); width: 22px; border-radius: 4px; }

/* ---------- Section ---------- */
.w5893-section { padding: 1.6rem 0; }
.w5893-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.w5893-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--w5893-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w5893-section-title i { color: var(--w5893-accent); }
.w5893-more { font-size: 1.2rem; color: var(--w5893-accent); }

/* ---------- H1 ---------- */
.w5893-h1 {
  font-size: 2rem;
  line-height: 2.6rem;
  font-weight: 800;
  margin: 0.6rem 0 1rem;
  background: linear-gradient(90deg, #fff, var(--w5893-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.w5893-subtitle { color: var(--w5893-text-muted); font-size: 1.35rem; margin-bottom: 1rem; }

/* ---------- Game grid ---------- */
.w5893-cat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.4rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--w5893-border);
}
.w5893-cat-head i { color: var(--w5893-violet); font-size: 1.8rem; }
.w5893-cat-head h3 { font-size: 1.4rem; color: var(--w5893-text); font-weight: 700; }
.w5893-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.w5893-game {
  display: block;
  background: var(--w5893-surface);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid var(--w5893-border);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.w5893-game:active { transform: scale(0.95); border-color: var(--w5893-accent); }
.w5893-game img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.w5893-game-name {
  font-size: 1.1rem;
  color: var(--w5893-text);
  line-height: 1.3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Cards ---------- */
.w5893-card {
  background: var(--w5893-surface);
  border-radius: var(--w5893-radius);
  padding: 1.2rem;
  border: 1px solid var(--w5893-border);
  margin-bottom: 1rem;
}
.w5893-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; color: var(--w5893-text); }
.w5893-card p { color: var(--w5893-text-muted); font-size: 1.3rem; line-height: 1.7rem; }
.w5893-card a { color: var(--w5893-accent); font-weight: 700; }

/* ---------- Features ---------- */
.w5893-feature-list { display: grid; gap: 0.8rem; }
.w5893-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--w5893-surface);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--w5893-accent);
}
.w5893-feature .material-icons,
.w5893-feature i { font-size: 2.4rem; color: var(--w5893-accent); }
.w5893-feature h4 { font-size: 1.35rem; color: var(--w5893-text); margin-bottom: 0.3rem; }
.w5893-feature p { font-size: 1.25rem; color: var(--w5893-text-muted); }

/* ---------- Steps ---------- */
.w5893-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.w5893-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--w5893-violet);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.w5893-step-body h4 { font-size: 1.3rem; color: var(--w5893-text); margin-bottom: 0.2rem; }
.w5893-step-body p { font-size: 1.25rem; color: var(--w5893-text-muted); }

/* ---------- RTP table ---------- */
.w5893-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--w5893-border);
  font-size: 1.3rem;
}
.w5893-rtp-row span:last-child { color: var(--w5893-accent); font-weight: 700; }

/* ---------- Testimonial ---------- */
.w5893-testi {
  background: var(--w5893-surface);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w5893-violet);
}
.w5893-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.w5893-testi-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--w5893-accent);
  color: #1a0a00;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.w5893-testi-name { font-weight: 700; color: var(--w5893-text); font-size: 1.3rem; }
.w5893-stars { color: #ffc107; font-size: 1.1rem; }
.w5893-testi p { color: var(--w5893-text-muted); font-size: 1.25rem; }

/* ---------- Winner ---------- */
.w5893-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--w5893-surface);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.w5893-winner span:last-child { color: var(--w5893-accent); font-weight: 700; }

/* ---------- Payment ---------- */
.w5893-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w5893-pay {
  aspect-ratio: 1;
  background: var(--w5893-surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--w5893-border);
}
.w5893-pay i { font-size: 2.4rem; color: var(--w5893-text); }

/* ---------- App CTA ---------- */
.w5893-app-cta {
  background: linear-gradient(135deg, rgba(138,43,226,0.25), rgba(255,127,80,0.18));
  border-radius: var(--w5893-radius);
  padding: 1.4rem;
  border: 1px solid var(--w5893-border);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.w5893-app-cta h3 { font-size: 1.5rem; color: var(--w5893-text); margin-bottom: 0.3rem; }
.w5893-app-cta p { font-size: 1.2rem; color: var(--w5893-text-muted); }
.w5893-app-buttons { display: flex; flex-direction: column; gap: 0.4rem; }

/* ---------- Promo banner ---------- */
.w5893-promo-banner {
  background: linear-gradient(90deg, var(--w5893-accent), var(--w5893-violet));
  border-radius: var(--w5893-radius);
  padding: 1.4rem;
  text-align: center;
  color: #fff;
  margin: 1rem 0;
}
.w5893-promo-banner h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.w5893-promo-banner p { font-size: 1.25rem; opacity: 0.95; margin-bottom: 0.9rem; }

/* ---------- SEO content / FAQ ---------- */
.w5893-seo-text { color: var(--w5893-text-muted); font-size: 1.3rem; line-height: 1.8rem; }
.w5893-seo-text p { margin-bottom: 0.8rem; }
.w5893-faq-item {
  background: var(--w5893-surface);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--w5893-border);
}
.w5893-faq-item h4 { font-size: 1.35rem; color: var(--w5893-accent); margin-bottom: 0.4rem; }
.w5893-faq-item p { font-size: 1.25rem; color: var(--w5893-text-muted); }

/* ---------- Footer ---------- */
.w5893-footer {
  background: #0a0703;
  padding: 2rem 1.4rem 1.5rem;
  border-top: 1px solid var(--w5893-border);
  margin-top: 1.5rem;
}
.w5893-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.w5893-footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.w5893-footer-brand span { font-size: 1.6rem; font-weight: 800; color: var(--w5893-accent); }
.w5893-footer-desc { font-size: 1.25rem; color: var(--w5893-text-muted); line-height: 1.7rem; margin-bottom: 1rem; }
.w5893-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.w5893-footer-promos .w5893-btn { padding: 0.6rem; font-size: 1.2rem; min-height: 36px; }
.w5893-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.w5893-footer-links a {
  color: var(--w5893-text-muted);
  font-size: 1.2rem;
}
.w5893-copyright {
  border-top: 1px solid var(--w5893-border);
  padding-top: 1rem;
  font-size: 1.15rem;
  color: var(--w5893-gray);
  text-align: center;
}

/* ---------- Bottom nav (mobile) ---------- */
.w5893-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #161009, #0a0703);
  border-top: 1px solid var(--w5893-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  padding: 0 0.3rem;
}
.w5893-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--w5893-text-muted);
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.w5893-bottom-nav-item:active { transform: scale(0.88); }
.w5893-bottom-nav-item i,
.w5893-bottom-nav-item .material-icons {
  font-size: 22px;
}
.w5893-bottom-nav-item.w5893-current { color: var(--w5893-accent); }
.w5893-bottom-nav-item.w5893-current::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--w5893-accent);
}

/* ---------- Reveal animation ---------- */
.w5893-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.w5893-reveal.w5893-show { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w5893-bottom-nav { display: none; }
  main { padding-bottom: 1.5rem; }
}

/* ---------- Small screens ---------- */
@media (max-width: 360px) {
  .w5893-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .w5893-game img { height: 60px; }
  .w5893-pay-grid { grid-template-columns: repeat(3, 1fr); }
}
