/* ============================================================
   superph com casino - superph-com-casino.css
   Mobile-first casino UI (class prefix: v02b-)
   Palette: #D2B48C / #34495E / #95A5A6 / #008000 / #2F2F2F
   ============================================================ */

:root {
  --v02b-primary: #D2B48C;          /* tan */
  --v02b-secondary: #34495E;        /* dark slate */
  --v02b-muted: #95A5A6;            /* silver */
  --v02b-accent: #008000;           /* green */
  --v02b-bg: #2F2F2F;               /* near-black */
  --v02b-bg-soft: #3a3a3a;
  --v02b-bg-deep: #232323;
  --v02b-text: #f5efe2;
  --v02b-text-muted: #c8c0b0;
  --v02b-border: rgba(210,180,140,0.22);
  --v02b-shadow: 0 4px 18px rgba(0,0,0,0.42);
  --v02b-radius: 12px;
  --v02b-radius-lg: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--v02b-bg);
  color: var(--v02b-text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--v02b-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.3; color: #fff; }

.v02b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.v02b-wrapper { padding-bottom: 92px; }

/* ---------- Header / Top Navigation ---------- */
.v02b-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(47,47,47,0.96), rgba(52,73,94,0.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v02b-border);
}
.v02b-header-inner {
  width: 100%; max-width: 430px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; gap: 8px;
}
.v02b-header-scrolled { box-shadow: 0 4px 14px rgba(0,0,0,0.45); }
.v02b-brand { display: flex; align-items: center; gap: 8px; color: #fff; }
.v02b-brand img { width: 30px; height: 30px; border-radius: 6px; }
.v02b-brand-text {
  font-size: 14px; font-weight: 800; letter-spacing: 0.4px;
  color: var(--v02b-primary);
}
.v02b-header-actions { display: flex; align-items: center; gap: 8px; }
.v02b-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; font-weight: 700; border-radius: 999px;
  padding: 8px 14px; font-size: 12px; cursor: pointer;
  border: none; transition: transform 0.15s ease, background 0.2s ease;
  min-height: 36px; line-height: 1; white-space: nowrap;
}
.v02b-btn-primary { background: linear-gradient(135deg, #008000, #006600); color: #fff; }
.v02b-btn-secondary { background: var(--v02b-primary); color: #2F2F2F; }
.v02b-btn-ghost { background: transparent; color: var(--v02b-primary); border: 1px solid var(--v02b-primary); }
.v02b-btn:hover { text-decoration: none; transform: translateY(-1px); }
.v02b-btn:active { transform: scale(0.97); }
.v02b-menu-toggle {
  background: transparent; border: none; color: #fff;
  font-size: 22px; padding: 6px; cursor: pointer; min-width: 44px; min-height: 44px;
}

/* ---------- Mobile expandable menu ---------- */
.v02b-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--v02b-bg-deep);
  z-index: 9999;
  padding: 64px 18px 24px;
  overflow-y: auto;
  transition: right 0.28s ease;
  border-left: 1px solid var(--v02b-border);
  box-shadow: -8px 0 24px rgba(0,0,0,0.5);
}
.v02b-mobile-menu.v02b-is-open { right: 0; }
.v02b-mobile-menu h4 {
  color: var(--v02b-primary); font-size: 13px; margin: 16px 0 8px;
  text-transform: uppercase; letter-spacing: 1px;
}
.v02b-mobile-menu a {
  display: block; padding: 10px 12px; color: var(--v02b-text);
  border-radius: 8px; margin-bottom: 4px; font-size: 14px;
}
.v02b-mobile-menu a:hover { background: rgba(210,180,140,0.12); text-decoration: none; }
.v02b-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;
}
.v02b-menu-backdrop.v02b-is-visible { opacity: 1; pointer-events: auto; }
.v02b-menu-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none; color: #fff;
  font-size: 22px; cursor: pointer; min-width: 44px; min-height: 44px;
}

/* ---------- Hero / Carousel ---------- */
.v02b-hero { padding-top: 64px; }
.v02b-carousel {
  position: relative; border-radius: var(--v02b-radius-lg);
  overflow: hidden; box-shadow: var(--v02b-shadow);
  background: #000;
}
.v02b-carousel-track { position: relative; }
.v02b-carousel-slide {
  position: relative; display: none;
  min-height: 180px;
}
.v02b-carousel-slide.v02b-is-active { display: block; }
.v02b-carousel-slide img {
  width: 100%; height: 180px; object-fit: cover;
}
.v02b-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 14px 12px 12px; color: #fff;
}
.v02b-carousel-caption h2 { font-size: 18px; margin-bottom: 4px; }
.v02b-carousel-caption p { margin: 0; font-size: 12px; color: var(--v02b-primary); }
.v02b-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.v02b-carousel-prev { left: 6px; }
.v02b-carousel-next { right: 6px; }
.v02b-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v02b-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none; padding: 0;
}
.v02b-carousel-dot.v02b-is-active { background: var(--v02b-primary); width: 18px; border-radius: 4px; }

/* ---------- Section titles ---------- */
.v02b-section { padding: 22px 0; }
.v02b-section-title {
  font-size: 18px; color: var(--v02b-primary);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.v02b-section-title::before {
  content: ""; width: 4px; height: 18px; background: var(--v02b-accent);
  border-radius: 2px;
}
.v02b-section-intro {
  font-size: 13px; color: var(--v02b-text-muted); margin-bottom: 14px;
}

/* ---------- Promo chips ---------- */
.v02b-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.v02b-chips::-webkit-scrollbar { display: none; }
.v02b-chip {
  flex-shrink: 0; padding: 8px 14px; border-radius: 20px;
  background: var(--v02b-bg-soft); color: var(--v02b-text);
  border: 1px solid var(--v02b-border); cursor: pointer;
  font-size: 12px; font-weight: 600; min-height: 36px;
  display: inline-flex; align-items: center; gap: 4px;
}
.v02b-chip.v02b-is-active { background: var(--v02b-primary); color: #2F2F2F; }

/* ---------- Game grid ---------- */
.v02b-game-cat-title {
  font-size: 15px; color: #fff; margin: 16px 0 8px;
  display: flex; align-items: center; gap: 6px;
}
.v02b-game-cat-title i { color: var(--v02b-accent); }
.v02b-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.v02b-game-card {
  background: var(--v02b-bg-soft);
  border: 1px solid var(--v02b-border);
  border-radius: var(--v02b-radius);
  overflow: hidden; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: block; text-decoration: none; color: inherit;
}
.v02b-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,128,0,0.22);
  text-decoration: none;
}
.v02b-game-thumb {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: linear-gradient(135deg, #444, #2F2F2F);
}
.v02b-game-name {
  padding: 6px 6px 8px; font-size: 11px; font-weight: 600;
  text-align: center; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Feature / info cards ---------- */
.v02b-card {
  background: var(--v02b-bg-soft);
  border: 1px solid var(--v02b-border);
  border-radius: var(--v02b-radius-lg);
  padding: 14px; margin-bottom: 12px;
}
.v02b-card h3 { color: var(--v02b-primary); font-size: 15px; }
.v02b-card p { font-size: 13px; color: var(--v02b-text-muted); margin: 6px 0; }
.v02b-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.v02b-feature-item {
  background: var(--v02b-bg-deep);
  border-radius: var(--v02b-radius);
  padding: 12px; text-align: center;
  border: 1px solid var(--v02b-border);
}
.v02b-feature-item i { font-size: 24px; color: var(--v02b-primary); }
.v02b-feature-item h4 { font-size: 13px; color: #fff; margin: 6px 0 4px; }
.v02b-feature-item p { font-size: 11px; color: var(--v02b-text-muted); margin: 0; }

/* ---------- Promo link inline ---------- */
.v02b-link-inline {
  color: var(--v02b-primary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--v02b-primary);
}
.v02b-link-inline:hover { color: var(--v02b-accent); border-bottom-color: var(--v02b-accent); }

/* ---------- CTA banner ---------- */
.v02b-cta {
  background: linear-gradient(135deg, var(--v02b-accent), #006600);
  border-radius: var(--v02b-radius-lg);
  padding: 18px 14px; text-align: center; margin: 16px 0;
  color: #fff; box-shadow: 0 8px 24px rgba(0,128,0,0.32);
}
.v02b-cta h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.v02b-cta p { font-size: 12px; opacity: 0.9; margin: 0 0 10px; }
.v02b-cta .v02b-btn { background: var(--v02b-primary); color: #2F2F2F; }

/* ---------- Testimonials ---------- */
.v02b-testimonial {
  background: var(--v02b-bg-soft); border-left: 3px solid var(--v02b-accent);
  padding: 12px 14px; border-radius: 8px; margin-bottom: 10px;
}
.v02b-testimonial p { font-size: 13px; color: var(--v02b-text); margin: 0 0 6px; font-style: italic; }
.v02b-testimonial .v02b-author { font-size: 12px; color: var(--v02b-primary); font-weight: 700; }

/* ---------- Winners ---------- */
.v02b-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; background: var(--v02b-bg-soft);
  border-radius: 8px; margin-bottom: 6px; font-size: 12px;
}
.v02b-winner-name { color: #fff; font-weight: 700; }
.v02b-winner-amount { color: var(--v02b-primary); font-weight: 800; }

/* ---------- FAQ accordion ---------- */
.v02b-faq-item {
  background: var(--v02b-bg-soft); border: 1px solid var(--v02b-border);
  border-radius: var(--v02b-radius); margin-bottom: 8px; overflow: hidden;
}
.v02b-faq-question {
  width: 100%; text-align: left; padding: 12px 14px;
  background: transparent; border: none; color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.v02b-faq-question .v02b-faq-icon { color: var(--v02b-primary); transition: transform 0.2s ease; }
.v02b-faq-item.v02b-is-open .v02b-faq-icon { transform: rotate(45deg); }
.v02b-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 14px; color: var(--v02b-text-muted); font-size: 12px;
}
.v02b-faq-item.v02b-is-open .v02b-faq-answer { max-height: 400px; padding: 0 14px 12px; }

/* ---------- Payment grid ---------- */
.v02b-payment-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.v02b-payment-item {
  background: var(--v02b-bg-soft); border-radius: 8px; padding: 10px 4px;
  text-align: center; border: 1px solid var(--v02b-border);
}
.v02b-payment-item i { font-size: 22px; color: var(--v02b-primary); }
.v02b-payment-item span { display: block; font-size: 10px; color: var(--v02b-text-muted); margin-top: 4px; }

/* ---------- SEO content block ---------- */
.v02b-seo-block {
  background: var(--v02b-bg-deep); border-radius: var(--v02b-radius-lg);
  padding: 16px; border: 1px solid var(--v02b-border); margin-bottom: 12px;
}
.v02b-seo-block p { font-size: 13px; color: var(--v02b-text); margin: 0 0 8px; }
.v02b-seo-block p:last-child { margin-bottom: 0; }

/* ---------- RTP table ---------- */
.v02b-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
  background: var(--v02b-bg-soft); border-radius: 8px; overflow: hidden;
}
.v02b-rtp-table th, .v02b-rtp-table td {
  padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--v02b-border);
}
.v02b-rtp-table th { background: var(--v02b-bg-deep); color: var(--v02b-primary); font-size: 11px; text-transform: uppercase; }
.v02b-rtp-table td { color: var(--v02b-text); }
.v02b-rtp-table td:last-child { color: var(--v02b-accent); font-weight: 700; }

/* ---------- Footer ---------- */
.v02b-footer {
  background: var(--v02b-bg-deep);
  padding: 22px 12px 16px;
  border-top: 1px solid var(--v02b-border);
  margin-top: 20px;
}
.v02b-footer-brand {
  color: var(--v02b-primary); font-weight: 800; font-size: 16px; margin-bottom: 6px;
}
.v02b-footer-desc { font-size: 12px; color: var(--v02b-text-muted); margin-bottom: 14px; }
.v02b-footer-promos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px;
}
.v02b-footer-promos .v02b-btn { padding: 8px 6px; font-size: 11px; }
.v02b-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 12px;
}
.v02b-footer-links a {
  font-size: 11px; color: var(--v02b-text-muted);
  padding: 4px 0; border-bottom: 1px dashed rgba(210,180,140,0.18);
}
.v02b-footer-links a:hover { color: var(--v02b-primary); text-decoration: none; }
.v02b-footer-copy {
  font-size: 10px; color: #777; text-align: center; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- Mobile bottom nav ---------- */
.v02b-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; z-index: 1000;
  background: linear-gradient(180deg, #2F2F2F, #1d1d1d);
  border-top: 1px solid var(--v02b-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.45);
}
.v02b-bottom-nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: transparent; border: none; color: #c8c0b0;
  font-size: 10px; font-weight: 600; cursor: pointer;
  min-width: 60px; min-height: 60px;
  padding: 4px 2px; gap: 2px;
  transition: color 0.18s ease, transform 0.18s ease;
  position: relative;
}
.v02b-bottom-nav-btn .v02b-bottom-icon { font-size: 22px; line-height: 1; }
.v02b-bottom-nav-btn .v02b-bottom-label { font-size: 10px; line-height: 1; }
.v02b-bottom-nav-btn.v02b-active { color: var(--v02b-primary); }
.v02b-bottom-nav-btn.v02b-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; background: var(--v02b-primary); border-radius: 0 0 4px 4px;
}
.v02b-bottom-nav-btn:active { transform: scale(0.92); color: var(--v02b-accent); }
.v02b-bottom-nav-btn .material-icons { font-size: 22px; }
.v02b-bottom-nav-btn .badge-dot {
  position: absolute; top: 6px; right: 50%; margin-right: -16px;
  width: 7px; height: 7px; background: #ff4d4d; border-radius: 50%;
  border: 1px solid #2F2F2F;
}

/* ---------- Desktop hides ---------- */
@media (min-width: 769px) {
  .v02b-bottom-nav { display: none; }
  .v02b-container { max-width: 720px; }
}
@media (max-width: 768px) {
  .v02b-wrapper { padding-bottom: 84px; }
}

/* ---------- Utility ---------- */
.v02b-text-center { text-align: center; }
.v02b-mt-12 { margin-top: 12px; }
.v02b-mb-12 { margin-bottom: 12px; }
.v02b-hidden { display: none !important; }
