/* =========================================================
   abc8 bet - abc8bet.click core stylesheet
   Palette: #C9C9FF | #1B263B (dark bg) | #A0522D | #E0FFFF
   All classes use the "s2ca-" prefix.
   ========================================================= */

:root {
  --s2ca-primary: #A0522D;          /* brand brown */
  --s2ca-bg: #1B263B;               /* dark navy background */
  --s2ca-bg-soft: #243049;          /* elevated surface */
  --s2ca-bg-card: #2c3a57;          /* card surface */
  --s2ca-text: #E0FFFF;             /* light cyan text */
  --s2ca-accent: #C9C9FF;           /* lavender accent */
  --s2ca-gold: #F2C658;             /* jackpot gold */
  --s2ca-rose: #E36A8A;             /* hot rose */
  --s2ca-line: rgba(224, 255, 255, 0.12);
  --s2ca-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --s2ca-radius: 14px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Roboto", "Noto Sans", system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, #1B263B 0%, #131c2e 100%);
  color: var(--s2ca-text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 72px;
}
a { color: var(--s2ca-accent); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout ---------- */
.s2ca-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.s2ca-wrapper { padding-top: 60px; }
.s2ca-section { padding: 28px 0 8px; }
.s2ca-section--alt { background: rgba(36, 48, 73, 0.5); border-radius: 18px; padding: 22px 14px; margin: 18px 0; }

/* ---------- Header ---------- */
.s2ca-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27, 38, 59, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s2ca-line);
  box-shadow: var(--s2ca-shadow);
}
.s2ca-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; height: 56px;
}
.s2ca-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.7rem; color: var(--s2ca-text); }
.s2ca-logo img { width: 28px; height: 28px; border-radius: 8px; }
.s2ca-logo span { background: linear-gradient(90deg, #F2C658, #E36A8A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s2ca-header-actions { display: flex; align-items: center; gap: 8px; }
.s2ca-menu-btn { font-size: 2rem; color: var(--s2ca-text); width: 36px; height: 36px; display: grid; place-items: center; }

/* ---------- Buttons ---------- */
.s2ca-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: 1.3rem; min-height: 36px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.s2ca-btn:active { transform: scale(.96); }
.s2ca-btn--login { background: rgba(201, 201, 255, 0.14); color: var(--s2ca-accent); border: 1px solid var(--s2ca-accent); }
.s2ca-btn--register {
  background: linear-gradient(90deg, var(--s2ca-primary), #c9743f);
  color: #fff; box-shadow: 0 4px 14px rgba(160, 82, 45, 0.45);
}
.s2ca-btn--gold { background: linear-gradient(90deg, var(--s2ca-gold), #d99c2b); color: #1B263B; font-weight: 800; }
.s2ca-btn--ghost { border: 1px solid var(--s2ca-line); color: var(--s2ca-text); padding: 8px 14px; border-radius: 10px; }
.s2ca-btn--block { display: flex; width: 100%; justify-content: center; padding: 12px; font-size: 1.4rem; }

/* ---------- Mobile nav ---------- */
.s2ca-mobile-nav {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: rgba(27, 38, 59, 0.99);
  border-bottom: 1px solid var(--s2ca-line);
  padding: 10px 14px 16px;
  transform: translateY(-130%);
  transition: transform .28s ease;
  box-shadow: var(--s2ca-shadow);
}
.s2ca-mobile-nav--open { transform: translateY(0); }
.s2ca-mobile-nav a {
  display: block; padding: 11px 6px; font-size: 1.35rem; color: var(--s2ca-text);
  border-bottom: 1px solid var(--s2ca-line);
}
.s2ca-mobile-nav a:active { color: var(--s2ca-gold); }

/* ---------- Headings ---------- */
.s2ca-section-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 4px; }
.s2ca-section-title i { color: var(--s2ca-gold); margin-right: 6px; }
.s2ca-section-sub { color: rgba(224, 255, 255, 0.7); font-size: 1.25rem; margin-bottom: 14px; }
.s2ca-h1 { font-size: 2.3rem; line-height: 1.25; font-weight: 900; margin: 14px 0 8px; }

/* ---------- Hero carousel ---------- */
.s2ca-hero { position: relative; border-radius: 18px; overflow: hidden; margin-top: 12px; box-shadow: var(--s2ca-shadow); }
.s2ca-slides { position: relative; }
.s2ca-slide {
  position: relative; display: none; cursor: pointer;
}
.s2ca-slide--active { display: block; animation: s2ca-fade .5s ease; }
@keyframes s2ca-fade { from { opacity: .4; } to { opacity: 1; } }
.s2ca-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.s2ca-slide-cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); padding-top: 30px;
  color: #fff; font-weight: 700; font-size: 1.5rem;
}
.s2ca-slide-cap small { display: block; font-weight: 500; font-size: 1.15rem; opacity: .9; margin-top: 2px; }
.s2ca-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0; }
.s2ca-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.s2ca-dot--active { background: var(--s2ca-gold); width: 22px; border-radius: 5px; }

/* ---------- Game grid ---------- */
.s2ca-chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px; scrollbar-width: none; }
.s2ca-chips::-webkit-scrollbar { display: none; }
.s2ca-chip {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px;
  background: rgba(201, 201, 255, 0.1); color: var(--s2ca-accent);
  font-size: 1.2rem; font-weight: 700; white-space: nowrap;
}
.s2ca-chip--active { background: linear-gradient(90deg, var(--s2ca-primary), #c9743f); color: #fff; }
.s2ca-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.s2ca-card {
  background: var(--s2ca-bg-card); border-radius: var(--s2ca-radius);
  overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid var(--s2ca-line); transition: transform .15s ease, box-shadow .15s ease;
}
.s2ca-card:active { transform: scale(.96); }
.s2ca-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0e1626; }
.s2ca-card-name {
  padding: 6px 8px; font-size: 1.1rem; font-weight: 600; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--s2ca-text);
}
.s2ca-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: var(--s2ca-rose); color: #fff; font-size: 0.95rem; font-weight: 700;
  padding: 2px 7px; border-radius: 6px;
}
.s2ca-cat-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
.s2ca-cat-head h2 { font-size: 1.6rem; font-weight: 800; }
.s2ca-cat-head h2 i { margin-right: 6px; color: var(--s2ca-gold); }
.s2ca-cat-link { font-size: 1.15rem; color: var(--s2ca-accent); font-weight: 600; }

/* ---------- Info / features ---------- */
.s2ca-text p { font-size: 1.3rem; margin-bottom: 10px; color: rgba(224,255,255,.88); }
.s2ca-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.s2ca-feature {
  background: var(--s2ca-bg-card); border-radius: 12px; padding: 14px;
  border: 1px solid var(--s2ca-line);
}
.s2ca-feature i { font-size: 2.2rem; color: var(--s2ca-gold); }
.s2ca-feature h3 { font-size: 1.35rem; margin: 6px 0 4px; }
.s2ca-feature p { font-size: 1.15rem; color: rgba(224,255,255,.78); margin: 0; }

.s2ca-steps { counter-reset: step; }
.s2ca-step { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--s2ca-line); }
.s2ca-step-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--s2ca-primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.3rem; }
.s2ca-step h3 { font-size: 1.35rem; margin-bottom: 3px; }
.s2ca-step p { font-size: 1.2rem; color: rgba(224,255,255,.78); margin: 0; }

/* ---------- RTP / stats ---------- */
.s2ca-stat-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--s2ca-line); font-size: 1.25rem; }
.s2ca-stat-row span:last-child { color: var(--s2ca-gold); font-weight: 800; }
.s2ca-bar { height: 7px; background: rgba(255,255,255,.1); border-radius: 5px; overflow: hidden; margin-top: 4px; }
.s2ca-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--s2ca-gold), var(--s2ca-rose)); }

/* ---------- Testimonials ---------- */
.s2ca-testi { background: var(--s2ca-bg-card); border-radius: 12px; padding: 14px; margin-bottom: 10px; border-left: 3px solid var(--s2ca-gold); }
.s2ca-testi-stars { color: var(--s2ca-gold); font-size: 1.2rem; margin-bottom: 4px; }
.s2ca-testi p { font-size: 1.22rem; color: rgba(224,255,255,.88); }
.s2ca-testi small { display: block; margin-top: 6px; color: var(--s2ca-accent); font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.s2ca-faq { background: var(--s2ca-bg-card); border-radius: 12px; margin-bottom: 8px; overflow: hidden; border: 1px solid var(--s2ca-line); }
.s2ca-faq-q { width: 100%; text-align: left; padding: 13px 14px; font-size: 1.3rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; color: var(--s2ca-text); }
.s2ca-faq-q i { color: var(--s2ca-gold); transition: transform .2s ease; }
.s2ca-faq--open .s2ca-faq-q i { transform: rotate(45deg); }
.s2ca-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 14px; font-size: 1.22rem; color: rgba(224,255,255,.8); }
.s2ca-faq--open .s2ca-faq-a { max-height: 320px; padding: 0 14px 13px; }

/* ---------- Payment / winners ---------- */
.s2ca-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.s2ca-pay span { background: var(--s2ca-bg-card); border: 1px solid var(--s2ca-line); border-radius: 10px; padding: 7px 12px; font-size: 1.15rem; color: var(--s2ca-accent); font-weight: 600; }
.s2ca-winner { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--s2ca-line); }
.s2ca-winner-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--s2ca-primary), var(--s2ca-rose)); display: grid; place-items: center; font-weight: 800; color: #fff; flex: 0 0 34px; }
.s2ca-winner small { display: block; color: rgba(224,255,255,.7); font-size: 1.05rem; }
.s2ca-winner b { color: var(--s2ca-gold); }

/* ---------- CTA banner ---------- */
.s2ca-cta { background: linear-gradient(135deg, var(--s2ca-primary), #6b3820); border-radius: 18px; padding: 22px 16px; text-align: center; margin: 18px 0; box-shadow: var(--s2ca-shadow); }
.s2ca-cta h2 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.s2ca-cta p { color: rgba(255,255,255,.85); font-size: 1.25rem; margin-bottom: 14px; }

/* ---------- App download ---------- */
.s2ca-app { display: flex; gap: 12px; align-items: center; background: var(--s2ca-bg-card); border-radius: 16px; padding: 14px; border: 1px solid var(--s2ca-line); }
.s2ca-app-icon { font-size: 3.4rem; color: var(--s2ca-accent); }
.s2ca-app h3 { font-size: 1.4rem; }
.s2ca-app p { font-size: 1.15rem; color: rgba(224,255,255,.78); margin: 3px 0 8px; }
.s2ca-app-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.s2ca-footer { background: #131c2e; border-top: 1px solid var(--s2ca-line); padding: 26px 14px 30px; margin-top: 26px; }
.s2ca-footer-brand { font-weight: 800; font-size: 1.6rem; color: var(--s2ca-gold); margin-bottom: 6px; }
.s2ca-footer p { font-size: 1.18rem; color: rgba(224,255,255,.72); margin-bottom: 14px; }
.s2ca-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-bottom: 14px; }
.s2ca-footer-links a { font-size: 1.15rem; color: var(--s2ca-text); }
.s2ca-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.s2ca-footer-copy { font-size: 1.1rem; color: rgba(224,255,255,.55); border-top: 1px solid var(--s2ca-line); padding-top: 12px; }

/* ---------- Mobile bottom nav ---------- */
.s2ca-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(19, 28, 46, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--s2ca-line);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 64px; padding: 4px 0 env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 18px rgba(0,0,0,.4);
}
.s2ca-bottomnav button, .s2ca-bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 60px; min-height: 56px; color: rgba(224,255,255,.65);
  font-size: 1.05rem; font-weight: 600; transition: color .15s ease, transform .15s ease;
  text-decoration: none; position: relative;
}
.s2ca-bottomnav button:active, .s2ca-bottomnav a:active { transform: scale(.9); }
.s2ca-bottomnav .s2ca-bn-icon { font-size: 2.2rem; line-height: 1; }
.s2ca-bottomnav .s2ca-bn-active { color: var(--s2ca-gold); }
.s2ca-bottomnav .s2ca-bn-active::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--s2ca-gold);
}
.s2ca-bn-badge {
  position: absolute; top: 6px; right: calc(50% - 22px);
  background: var(--s2ca-rose); color: #fff; font-size: 0.9rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center;
}

/* ---------- Reveal animation ---------- */
.s2ca-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.s2ca-reveal--in { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .s2ca-bottomnav { display: none; }
  body { padding-bottom: 0; }
  .s2ca-container { max-width: 760px; }
  .s2ca-grid { grid-template-columns: repeat(5, 1fr); }
  .s2ca-features { grid-template-columns: repeat(4, 1fr); }
  .s2ca-footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
