/* =============================================================
   super ace 2026 - theme-9c8b.css
   Mobile-first casino theme. All custom classes use s9c8- prefix.
   Root font-size: 62.5% => 1rem = 10px.
   Palette: #34495E bg | #00CED1 primary | #FFCCCB soft |
            #F0F0F0 text | #E65100 accent
   ============================================================= */

:root {
  --s9c8-bg:        #34495E;
  --s9c8-bg-deep:   #2a3a4d;
  --s9c8-surface:   #3d556d;
  --s9c8-card:      #44597a;
  --s9c8-primary:   #00CED1;
  --s9c8-primary-d: #00a7a9;
  --s9c8-accent:    #E65100;
  --s9c8-soft:      #FFCCCB;
  --s9c8-text:      #F0F0F0;
  --s9c8-text-dim:  #c7d2dc;
  --s9c8-shadow:    0 2px 10px rgba(0, 0, 0, .28);
  --s9c8-radius:    10px;
  --s9c8-header-h:  56px;
}

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

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

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

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

/* ---------- Layout helpers ---------- */
.s9c8-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.s9c8-wrapper { padding-bottom: 80px; min-height: 100vh; }
.s9c8-grid { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.s9c8-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--s9c8-header-h);
  background: linear-gradient(90deg, var(--s9c8-bg-deep), var(--s9c8-surface));
  border-bottom: 2px solid var(--s9c8-primary);
  z-index: 1000;
  box-shadow: var(--s9c8-shadow);
}
.s9c8-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: .6rem;
  padding: 0 1rem;
}
.s9c8-logo { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.s9c8-logo img { width: 30px; height: 30px; border-radius: 6px; }
.s9c8-logo-text { font-weight: 800; font-size: 1.5rem; color: var(--s9c8-primary); white-space: nowrap; }
.s9c8-logo-text span { color: var(--s9c8-soft); }

.s9c8-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  padding: .55rem 1rem; border-radius: 999px;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
  min-height: 36px;
}
.s9c8-btn:active { transform: scale(.96); }
.s9c8-btn-register {
  background: linear-gradient(90deg, var(--s9c8-accent), #ff7b33);
  color: #fff; box-shadow: 0 2px 8px rgba(230, 81, 0, .45);
}
.s9c8-btn-login {
  background: transparent; color: var(--s9c8-primary);
  border: 1.5px solid var(--s9c8-primary);
}
.s9c8-menu-toggle {
  background: transparent; border: none; color: var(--s9c8-text);
  font-size: 2rem; cursor: pointer; padding: .2rem .5rem;
  display: inline-flex; align-items: center;
}

/* ---------- Mobile menu drawer ---------- */
.s9c8-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--s9c8-bg-deep);
  z-index: 9999; padding: 1.6rem 1.4rem;
  transform: translateX(0); transition: right .28s ease;
  overflow-y: auto; box-shadow: -4px 0 18px rgba(0,0,0,.4);
}
.s9c8-mobile-menu.s9c8-menu-open { right: 0; }
.s9c8-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.s9c8-menu-head h3 { color: var(--s9c8-primary); font-size: 1.6rem; }
.s9c8-menu-close { background: transparent; border: none; color: var(--s9c8-text); font-size: 2.2rem; cursor: pointer; }
.s9c8-mobile-menu a {
  display: block; padding: .85rem .6rem; color: var(--s9c8-text);
  border-bottom: 1px solid rgba(0, 206, 209, .15); font-size: 1.4rem;
}
.s9c8-mobile-menu a:hover { background: rgba(0,206,209,.08); color: var(--s9c8-primary); }
.s9c8-menu-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 9998; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.s9c8-menu-mask.s9c8-mask-show { opacity: 1; pointer-events: auto; }

/* ---------- Hero / Carousel ---------- */
.s9c8-hero { margin-top: var(--s9c8-header-h); }
.s9c8-carousel { position: relative; overflow: hidden; border-radius: 0 0 14px 14px; }
.s9c8-carousel-track { position: relative; }
.s9c8-slide {
  display: none; cursor: pointer; position: relative;
}
.s9c8-slide.s9c8-slide-active { display: block; }
.s9c8-slide img { width: 100%; height: 200px; object-fit: cover; }
.s9c8-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.8));
  font-size: 1.4rem; font-weight: 700; color: var(--s9c8-soft);
}
.s9c8-dot-row { display: flex; justify-content: center; gap: .5rem; padding: .6rem 0; }
.s9c8-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(240,240,240,.35); cursor: pointer; }
.s9c8-dot.s9c8-dot-active { background: var(--s9c8-primary); width: 22px; border-radius: 5px; }
.s9c8-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.s9c8-carousel-arrow#s9c8-carousel-prev { left: 8px; }
.s9c8-carousel-arrow#s9c8-carousel-next { right: 8px; }

/* ---------- Sections ---------- */
.s9c8-section { padding: 1.6rem 0; }
.s9c8-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--s9c8-text);
  margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem;
}
.s9c8-section-title i { color: var(--s9c8-primary); }
.s9c8-section-title em { color: var(--s9c8-accent); font-style: normal; }
.s9c8-section-sub { color: var(--s9c8-text-dim); font-size: 1.3rem; margin-bottom: 1rem; }

.s9c8-h1 {
  font-size: 2rem; line-height: 1.3; font-weight: 800;
  padding: 1rem 0 .4rem; color: var(--s9c8-text);
}
.s9c8-h1 span { color: var(--s9c8-primary); }
.s9c8-intro { color: var(--s9c8-text-dim); font-size: 1.35rem; margin-bottom: .6rem; }

/* ---------- Game grid (compact tiles) ---------- */
.s9c8-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.s9c8-game-card {
  background: var(--s9c8-card); border-radius: var(--s9c8-radius);
  padding: .5rem; text-align: center; cursor: pointer;
  border: 1px solid rgba(0,206,209,.18); transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}
.s9c8-game-card:active { transform: scale(.95); }
.s9c8-game-card:hover { box-shadow: 0 4px 14px rgba(0,206,209,.3); border-color: var(--s9c8-primary); }
.s9c8-game-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 8px; background: #1d2a3a;
}
.s9c8-game-name {
  font-size: 1.1rem; font-weight: 600; color: var(--s9c8-text);
  margin-top: .4rem; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Cards & feature blocks ---------- */
.s9c8-card {
  background: var(--s9c8-surface); border-radius: var(--s9c8-radius);
  padding: 1.2rem; box-shadow: var(--s9c8-shadow); margin-bottom: 1rem;
  border-left: 3px solid var(--s9c8-primary);
}
.s9c8-card h3 { font-size: 1.45rem; color: var(--s9c8-soft); margin-bottom: .4rem; }
.s9c8-card p { color: var(--s9c8-text-dim); font-size: 1.3rem; line-height: 1.55; }

.s9c8-step-list { list-style: none; counter-reset: step; }
.s9c8-step-list li {
  position: relative; padding: .6rem .8rem .6rem 3rem;
  margin-bottom: .6rem; background: var(--s9c8-surface); border-radius: 8px;
  font-size: 1.3rem; color: var(--s9c8-text-dim);
  counter-increment: step;
}
.s9c8-step-list li::before {
  content: counter(step); position: absolute; left: .6rem; top: 50%;
  transform: translateY(-50%); width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--s9c8-accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ---------- Promo banner ---------- */
.s9c8-promo {
  background: linear-gradient(120deg, var(--s9c8-accent), #ff7b33);
  border-radius: var(--s9c8-radius); padding: 1.3rem; color: #fff; text-align: center;
  margin-bottom: 1rem; box-shadow: 0 4px 14px rgba(230,81,0,.35);
}
.s9c8-promo h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.s9c8-promo p { font-size: 1.25rem; opacity: .95; margin-bottom: .8rem; }
.s9c8-promo-btn {
  display: inline-block; background: #fff; color: var(--s9c8-accent);
  padding: .55rem 1.4rem; border-radius: 999px; font-weight: 800; font-size: 1.3rem;
}

/* ---------- Promo text link ---------- */
.s9c8-link {
  color: var(--s9c8-primary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--s9c8-primary);
}
.s9c8-link-strong { color: var(--s9c8-soft); font-weight: 800; cursor: pointer; }

/* ---------- RTP table ---------- */
.s9c8-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.s9c8-rtp-table th, .s9c8-rtp-table td {
  padding: .55rem .5rem; text-align: left; border-bottom: 1px solid rgba(0,206,209,.18);
}
.s9c8-rtp-table th { color: var(--s9c8-soft); font-weight: 700; }
.s9c8-rtp-table td { color: var(--s9c8-text-dim); }
.s9c8-rtp-table td.s9c8-rtp-high { color: var(--s9c8-primary); font-weight: 800; }

/* ---------- Testimonials ---------- */
.s9c8-testimonial {
  background: var(--s9c8-surface); border-radius: var(--s9c8-radius);
  padding: 1rem 1.1rem; margin-bottom: .8rem; border-left: 3px solid var(--s9c8-accent);
}
.s9c8-testimonial p { font-size: 1.25rem; color: var(--s9c8-text-dim); font-style: italic; }
.s9c8-testimonial .s9c8-author { font-size: 1.15rem; color: var(--s9c8-primary); margin-top: .3rem; font-weight: 700; }
.s9c8-stars { color: #ffc107; font-size: 1.1rem; }

/* ---------- Payment chips ---------- */
.s9c8-chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.s9c8-chip {
  background: var(--s9c8-surface); color: var(--s9c8-text); padding: .5rem 1rem;
  border-radius: 999px; font-size: 1.2rem; font-weight: 600;
  border: 1px solid rgba(0,206,209,.25);
}
.s9c8-chip i { color: var(--s9c8-primary); margin-right: .3rem; }

/* ---------- App download CTA ---------- */
.s9c8-app-cta {
  background: linear-gradient(120deg, var(--s9c8-primary), var(--s9c8-primary-d));
  border-radius: var(--s9c8-radius); padding: 1.4rem; color: #062a2b; text-align: center;
}
.s9c8-app-cta h3 { font-size: 1.5rem; margin-bottom: .3rem; color: #fff; }
.s9c8-app-cta p { font-size: 1.25rem; margin-bottom: .8rem; color: #eafffb; }
.s9c8-app-cta .s9c8-btn-register { background: var(--s9c8-accent); }

/* ---------- FAQ ---------- */
.s9c8-faq-item {
  background: var(--s9c8-surface); border-radius: 8px; margin-bottom: .6rem; overflow: hidden;
}
.s9c8-faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: .9rem 1rem; color: var(--s9c8-text); font-size: 1.3rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.s9c8-faq-q .s9c8-faq-icon { color: var(--s9c8-primary); transition: transform .2s; }
.s9c8-faq-item.s9c8-faq-open .s9c8-faq-icon { transform: rotate(45deg); }
.s9c8-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s; padding: 0 1rem; color: var(--s9c8-text-dim); font-size: 1.25rem; }
.s9c8-faq-item.s9c8-faq-open .s9c8-faq-a { max-height: 360px; padding: 0 1rem .9rem; }

/* ---------- Footer ---------- */
.s9c8-footer {
  background: var(--s9c8-bg-deep); padding: 1.6rem 1.2rem 2rem; margin-top: 1.6rem;
  border-top: 2px solid var(--s9c8-primary);
}
.s9c8-footer-brand { color: var(--s9c8-text-dim); font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.55; }
.s9c8-footer-promos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.s9c8-footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.s9c8-footer-links a { color: var(--s9c8-text-dim); font-size: 1.15rem; }
.s9c8-footer-copy { color: var(--s9c8-text-dim); font-size: 1.1rem; border-top: 1px solid rgba(240,240,240,.1); padding-top: .8rem; }

/* ---------- Mobile bottom nav ---------- */
.s9c8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 60px; background: var(--s9c8-bg-deep);
  border-top: 2px solid var(--s9c8-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,.3);
}
.s9c8-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--s9c8-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; padding: 4px 2px; font-size: 1rem;
  transition: color .15s, transform .15s;
}
.s9c8-bottom-nav-btn:active { transform: scale(.92); }
.s9c8-bottom-nav-btn i, .s9c8-bottom-nav-btn .material-icons-outlined,
.s9c8-bottom-nav-btn ion-icon { font-size: 22px; }
.s9c8-bottom-nav-btn .material-icons-outlined { font-size: 23px; }
.s9c8-bottom-nav-btn ion-icon { font-size: 24px; }
.s9c8-bottom-nav-btn:hover { color: var(--s9c8-soft); }
.s9c8-bottom-nav-active { color: var(--s9c8-primary); }
.s9c8-bottom-nav-active::after {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--s9c8-accent); margin-top: 2px;
}
.s9c8-bottom-nav-badge {
  position: relative;
}
.s9c8-bottom-nav-badge::before {
  content: "1"; position: absolute; top: 6px; right: 18px;
  background: var(--s9c8-accent); color: #fff; font-size: 9px; font-weight: 700;
  width: 14px; height: 14px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .s9c8-bottom-nav { display: none; }
  .s9c8-container { max-width: 760px; }
  .s9c8-game-grid { grid-template-columns: repeat(5, 1fr); }
  .s9c8-slide img { height: 320px; }
}

/* ---------- Small screens fine-tune ---------- */
@media (max-width: 360px) {
  .s9c8-game-grid { grid-template-columns: repeat(2, 1fr); }
  .s9c8-logo-text { font-size: 1.35rem; }
}

/* ---------- Utility ---------- */
.s9c8-text-primary { color: var(--s9c8-primary); }
.s9c8-text-soft { color: var(--s9c8-soft); }
.s9c8-text-accent { color: var(--s9c8-accent); font-weight: 700; }
.s9c8-mt { margin-top: 1rem; }
.s9c8-center { text-align: center; }
.s9c8-row { display: flex; gap: .6rem; flex-wrap: wrap; }
