/* =============================================================
 * okplay apk - style-7c06.css
 * Palette: #0D1117 (bg) | #FAFAD2 (light text) | #FFD700 (accent)
 * All custom classes use the s7c0- prefix.
 * Mobile-first, max width 430px for primary layout.
 * ============================================================= */

:root {
  --s7c0-bg: #0D1117;
  --s7c0-bg-soft: #161B26;
  --s7c0-bg-card: #1B2230;
  --s7c0-text: #FAFAD2;
  --s7c0-text-muted: #B9C2D0;
  --s7c0-primary: #FFD700;
  --s7c0-primary-dark: #C9A227;
  --s7c0-secondary: #FAFAD2;
  --s7c0-accent: #FF5A5F;
  --s7c0-success: #34D399;
  --s7c0-border: rgba(250, 250, 210, 0.12);
  --s7c0-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --s7c0-radius: 14px;
  --s7c0-radius-sm: 9px;
  --s7c0-header-h: 60px;
  --s7c0-nav-h: 62px;
  --s7c0-max-w: 430px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--s7c0-bg);
  color: var(--s7c0-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: var(--s7c0-max-w);
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--s7c0-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--s7c0-secondary); }

h1, h2, h3, h4 {
  color: var(--s7c0-text);
  line-height: 1.3;
  font-weight: 700;
}

ul, ol { list-style: none; }

/* ---------- Layout helpers ---------- */
.s7c0-container {
  width: 100%;
  max-width: var(--s7c0-max-w);
  margin: 0 auto;
  padding: 0 14px;
}

.s7c0-wrapper {
  padding: 22px 14px;
}

.s7c0-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--s7c0-border);
}

.s7c0-section-title {
  font-size: 2.1rem;
  color: var(--s7c0-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s7c0-section-sub {
  font-size: 1.35rem;
  color: var(--s7c0-text-muted);
  margin-bottom: 16px;
}

.s7c0-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--s7c0-border), transparent);
  margin: 18px 0;
}

/* ---------- Header ---------- */
.s7c0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: var(--s7c0-max-w);
  margin: 0 auto;
  height: var(--s7c0-header-h);
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s7c0-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.s7c0-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--s7c0-text);
}

.s7c0-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.s7c0-brand .s7c0-brand-accent { color: var(--s7c0-primary); }

.s7c0-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s7c0-menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--s7c0-border);
  background: var(--s7c0-bg-soft);
  color: var(--s7c0-text);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

.s7c0-btn {
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 9px 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

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

.s7c0-btn-primary {
  background: linear-gradient(135deg, var(--s7c0-primary), #FFE564);
  color: var(--s7c0-bg);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.28);
}

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

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

.s7c0-btn-lg {
  font-size: 1.6rem;
  padding: 13px 18px;
  min-height: 48px;
}

/* ---------- Mobile slide-down menu ---------- */
.s7c0-mobile-menu {
  position: fixed;
  top: var(--s7c0-header-h);
  left: 0; right: 0;
  max-width: var(--s7c0-max-w);
  margin: 0 auto;
  background: var(--s7c0-bg-soft);
  border-bottom: 1px solid var(--s7c0-border);
  transform: translateY(-160%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 12px 14px 18px;
  box-shadow: var(--s7c0-shadow);
}

.s7c0-mobile-menu.s7c0-menu-open {
  transform: translateY(0);
}

.s7c0-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 9px;
  color: var(--s7c0-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--s7c0-border);
}

.s7c0-mobile-menu a:last-child { border-bottom: none; }
.s7c0-mobile-menu a i { color: var(--s7c0-primary); width: 22px; text-align: center; }
.s7c0-mobile-menu a:hover { background: var(--s7c0-bg-card); }

/* ---------- Hero / carousel ---------- */
.s7c0-main {
  padding-top: calc(var(--s7c0-header-h) + 8px);
}

.s7c0-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.s7c0-hero-track { position: relative; height: 220px; }

.s7c0-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: flex-end;
}

.s7c0-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s7c0-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.92), rgba(13,17,23,0.25));
}

.s7c0-hero-active { opacity: 1; z-index: 2; }

.s7c0-hero-caption {
  position: relative;
  z-index: 3;
  padding: 16px;
  width: 100%;
}

.s7c0-hero-caption h2 {
  font-size: 2.1rem;
  color: var(--s7c0-primary);
  margin-bottom: 4px;
}

.s7c0-hero-caption p {
  font-size: 1.3rem;
  color: var(--s7c0-text);
  margin-bottom: 10px;
}

.s7c0-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.s7c0-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250,250,210,0.4);
  cursor: pointer;
}

.s7c0-hero-dot-active { background: var(--s7c0-primary); width: 20px; border-radius: 4px; }

/* ---------- Game filter tabs ---------- */
.s7c0-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 16px;
  scrollbar-width: none;
}

.s7c0-filter-bar::-webkit-scrollbar { display: none; }

.s7c0-filter-tab {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  color: var(--s7c0-text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.s7c0-filter-tab-active {
  background: var(--s7c0-primary);
  color: var(--s7c0-bg);
  border-color: var(--s7c0-primary);
  font-weight: 700;
}

/* ---------- Game grid ---------- */
.s7c0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.s7c0-game-card {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: var(--s7c0-radius-sm);
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.s7c0-game-card:hover, .s7c0-game-card:active {
  transform: translateY(-3px);
  border-color: var(--s7c0-primary);
  box-shadow: 0 6px 16px rgba(255,215,0,0.18);
}

.s7c0-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 6px;
}

.s7c0-game-name {
  font-size: 1.15rem;
  color: var(--s7c0-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.s7c0-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}

.s7c0-cat-head h3 {
  font-size: 1.75rem;
  color: var(--s7c0-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.s7c0-cat-link {
  font-size: 1.25rem;
  color: var(--s7c0-text-muted);
  font-weight: 600;
}

/* ---------- Cards / features ---------- */
.s7c0-card {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: var(--s7c0-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--s7c0-shadow);
}

.s7c0-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: var(--s7c0-primary);
}

.s7c0-card p {
  font-size: 1.35rem;
  color: var(--s7c0-text-muted);
  margin-bottom: 6px;
}

.s7c0-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.s7c0-feature-item {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: var(--s7c0-radius-sm);
  padding: 14px 10px;
  text-align: center;
}

.s7c0-feature-item .s7c0-icon {
  font-size: 2.4rem;
  color: var(--s7c0-primary);
  margin-bottom: 6px;
}

.s7c0-feature-item h4 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.s7c0-feature-item p {
  font-size: 1.2rem;
  color: var(--s7c0-text-muted);
}

/* ---------- Steps / how to play ---------- */
.s7c0-steps {
  counter-reset: step;
}

.s7c0-step {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.s7c0-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--s7c0-primary);
  color: var(--s7c0-bg);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.s7c0-step-body h4 {
  font-size: 1.5rem;
  margin-bottom: 3px;
  color: var(--s7c0-text);
}

.s7c0-step-body p {
  font-size: 1.3rem;
  color: var(--s7c0-text-muted);
}

/* ---------- RTP table ---------- */
.s7c0-rpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.s7c0-rpt-table th,
.s7c0-rpt-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--s7c0-border);
  text-align: left;
}

.s7c0-rpt-table th {
  color: var(--s7c0-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.s7c0-rpt-table td:last-child {
  color: var(--s7c0-success);
  font-weight: 700;
}

.s7c0-rpt-bar {
  height: 7px;
  background: var(--s7c0-bg-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.s7c0-rpt-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--s7c0-primary), var(--s7c0-success));
}

/* ---------- Testimonials ---------- */
.s7c0-testimonial {
  background: var(--s7c0-bg-card);
  border-left: 3px solid var(--s7c0-primary);
  border-radius: 9px;
  padding: 14px;
  margin-bottom: 10px;
}

.s7c0-testimonial p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--s7c0-text);
  margin-bottom: 8px;
}

.s7c0-testimonial .s7c0-author {
  font-size: 1.2rem;
  color: var(--s7c0-primary);
  font-weight: 700;
}

.s7c0-stars { color: var(--s7c0-primary); font-size: 1.3rem; }

/* ---------- Winners / badges ---------- */
.s7c0-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--s7c0-border);
  font-size: 1.3rem;
}

.s7c0-winner-row:last-child { border-bottom: none; }

.s7c0-winner-name { color: var(--s7c0-text); font-weight: 600; }
.s7c0-winner-game { color: var(--s7c0-text-muted); font-size: 1.2rem; }
.s7c0-winner-amount { color: var(--s7c0-primary); font-weight: 800; }

/* ---------- Payment chips ---------- */
.s7c0-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s7c0-chip {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: 22px;
  padding: 8px 13px;
  font-size: 1.25rem;
  color: var(--s7c0-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.s7c0-chip i { color: var(--s7c0-primary); }

/* ---------- FAQ ---------- */
.s7c0-faq-item {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: var(--s7c0-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.s7c0-faq-q {
  padding: 13px 14px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--s7c0-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.s7c0-faq-q .s7c0-faq-icon { color: var(--s7c0-primary); transition: transform 0.2s ease; }

.s7c0-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 14px;
  color: var(--s7c0-text-muted);
  font-size: 1.3rem;
}

.s7c0-faq-open .s7c0-faq-a {
  max-height: 320px;
  padding: 0 14px 13px;
}

.s7c0-faq-open .s7c0-faq-icon { transform: rotate(45deg); }

/* ---------- Promo banner ---------- */
.s7c0-promo {
  background: linear-gradient(135deg, #1B2230, #2A2410);
  border: 1px solid var(--s7c0-primary);
  border-radius: var(--s7c0-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 16px 0;
}

.s7c0-promo h3 {
  font-size: 1.9rem;
  color: var(--s7c0-primary);
  margin-bottom: 6px;
}

.s7c0-promo p {
  font-size: 1.3rem;
  color: var(--s7c0-text);
  margin-bottom: 12px;
}

.s7c0-promo-link {
  color: var(--s7c0-primary);
  font-weight: 800;
  text-decoration: underline;
}

/* ---------- App download CTA ---------- */
.s7c0-app-cta {
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,0.18), transparent 70%), var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: var(--s7c0-radius);
  padding: 18px;
  text-align: center;
}

.s7c0-app-cta h3 {
  font-size: 1.9rem;
  color: var(--s7c0-primary);
  margin-bottom: 6px;
}

.s7c0-app-cta p {
  font-size: 1.3rem;
  color: var(--s7c0-text-muted);
  margin-bottom: 14px;
}

.s7c0-app-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.s7c0-footer {
  background: var(--s7c0-bg-soft);
  border-top: 1px solid var(--s7c0-border);
  padding: 24px 14px calc(var(--s7c0-nav-h) + 24px);
  margin-top: 18px;
}

.s7c0-footer-brand {
  font-size: 1.4rem;
  color: var(--s7c0-text-muted);
  margin-bottom: 14px;
}

.s7c0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.s7c0-footer-links a {
  background: var(--s7c0-bg-card);
  border: 1px solid var(--s7c0-border);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 1.2rem;
  color: var(--s7c0-text);
}

.s7c0-footer-links a:hover { color: var(--s7c0-primary); border-color: var(--s7c0-primary); }

.s7c0-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.s7c0-footer-promos button {
  flex: 1 1 45%;
}

.s7c0-footer-copy {
  font-size: 1.2rem;
  color: var(--s7c0-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ---------- Bottom navigation ---------- */
.s7c0-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: var(--s7c0-max-w);
  margin: 0 auto;
  height: var(--s7c0-nav-h);
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--s7c0-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.4);
}

.s7c0-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--s7c0-text-muted);
  font-size: 1.05rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.s7c0-nav-btn i,
.s7c0-nav-btn .material-icons-outlined {
  font-size: 24px;
}

.s7c0-nav-btn:active { transform: scale(0.92); }

.s7c0-nav-btn.s7c0-nav-active { color: var(--s7c0-primary); }

.s7c0-nav-btn.s7c0-nav-active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 3px;
  background: var(--s7c0-primary);
  border-radius: 0 0 3px 3px;
}

.s7c0-nav-btn.s7c0-nav-promo {
  color: var(--s7c0-primary);
}

.s7c0-nav-btn .s7c0-nav-badge {
  position: absolute;
  top: 6px; right: 16px;
  background: var(--s7c0-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Back to top ---------- */
.s7c0-to-top {
  position: fixed;
  bottom: calc(var(--s7c0-nav-h) + 14px);
  right: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--s7c0-primary);
  color: var(--s7c0-bg);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.s7c0-to-top-visible { opacity: 1; pointer-events: auto; }

/* ---------- Reveal animation ---------- */
.s7c0-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.s7c0-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Long-form SEO text ---------- */
.s7c0-prose p {
  font-size: 1.35rem;
  color: var(--s7c0-text-muted);
  margin-bottom: 10px;
}

.s7c0-prose strong { color: var(--s7c0-primary); }

.s7c0-prose a { color: var(--s7c0-primary); text-decoration: underline; }

.s7c0-tag {
  display: inline-block;
  background: rgba(255, 215, 0, 0.12);
  color: var(--s7c0-primary);
  font-size: 1.1rem;
  padding: 3px 8px;
  border-radius: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid rgba(255,215,0,0.25);
}

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .s7c0-header, .s7c0-mobile-menu, .s7c0-bottom-nav { max-width: 960px; }
  .s7c0-bottom-nav { display: none; }
  .s7c0-footer { padding-bottom: 28px; }
  .s7c0-grid { grid-template-columns: repeat(6, 1fr); }
  .s7c0-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .s7c0-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .s7c0-hero-track { height: 320px; }
}

@media (max-width: 768px) {
  .s7c0-main { padding-bottom: calc(var(--s7c0-nav-h) + 14px); }
}
