/* 33win com 68 core stylesheet - mobile-first casino promo site */
/* All custom classes use s8cf- prefix; comments in English */

:root {
  --s8cf-primary: #333333;
  --s8cf-bg: #1f1f1f;
  --s8cf-bg-alt: #2b2b2b;
  --s8cf-accent: #BDB76B;
  --s8cf-accent-2: #FFFACD;
  --s8cf-text: #FAFAFA;
  --s8cf-muted: #D3D3D3;
  --s8cf-line: #444444;
  --s8cf-danger: #c0392b;
  --s8cf-success: #2e7d32;
  --s8cf-radius: 10px;
  --s8cf-shadow: 0 4px 16px rgba(0,0,0,0.45);
}

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

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

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s8cf-bg);
  color: var(--s8cf-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s8cf-accent-2); text-decoration: none; }
a:hover { color: var(--s8cf-accent); }

.s8cf-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.s8cf-container { width: 100%; padding: 0 1.2rem; }
main { padding-top: 5.6rem; }

/* ============ Header ============ */
.s8cf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2b2b2b 0%, #333333 100%);
  border-bottom: 1px solid var(--s8cf-line);
  box-shadow: var(--s8cf-shadow);
}
.s8cf-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 5.6rem;
}
.s8cf-brand { display: flex; align-items: center; gap: 0.6rem; }
.s8cf-brand img { width: 3rem; height: 3rem; border-radius: 6px; }
.s8cf-brand-name { font-size: 1.5rem; font-weight: 700; color: var(--s8cf-accent-2); line-height: 1.2rem; }
.s8cf-brand-name span { display: block; font-size: 1.05rem; color: var(--s8cf-muted); font-weight: 400; }
.s8cf-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.s8cf-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem; border-radius: 8px; border: none;
  font-size: 1.25rem; font-weight: 700; cursor: pointer;
  min-height: 3.4rem; transition: transform 0.15s, background 0.2s; text-decoration: none;
}
.s8cf-btn:active { transform: scale(0.96); }
.s8cf-btn-login { background: transparent; color: var(--s8cf-accent-2); border: 1px solid var(--s8cf-accent); }
.s8cf-btn-login:hover { background: rgba(189,183,107,0.18); color: var(--s8cf-accent); }
.s8cf-btn-register { background: linear-gradient(90deg, #BDB76B 0%, #FFFACD 100%); color: #333333; }
.s8cf-btn-register:hover { filter: brightness(1.08); }
.s8cf-menu-btn {
  background: transparent; border: 1px solid var(--s8cf-line); color: var(--s8cf-text);
  width: 3.4rem; height: 3.4rem; border-radius: 8px; cursor: pointer; font-size: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.s8cf-menu-btn.s8cf-active { background: rgba(189,183,107,0.2); }

/* ============ Mobile menu ============ */
.s8cf-mobile-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0; z-index: 9999;
  background: #262626; border-bottom: 1px solid var(--s8cf-line);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  box-shadow: var(--s8cf-shadow);
}
.s8cf-mobile-menu.s8cf-menu-open { max-height: 32rem; overflow-y: auto; }
.s8cf-mobile-menu ul { list-style: none; padding: 0.6rem 0; }
.s8cf-mobile-menu li a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.4rem; color: var(--s8cf-text); border-bottom: 1px solid #383838;
  font-size: 1.35rem;
}
.s8cf-mobile-menu li a:hover { background: rgba(189,183,107,0.15); color: var(--s8cf-accent-2); }
.s8cf-mobile-menu li a i { width: 2.2rem; text-align: center; color: var(--s8cf-accent); }

/* ============ Carousel ============ */
.s8cf-carousel { position: relative; margin: 1rem 0; border-radius: 12px; overflow: hidden; }
.s8cf-slide {
  position: relative; display: none; cursor: pointer;
}
.s8cf-slide.s8cf-slide-active { display: block; }
.s8cf-slide img { width: 100%; height: 17rem; object-fit: cover; }
.s8cf-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 1.6rem 1rem 1rem; color: var(--s8cf-text);
}
.s8cf-slide-cap h3 { font-size: 1.5rem; color: var(--s8cf-accent-2); margin-bottom: 0.2rem; }
.s8cf-slide-cap p { font-size: 1.15rem; color: var(--s8cf-muted); }
.s8cf-dots { position: absolute; bottom: 0.6rem; left: 0; right: 0; text-align: center; }
.s8cf-dot {
  display: inline-block; width: 7px; height: 7px; margin: 0 3px;
  border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer;
}
.s8cf-dot.s8cf-dot-active { background: var(--s8cf-accent); }

/* ============ Section / headings ============ */
.s8cf-section { padding: 1.6rem 0; }
.s8cf-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.s8cf-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--s8cf-accent-2);
  border-left: 4px solid var(--s8cf-accent); padding-left: 0.8rem;
}
.s8cf-section-title small { display: block; font-size: 1.05rem; color: var(--s8cf-muted); font-weight: 400; }
.s8cf-more { font-size: 1.15rem; color: var(--s8cf-accent); }

/* ============ Category chips ============ */
.s8cf-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 1rem; -webkit-overflow-scrolling: touch; }
.s8cf-chips::-webkit-scrollbar { display: none; }
.s8cf-chip {
  flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 20px;
  background: #2b2b2b; border: 1px solid var(--s8cf-line); color: var(--s8cf-muted);
  font-size: 1.15rem; cursor: pointer; white-space: nowrap;
}
.s8cf-chip.s8cf-chip-active { background: var(--s8cf-accent); color: #333; border-color: var(--s8cf-accent); }

/* ============ Game grid ============ */
.s8cf-game-group { margin-bottom: 1.8rem; }
.s8cf-group-head {
  font-size: 1.4rem; font-weight: 700; color: var(--s8cf-accent-2);
  margin: 0.4rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.s8cf-group-head i { color: var(--s8cf-accent); }
.s8cf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.s8cf-game {
  display: block; text-align: center; cursor: pointer; background: transparent;
}
.s8cf-game img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--s8cf-line); transition: transform 0.15s;
}
.s8cf-game:active img { transform: scale(0.94); }
.s8cf-game span {
  display: block; font-size: 1rem; color: var(--s8cf-muted);
  margin-top: 0.3rem; line-height: 1.2rem; height: 2.4rem; overflow: hidden;
}

/* ============ Cards / features ============ */
.s8cf-card {
  background: var(--s8cf-bg-alt); border: 1px solid var(--s8cf-line);
  border-radius: var(--s8cf-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.s8cf-card h3 { font-size: 1.4rem; color: var(--s8cf-accent-2); margin-bottom: 0.6rem; }
.s8cf-card p { font-size: 1.2rem; color: var(--s8cf-muted); }
.s8cf-card a { font-weight: 700; }

.s8cf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s8cf-mini-card {
  background: var(--s8cf-bg-alt); border: 1px solid var(--s8cf-line);
  border-radius: 8px; padding: 1rem; text-align: center;
}
.s8cf-mini-card i { font-size: 2rem; color: var(--s8cf-accent); }
.s8cf-mini-card h4 { font-size: 1.2rem; color: var(--s8cf-text); margin: 0.4rem 0 0.2rem; }
.s8cf-mini-card p { font-size: 1.05rem; color: var(--s8cf-muted); }

/* ============ CTA banner ============ */
.s8cf-cta {
  background: linear-gradient(90deg, #3a3a1f 0%, #BDB76B 100%);
  border-radius: 12px; padding: 1.4rem; text-align: center; color: #333; margin: 1rem 0;
}
.s8cf-cta h3 { font-size: 1.5rem; margin-bottom: 0.4rem; color: #333; }
.s8cf-cta p { font-size: 1.15rem; margin-bottom: 0.8rem; color: #2b2b2b; }
.s8cf-cta .s8cf-btn { background: #333; color: var(--s8cf-accent-2); }
.s8cf-cta .s8cf-btn:hover { background: #111; }

/* ============ Testimonials ============ */
.s8cf-testi {
  background: var(--s8cf-bg-alt); border-left: 3px solid var(--s8cf-accent);
  border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 0.8rem;
}
.s8cf-testi p { font-size: 1.2rem; color: var(--s8cf-text); font-style: italic; }
.s8cf-testi .s8cf-testi-meta { font-size: 1.05rem; color: var(--s8cf-muted); margin-top: 0.4rem; }

/* ============ Winners ============ */
.s8cf-winner-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s8cf-winner {
  flex: 1 1 45%; background: var(--s8cf-bg-alt); border: 1px solid var(--s8cf-line);
  border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 1.1rem; color: var(--s8cf-muted);
}
.s8cf-winner b { color: var(--s8cf-accent-2); display: block; font-size: 1.2rem; }

/* ============ Payment ============ */
.s8cf-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s8cf-pay span {
  flex: 1 1 30%; background: var(--s8cf-bg-alt); border: 1px solid var(--s8cf-line);
  border-radius: 6px; padding: 0.6rem; text-align: center; font-size: 1.1rem; color: var(--s8cf-muted);
}

/* ============ RTP table ============ */
.s8cf-table { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.s8cf-table th, .s8cf-table td { border: 1px solid var(--s8cf-line); padding: 0.6rem 0.8rem; text-align: left; }
.s8cf-table th { background: #2b2b2b; color: var(--s8cf-accent-2); }
.s8cf-table td { color: var(--s8cf-muted); }
.s8cf-table td b { color: var(--s8cf-accent); }

/* ============ Footer ============ */
.s8cf-footer { background: #1a1a1a; border-top: 1px solid var(--s8cf-line); padding: 1.6rem 0 7rem; }
.s8cf-footer p { font-size: 1.15rem; color: var(--s8cf-muted); margin-bottom: 0.8rem; }
.s8cf-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0; }
.s8cf-footer-links a {
  flex: 1 1 45%; background: var(--s8cf-bg-alt); border: 1px solid var(--s8cf-line);
  border-radius: 6px; padding: 0.6rem 0.8rem; font-size: 1.15rem; text-align: center;
}
.s8cf-footer-links a:hover { background: rgba(189,183,107,0.18); }
.s8cf-promo-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.s8cf-promo-row .s8cf-btn { flex: 1 1 45%; justify-content: center; }
.s8cf-copy { font-size: 1.05rem; color: #777; text-align: center; margin-top: 1rem; }

/* ============ Bottom nav ============ */
.s8cf-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2b2b2b 0%, #1a1a1a 100%);
  border-top: 1px solid var(--s8cf-line);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6rem; box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}
.s8cf-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--s8cf-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; transition: color 0.2s, transform 0.15s; text-decoration: none;
  padding: 0.3rem;
}
.s8cf-navbtn i, .s8cf-navbtn .material-icons-outlined, .s8cf-navbtn .ion { font-size: 2.2rem; }
.s8cf-navbtn span { font-size: 1rem; }
.s8cf-navbtn:active { transform: scale(0.92); }
.s8cf-navbtn:hover { color: var(--s8cf-accent-2); }
.s8cf-navbtn.s8cf-navbtn-active { color: var(--s8cf-accent); }
.s8cf-navbtn.s8cf-navbtn-active span { font-weight: 700; }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .s8cf-bottomnav { display: none; }
  .s8cf-wrapper { max-width: 760px; }
  .s8cf-header-inner { max-width: 760px; }
  .s8cf-grid { grid-template-columns: repeat(6, 1fr); }
  .s8cf-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .s8cf-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
