/* fb009 base theme - mobile first casino gaming site */
/* All custom classes use s99f- prefix */

:root {
  --s99f-primary: #DEB887;
  --s99f-accent: #FF8A80;
  --s99f-info: #BAE1FF;
  --s99f-muted: #A9A9A9;
  --s99f-bg: #2E4057;
  --s99f-bg-dark: #233143;
  --s99f-bg-card: #34495f;
  --s99f-text: #f4f6f8;
  --s99f-text-dim: #c7d0da;
  --s99f-border: rgba(222, 184, 135, 0.25);
  --s99f-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.35);
  --s99f-radius: 1.2rem;
  --s99f-header-h: 5.6rem;
  --s99f-nav-h: 6.2rem;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
  background: linear-gradient(160deg, var(--s99f-bg) 0%, var(--s99f-bg-dark) 100%);
  color: var(--s99f-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--s99f-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--s99f-accent); }

/* ===== Layout ===== */
.s99f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.s99f-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== Header ===== */
.s99f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(35, 49, 67, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s99f-border);
  box-shadow: var(--s99f-shadow);
}
.s99f-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--s99f-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: 0.8rem;
}
.s99f-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.s99f-logo-img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; object-fit: cover; }
.s99f-logo-text { font-size: 1.6rem; font-weight: 800; color: var(--s99f-primary); letter-spacing: 0.05rem; }
.s99f-logo-text span { color: var(--s99f-accent); }

.s99f-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s99f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; border: none; cursor: pointer;
  border-radius: 2rem; padding: 0.7rem 1.4rem; min-height: 3.6rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.s99f-btn:active { transform: scale(0.95); }
.s99f-btn-login {
  background: transparent; color: var(--s99f-primary);
  border: 1px solid var(--s99f-primary);
}
.s99f-btn-register {
  background: linear-gradient(135deg, var(--s99f-accent), #ff6f6f);
  color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(255, 138, 128, 0.4);
}
.s99f-btn-register:hover { color: #fff; filter: brightness(1.08); }

.s99f-menu-toggle {
  background: transparent; border: none; color: var(--s99f-primary);
  font-size: 1.6rem; cursor: pointer; padding: 0.4rem; min-width: 3.6rem; min-height: 3.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile Menu ===== */
.s99f-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--s99f-bg-dark); z-index: 9999;
  transition: right 0.3s ease; padding: var(--s99f-header-h) 1.6rem 2rem;
  overflow-y: auto; box-shadow: -0.4rem 0 1.6rem rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--s99f-border);
}
.s99f-mobile-menu.s99f-open { right: 0; }
.s99f-mobile-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem; background: transparent;
  border: none; color: var(--s99f-text); font-size: 1.8rem; cursor: pointer;
  min-width: 3.6rem; min-height: 3.6rem;
}
.s99f-mobile-menu h3 {
  color: var(--s99f-primary); font-size: 1.4rem; margin: 1.4rem 0 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06rem;
}
.s99f-mobile-menu ul { list-style: none; }
.s99f-mobile-menu li { margin-bottom: 0.4rem; }
.s99f-mobile-menu a {
  display: block; padding: 1rem 1.2rem; color: var(--s99f-text);
  border-radius: 0.8rem; font-size: 1.4rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}
.s99f-mobile-menu a:hover { background: rgba(222, 184, 135, 0.15); color: var(--s99f-primary); }

.s99f-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.s99f-overlay.s99f-open { opacity: 1; visibility: visible; }

/* ===== Main ===== */
.s99f-main { flex: 1; padding-top: var(--s99f-header-h); }

/* ===== Hero / Carousel ===== */
.s99f-hero { position: relative; margin: 1.2rem 0; border-radius: var(--s99f-radius); overflow: hidden; box-shadow: var(--s99f-shadow); }
.s99f-carousel { position: relative; height: 18rem; }
.s99f-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.s99f-slide.s99f-active { opacity: 1; }
.s99f-slide img { width: 100%; height: 100%; object-fit: cover; }
.s99f-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1.6rem;
  background: linear-gradient(to top, rgba(35, 49, 67, 0.95), transparent);
}
.s99f-slide-title { font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.s99f-slide-sub { font-size: 1.2rem; color: var(--s99f-info); margin-bottom: 0.8rem; }
.s99f-slide-cta {
  display: inline-block; background: var(--s99f-accent); color: #fff;
  padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 1.2rem; font-weight: 700;
}
.s99f-carousel-dots {
  position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.4rem; z-index: 2;
}
.s99f-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; border: none; }
.s99f-dot.s99f-active { background: var(--s99f-primary); }

/* ===== Sections ===== */
.s99f-section { margin: 2rem 0; }
.s99f-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.s99f-section-title {
  font-size: 1.6rem; font-weight: 800; color: var(--s99f-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.s99f-section-title i, .s99f-section-title .material-icons-outlined { font-size: 1.8rem; }
.s99f-section-link { font-size: 1.2rem; color: var(--s99f-info); font-weight: 600; }

/* ===== Game Grid ===== */
.s99f-game-cat { margin-bottom: 1.6rem; }
.s99f-cat-head {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--s99f-border);
}
.s99f-cat-icon {
  width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(222, 184, 135, 0.18);
  color: var(--s99f-primary); font-size: 1.5rem;
}
.s99f-cat-name { font-size: 1.5rem; font-weight: 700; color: var(--s99f-text); }
.s99f-cat-count { font-size: 1.1rem; color: var(--s99f-muted); margin-left: auto; }

.s99f-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.s99f-game-card {
  background: var(--s99f-bg-card); border-radius: 0.9rem; overflow: hidden;
  border: 1px solid var(--s99f-border); cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.s99f-game-card:active { transform: scale(0.96); }
.s99f-game-card:hover { box-shadow: 0 0.4rem 1rem rgba(255, 138, 128, 0.3); border-color: var(--s99f-accent); }
.s99f-game-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1a2638; }
.s99f-game-name {
  padding: 0.5rem 0.4rem; font-size: 1.05rem; font-weight: 600; color: var(--s99f-text);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-height: 2.6rem; display: flex; align-items: center; justify-content: center;
}

/* ===== Info / Feature cards ===== */
.s99f-card {
  background: var(--s99f-bg-card); border-radius: var(--s99f-radius); padding: 1.4rem;
  margin-bottom: 1rem; border: 1px solid var(--s99f-border); box-shadow: var(--s99f-shadow);
}
.s99f-card-title { font-size: 1.5rem; font-weight: 700; color: var(--s99f-primary); margin-bottom: 0.6rem; }
.s99f-card p { color: var(--s99f-text-dim); font-size: 1.3rem; line-height: 1.6; margin-bottom: 0.6rem; }
.s99f-card p:last-child { margin-bottom: 0; }

.s99f-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s99f-feature {
  background: var(--s99f-bg-card); border-radius: 1rem; padding: 1.2rem;
  text-align: center; border: 1px solid var(--s99f-border);
}
.s99f-feature-icon { font-size: 2.2rem; color: var(--s99f-accent); margin-bottom: 0.4rem; }
.s99f-feature h4 { font-size: 1.3rem; color: var(--s99f-primary); margin-bottom: 0.3rem; }
.s99f-feature p { font-size: 1.1rem; color: var(--s99f-text-dim); line-height: 1.4; }

/* ===== Inline promo link ===== */
.s99f-promo-link {
  color: var(--s99f-accent); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--s99f-accent);
}

/* ===== Testimonial ===== */
.s99f-testimonial {
  background: var(--s99f-bg-card); border-radius: 1rem; padding: 1.2rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--s99f-primary);
}
.s99f-testimonial-stars { color: #ffd54f; font-size: 1.2rem; margin-bottom: 0.4rem; }
.s99f-testimonial-text { font-size: 1.25rem; color: var(--s99f-text); line-height: 1.5; margin-bottom: 0.6rem; }
.s99f-testimonial-author { font-size: 1.1rem; color: var(--s99f-muted); }

/* ===== Winner ticker ===== */
.s99f-winner {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem;
  background: var(--s99f-bg-card); border-radius: 0.8rem; margin-bottom: 0.5rem;
  border: 1px solid var(--s99f-border);
}
.s99f-winner-avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--s99f-primary); color: var(--s99f-bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }
.s99f-winner-info { flex: 1; }
.s99f-winner-name { font-size: 1.2rem; font-weight: 700; color: var(--s99f-text); }
.s99f-winner-game { font-size: 1.05rem; color: var(--s99f-muted); }
.s99f-winner-amount { font-size: 1.3rem; font-weight: 800; color: var(--s99f-accent); }

/* ===== Payment ===== */
.s99f-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s99f-pay-chip {
  background: var(--s99f-bg-card); border: 1px solid var(--s99f-border);
  border-radius: 0.8rem; padding: 0.6rem 1rem; font-size: 1.15rem; color: var(--s99f-text);
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600;
}
.s99f-pay-chip i { color: var(--s99f-info); }

/* ===== CTA banner ===== */
.s99f-cta-banner {
  background: linear-gradient(135deg, var(--s99f-primary), #c9a26b);
  border-radius: var(--s99f-radius); padding: 1.6rem 1.4rem; text-align: center;
  margin: 1.6rem 0; color: var(--s99f-bg);
}
.s99f-cta-banner h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.s99f-cta-banner p { font-size: 1.25rem; margin-bottom: 1rem; color: var(--s99f-bg); }
.s99f-cta-banner .s99f-btn { background: var(--s99f-bg); color: var(--s99f-primary); }

/* ===== Footer ===== */
.s99f-footer {
  background: var(--s99f-bg-dark); padding: 2rem 1.2rem 9rem; margin-top: 2rem;
  border-top: 1px solid var(--s99f-border);
}
.s99f-footer-inner { max-width: 430px; margin: 0 auto; }
.s99f-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--s99f-primary); margin-bottom: 0.5rem; }
.s99f-footer-desc { font-size: 1.2rem; color: var(--s99f-text-dim); line-height: 1.5; margin-bottom: 1rem; }
.s99f-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.s99f-footer-promos .s99f-btn { font-size: 1.1rem; padding: 0.5rem 1rem; min-height: 3rem; }
.s99f-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem; }
.s99f-footer-links a { font-size: 1.15rem; color: var(--s99f-text-dim); }
.s99f-footer-links a:hover { color: var(--s99f-primary); }
.s99f-footer-copy { font-size: 1.1rem; color: var(--s99f-muted); border-top: 1px solid var(--s99f-border); padding-top: 1rem; }

/* ===== Mobile Bottom Nav ===== */
.s99f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s99f-nav-h); background: rgba(35, 49, 67, 0.98);
  backdrop-filter: blur(10px); border-top: 1px solid var(--s99f-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.3);
}
.s99f-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--s99f-text-dim); cursor: pointer; padding: 0.4rem;
  transition: color 0.2s ease, transform 0.15s ease; font-family: inherit;
  position: relative;
}
.s99f-nav-btn:active { transform: scale(0.92); }
.s99f-nav-btn i, .s99f-nav-btn .material-icons-outlined, .s99f-nav-btn .material-icons {
  font-size: 2.2rem;
}
.s99f-nav-btn span { font-size: 1.05rem; font-weight: 600; }
.s99f-nav-btn.s99f-active { color: var(--s99f-primary); }
.s99f-nav-btn.s99f-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.4rem; height: 0.3rem; background: var(--s99f-accent); border-radius: 0 0 0.3rem 0.3rem;
}
.s99f-nav-btn.s99f-promo { color: var(--s99f-accent); }
.s99f-nav-btn.s99f-promo span { color: var(--s99f-accent); }

/* ===== Bottom padding on mobile ===== */
@media (max-width: 768px) {
  .s99f-main { padding-bottom: calc(var(--s99f-nav-h) + 1rem); }
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .s99f-bottom-nav { display: none; }
  .s99f-container, .s99f-footer-inner, .s99f-header-inner { max-width: 720px; }
  .s99f-grid { grid-template-columns: repeat(5, 1fr); }
  .s99f-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .s99f-carousel { height: 26rem; }
  .s99f-footer { padding-bottom: 2rem; }
}

@media (min-width: 1024px) {
  .s99f-container, .s99f-footer-inner, .s99f-header-inner { max-width: 960px; }
  .s99f-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ===== Help page extras ===== */
.s99f-page-hero { margin: 1.2rem 0; border-radius: var(--s99f-radius); overflow: hidden; background: var(--s99f-bg-card); border: 1px solid var(--s99f-border); box-shadow: var(--s99f-shadow); }
.s99f-page-hero img { width: 100%; height: 15rem; object-fit: cover; }
.s99f-page-hero-body { padding: 1.4rem; }
.s99f-page-kicker { color: var(--s99f-info); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05rem; margin-bottom: 0.4rem; }
.s99f-page-title { font-size: 1.9rem; line-height: 1.25; color: var(--s99f-primary); font-weight: 900; margin-bottom: 0.6rem; }
.s99f-page-lead { color: var(--s99f-text-dim); font-size: 1.28rem; line-height: 1.6; }
.s99f-step-list { list-style: none; display: grid; gap: 0.8rem; }
.s99f-step-list li { background: rgba(255,255,255,0.04); border: 1px solid var(--s99f-border); border-radius: 1rem; padding: 1rem; color: var(--s99f-text-dim); line-height: 1.55; }
.s99f-step-list strong { color: var(--s99f-primary); }
.s99f-mini-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.s99f-mini-links a { background: rgba(222,184,135,0.12); border: 1px solid var(--s99f-border); border-radius: 2rem; padding: 0.55rem 0.9rem; font-size: 1.15rem; font-weight: 700; }

/* ===== Utility ===== */
.s99f-text-center { text-align: center; }
.s99f-mt-1 { margin-top: 0.5rem; }
.s99f-mt-2 { margin-top: 1rem; }
.s99f-hidden { display: none; }
