@charset "utf-8";
/*!
 * layout-f0cb.css - Sunwin Blacksimba basefiles stylesheet
 * All custom classes use the sf0c- prefix.
 * Palette: #2D2D2D | #AD1457 | #9966CC | #8B008B | #E6E6FA | #CED4DA
 */

:root {
  --sf0c-bg: #2D2D2D;
  --sf0c-bg-soft: #3a2f35;
  --sf0c-bg-deep: #1d1d1d;
  --sf0c-primary: #AD1457;
  --sf0c-secondary: #9966CC;
  --sf0c-accent: #8B008B;
  --sf0c-light: #E6E6FA;
  --sf0c-muted: #CED4DA;
  --sf0c-white: #ffffff;
  --sf0c-gold: #f5c451;
  --sf0c-radius: 14px;
  --sf0c-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  --sf0c-max: 430px;
  --sf0c-header-h: 60px;
  --sf0c-bottom-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #3a2f35 0%, #2D2D2D 55%, #1d1d1d 100%);
  color: var(--sf0c-light);
  font-family: "Segoe UI", "Inter", "Roboto", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ===== Layout container ===== */
.sf0c-wrap {
  width: 100%;
  max-width: var(--sf0c-max);
  margin: 0 auto;
  padding: 0 14px;
}
main { display: block; padding-bottom: 90px; }

/* ===== Header ===== */
.sf0c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1d1d1d 0%, #2D2D2D 60%, #3a1525 100%);
  border-bottom: 1px solid rgba(173, 20, 87, .35);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.sf0c-header__inner {
  max-width: var(--sf0c-max);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sf0c-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  color: var(--sf0c-gold);
  letter-spacing: .3px;
  flex: 1;
  min-width: 0;
}
.sf0c-logo i { color: var(--sf0c-primary); font-size: 22px; }
.sf0c-logo small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  color: var(--sf0c-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sf0c-header__actions { display: flex; align-items: center; gap: 8px; }

.sf0c-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, background .25s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.sf0c-btn:active { transform: scale(.95); }
.sf0c-btn--login {
  background: transparent;
  color: var(--sf0c-light);
  border: 1px solid var(--sf0c-secondary);
}
.sf0c-btn--login:hover { background: rgba(153, 102, 204, .18); }
.sf0c-btn--register {
  background: linear-gradient(135deg, #AD1457 0%, #8B008B 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(173, 20, 87, .45);
}
.sf0c-btn--register:hover { box-shadow: 0 6px 18px rgba(173, 20, 87, .6); color: #fff; }

.sf0c-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--sf0c-light);
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

/* ===== Mobile drawer ===== */
.sf0c-mobile-drawer {
  position: fixed;
  top: 0;
  right: -86%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: linear-gradient(160deg, #1d1d1d 0%, #2D2D2D 100%);
  z-index: 9999;
  padding: 20px 18px;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(173, 20, 87, .35);
}
.sf0c-drawer-open { right: 0; }
.sf0c-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(153, 102, 204, .25);
}
.sf0c-drawer-head h3 { margin: 0; color: var(--sf0c-gold); font-size: 18px; }
.sf0c-drawer-close {
  background: transparent;
  border: 0;
  color: var(--sf0c-light);
  font-size: 22px;
  cursor: pointer;
}
.sf0c-drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.sf0c-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--sf0c-light);
  font-weight: 600;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .04);
}
.sf0c-drawer-nav a i { color: var(--sf0c-secondary); width: 22px; text-align: center; }
.sf0c-drawer-nav a:hover { background: rgba(173, 20, 87, .18); text-decoration: none; }
.sf0c-drawer-cta {
  margin-top: 18px;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #AD1457, #8B008B);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
}
.sf0c-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.sf0c-overlay-visible { opacity: 1; visibility: visible; }
.sf0c-no-scroll { overflow: hidden; }

/* ===== Hero slider ===== */
.sf0c-hero {
  margin: 14px 0 0;
}
.sf0c-hero-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--sf0c-shadow);
  aspect-ratio: 16 / 9;
}
.sf0c-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
}
.sf0c-slide-active { opacity: 1; }
.sf0c-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.85) 100%);
}
.sf0c-slide-content { position: relative; z-index: 2; }
.sf0c-slide-tag {
  display: inline-block;
  background: var(--sf0c-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sf0c-slide-title { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.sf0c-slide-sub { color: var(--sf0c-muted); font-size: 12px; margin: 0 0 10px; }
.sf0c-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.sf0c-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.sf0c-dot-active { background: var(--sf0c-gold); width: 18px; border-radius: 4px; }

/* ===== Hero CTA strip ===== */
.sf0c-cta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 4px;
}
.sf0c-cta-strip .sf0c-btn { justify-content: center; padding: 14px; }

/* ===== Section ===== */
.sf0c-section { padding: 22px 0 8px; }
.sf0c-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.sf0c-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--sf0c-light);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf0c-section-title i { color: var(--sf0c-secondary); }
.sf0c-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #AD1457, #8B008B);
  border-radius: 3px;
}
.sf0c-section-more {
  font-size: 12px;
  color: var(--sf0c-gold);
  font-weight: 600;
}

/* ===== Game grid ===== */
.sf0c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sf0c-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #3a2f35, #2D2D2D);
  border: 1px solid rgba(173, 20, 87, .22);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sf0c-card:active { transform: scale(.97); }
.sf0c-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.sf0c-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sf0c-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 8px;
}
.sf0c-card__title {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.sf0c-card__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--sf0c-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}
.sf0c-card__badge--hot { background: linear-gradient(135deg, #ff4d4d, #AD1457); }
.sf0c-card__badge--new { background: linear-gradient(135deg, #f5c451, #AD1457); }
.sf0c-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,45,45,0);
  transition: background .25s ease;
  font-size: 30px;
  color: #fff;
  opacity: 0;
}
.sf0c-card:hover .sf0c-card__play { opacity: 1; background: rgba(45,45,45,.55); }

/* ===== Category chips ===== */
.sf0c-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.sf0c-chips::-webkit-scrollbar { display: none; }
.sf0c-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(153,102,204,.12);
  border: 1px solid rgba(153,102,204,.32);
  color: var(--sf0c-light);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.sf0c-chip--active {
  background: linear-gradient(135deg, #AD1457, #8B008B);
  border-color: transparent;
  color: #fff;
}

/* ===== Feature list ===== */
.sf0c-features {
  display: grid;
  gap: 12px;
}
.sf0c-feature {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(153,102,204,.18);
}
.sf0c-feature__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(173,20,87,.3), rgba(153,102,204,.3));
  color: var(--sf0c-gold);
  font-size: 20px;
}
.sf0c-feature h4 { margin: 0 0 4px; font-size: 14px; color: var(--sf0c-light); }
.sf0c-feature p { margin: 0; font-size: 12px; color: var(--sf0c-muted); }

/* ===== Steps ===== */
.sf0c-steps { display: grid; gap: 10px; counter-reset: step; }
.sf0c-step {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  border-left: 3px solid var(--sf0c-primary);
}
.sf0c-step__num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #AD1457, #8B008B);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.sf0c-step h4 { margin: 0 0 3px; font-size: 14px; color: var(--sf0c-light); }
.sf0c-step p { margin: 0; font-size: 12px; color: var(--sf0c-muted); }

/* ===== SEO long text ===== */
.sf0c-seo {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(153,102,204,.16);
  line-height: 1.7;
  font-size: 13px;
  color: var(--sf0c-muted);
}
.sf0c-seo h2, .sf0c-seo h3 { color: var(--sf0c-light); margin: 14px 0 6px; font-size: 16px; }
.sf0c-seo h2:first-child { margin-top: 0; }
.sf0c-seo p { margin: 0 0 10px; }
.sf0c-seo a { color: var(--sf0c-gold); }
.sf0c-seo ul { margin: 0 0 10px; padding-left: 18px; }
.sf0c-seo li { margin-bottom: 4px; }

/* ===== FAQ ===== */
.sf0c-faq { display: grid; gap: 8px; }
.sf0c-faq-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(153,102,204,.18);
  border-radius: 12px;
  overflow: hidden;
}
.sf0c-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--sf0c-light);
  font-weight: 700;
  font-size: 13px;
  padding: 14px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.sf0c-faq-q i { color: var(--sf0c-gold); transition: transform .2s ease; }
.sf0c-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 14px;
  color: var(--sf0c-muted);
  font-size: 12px;
}
.sf0c-faq-open .sf0c-faq-a { max-height: 400px; padding: 0 14px 14px; }
.sf0c-faq-open .sf0c-faq-q i { transform: rotate(45deg); }

/* ===== Promo banner ===== */
.sf0c-promo-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 22px 18px;
  background: linear-gradient(135deg, #AD1457 0%, #8B008B 50%, #9966CC 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--sf0c-shadow);
}
.sf0c-promo-banner h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.sf0c-promo-banner p { margin: 0 0 14px; font-size: 12px; opacity: .92; }
.sf0c-promo-banner .sf0c-btn {
  background: #fff;
  color: var(--sf0c-primary);
  padding: 12px 26px;
  font-size: 14px;
}

/* ===== Bottom nav ===== */
.sf0c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sf0c-bottom-h);
  background: linear-gradient(180deg, #2D2D2D 0%, #1d1d1d 100%);
  border-top: 1px solid rgba(173,20,87,.4);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.45);
}
.sf0c-bottom-nav__item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--sf0c-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}
.sf0c-bottom-nav__item i { font-size: 22px; }
.sf0c-bottom-nav__item--promo {
  color: var(--sf0c-gold);
}
.sf0c-bottom-nav__item--promo i {
  background: linear-gradient(135deg, #AD1457, #8B008B);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-top: -18px;
  box-shadow: 0 4px 14px rgba(173,20,87,.55);
  border: 3px solid #1d1d1d;
}
.sf0c-bottom-nav__item:active { transform: scale(.92); }
.sf0c-bottom-nav__item:hover { color: var(--sf0c-light); text-decoration: none; }
.sf0c-bottom-nav__item--active { color: var(--sf0c-secondary); }
.sf0c-bottom-nav__item--active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 18px;
  height: 3px;
  background: var(--sf0c-gold);
  border-radius: 2px;
}

/* ===== Footer ===== */
.sf0c-footer {
  background: #1a1a1a;
  padding: 26px 0 24px;
  border-top: 1px solid rgba(153,102,204,.18);
}
.sf0c-footer h4 {
  color: var(--sf0c-gold);
  font-size: 14px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sf0c-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.sf0c-footer ul { list-style: none; padding: 0; margin: 0; }
.sf0c-footer li { margin-bottom: 6px; }
.sf0c-footer a { color: var(--sf0c-muted); font-size: 12px; }
.sf0c-footer__bottom {
  text-align: center;
  font-size: 11px;
  color: #777;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.sf0c-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}
.sf0c-footer__pay span {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  font-size: 10px;
  color: var(--sf0c-muted);
}

/* ===== Back to top & toast ===== */
.sf0c-back-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--sf0c-bottom-h) + 12px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #AD1457, #8B008B);
  color: #fff;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .2s ease;
  z-index: 999;
  box-shadow: var(--sf0c-shadow);
}
.sf0c-back-top-visible { opacity: 1; visibility: visible; }
.sf0c-back-top:active { transform: scale(.92); }

.sf0c-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sf0c-bottom-h) + 24px);
  transform: translateX(-50%) translateY(20px);
  background: rgba(45, 45, 45, .96);
  color: var(--sf0c-light);
  border: 1px solid var(--sf0c-secondary);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  z-index: 10000;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  box-shadow: var(--sf0c-shadow);
}
.sf0c-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Marquee ===== */
.sf0c-marquee {
  background: linear-gradient(135deg, rgba(173,20,87,.25), rgba(153,102,204,.25));
  border: 1px solid rgba(173,20,87,.35);
  border-radius: 30px;
  padding: 8px 14px;
  margin: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  color: var(--sf0c-gold);
  font-weight: 600;
}
.sf0c-marquee span { display: inline-block; padding-left: 100%; animation: sf0cMarq 22s linear infinite; }
@keyframes sf0cMarq { to { transform: translateX(-100%); } }

/* ===== Stats row ===== */
.sf0c-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.sf0c-stat {
  text-align: center;
  padding: 12px 6px;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  border: 1px solid rgba(153,102,204,.18);
}
.sf0c-stat strong {
  display: block;
  color: var(--sf0c-gold);
  font-size: 18px;
  font-weight: 800;
}
.sf0c-stat span { font-size: 10px; color: var(--sf0c-muted); }

/* ===== Tablet / desktop ===== */
@media (min-width: 768px) {
  body { background: radial-gradient(circle at 30% 0%, #3a2f35 0%, #2D2D2D 60%, #1d1d1d 100%); }
  .sf0c-wrap { max-width: 960px; padding: 0 24px; }
  .sf0c-header__inner { max-width: 960px; }
  .sf0c-grid { grid-template-columns: repeat(5, 1fr); }
  .sf0c-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .sf0c-cta-strip { grid-template-columns: repeat(4, 1fr); }
  .sf0c-features { grid-template-columns: repeat(3, 1fr); }
  .sf0c-footer__cols { grid-template-columns: repeat(4, 1fr); }
  .sf0c-back-top { bottom: 24px; }
}
@media (min-width: 769px) { .sf0c-bottom-nav { display: none; } }
@media (max-width: 768px) { main { padding-bottom: 80px; } }
