/* f168s core stylesheet
   All custom classes use the s09e- prefix.
   Palette: #A0522D (sienna primary) | #0A0A0A (dark background).
   Mobile-first: root font-size 62.5% so 1rem = 10px. */

:root {
  --s09e-primary: #A0522D;
  --s09e-primary-light: #C97B4A;
  --s09e-primary-dark: #6E3A1F;
  --s09e-bg: #0A0A0A;
  --s09e-bg-soft: #161210;
  --s09e-bg-card: #1C1714;
  --s09e-text: #F5EDE4;
  --s09e-text-muted: #B9A89A;
  --s09e-accent: #E8B558;
  --s09e-line: rgba(160, 82, 45, 0.28);
  --s09e-radius: 12px;
}

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

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

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Arial, sans-serif;
  background: var(--s09e-bg);
  color: var(--s09e-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
}

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

a { color: var(--s09e-accent); text-decoration: none; }

.s09e-container { width: 100%; padding: 0 1.4rem; }
.s09e-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.s09e-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, #120D0A 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--s09e-line);
  padding: 0.7rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.s09e-brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.s09e-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.s09e-brand-name { font-size: 1.8rem; font-weight: 800; color: var(--s09e-primary-light); letter-spacing: 0.5px; white-space: nowrap; }
.s09e-brand-name span { color: var(--s09e-accent); }

.s09e-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s09e-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  border: none; min-height: 36px; transition: transform 0.15s, filter 0.15s;
}
.s09e-btn:active { transform: scale(0.94); }
.s09e-btn-primary { background: linear-gradient(135deg, var(--s09e-primary) 0%, var(--s09e-primary-light) 100%); color: #fff; }
.s09e-btn-ghost { background: transparent; color: var(--s09e-text); border: 1px solid var(--s09e-line); }
.s09e-menu-toggle {
  background: transparent; border: 1px solid var(--s09e-line);
  color: var(--s09e-text); width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ===== Mobile slide-down menu ===== */
.s09e-mobile-menu {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 9999;
  background: #0E0B09; border-bottom: 1px solid var(--s09e-line);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.s09e-mobile-menu.s09e-menu-open { max-height: 80vh; overflow-y: auto; padding: 1.2rem; }
.s09e-menu-section { margin-bottom: 1.4rem; }
.s09e-menu-title { font-size: 1.2rem; color: var(--s09e-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem; }
.s09e-menu-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.s09e-menu-list a {
  display: block; padding: 0.8rem 1rem; background: var(--s09e-bg-card);
  border-radius: 8px; font-size: 1.3rem; color: var(--s09e-text);
  border: 1px solid transparent;
}
.s09e-menu-list a:active { border-color: var(--s09e-primary); }

/* ===== Main ===== */
main { padding-top: 6.2rem; }
@media (max-width: 768px) { main { padding-bottom: 80px; } }

/* ===== Hero / Carousel ===== */
.s09e-hero { position: relative; width: 100%; height: 200px; overflow: hidden; }
.s09e-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.s09e-slide.s09e-slide-active { opacity: 1; }
.s09e-slide img { width: 100%; height: 100%; object-fit: cover; }
.s09e-slide-overlay {
  position: absolute; left: 1.4rem; bottom: 1.4rem; right: 1.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.85) 100%);
  padding: 1rem; border-radius: 10px;
}
.s09e-slide-overlay h2 { font-size: 1.8rem; color: #fff; margin-bottom: 0.3rem; }
.s09e-slide-overlay p { font-size: 1.2rem; color: var(--s09e-text-muted); }
.s09e-dots { position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 5; }
.s09e-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.s09e-dot.s09e-dot-active { background: var(--s09e-primary-light); width: 18px; border-radius: 999px; }

/* ===== Section ===== */
.s09e-section { padding: 2.2rem 1.4rem; }
.s09e-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.s09e-section-title { font-size: 1.7rem; font-weight: 800; color: var(--s09e-text); }
.s09e-section-title em { color: var(--s09e-primary-light); font-style: normal; }
.s09e-section-link { font-size: 1.2rem; color: var(--s09e-accent); }

/* Category strip */
.s09e-cat-strip {
  display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.6rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.s09e-cat-strip::-webkit-scrollbar { display: none; }
.s09e-cat-pill {
  flex: 0 0 auto; padding: 0.5rem 1.2rem; border-radius: 999px;
  background: var(--s09e-bg-card); border: 1px solid var(--s09e-line);
  font-size: 1.2rem; color: var(--s09e-text); white-space: nowrap;
}

/* Game grid */
.s09e-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.s09e-card {
  background: var(--s09e-bg-card); border-radius: var(--s09e-radius);
  overflow: hidden; border: 1px solid var(--s09e-line); cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.s09e-card:active { transform: scale(0.96); border-color: var(--s09e-primary); }
.s09e-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.s09e-card-name { padding: 0.5rem 0.6rem; font-size: 1.1rem; color: var(--s09e-text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Promo / text blocks */
.s09e-promo {
  background: linear-gradient(135deg, #1A120D 0%, #2A1A12 100%);
  border: 1px solid var(--s09e-line); border-radius: var(--s09e-radius);
  padding: 1.4rem; margin: 1.4rem 0;
}
.s09e-promo h3 { font-size: 1.5rem; color: var(--s09e-accent); margin-bottom: 0.5rem; }
.s09e-promo p { font-size: 1.3rem; color: var(--s09e-text-muted); margin-bottom: 0.8rem; }
.s09e-promo a { color: var(--s09e-primary-light); font-weight: 700; }

/* SEO content article */
.s09e-article { font-size: 1.35rem; color: var(--s09e-text); line-height: 1.7; }
.s09e-article h2 { font-size: 1.6rem; color: var(--s09e-accent); margin: 1.6rem 0 0.6rem; }
.s09e-article h3 { font-size: 1.45rem; color: var(--s09e-primary-light); margin: 1.2rem 0 0.5rem; }
.s09e-article p { margin-bottom: 1rem; }
.s09e-article ul { padding-left: 1.6rem; margin-bottom: 1rem; }
.s09e-article li { margin-bottom: 0.4rem; }

/* Feature list */
.s09e-features { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.s09e-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--s09e-bg-card); border: 1px solid var(--s09e-line);
  border-radius: 10px; padding: 1rem;
}
.s09e-feature .s09e-feature-icon { font-size: 2.2rem; color: var(--s09e-primary-light); }
.s09e-feature h4 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.s09e-feature p { font-size: 1.2rem; color: var(--s09e-text-muted); }

/* Testimonials */
.s09e-testimonials { display: grid; gap: 0.8rem; }
.s09e-testimonial { background: var(--s09e-bg-card); border-radius: 10px; padding: 1rem; border-left: 3px solid var(--s09e-primary); }
.s09e-testimonial p { font-size: 1.25rem; color: var(--s09e-text); margin-bottom: 0.4rem; }
.s09e-testimonial cite { font-size: 1.1rem; color: var(--s09e-text-muted); font-style: normal; }

/* Winners strip */
.s09e-winners { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: none; }
.s09e-winners::-webkit-scrollbar { display: none; }
.s09e-winner { flex: 0 0 auto; background: var(--s09e-bg-card); border: 1px solid var(--s09e-line); border-radius: 8px; padding: 0.6rem 0.9rem; font-size: 1.1rem; }
.s09e-winner b { color: var(--s09e-accent); }

/* Payment chips */
.s09e-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s09e-pay {
  background: var(--s09e-bg-card); border: 1px solid var(--s09e-line);
  border-radius: 8px; padding: 0.5rem 1rem; font-size: 1.2rem; color: var(--s09e-text);
}

/* CTA banner */
.s09e-cta {
  background: linear-gradient(135deg, var(--s09e-primary-dark) 0%, var(--s09e-primary) 100%);
  border-radius: var(--s09e-radius); padding: 1.6rem 1.4rem; text-align: center; margin: 1.6rem 0;
}
.s09e-cta h3 { font-size: 1.6rem; color: #fff; margin-bottom: 0.4rem; }
.s09e-cta p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 0.8rem; }
.s09e-cta .s09e-btn { background: #fff; color: var(--s09e-primary-dark); }

/* ===== Footer ===== */
.s09e-footer { background: #060504; border-top: 1px solid var(--s09e-line); padding: 2rem 1.4rem 1rem; margin-top: 2rem; }
.s09e-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--s09e-primary-light); margin-bottom: 0.6rem; }
.s09e-footer-desc { font-size: 1.2rem; color: var(--s09e-text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.s09e-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.s09e-footer-links a { font-size: 1.2rem; color: var(--s09e-text); }
.s09e-footer-copy { font-size: 1.1rem; color: var(--s09e-text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid var(--s09e-line); }

/* ===== Mobile bottom nav ===== */
.s09e-bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  height: 62px; background: #100C0A; border-top: 1px solid var(--s09e-line);
  display: flex; justify-content: space-around; align-items: center;
}
.s09e-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--s09e-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; transition: color 0.15s, transform 0.15s;
}
.s09e-navbtn .material-symbols-outlined,
.s09e-navbtn ion-icon,
.s09e-navbtn i { font-size: 24px; }
.s09e-navbtn span:not(.material-symbols-outlined) { font-size: 10px; }
.s09e-navbtn:active { transform: scale(0.92); }
.s09e-navbtn.s09e-active { color: var(--s09e-primary-light); }
.s09e-navbtn.s09e-active span:not(.material-symbols-outlined) { font-weight: 700; }

/* Hide bottom nav on desktop */
@media (min-width: 769px) { .s09e-bottomnav { display: none; } }

/* Desktop: widen body content for larger screens but keep design */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .s09e-header, .s09e-mobile-menu, .s09e-bottomnav { max-width: 960px; }
}

/* Scroll reveal */
.s09e-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s; }
.s09e-reveal.s09e-revealed { opacity: 1; transform: translateY(0); }
