/**
 * jili333 slot app - design-55d6.css
 * Mobile-first casino homepage styling.
 * All custom classes / variables use the "w55d6-" prefix.
 * Palette: #212F3D (bg) | #EE82EE (pink) | #6A5ACD (slate blue) | #FF7F50 (coral)
 */

:root {
  --w55d6-bg: #212F3D;
  --w55d6-bg-soft: #2b3c50;
  --w55d6-bg-card: #324a63;
  --w55d6-pink: #EE82EE;
  --w55d6-blue: #6A5ACD;
  --w55d6-coral: #FF7F50;
  --w55d6-text: #f5f7fa;
  --w55d6-text-soft: #c6cee0;
  --w55d6-border: rgba(238, 130, 238, 0.22);
  --w55d6-gradient: linear-gradient(135deg, #6A5ACD 0%, #EE82EE 60%, #FF7F50 100%);
  --w55d6-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.32);
  --w55d6-radius: 1.2rem;
}

* { 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", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--w55d6-bg);
  color: var(--w55d6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--w55d6-pink); text-decoration: none; }
a:hover { color: var(--w55d6-coral); }

/* ===================== Header ===================== */
.w55d6-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(33,47,61,0.98), rgba(43,60,80,0.94));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w55d6-border);
  padding: 0.8rem 1rem;
}
.w55d6-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.w55d6-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.w55d6-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  box-shadow: 0 0 0 2px var(--w55d6-pink);
}
.w55d6-brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  background: var(--w55d6-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.w55d6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.w55d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 2rem;
  padding: 0.65rem 1.1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
  min-height: 3.4rem;
}
.w55d6-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.w55d6-btn-primary { background: var(--w55d6-gradient); box-shadow: 0 0.4rem 1.2rem rgba(238,130,238,0.35); }
.w55d6-btn-ghost { background: rgba(238,130,238,0.12); border: 1px solid var(--w55d6-border); }
.w55d6-btn-coral { background: linear-gradient(135deg, #FF7F50, #FF3D00); }
.w55d6-menu-btn {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--w55d6-border);
  background: rgba(106,90,205,0.18);
  color: var(--w55d6-text);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===================== Mobile Menu ===================== */
.w55d6-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(33,47,61,0.98);
  backdrop-filter: blur(14px);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  padding: 0 1.2rem;
}
.w55d6-menu-open { max-height: 80vh; padding: 1.2rem; }
.w55d6-mobile-menu ul { list-style: none; }
.w55d6-mobile-menu li { border-bottom: 1px solid rgba(238,130,238,0.12); }
.w55d6-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.4rem;
  color: var(--w55d6-text);
  font-size: 1.35rem;
  font-weight: 500;
}
.w55d6-mobile-menu a i { color: var(--w55d6-pink); width: 2rem; text-align: center; }
.w55d6-menu-close {
  margin-top: 0.6rem;
  width: 100%;
  background: var(--w55d6-gradient);
}

/* ===================== Hero Carousel ===================== */
.w55d6-carousel {
  position: relative;
  margin: 1rem;
  border-radius: var(--w55d6-radius);
  overflow: hidden;
  box-shadow: var(--w55d6-shadow);
}
.w55d6-slide { display: none; position: relative; cursor: pointer; }
.w55d6-slide-active { display: block; }
.w55d6-slide img { width: 100%; height: 18rem; object-fit: cover; }
.w55d6-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(33,47,61,0.92));
}
.w55d6-slide-overlay h2 { font-size: 1.55rem; color: var(--w55d6-pink); margin-bottom: 0.3rem; }
.w55d6-slide-overlay p { font-size: 1.2rem; color: var(--w55d6-text-soft); }
.w55d6-dots { position: absolute; bottom: 0.6rem; right: 0.8rem; display: flex; gap: 0.4rem; }
.w55d6-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.45); border: 0; cursor: pointer; }
.w55d6-dot-active { background: var(--w55d6-pink); }

/* ===================== Sections / Layout ===================== */
.w55d6-section { padding: 1.4rem 1rem; }
.w55d6-section-title {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 0.8rem;
  padding-left: 0.8rem; border-left: 0.4rem solid var(--w55d6-coral);
  display: flex; align-items: center; gap: 0.6rem;
}
.w55d6-section-title i { color: var(--w55d6-pink); }
.w55d6-section-title a.more { margin-left: auto; font-size: 1.15rem; color: var(--w55d6-coral); font-weight: 500; }

/* ===================== Game Grid ===================== */
.w55d6-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.w55d6-game-card {
  background: var(--w55d6-bg-card); border-radius: 0.8rem;
  overflow: hidden; cursor: pointer; position: relative;
  transition: transform 0.15s;
  border: 1px solid rgba(238,130,238,0.08);
}
.w55d6-game-card:hover { transform: translateY(-2px); border-color: var(--w55d6-border); }
.w55d6-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1a2632; }
.w55d6-game-card-name {
  font-size: 1.05rem; text-align: center; padding: 0.4rem 0.3rem;
  color: var(--w55d6-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w55d6-game-card-hot {
  position: absolute; top: 0.3rem; left: 0.3rem;
  background: linear-gradient(135deg, #FF7F50, #FF3D00);
  color: #fff; font-size: 0.9rem; padding: 0.1rem 0.4rem; border-radius: 0.4rem;
}

/* ===================== Cards / Content ===================== */
.w55d6-card {
  background: var(--w55d6-bg-card); border-radius: var(--w55d6-radius);
  padding: 1.2rem; margin-bottom: 1rem; box-shadow: var(--w55d6-shadow);
  border: 1px solid rgba(238,130,238,0.08);
}
.w55d6-card h2, .w55d6-card h3 { color: var(--w55d6-pink); margin-bottom: 0.6rem; }
.w55d6-card h2 { font-size: 1.55rem; }
.w55d6-card h3 { font-size: 1.35rem; }
.w55d6-card p { margin-bottom: 0.8rem; color: var(--w55d6-text-soft); }
.w55d6-card ul, .w55d6-card ol { padding-left: 1.6rem; margin-bottom: 0.8rem; color: var(--w55d6-text-soft); }
.w55d6-card li { margin-bottom: 0.35rem; }
.w55d6-card a.inline-link { color: var(--w55d6-coral); font-weight: 600; }

.w55d6-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.w55d6-feature {
  background: rgba(106,90,205,0.16); border-radius: 0.8rem; padding: 0.8rem;
  text-align: center; border: 1px solid rgba(238,130,238,0.1);
}
.w55d6-feature i { font-size: 1.8rem; color: var(--w55d6-pink); margin-bottom: 0.3rem; }
.w55d6-feature strong { display: block; font-size: 1.2rem; color: var(--w55d6-text); }
.w55d6-feature span { font-size: 1.05rem; color: var(--w55d6-text-soft); }

/* FAQ accordion */
.w55d6-faq { border-bottom: 1px solid rgba(238,130,238,0.12); }
.w55d6-faq-head {
  cursor: pointer; padding: 0.9rem 0.2rem; font-weight: 600; font-size: 1.25rem;
  display: flex; justify-content: space-between; align-items: center; color: var(--w55d6-text);
}
.w55d6-faq-head::after { content: "+"; color: var(--w55d6-pink); font-size: 1.5rem; }
.w55d6-faq-open .w55d6-faq-head::after { content: "-"; }
.w55d6-faq-body { display: none; padding-bottom: 0.9rem; color: var(--w55d6-text-soft); }
.w55d6-faq-open .w55d6-faq-body { display: block; }

/* Testimonials */
.w55d6-testimonial {
  background: var(--w55d6-bg-soft); border-left: 0.3rem solid var(--w55d6-coral);
  padding: 0.8rem; border-radius: 0.6rem; margin-bottom: 0.6rem;
}
.w55d6-testimonial p { font-style: italic; margin-bottom: 0.3rem; }
.w55d6-testimonial .stars { color: #FFD700; font-size: 1.1rem; }

/* Payment / winners */
.w55d6-chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.w55d6-chip {
  background: rgba(238,130,238,0.12); border: 1px solid var(--w55d6-border);
  padding: 0.4rem 0.8rem; border-radius: 1.6rem; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.w55d6-winner {
  display: flex; justify-content: space-between; padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(238,130,238,0.18); font-size: 1.15rem;
}
.w55d6-winner strong { color: var(--w55d6-coral); }

/* CTA banner */
.w55d6-cta {
  background: var(--w55d6-gradient); border-radius: var(--w55d6-radius);
  padding: 1.4rem; text-align: center; margin: 1rem; color: #fff;
  box-shadow: var(--w55d6-shadow);
}
.w55d6-cta h2 { color: #fff; font-size: 1.6rem; margin-bottom: 0.4rem; }
.w55d6-cta p { color: rgba(255,255,255,0.9); margin-bottom: 0.8rem; }
.w55d6-cta .w55d6-btn { background: #fff; color: var(--w55d6-blue); font-weight: 700; }

/* ===================== Footer ===================== */
.w55d6-footer {
  background: #18222e;
  padding: 1.6rem 1rem 9rem;
  border-top: 1px solid var(--w55d6-border);
  margin-top: 1rem;
}
.w55d6-footer-brand { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--w55d6-text-soft); }
.w55d6-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.w55d6-footer-links a {
  color: var(--w55d6-text-soft);
  font-size: 1.15rem;
}
.w55d6-footer-links a:hover { color: var(--w55d6-pink); }
.w55d6-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0;
}
.w55d6-footer-copy {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(238,130,238,0.1);
}

/* ===================== Bottom Nav ===================== */
.w55d6-bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, rgba(43,60,80,0.98), rgba(24,34,46,1));
  border-top: 1px solid var(--w55d6-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.35);
}
.w55d6-bottom-nav-btn {
  background: transparent;
  border: 0;
  color: var(--w55d6-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 6rem;
  min-height: 5rem;
  padding: 0.3rem;
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
}
.w55d6-bottom-nav-btn i { font-size: 2rem; }
.w55d6-bottom-nav-btn .material-icons,
.w55d6-bottom-nav-btn .ion { font-size: 2.2rem; }
.w55d6-bottom-nav-btn span { font-size: 1rem; }
.w55d6-bottom-nav-btn:hover { transform: translateY(-2px); }
.w55d6-bottom-nav-active { color: var(--w55d6-pink); }
.w55d6-bottom-nav-active i,
.w55d6-bottom-nav-active .material-icons { color: var(--w55d6-coral); }
.w55d6-bottom-nav-promo {
  color: var(--w55d6-coral);
  position: relative;
}
.w55d6-bottom-nav-promo::after {
  content: "HOT";
  position: absolute;
  top: -0.2rem; right: 0.6rem;
  background: var(--w55d6-coral);
  color: #fff;
  font-size: 0.8rem;
  padding: 0 0.3rem;
  border-radius: 0.4rem;
}

/* ===================== Helpers ===================== */
.w55d6-text-pink { color: var(--w55d6-pink); font-weight: 600; }
.w55d6-text-coral { color: var(--w55d6-coral); font-weight: 600; }
.w55d6-hide-mobile { display: none; }

@media (min-width: 769px) {
  body { max-width: 100%; }
  .w55d6-hide-mobile { display: block; }
  .w55d6-bottom-nav { display: none; }
  .w55d6-footer { padding-bottom: 2rem; }
  .w55d6-game-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: 7rem; }
}
