/*!
 * OkBet Casino - style-215b.css
 * Mobile-first casino UI. Root font 62.5% so 1rem = 10px.
 * All custom classes use the `s215-` prefix to avoid collisions.
 * Color anchors: --s215-bg #141414 (dark), --s215-text #FFCCCB (light pink).
 */
:root {
  --s215-bg: #141414;
  --s215-bg-2: #1c1c1c;
  --s215-bg-3: #232323;
  --s215-text: #FFCCCB;
  --s215-text-soft: #f3e1e1;
  --s215-muted: #b9a9a9;
  --s215-primary: #FFCCCB;
  --s215-accent: #e23b54;
  --s215-accent-2: #ffb400;
  --s215-gold: #f5c451;
  --s215-line: rgba(255, 204, 203, 0.14);
  --s215-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --s215-radius: 14px;
  --s215-radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--s215-bg);
  color: var(--s215-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  letter-spacing: 0.2px;
  overflow-x: hidden;
}

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

a {
  color: var(--s215-primary);
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6rem;
  line-height: 1.4rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

/* ---------- Layout containers ---------- */
.s215-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}

.s215-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.s215-section {
  padding: 2.4rem 0 1.6rem;
  border-bottom: 1px solid var(--s215-line);
}

.s215-section-title {
  font-size: 1.9rem;
  color: var(--s215-text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.s215-section-title i {
  color: var(--s215-gold);
  font-size: 2.2rem;
}

.s215-lead {
  color: var(--s215-muted);
  font-size: 1.4rem;
  line-height: 1.5rem;
}

.s215-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 204, 203, 0.08);
  border: 1px solid var(--s215-line);
  color: var(--s215-text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 1.2rem;
  margin: 0.2rem 0.3rem 0.2rem 0;
}

/* ---------- Header ---------- */
.s215-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a, #141414);
  border-bottom: 1px solid var(--s215-line);
}

.s215-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.s215-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.s215-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--s215-bg-3);
}

.s215-brand-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--s215-text);
  white-space: nowrap;
}

.s215-brand-name span {
  color: var(--s215-gold);
}

.s215-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s215-menu-btn {
  background: transparent;
  border: 1px solid var(--s215-line);
  color: var(--s215-text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* ---------- Buttons ---------- */
.s215-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.s215-btn:active {
  transform: scale(0.96);
}

.s215-btn-primary {
  background: linear-gradient(135deg, #ffd5d6, #ff9aa0);
  color: #2a0d10;
  box-shadow: 0 4px 14px rgba(255, 154, 160, 0.35);
}

.s215-btn-accent {
  background: linear-gradient(135deg, #ffb400, #ff7a00);
  color: #1a1000;
  box-shadow: 0 4px 14px rgba(255, 180, 0, 0.3);
}

.s215-btn-ghost {
  background: transparent;
  color: var(--s215-text);
  border: 1px solid var(--s215-primary);
}

.s215-btn-block {
  width: 100%;
  display: flex;
}

.s215-btn-lg {
  min-height: 50px;
  font-size: 1.6rem;
}

.s215-link-text {
  color: var(--s215-gold);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Spacer under fixed header ---------- */
.s215-header-spacer {
  height: 58px;
}

/* ---------- Mobile menu drawer ---------- */
.s215-mobile-menu {
  position: fixed;
  top: 0;
  right: -86%;
  width: 84%;
  max-width: 360px;
  height: 100%;
  background: var(--s215-bg-2);
  border-left: 1px solid var(--s215-line);
  z-index: 9999;
  padding: 1.6rem 1.2rem;
  overflow-y: auto;
  transition: right 0.28s ease;
}

.s215-mobile-menu.s215-menu-open {
  right: 0;
}

.s215-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.s215-mobile-menu.s215-menu-open ~ .s215-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.s215-menu-title {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--s215-text);
}

.s215-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.s215-menu-list li {
  border-bottom: 1px solid var(--s215-line);
}

.s215-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.4rem;
  color: var(--s215-text);
  font-size: 1.45rem;
}

.s215-menu-list a i {
  color: var(--s215-gold);
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

.s215-menu-cta {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ---------- Hero carousel ---------- */
.s215-hero {
  position: relative;
  border-radius: var(--s215-radius);
  overflow: hidden;
  box-shadow: var(--s215-shadow);
  margin-bottom: 1.4rem;
}

.s215-hero-track {
  position: relative;
}

.s215-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.s215-hero-slide.s215-active {
  opacity: 1;
  position: relative;
}

.s215-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.s215-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
}

.s215-hero-caption h2 {
  font-size: 1.7rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.s215-hero-caption p {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  color: var(--s215-text-soft);
}

.s215-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0 0.2rem;
}

.s215-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
}

.s215-hero-dot.s215-active {
  background: var(--s215-gold);
  width: 18px;
  border-radius: 6px;
}

/* ---------- Game grid ---------- */
.s215-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.s215-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.s215-card {
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  padding: 0.6rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.s215-card:hover,
.s215-card:active {
  transform: translateY(-2px);
  border-color: var(--s215-primary);
}

.s215-card-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--s215-bg-3);
}

.s215-card-name {
  font-size: 1.15rem;
  color: var(--s215-text-soft);
  font-weight: 600;
  line-height: 1.3rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Category strip ---------- */
.s215-cat-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  scrollbar-width: none;
}

.s215-cat-strip::-webkit-scrollbar {
  display: none;
}

.s215-cat-chip {
  flex: 0 0 auto;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--s215-line);
  background: var(--s215-bg-2);
  color: var(--s215-text);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* ---------- Info / feature blocks ---------- */
.s215-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.s215-feature {
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  padding: 1rem;
}

.s215-feature i {
  font-size: 2.2rem;
  color: var(--s215-gold);
}

.s215-feature h3 {
  font-size: 1.4rem;
  margin: 0.4rem 0 0.2rem;
}

.s215-feature p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--s215-muted);
  line-height: 1.4rem;
}

/* ---------- RTP / compact stats ---------- */
.s215-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.s215-stat {
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  padding: 0.8rem;
  text-align: center;
}

.s215-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s215-gold);
}

.s215-stat-label {
  font-size: 1.15rem;
  color: var(--s215-muted);
}

/* ---------- Testimonials ---------- */
.s215-testi {
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.s215-testi-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.s215-testi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd5d6, #ffb400);
  color: #1a1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
}

.s215-testi-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--s215-text);
}

.s215-testi-stars {
  color: var(--s215-gold);
  font-size: 1.1rem;
}

.s215-testi p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--s215-text-soft);
  line-height: 1.4rem;
}

/* ---------- Payment icons ---------- */
.s215-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.s215-pay-item {
  flex: 1 1 30%;
  border: 1px solid var(--s215-line);
  background: var(--s215-bg-2);
  border-radius: var(--s215-radius-sm);
  padding: 0.8rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--s215-text);
}

.s215-pay-item i {
  font-size: 2rem;
  color: var(--s215-gold);
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------- Winners ---------- */
.s215-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  margin-bottom: 0.5rem;
}

.s215-winner-name {
  font-size: 1.25rem;
  color: var(--s215-text);
  font-weight: 600;
}

.s215-winner-prize {
  color: var(--s215-gold);
  font-weight: 800;
  font-size: 1.35rem;
}

/* ---------- FAQ accordion ---------- */
.s215-faq-item {
  background: var(--s215-bg-2);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.s215-faq-q {
  padding: 1rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--s215-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.s215-faq-q::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--s215-gold);
}

.s215-faq-open .s215-faq-q::after {
  content: "\2212";
}

.s215-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1rem;
  color: var(--s215-muted);
  font-size: 1.3rem;
  line-height: 1.4rem;
}

.s215-faq-open .s215-faq-a {
  max-height: 320px;
  padding: 0 1rem 1rem;
}

/* ---------- App download CTA ---------- */
.s215-app-cta {
  background: linear-gradient(135deg, #2a1a1a, #1a1a1a);
  border: 1px solid var(--s215-line);
  border-radius: var(--s215-radius);
  padding: 1.4rem;
  text-align: center;
}

.s215-app-cta h3 {
  color: var(--s215-text);
  font-size: 1.7rem;
}

.s215-app-cta p {
  color: var(--s215-muted);
  font-size: 1.3rem;
}

/* ---------- Footer ---------- */
.s215-footer {
  background: var(--s215-bg-2);
  border-top: 1px solid var(--s215-line);
  padding: 2.2rem 0 7rem;
}

.s215-footer h4 {
  color: var(--s215-text);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.s215-footer p {
  color: var(--s215-muted);
  font-size: 1.3rem;
  line-height: 1.4rem;
}

.s215-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}

.s215-footer-links a {
  font-size: 1.25rem;
  color: var(--s215-text);
}

.s215-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem;
}

.s215-footer-copy {
  font-size: 1.15rem;
  color: var(--s215-muted);
  text-align: center;
  border-top: 1px solid var(--s215-line);
  padding-top: 1rem;
}

/* ---------- Bottom nav ---------- */
.s215-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1c1c1c, #0e0e0e);
  border-top: 1px solid var(--s215-line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.s215-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--s215-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}

.s215-bottom-nav-btn i,
.s215-bottom-nav-btn .material-icons-outlined,
.s215-bottom-nav-btn ion-icon {
  font-size: 24px;
}

.s215-bottom-nav-btn span {
  font-size: 1.1rem;
  font-weight: 600;
}

.s215-bottom-nav-btn:active {
  transform: scale(0.92);
  color: var(--s215-gold);
}

.s215-bottom-nav-btn.s215-nav-active {
  color: var(--s215-gold);
}

.s215-bottom-nav-btn.s215-nav-active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--s215-gold);
}

/* ---------- Back to top ---------- */
.s215-back-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--s215-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.s215-back-top.s215-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Utilities ---------- */
.s215-text-center { text-align: center; }
.s215-mt-1 { margin-top: 0.6rem; }
.s215-mt-2 { margin-top: 1.2rem; }
.s215-mb-2 { margin-bottom: 1.2rem; }
.s215-hide-desktop { display: block; }
.s215-no-scroll { overflow: hidden; }
.s215-list { padding-left: 1.2rem; color: var(--s215-text-soft); }
.s215-list li { margin-bottom: 0.5rem; line-height: 1.4rem; font-size: 1.3rem; }

/* ---------- Responsive: mobile padding for fixed bottom nav ---------- */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* ---------- Desktop: hide bottom nav and mobile-only chrome ---------- */
@media (min-width: 769px) {
  .s215-bottom-nav,
  .s215-menu-btn {
    display: none;
  }
  .s215-wrapper,
  .s215-header-inner,
  .s215-container {
    max-width: 430px;
  }
}
