/**
 * f1686s.cfd - style.css
 * Mobile-first casino/gaming site styles. All custom classes use the
 * dynamic prefix "sfd9-". Comments in English only.
 */

:root {
  --sfd9-primary: #B03060;       /* deep rose - brand */
  --sfd9-primary-dark: #822347;  /* darker rose */
  --sfd9-slate: #778899;         /* light slate grey */
  --sfd9-pink: #FFC0CB;          /* soft pink accent */
  --sfd9-dark: #495057;          /* charcoal */
  --sfd9-darker: #333333;        /* near-black text */
  --sfd9-bg: #ECF0F1;            /* light background */
  --sfd9-bg-alt: #ffffff;
  --sfd9-text: #333333;
  --sfd9-text-light: #ECF0F1;
  --sfd9-gold: #f5c542;
  --sfd9-shadow: 0 4px 16px rgba(60, 20, 35, 0.18);
  --sfd9-radius: 14px;
  --sfd9-radius-sm: 10px;
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--sfd9-text);
  background: linear-gradient(180deg, #fff7fa 0%, var(--sfd9-bg) 40%, #f6e8ee 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

.sfd9-wrapper { width: 100%; }

/* ============ Header ============ */
.sfd9-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--sfd9-primary) 0%, var(--sfd9-primary-dark) 100%);
  color: var(--sfd9-text-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.sfd9-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}

.sfd9-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.sfd9-brand img {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
}

.sfd9-brand-name {
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.4px;
  color: #fff;
  white-space: nowrap;
}

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

.sfd9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 36px;
  font-family: inherit;
}

.sfd9-btn:active { transform: scale(0.96); }

.sfd9-btn-primary {
  background: var(--sfd9-gold);
  color: var(--sfd9-darker);
  box-shadow: 0 3px 10px rgba(245,197,66,0.45);
}
.sfd9-btn-primary:hover { background: #ffd457; color: var(--sfd9-darker); text-decoration: none; }

.sfd9-btn-ghost {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.sfd9-btn-ghost:hover { background: rgba(255,255,255,0.28); color: #fff; text-decoration: none; }

.sfd9-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  line-height: 1;
}

/* ============ Mobile dropdown menu ============ */
.sfd9-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: var(--sfd9-primary-dark);
  color: #fff;
}
.sfd9-mobile-menu.sfd9-menu-open { max-height: 460px; }

.sfd9-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.4rem 1rem 0.8rem;
  display: flex;
  flex-direction: column;
}
.sfd9-mobile-menu a {
  color: #fff;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sfd9-mobile-menu a:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: #fff; }

/* ============ Main / Layout ============ */
main {
  padding-top: 64px;
  padding-bottom: 1rem;
}

.sfd9-section {
  padding: 2.2rem 0 1.4rem;
}

.sfd9-section-alt {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sfd9-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--sfd9-primary-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sfd9-section-sub {
  color: var(--sfd9-dark);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

/* ============ Hero carousel ============ */
.sfd9-hero {
  position: relative;
  border-radius: var(--sfd9-radius);
  overflow: hidden;
  box-shadow: var(--sfd9-shadow);
  margin: 1.2rem 0 1.4rem;
}

.sfd9-slides { position: relative; }
.sfd9-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.sfd9-slide img { width: 100%; height: 190px; object-fit: cover; }
.sfd9-slide-active { display: block; }
.sfd9-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.sfd9-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.sfd9-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
}
.sfd9-dot-active { background: var(--sfd9-gold); }

/* ============ Game grid ============ */
.sfd9-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 0.8rem;
}
.sfd9-cat-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sfd9-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sfd9-cat-tag {
  font-size: 1.1rem;
  color: var(--sfd9-dark);
  background: var(--sfd9-pink);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.sfd9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.sfd9-card {
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  text-align: center;
}
.sfd9-card:hover { transform: translateY(-2px); box-shadow: var(--sfd9-shadow); text-decoration: none; }
.sfd9-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f1e6ea;
}
.sfd9-card-name {
  font-size: 1.2rem;
  color: var(--sfd9-darker);
  padding: 0.4rem 0.3rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Featured ============ */
.sfd9-featured {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.sfd9-featured::-webkit-scrollbar { height: 4px; }
.sfd9-featured::-webkit-scrollbar-thumb { background: var(--sfd9-primary); border-radius: 2px; }
.sfd9-feature-card {
  flex: 0 0 220px;
  background: #fff;
  border-radius: var(--sfd9-radius);
  overflow: hidden;
  box-shadow: var(--sfd9-shadow);
  scroll-snap-align: start;
  cursor: pointer;
}
.sfd9-feature-card img { width: 100%; height: 120px; object-fit: cover; }
.sfd9-feature-body { padding: 0.7rem 0.9rem 0.9rem; }
.sfd9-feature-body h3 { font-size: 1.4rem; color: var(--sfd9-primary-dark); margin-bottom: 0.3rem; }
.sfd9-feature-body p { font-size: 1.2rem; color: var(--sfd9-dark); }

/* ============ Promo CTA banner ============ */
.sfd9-cta {
  background: linear-gradient(120deg, var(--sfd9-primary) 0%, var(--sfd9-primary-dark) 100%);
  color: #fff;
  border-radius: var(--sfd9-radius);
  padding: 1.2rem;
  margin: 1.4rem 0;
  text-align: center;
  box-shadow: var(--sfd9-shadow);
}
.sfd9-cta h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.sfd9-cta p { font-size: 1.3rem; opacity: 0.92; margin-bottom: 0.9rem; }

/* ============ RTP / data table ============ */
.sfd9-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.sfd9-rtp-item {
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 3px solid var(--sfd9-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.sfd9-rtp-name { font-size: 1.2rem; color: var(--sfd9-dark); font-weight: 600; }
.sfd9-rtp-value { font-size: 1.6rem; color: var(--sfd9-primary); font-weight: 800; }

/* ============ Testimonials ============ */
.sfd9-testimonial {
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-left: 3px solid var(--sfd9-gold);
}
.sfd9-testimonial-stars { color: var(--sfd9-gold); font-size: 1.3rem; margin-bottom: 0.3rem; }
.sfd9-testimonial p { font-size: 1.3rem; color: var(--sfd9-darker); margin-bottom: 0.4rem; }
.sfd9-testimonial-author { font-size: 1.15rem; color: var(--sfd9-slate); font-weight: 600; }

/* ============ Winners ============ */
.sfd9-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.sfd9-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 0.6rem 0.9rem; border-radius: var(--sfd9-radius-sm);
  font-size: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.sfd9-winner-name { font-weight: 700; color: var(--sfd9-darker); }
.sfd9-winner-amount { color: var(--sfd9-primary); font-weight: 800; }

/* ============ Payment ============ */
.sfd9-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem;
}
.sfd9-pay-chip {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.2rem;
  color: var(--sfd9-dark);
  display: inline-flex; align-items: center; gap: 0.35rem;
}

/* ============ FAQ ============ */
.sfd9-faq-item {
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.sfd9-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sfd9-primary-dark);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.sfd9-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1rem;
  color: var(--sfd9-darker);
  font-size: 1.3rem;
}
.sfd9-faq-open .sfd9-faq-a { max-height: 320px; padding: 0 1rem 0.9rem; }
.sfd9-faq-icon { transition: transform 0.2s ease; }
.sfd9-faq-open .sfd9-faq-icon { transform: rotate(45deg); }

/* ============ Article SEO ============ */
.sfd9-article {
  background: #fff;
  border-radius: var(--sfd9-radius);
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin: 1.2rem 0;
}
.sfd9-article h2 { font-size: 1.7rem; color: var(--sfd9-primary-dark); margin: 0.8rem 0 0.4rem; }
.sfd9-article h2:first-child { margin-top: 0; }
.sfd9-article h3 { font-size: 1.45rem; color: var(--sfd9-primary); margin: 0.8rem 0 0.3rem; }
.sfd9-article p { font-size: 1.32rem; color: var(--sfd9-darker); margin-bottom: 0.7rem; }
.sfd9-article ul { padding-left: 1.4rem; margin-bottom: 0.7rem; }
.sfd9-article li { font-size: 1.3rem; color: var(--sfd9-darker); margin-bottom: 0.3rem; }
.sfd9-article a { font-weight: 700; }

.sfd9-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 0.8rem 0;
}
.sfd9-feature-box {
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  padding: 0.9rem 0.7rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.sfd9-feature-box .material-icons,
.sfd9-feature-box i { font-size: 26px; color: var(--sfd9-primary); margin-bottom: 0.3rem; }
.sfd9-feature-box h4 { font-size: 1.3rem; color: var(--sfd9-darker); margin-bottom: 0.2rem; }
.sfd9-feature-box p { font-size: 1.15rem; color: var(--sfd9-dark); }

/* ============ Footer ============ */
.sfd9-footer {
  background: var(--sfd9-darker);
  color: var(--sfd9-text-light);
  padding: 2rem 0 1.4rem;
  margin-top: 1.5rem;
}
.sfd9-footer-brand { font-weight: 800; font-size: 1.7rem; margin-bottom: 0.4rem; color: #fff; }
.sfd9-footer p { font-size: 1.25rem; opacity: 0.85; margin-bottom: 0.8rem; }
.sfd9-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0;
}
.sfd9-footer-links a {
  color: var(--sfd9-pink);
  font-size: 1.2rem;
}
.sfd9-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.sfd9-footer-copy {
  font-size: 1.1rem; opacity: 0.7; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.9rem; margin-top: 0.8rem;
}

/* ============ Bottom nav ============ */
.sfd9-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
  z-index: 1000;
  border-top: 2px solid var(--sfd9-primary);
}
.sfd9-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--sfd9-dark);
  font-family: inherit;
  font-weight: 600;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0;
}
.sfd9-bottom-nav-btn i,
.sfd9-bottom-nav-btn .material-icons {
  font-size: 22px;
  color: var(--sfd9-primary);
}
.sfd9-bottom-nav-btn:active { transform: scale(0.92); }
.sfd9-bottom-nav-btn.sfd9-nav-active { color: var(--sfd9-primary-dark); }
.sfd9-bottom-nav-btn.sfd9-nav-active i,
.sfd9-bottom-nav-btn.sfd9-nav-active .material-icons { color: var(--sfd9-primary-dark); }

/* ============ Reveal animation ============ */
.sfd9-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sfd9-revealed { opacity: 1; transform: translateY(0); }

/* ============ Badges ============ */
.sfd9-badge {
  display: inline-block;
  background: var(--sfd9-gold);
  color: var(--sfd9-darker);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

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

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

@media (min-width: 600px) {
  .sfd9-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ Page hero banner (help pages) ============ */
.sfd9-page-hero {
  position: relative;
  border-radius: var(--sfd9-radius);
  overflow: hidden;
  box-shadow: var(--sfd9-shadow);
  margin: 1.2rem 0 1.4rem;
  cursor: pointer;
}
.sfd9-page-hero img { width: 100%; height: 170px; object-fit: cover; }
.sfd9-page-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

/* ============ Steps (how-to guide) ============ */
.sfd9-step {
  display: flex;
  gap: 0.8rem;
  background: #fff;
  border-radius: var(--sfd9-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.sfd9-step-num {
  flex: 0 0 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sfd9-primary) 0%, var(--sfd9-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
}
.sfd9-step h3 { font-size: 1.4rem; color: var(--sfd9-primary-dark); margin-bottom: 0.2rem; }
.sfd9-step p { font-size: 1.28rem; color: var(--sfd9-darker); }

/* ============ Tip box (tips page) ============ */
.sfd9-tip-box {
  background: #fff;
  border-left: 3px solid var(--sfd9-primary);
  border-radius: var(--sfd9-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.sfd9-tip-box h3 {
  font-size: 1.4rem;
  color: var(--sfd9-primary-dark);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sfd9-tip-box p { font-size: 1.28rem; color: var(--sfd9-darker); margin-bottom: 0.4rem; }

/* ============ Inline promo text link ============ */
.sfd9-textlink {
  cursor: pointer;
  font-weight: 800;
  color: var(--sfd9-primary);
  text-decoration: underline;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.sfd9-textlink:hover { color: var(--sfd9-primary-dark); }

/* Utility */
.sfd9-text-center { text-align: center; }
.sfd9-mt-1 { margin-top: 0.6rem; }
.sfd9-mt-2 { margin-top: 1.2rem; }
.sfd9-hidden { display: none !important; }
