/* ============================================================
   one8.click - Core Stylesheet (s9a0- prefix)
   Palette: #262626 | #DB7093 | #FFF8DC | #F0E68C
   Mobile-first, max-width 430px wrapper.
   ============================================================ */

:root {
  --s9a0-bg: #262626;
  --s9a0-bg-soft: #303030;
  --s9a0-bg-card: #353535;
  --s9a0-primary: #DB7093;
  --s9a0-primary-dark: #b85779;
  --s9a0-cream: #FFF8DC;
  --s9a0-gold: #F0E68C;
  --s9a0-text: #FFF8DC;
  --s9a0-text-muted: #d8c9a8;
  --s9a0-border: rgba(240, 230, 140, 0.18);
  --s9a0-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --s9a0-radius: 14px;
  --s9a0-header-h: 58px;
  --s9a0-bottomnav-h: 62px;
}

/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html { font-size: 62.5%; } /* 1rem = 10px */

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

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

/* ---------- Layout ---------- */
.s9a0-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: var(--s9a0-bg);
}

.s9a0-container {
  width: 100%;
  padding: 0 1.4rem;
}

main.s9a0-main { padding-bottom: 80px; }

/* ---------- Header ---------- */
.s9a0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2e2e2e 0%, #262626 100%);
  border-bottom: 1px solid var(--s9a0-border);
  box-shadow: var(--s9a0-shadow);
}
.s9a0-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--s9a0-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}
.s9a0-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s9a0-cream);
  font-weight: 700;
  font-size: 1.8rem;
}
.s9a0-brand img { width: 30px; height: 30px; border-radius: 8px; }
.s9a0-brand-name b { color: var(--s9a0-gold); }

.s9a0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s9a0-icon-btn {
  background: transparent;
  border: 0;
  color: var(--s9a0-cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  min-width: 44px; min-height: 44px;
}
.s9a0-icon-btn:active { transform: scale(0.92); }

.s9a0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  border: 0;
  cursor: pointer;
  min-height: 40px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.s9a0-btn:active { transform: scale(0.96); }
.s9a0-btn--login {
  background: transparent;
  color: var(--s9a0-gold);
  border: 1.5px solid var(--s9a0-gold);
}
.s9a0-btn--register {
  background: linear-gradient(135deg, var(--s9a0-primary) 0%, var(--s9a0-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(219, 112, 147, 0.45);
}

/* ---------- Nav Drawer ---------- */
.s9a0-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.s9a0-nav-overlay.s9a0-nav--open {
  opacity: 1; visibility: visible;
}
.s9a0-nav-drawer {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: var(--s9a0-bg-soft);
  z-index: 9999;
  padding: 2rem 1.6rem;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.s9a0-nav-drawer.s9a0-nav--open { right: 0; }
.s9a0-nav-drawer h3 {
  font-size: 1.5rem; color: var(--s9a0-gold);
  margin: 1.4rem 0 0.6rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.s9a0-nav-drawer a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--s9a0-border);
  color: var(--s9a0-cream);
  font-size: 1.4rem;
}
.s9a0-nav-drawer a:active { background: rgba(219,112,147,0.12); }

/* ---------- Hero Carousel ---------- */
.s9a0-hero {
  margin-top: var(--s9a0-header-h);
  position: relative;
  overflow: hidden;
}
.s9a0-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}
.s9a0-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.s9a0-carousel-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.s9a0-carousel-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.s9a0-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s9a0-carousel-dots span {
  width: 7px; height: 7px;
  background: rgba(255,248,220,0.5);
  border-radius: 50%;
}

/* ---------- Sections ---------- */
.s9a0-section {
  padding: 2rem 0;
}
.s9a0-section-title {
  font-size: 1.8rem;
  color: var(--s9a0-gold);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}
.s9a0-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--s9a0-primary);
  border-radius: 4px;
}
.s9a0-section-title small {
  display: block;
  font-size: 1.15rem;
  color: var(--s9a0-text-muted);
  font-weight: 400;
  margin-top: 0.3rem;
}

.s9a0-intro {
  background: var(--s9a0-bg-soft);
  border-radius: var(--s9a0-radius);
  padding: 1.4rem;
  border: 1px solid var(--s9a0-border);
}
.s9a0-intro p { margin-bottom: 0.8rem; color: var(--s9a0-text-muted); }
.s9a0-intro p strong { color: var(--s9a0-gold); }

/* ---------- Promo links (inline text) ---------- */
.s9a0-promo-link {
  color: var(--s9a0-primary);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--s9a0-primary);
}
.s9a0-promo-link:hover { color: var(--s9a0-gold); border-bottom-color: var(--s9a0-gold); }

/* ---------- Game grid ---------- */
.s9a0-game-block { margin-bottom: 2rem; }
.s9a0-game-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.s9a0-game-block-head h2 {
  font-size: 1.6rem; color: var(--s9a0-gold);
  display: flex; align-items: center; gap: 0.5rem;
}
.s9a0-game-block-head .s9a0-tag {
  font-size: 1.1rem; color: var(--s9a0-primary);
  background: rgba(219,112,147,0.15);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.s9a0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s9a0-game-card {
  background: var(--s9a0-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--s9a0-border);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.s9a0-game-card:active { transform: scale(0.95); }
.s9a0-game-card img {
  width: 100%; height: 88px; object-fit: cover;
}
.s9a0-game-card-name {
  padding: 0.45rem 0.4rem;
  font-size: 1.05rem;
  color: var(--s9a0-cream);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature / module cards ---------- */
.s9a0-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.s9a0-card {
  background: var(--s9a0-bg-card);
  border: 1px solid var(--s9a0-border);
  border-radius: var(--s9a0-radius);
  padding: 1.2rem;
}
.s9a0-card .icon {
  font-size: 2.2rem; color: var(--s9a0-primary);
  margin-bottom: 0.5rem;
}
.s9a0-card h3 { font-size: 1.35rem; color: var(--s9a0-gold); margin-bottom: 0.4rem; }
.s9a0-card p { font-size: 1.2rem; color: var(--s9a0-text-muted); }

/* ---------- RTP table ---------- */
.s9a0-rtp-table {
  width: 100%; border-collapse: collapse;
  background: var(--s9a0-bg-card);
  border-radius: 10px; overflow: hidden;
}
.s9a0-rtp-table th, .s9a0-rtp-table td {
  padding: 0.7rem 0.8rem; font-size: 1.2rem; text-align: left;
  border-bottom: 1px solid var(--s9a0-border);
}
.s9a0-rtp-table th { color: var(--s9a0-gold); background: rgba(240,230,140,0.06); }
.s9a0-rtp-table td.num { color: var(--s9a0-primary); font-weight: 700; }

/* ---------- Testimonials ---------- */
.s9a0-quote {
  background: var(--s9a0-bg-card);
  border-left: 3px solid var(--s9a0-primary);
  padding: 1rem 1.2rem; border-radius: 8px;
  margin-bottom: 0.7rem;
}
.s9a0-quote p { font-size: 1.2rem; color: var(--s9a0-cream); margin-bottom: 0.4rem; }
.s9a0-quote cite { font-size: 1.1rem; color: var(--s9a0-gold); font-style: normal; }

/* ---------- Winners list ---------- */
.s9a0-winners {
  background: var(--s9a0-bg-card);
  border-radius: 10px; padding: 0.6rem 1rem;
}
.s9a0-winners li {
  list-style: none;
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; font-size: 1.2rem;
  border-bottom: 1px dashed var(--s9a0-border);
}
.s9a0-winners li:last-child { border-bottom: 0; }
.s9a0-winners .amt { color: var(--s9a0-primary); font-weight: 700; }

/* ---------- Payment chips ---------- */
.s9a0-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s9a0-chip {
  background: var(--s9a0-bg-card);
  border: 1px solid var(--s9a0-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.15rem; color: var(--s9a0-cream);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- App CTA ---------- */
.s9a0-appcta {
  background: linear-gradient(135deg, rgba(219,112,147,0.18), rgba(240,230,140,0.08));
  border: 1px solid var(--s9a0-border);
  border-radius: var(--s9a0-radius);
  padding: 1.6rem;
  text-align: center;
}
.s9a0-appcta h3 { color: var(--s9a0-gold); font-size: 1.6rem; margin-bottom: 0.5rem; }
.s9a0-appcta p { color: var(--s9a0-text-muted); font-size: 1.25rem; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.s9a0-faq-item {
  background: var(--s9a0-bg-card);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--s9a0-border);
}
.s9a0-faq-item h4 { color: var(--s9a0-gold); font-size: 1.3rem; margin-bottom: 0.3rem; }
.s9a0-faq-item p { color: var(--s9a0-text-muted); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.s9a0-footer {
  background: var(--s9a0-bg-soft);
  border-top: 1px solid var(--s9a0-border);
  padding: 2rem 1.4rem;
  color: var(--s9a0-text-muted);
  font-size: 1.2rem;
}
.s9a0-footer h4 { color: var(--s9a0-gold); font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.s9a0-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.5rem 0 1rem;
}
.s9a0-footer-links a { color: var(--s9a0-cream); font-size: 1.15rem; }
.s9a0-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.s9a0-footer-promos button {
  background: var(--s9a0-primary); color: #fff;
  border: 0; border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 1.15rem;
  cursor: pointer; font-weight: 600;
}
.s9a0-footer-copy {
  border-top: 1px dashed var(--s9a0-border);
  padding-top: 1rem; text-align: center;
  font-size: 1.1rem; color: var(--s9a0-text-muted);
}

/* ---------- Bottom nav ---------- */
.s9a0-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--s9a0-bottomnav-h);
  background: linear-gradient(180deg, #2e2e2e, #1d1d1d);
  border-top: 1px solid var(--s9a0-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.s9a0-bottomnav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--s9a0-text-muted);
  text-decoration: none;
  font-size: 1.05rem;
  gap: 0.2rem;
  position: relative;
  cursor: pointer;
  background: transparent; border: 0;
  min-width: 60px;
}
.s9a0-bottomnav-item .ic { font-size: 2.2rem; line-height: 1; }
.s9a0-bottomnav-item:active { transform: scale(0.92); }
.s9a0-bottomnav-item--active { color: var(--s9a0-primary); }
.s9a0-bottomnav-item--promo .ic { color: var(--s9a0-gold); }

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .s9a0-bottomnav { display: none; }
  main.s9a0-main { padding-bottom: 2rem; }
  .s9a0-wrapper { box-shadow: 0 0 30px rgba(0,0,0,0.4); }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 768px) {
  main.s9a0-main { padding-bottom: 80px; }
}

/* Utility */
.s9a0-text-center { text-align: center; }
.s9a0-mt-1 { margin-top: 0.8rem; }
.s9a0-mt-2 { margin-top: 1.6rem; }
.s9a0-hide-desktop { display: initial; }
