/* ============================================================
 * okplaygame.homes - Base stylesheet (mobile-first)
 * Prefix: v65d-  | Asset hash: 29265d89
 * Palette: #0E1621 / #B2DFDB / #E0F2F1 / #3CB371 / #00FA9A
 * Canvas: 320-430px. Mobile-only. Centered on wider screens.
 * ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  background: #0E1621;
  color: #E0F2F1;
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: #00FA9A; text-decoration: none; }
a:hover, a:focus { color: #B2DFDB; text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: #E0F2F1; margin: 0 0 .5em; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; color: #B2DFDB; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; color: #B2DFDB; }
li { margin: .25em 0; }

/* ---------- App shell (centered on wide screens) ---------- */
.v65d-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0E1621 0%, #0c131c 60%, #0a1019 100%);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,.45);
}

/* ---------- Header ---------- */
.v65d-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(14,22,33,.96), rgba(14,22,33,.92));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(60, 179, 113, .25);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v65d-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: #E0F2F1;
}
.v65d-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0a1019;
  border: 1px solid rgba(0, 250, 154, .35);
  object-fit: contain;
  flex-shrink: 0;
}
.v65d-brand b {
  font-size: 16px;
  letter-spacing: .3px;
  color: #00FA9A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v65d-brand small {
  display: block;
  font-size: 10px;
  color: #B2DFDB;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.v65d-header-actions { display: flex; align-items: center; gap: 6px; }
.v65d-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v65d-btn:active { transform: scale(.96); }
.v65d-btn-login {
  background: transparent;
  color: #B2DFDB;
  border: 1px solid rgba(178, 223, 219, .45);
}
.v65d-btn-register {
  background: linear-gradient(135deg, #00FA9A, #3CB371);
  color: #062313;
  box-shadow: 0 6px 16px rgba(0, 250, 154, .28);
}
.v65d-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(178, 223, 219, .08);
  border: 1px solid rgba(178, 223, 219, .2);
  color: #B2DFDB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---------- Mobile slide-down menu ---------- */
.v65d-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 70;
}
.v65d-overlay.v65d-menu-open { opacity: 1; visibility: visible; }

.v65d-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0c131c;
  border-bottom: 1px solid rgba(60, 179, 113, .3);
  transform: translateY(-110%);
  transition: transform .28s ease;
  z-index: 80;
  padding: 14px 16px 18px;
  max-height: 80vh;
  overflow-y: auto;
}
.v65d-mobile-menu.v65d-menu-open { transform: translateY(0); }
.v65d-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.v65d-menu-head b { color: #00FA9A; font-size: 15px; }
.v65d-menu-list { list-style: none; padding: 0; margin: 0; }
.v65d-menu-list li { margin: 0; }
.v65d-menu-list a {
  display: block;
  padding: 12px 10px;
  color: #E0F2F1;
  border-bottom: 1px solid rgba(178, 223, 219, .08);
  font-size: 14px;
}
.v65d-menu-list a:hover { background: rgba(0, 250, 154, .08); text-decoration: none; color: #00FA9A; }

/* ---------- Main content ---------- */
.v65d-main { padding: 12px 12px 110px; }
.v65d-section { margin: 22px 0; }
.v65d-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 10px;
  color: #E0F2F1;
}
.v65d-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #00FA9A, #3CB371);
  border-radius: 4px;
}
.v65d-section-title small {
  margin-left: auto;
  font-size: 12px;
  color: #00FA9A;
  font-weight: 600;
}

/* ---------- Hero carousel ---------- */
.v65d-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.v65d-hero-track { position: relative; }
.v65d-hero-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 180px;
}
.v65d-hero-slide.v65d-slide-active { display: block; }
.v65d-hero-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.v65d-hero-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,22,33,.05), rgba(14,22,33,.85));
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.v65d-hero-caption h2 { color: #fff; font-size: 20px; margin: 0 0 4px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.v65d-hero-caption p { color: #E0F2F1; font-size: 12px; margin: 0; }
.v65d-hero-cta {
  margin-top: 10px;
  align-self: flex-start;
  background: linear-gradient(135deg, #00FA9A, #3CB371);
  color: #062313;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.v65d-hero-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.v65d-hero-nav button {
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(14,22,33,.65);
  color: #E0F2F1;
  border: 1px solid rgba(178,223,219,.4);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v65d-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.v65d-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(224,242,241,.45);
  border: 0;
  padding: 0;
}
.v65d-hero-dot.v65d-dot-active { background: #00FA9A; width: 18px; border-radius: 4px; }

/* ---------- Stats strip ---------- */
.v65d-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.v65d-stat {
  background: rgba(178, 223, 219, .06);
  border: 1px solid rgba(60, 179, 113, .22);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.v65d-stat b { display: block; color: #00FA9A; font-size: 15px; font-weight: 800; }
.v65d-stat span { color: #B2DFDB; font-size: 10px; letter-spacing: .3px; }

/* ---------- Category tabs ---------- */
.v65d-cat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.v65d-cat-tabs::-webkit-scrollbar { display: none; }
.v65d-cat-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(178, 223, 219, .08);
  border: 1px solid rgba(178, 223, 219, .2);
  color: #B2DFDB;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.v65d-cat-tab.v65d-cat-tab-active {
  background: linear-gradient(135deg, #00FA9A, #3CB371);
  color: #062313;
  border-color: transparent;
}

/* ---------- Game grid ---------- */
.v65d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .v65d-game-grid { gap: 10px; }
}
@media (min-width: 410px) {
  .v65d-game-grid { grid-template-columns: repeat(5, 1fr); }
}
.v65d-game-card {
  background: linear-gradient(180deg, rgba(60,179,113,.08), rgba(14,22,33,.6));
  border: 1px solid rgba(60, 179, 113, .2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
  color: #E0F2F1;
}
.v65d-game-card:active { transform: scale(.96); }
.v65d-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a1019;
}
.v65d-game-card .v65d-game-name {
  padding: 5px 6px 6px;
  font-size: 10.5px;
  text-align: center;
  color: #E0F2F1;
  line-height: 1.25;
  height: 32px;
  overflow: hidden;
}
.v65d-game-card .v65d-game-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0,250,154,.92);
  color: #062313;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.v65d-game-card .v65d-game-play {
  position: absolute;
  inset: 0;
  background: rgba(14,22,33,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .15s ease;
  color: #00FA9A;
  font-weight: 700;
  font-size: 11px;
}
.v65d-game-card:hover .v65d-game-play, .v65d-game-card:focus .v65d-game-play { opacity: 1; }

/* ---------- Promo banners ---------- */
.v65d-promo {
  display: block;
  background: linear-gradient(135deg, rgba(0,250,154,.18), rgba(60,179,113,.18));
  border: 1px solid rgba(0, 250, 154, .35);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E0F2F1;
}
.v65d-promo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00FA9A, #3CB371);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #062313;
  flex-shrink: 0;
}
.v65d-promo b { color: #00FA9A; display: block; font-size: 14px; }
.v65d-promo span { color: #B2DFDB; font-size: 12px; }
.v65d-promo-arrow {
  margin-left: auto;
  color: #00FA9A;
  font-weight: 700;
}

/* ---------- Info / guide block ---------- */
.v65d-info-block {
  background: rgba(178, 223, 219, .05);
  border: 1px solid rgba(178, 223, 219, .15);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
}
.v65d-info-block h3 { color: #00FA9A; font-size: 15px; }
.v65d-info-block p { font-size: 13px; }
.v65d-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}
.v65d-info-tile {
  background: rgba(60,179,113,.08);
  border: 1px solid rgba(60,179,113,.22);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  color: #B2DFDB;
  display: block;
}
.v65d-info-tile b { color: #E0F2F1; display: block; font-size: 13px; margin-bottom: 3px; }

/* ---------- FAQ list ---------- */
.v65d-faq-item {
  border-bottom: 1px solid rgba(178,223,219,.1);
  padding: 10px 0;
}
.v65d-faq-item summary {
  color: #E0F2F1;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 22px;
}
.v65d-faq-item summary::-webkit-details-marker { display: none; }
.v65d-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #00FA9A;
  font-size: 18px;
}
.v65d-faq-item[open] summary::after { content: "−"; }
.v65d-faq-item p { margin: 8px 0 0; font-size: 12.5px; }

/* ---------- Footer ---------- */
.v65d-footer {
  border-top: 1px solid rgba(60,179,113,.25);
  padding: 18px 14px 24px;
  background: #0a1019;
}
.v65d-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.v65d-footer h4 { color: #00FA9A; font-size: 13px; margin-bottom: 8px; }
.v65d-footer ul { list-style: none; padding: 0; margin: 0; }
.v65d-footer ul li { margin: 4px 0; }
.v65d-footer ul a { color: #B2DFDB; font-size: 12px; }
.v65d-footer ul a:hover { color: #00FA9A; }
.v65d-footer-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(178,223,219,.1);
  font-size: 11px;
  color: #B2DFDB;
  text-align: center;
}
.v65d-footer-bottom p { font-size: 11px; color: #B2DFDB; }

/* ---------- Mobile bottom nav ---------- */
.v65d-bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, rgba(12,19,28,.97), rgba(10,16,25,.99));
  border-top: 1px solid rgba(0, 250, 154, .3);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 65;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.v65d-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px 4px;
  color: #B2DFDB;
  font-size: 10px;
  text-align: center;
  border-radius: 10px;
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.v65d-nav-item:hover { color: #00FA9A; text-decoration: none; }
.v65d-nav-item svg { width: 22px; height: 22px; display: block; }
.v65d-nav-item span { line-height: 1.1; font-weight: 600; }
.v65d-nav-current {
  color: #00FA9A;
}
.v65d-nav-current::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #00FA9A, #3CB371);
  border-radius: 0 0 6px 6px;
}
.v65d-nav-promo {
  background: linear-gradient(135deg, #00FA9A, #3CB371);
  color: #062313 !important;
  margin-top: -10px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-self: start;
  box-shadow: 0 6px 14px rgba(0, 250, 154, .35);
}
.v65d-nav-promo svg { width: 22px; height: 22px; }
.v65d-nav-promo span { display: none; }

/* ---------- Back-to-top ---------- */
#v65d-top-btn {
  position: fixed;
  right: 14px;
  bottom: 86px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 250, 154, .92);
  color: #062313;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 55;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

/* ---------- Utility ---------- */
.v65d-container { padding: 0 4px; }
.v65d-text-center { text-align: center; }
.v65d-mt-0 { margin-top: 0; }
.v65d-hide { display: none !important; }
.v65d-prose { font-size: 13.5px; color: #B2DFDB; }
.v65d-prose strong { color: #E0F2F1; }

/* ---------- Wide screens keep mobile canvas ---------- */
@media (min-width: 481px) {
  body { background: #050a10; }
}

/* ---------- Part one editorial layouts ---------- */
.v65d-editorial { padding: 2px 0 8px; }
.v65d-lede {
  border-left: 3px solid #00FA9A;
  padding: 10px 12px;
  margin: 8px 0 16px;
  background: rgba(0,250,154,.06);
  color: #E0F2F1;
  font-size: 14px;
}
.v65d-step-list { counter-reset: app292step; list-style: none; padding: 0; margin: 0; }
.v65d-step-list li { counter-increment: app292step; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(178,223,219,.12); }
.v65d-step-list li::before { content: counter(app292step, decimal-leading-zero); color: #062313; background: #00FA9A; border-radius: 9px; min-height: 28px; display: grid; place-items: center; font-family: ui-monospace, monospace; font-weight: 800; font-size: 11px; }
.v65d-step-list strong, .v65d-fact strong { color: #E0F2F1; }
.v65d-split { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.v65d-compare { border: 1px solid rgba(60,179,113,.25); border-radius: 11px; padding: 11px; background: rgba(60,179,113,.07); }
.v65d-compare h3 { color: #00FA9A; font-size: 13px; }
.v65d-compare p { font-size: 12px; margin-bottom: 0; }
.v65d-callout { border: 1px solid rgba(0,250,154,.35); border-radius: 12px; padding: 12px; background: linear-gradient(135deg, rgba(0,250,154,.12), rgba(14,22,33,.35)); }
.v65d-callout p:last-child { margin-bottom: 0; }
.v65d-fact-list { display: grid; gap: 8px; margin: 0; }
.v65d-fact { padding: 10px; border-bottom: 1px solid rgba(178,223,219,.1); font-size: 13px; color: #B2DFDB; }
.v65d-fact:last-child { border-bottom: 0; }
.v65d-promo-stack { display: grid; gap: 8px; margin: 12px 0; }
.v65d-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 9px; padding: 9px 13px; background: #00FA9A; color: #062313; font-weight: 800; font-size: 12px; }
.v65d-action-alt { background: transparent; border: 1px solid rgba(0,250,154,.5); color: #00FA9A; }
.v65d-faq-rail { display: grid; gap: 8px; }
.v65d-faq-rail details { background: rgba(178,223,219,.05); border: 1px solid rgba(178,223,219,.12); border-radius: 10px; padding: 11px 12px; }
.v65d-faq-rail summary { color: #E0F2F1; font-weight: 700; cursor: pointer; padding-right: 16px; }
.v65d-faq-rail p { font-size: 13px; margin: 9px 0 0; }
.v65d-symptom { display: grid; grid-template-columns: 1fr; gap: 8px; }
.v65d-symptom div { padding: 10px; border-radius: 9px; background: #101d29; border-left: 3px solid #3CB371; }
.v65d-symptom b { color: #00FA9A; display: block; font-size: 12px; margin-bottom: 3px; }
.v65d-symptom span { color: #B2DFDB; font-size: 12px; }
.v65d-hero-slide a.v65d-hero-cta { text-decoration: none; }
.v65d-game-card[onclick] { cursor: pointer; }
@media (max-width: 350px) { .v65d-stats { grid-template-columns: repeat(2, 1fr); } .v65d-split { grid-template-columns: 1fr; } }
