/* okplay apk base styles. All custom classes use the v08f- prefix. */
/* Palette: #AD1457 primary | #FA8072 accent | #CD853F gold | #CED4DA light | #1A1A1A dark bg */

:root {
  --v08f-primary: #AD1457;
  --v08f-accent: #FA8072;
  --v08f-gold: #CD853F;
  --v08f-light: #CED4DA;
  --v08f-bg: #1A1A1A;
  --v08f-bg2: #232323;
  --v08f-bg3: #2c2c2c;
  --v08f-text: #f5f6f8;
  --v08f-muted: #b9bfc7;
  --v08f-radius: 12px;
  --v08f-shadow: 0 6px 18px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--v08f-bg);
  color: var(--v08f-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}
a { color: var(--v08f-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; }

.v08f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v08f-wrapper { padding: 1rem 1.2rem; }
.v08f-mt { margin-top: 1.6rem; }
.v08f-hidden { display: none !important; }

/* ===== Header ===== */
.v08f-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #1A1A1A 0%, #2c0612 60%, #4a0c28 100%);
  border-bottom: 1px solid rgba(205,133,63,.25);
  box-shadow: var(--v08f-shadow);
}
.v08f-header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; gap: .6rem;
}
.v08f-brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; font-size: 1.5rem; }
.v08f-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v08f-brand small { color: var(--v08f-gold); font-size: 1rem; font-weight: 600; }
.v08f-header-actions { display: flex; align-items: center; gap: .45rem; }
.v08f-menu-btn {
  background: transparent; border: 1px solid rgba(205,133,63,.4);
  color: var(--v08f-light); width: 36px; height: 36px; border-radius: 8px;
  font-size: 1.8rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.v08f-btn {
  border: none; cursor: pointer; font-weight: 700;
  border-radius: 20px; padding: .55rem 1.1rem; font-size: 1.25rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.v08f-btn-login { background: rgba(255,255,255,.08); color: var(--v08f-light); border: 1px solid rgba(255,255,255,.18); }
.v08f-btn-register {
  background: linear-gradient(135deg, var(--v08f-gold) 0%, var(--v08f-accent) 100%);
  color: #1A1A1A; box-shadow: 0 3px 10px rgba(205,133,63,.4);
}
.v08f-btn:hover { transform: translateY(-1px); }
.v08f-btn-register:hover { box-shadow: 0 6px 16px rgba(250,128,114,.55); }

/* ===== Mobile dropdown menu ===== */
.v08f-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.v08f-menu-overlay.v08f-open { opacity: 1; pointer-events: auto; }
.v08f-mobile-menu {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -100%);
  width: 100%; max-width: 430px; z-index: 9999; background: #1f1119;
  padding: 6.5rem 1.2rem 1.4rem; transition: transform .3s ease;
  border-bottom: 1px solid rgba(205,133,63,.25); max-height: 100vh; overflow-y: auto;
}
.v08f-mobile-menu.v08f-open { transform: translate(-50%, 0); }
.v08f-mobile-menu a {
  display: block; padding: .85rem .6rem; border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--v08f-light); font-weight: 600; font-size: 1.35rem;
}
.v08f-mobile-menu a:hover { color: var(--v08f-accent); padding-left: 1rem; }
.v08f-menu-close { position: absolute; top: .9rem; right: 1rem; background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ===== Hero / Carousel ===== */
.v08f-hero { margin-top: 58px; }
.v08f-carousel { position: relative; overflow: hidden; border-radius: 14px; }
.v08f-slides { display: flex; }
.v08f-slide {
  min-width: 100%; position: relative; opacity: 0; transition: opacity .5s ease;
}
.v08f-slide.v08f-active { opacity: 1; }
.v08f-slide img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; cursor: pointer; }
.v08f-slide-cap {
  position: absolute; left: 1rem; bottom: 1.2rem; right: 1rem; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.v08f-slide-cap h2 { font-size: 1.7rem; margin-bottom: .2rem; }
.v08f-slide-cap p { font-size: 1.15rem; color: var(--v08f-light); }
.v08f-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .7rem; }
.v08f-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; cursor: pointer; }
.v08f-dot.v08f-active { background: var(--v08f-gold); width: 22px; border-radius: 6px; }

/* ===== Headings ===== */
.v08f-section { padding: 1.4rem 1.2rem; }
.v08f-section-title {
  font-size: 1.7rem; margin-bottom: .9rem; padding-left: .75rem;
  border-left: 4px solid var(--v08f-gold); color: #fff;
}
.v08f-section-title span { color: var(--v08f-accent); }
.v08f-lead { color: var(--v08f-muted); font-size: 1.3rem; margin-bottom: .8rem; }

/* ===== Game grid ===== */
.v08f-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.2rem 0 .7rem;
}
.v08f-cat-title {
  font-size: 1.4rem; color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; gap: .45rem;
}
.v08f-cat-title i { color: var(--v08f-gold); font-size: 1.6rem; }
.v08f-cat-more { color: var(--v08f-accent); font-size: 1.15rem; }
.v08f-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem;
}
.v08f-card {
  background: var(--v08f-bg2); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.05); cursor: pointer; position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.v08f-card:hover { transform: translateY(-2px); border-color: var(--v08f-gold); box-shadow: 0 6px 14px rgba(205,133,63,.25); }
.v08f-card img { width: 100%; height: 92px; object-fit: cover; }
.v08f-card-name {
  padding: .35rem .3rem; font-size: 1rem; text-align: center; color: var(--v08f-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v08f-card-hot {
  position: absolute; top: 4px; right: 4px; background: var(--v08f-primary);
  color: #fff; font-size: .85rem; padding: .1rem .35rem; border-radius: 4px;
}

/* ===== Promo buttons / links ===== */
.v08f-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, var(--v08f-gold), var(--v08f-accent));
  color: #1A1A1A; font-weight: 700; padding: .8rem 1.4rem; border-radius: 24px;
  border: none; cursor: pointer; font-size: 1.3rem; box-shadow: 0 4px 12px rgba(250,128,114,.4);
}
.v08f-cta:hover { opacity: .92; }
.v08f-link {
  color: var(--v08f-accent); font-weight: 700; border-bottom: 1px dashed rgba(250,128,114,.6);
  cursor: pointer;
}

/* ===== Info panels ===== */
.v08f-panel {
  background: var(--v08f-bg2); border-radius: var(--v08f-radius); padding: 1rem 1.1rem;
  margin-bottom: 1rem; border: 1px solid rgba(255,255,255,.05);
}
.v08f-panel h3 { font-size: 1.4rem; margin-bottom: .4rem; color: #fff; }
.v08f-panel p { color: var(--v08f-muted); font-size: 1.25rem; }
.v08f-list { list-style: none; padding-left: 0; }
.v08f-list li { padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--v08f-muted); font-size: 1.25rem; }
.v08f-list li::before { content: "▸"; position: absolute; left: .3rem; color: var(--v08f-gold); }

/* Feature / step grid */
.v08f-feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; }
.v08f-feat {
  background: var(--v08f-bg3); border-radius: 10px; padding: .8rem; text-align: center;
  border: 1px solid rgba(205,133,63,.12);
}
.v08f-feat i { font-size: 2.2rem; color: var(--v08f-gold); }
.v08f-feat h4 { font-size: 1.2rem; margin: .35rem 0 .2rem; color: #fff; }
.v08f-feat p { font-size: 1.1rem; color: var(--v08f-muted); }

/* Steps */
.v08f-step {
  display: flex; gap: .7rem; align-items: flex-start; padding: .5rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.v08f-step-num {
  flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: var(--v08f-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.v08f-step-txt { color: var(--v08f-muted); font-size: 1.2rem; }
.v08f-step-txt b { color: #fff; }

/* Testimonials */
.v08f-quote {
  background: var(--v08f-bg2); border-left: 3px solid var(--v08f-accent);
  padding: .8rem 1rem; border-radius: 8px; margin-bottom: .6rem;
}
.v08f-quote p { color: var(--v08f-light); font-size: 1.2rem; font-style: italic; }
.v08f-quote cite { display: block; color: var(--v08f-gold); font-size: 1.05rem; margin-top: .3rem; }

/* Payment chips */
.v08f-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.v08f-chip {
  background: var(--v08f-bg3); border: 1px solid rgba(255,255,255,.08);
  padding: .4rem .8rem; border-radius: 16px; font-size: 1.1rem; color: var(--v08f-light);
}
.v08f-chip i { color: var(--v08f-gold); margin-right: .25rem; }

/* Winners */
.v08f-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .8rem; background: var(--v08f-bg2); border-radius: 8px; margin-bottom: .45rem;
}
.v08f-winner b { color: var(--v08f-gold); }
.v08f-winner small { color: var(--v08f-muted); }

/* RTP compact */
.v08f-rtp-row { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px dashed rgba(255,255,255,.06); font-size: 1.2rem; }
.v08f-rtp-row span:last-child { color: var(--v08f-accent); font-weight: 700; }

/* FAQ */
.v08f-faq { background: var(--v08f-bg2); border-radius: 8px; padding: .8rem 1rem; margin-bottom: .5rem; }
.v08f-faq h4 { font-size: 1.25rem; color: #fff; margin-bottom: .25rem; }
.v08f-faq p { color: var(--v08f-muted); font-size: 1.15rem; }

/* ===== Footer ===== */
.v08f-footer {
  background: #14080d; padding: 1.6rem 1.2rem 8rem; margin-top: 1.4rem;
  border-top: 2px solid rgba(205,133,63,.25);
}
.v08f-footer p { color: var(--v08f-muted); font-size: 1.15rem; margin-bottom: .8rem; }
.v08f-footer-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.v08f-footer-links a {
  background: var(--v08f-bg3); padding: .35rem .75rem; border-radius: 14px;
  font-size: 1.1rem; color: var(--v08f-light);
}
.v08f-footer-links a:hover { color: var(--v08f-accent); }
.v08f-footer-copy { font-size: 1.05rem; color: #6c727a; margin-top: .8rem; text-align: center; }
.v08f-promo-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.v08f-promo-row .v08f-cta { font-size: 1.15rem; padding: .55rem 1rem; }

/* ===== Mobile bottom navigation ===== */
.v08f-bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000; height: 62px;
  background: linear-gradient(180deg, #2a0a18 0%, #14080d 100%);
  border-top: 1px solid rgba(205,133,63,.3);
  display: flex; justify-content: space-around; align-items: stretch;
}
.v08f-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--v08f-muted); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .15rem; padding: .35rem 0;
  font-size: 1rem; transition: color .2s ease, transform .15s ease;
}
.v08f-bottomnav-btn i, .v08f-bottomnav-btn .material-icons-outlined,
.v08f-bottomnav-btn .material-icons { font-size: 22px; }
.v08f-bottomnav-btn span { font-size: 1rem; font-weight: 600; }
.v08f-bottomnav-btn:active { transform: scale(.92); }
.v08f-bottomnav-btn.v08f-current { color: var(--v08f-gold); }
.v08f-bottomnav-btn:hover { color: var(--v08f-accent); }
.v08f-bottomnav-btn.v08f-promo { color: var(--v08f-accent); }

/* ===== Reveal animation ===== */
.v08f-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.v08f-reveal.v08f-visible { opacity: 1; transform: translateY(0); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .v08f-bottomnav { display: none; }
  body { max-width: 430px; box-shadow: 0 0 30px rgba(0,0,0,.4); min-height: 100vh; }
}

/* ===== Mobile bottom padding so content isn't covered ===== */
@media (max-width: 768px) {
  main, .v08f-main { padding-bottom: 84px; }
}
