/* okafa.click base stylesheet - prefix vd2e- */
/* Palette: #D4AF37 gold primary, #0D1117 dark background */

:root {
  --vd2e-primary: #D4AF37;
  --vd2e-primary-dark: #b8962e;
  --vd2e-bg: #0D1117;
  --vd2e-bg-2: #161b22;
  --vd2e-bg-3: #1f2530;
  --vd2e-text: #f5f5f5;
  --vd2e-muted: #9aa4b2;
  --vd2e-line: #2a313c;
  --vd2e-danger: #e94e4e;
  --vd2e-success: #3ec47e;
  --vd2e-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  --vd2e-radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--vd2e-bg);
  color: var(--vd2e-text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--vd2e-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.vd2e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* ===== Header ===== */
.vd2e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, .96);
  border-bottom: 1px solid var(--vd2e-line);
  backdrop-filter: blur(8px);
}
.vd2e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vd2e-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.vd2e-logo img { width: 30px; height: 30px; border-radius: 6px; }
.vd2e-logo b {
  font-size: 1.7rem;
  color: var(--vd2e-primary);
  letter-spacing: .3px;
  text-transform: lowercase;
}
.vd2e-logo span { color: var(--vd2e-muted); font-size: 1.1rem; }

.vd2e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.vd2e-btn:hover { text-decoration: none; transform: translateY(-1px); }
.vd2e-btn:active { transform: scale(.96); }
.vd2e-btn-primary { background: var(--vd2e-primary); color: #0D1117; }
.vd2e-btn-outline {
  background: transparent;
  color: var(--vd2e-primary);
  border: 1px solid var(--vd2e-primary);
}
.vd2e-btn-block {
  display: flex;
  width: 100%;
  padding: 12px;
  font-size: 1.5rem;
  border-radius: var(--vd2e-radius);
}

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

/* ===== Mobile expandable menu ===== */
.vd2e-mobile-menu {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0;
  background: var(--vd2e-bg-2);
  border-bottom: 1px solid var(--vd2e-line);
  z-index: 9999;
  padding: 8px 12px 14px;
}
.vd2e-mobile-menu.vd2e-menu-open { display: block; }
.vd2e-mobile-menu a {
  display: block;
  padding: 10px 6px;
  color: var(--vd2e-text);
  border-bottom: 1px solid var(--vd2e-line);
  font-size: 1.4rem;
}
.vd2e-mobile-menu a:last-child { border-bottom: none; }

/* ===== Main ===== */
.vd2e-main {
  padding-top: 56px;
  padding-bottom: 24px;
}

/* ===== Hero slider ===== */
.vd2e-slider {
  position: relative;
  margin: 12px;
  border-radius: var(--vd2e-radius);
  overflow: hidden;
  box-shadow: var(--vd2e-shadow);
}
.vd2e-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.vd2e-slide.vd2e-slide-active { display: block; }
.vd2e-slide img { width: 100%; height: 180px; object-fit: cover; }
.vd2e-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font-size: 1.3rem;
  color: #fff;
}
.vd2e-slide-cap b { color: var(--vd2e-primary); }
.vd2e-dots {
  position: absolute;
  bottom: 8px; right: 10px;
  display: flex; gap: 6px;
}
.vd2e-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer; padding: 0;
}
.vd2e-dot.vd2e-dot-active { background: var(--vd2e-primary); }

/* ===== Sections ===== */
.vd2e-section {
  margin: 18px 12px;
}
.vd2e-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.vd2e-section-head h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--vd2e-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vd2e-section-head .vd2e-more {
  font-size: 1.2rem;
  color: var(--vd2e-muted);
}

/* ===== Game grid ===== */
.vd2e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vd2e-card {
  background: var(--vd2e-bg-2);
  border: 1px solid var(--vd2e-line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease;
  text-align: center;
}
.vd2e-card:hover { transform: translateY(-2px); border-color: var(--vd2e-primary); }
.vd2e-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #000;
}
.vd2e-card-name {
  font-size: 1.05rem;
  padding: 4px 2px 6px;
  color: var(--vd2e-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Generic content blocks ===== */
.vd2e-card-box {
  background: var(--vd2e-bg-2);
  border: 1px solid var(--vd2e-line);
  border-radius: var(--vd2e-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.vd2e-card-box h3 {
  margin: 0 0 6px;
  color: var(--vd2e-primary);
  font-size: 1.5rem;
}
.vd2e-card-box p { margin: 0 0 8px; color: var(--vd2e-text); font-size: 1.35rem; }
.vd2e-card-box .vd2e-inline-link { color: var(--vd2e-primary); font-weight: 700; }

.vd2e-list { padding-left: 18px; margin: 6px 0; }
.vd2e-list li { margin-bottom: 4px; font-size: 1.35rem; }

.vd2e-pill {
  display: inline-block;
  padding: 2px 8px;
  margin: 2px 4px 2px 0;
  border-radius: 12px;
  background: var(--vd2e-bg-3);
  color: var(--vd2e-primary);
  font-size: 1.15rem;
  border: 1px solid var(--vd2e-line);
}

.vd2e-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--vd2e-line);
  font-size: 1.3rem;
}
.vd2e-rtp-row:last-child { border-bottom: none; }
.vd2e-rtp-row b { color: var(--vd2e-primary); }

/* Testimonials */
.vd2e-testi {
  background: var(--vd2e-bg-2);
  border-left: 3px solid var(--vd2e-primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.vd2e-testi p { margin: 0 0 4px; font-size: 1.3rem; }
.vd2e-testi span { color: var(--vd2e-muted); font-size: 1.15rem; }

/* Payment logos */
.vd2e-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vd2e-pay span {
  background: var(--vd2e-bg-3);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--vd2e-line);
  font-size: 1.2rem;
  color: var(--vd2e-text);
}

/* Winners */
.vd2e-win {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 1.25rem;
  border-bottom: 1px dashed var(--vd2e-line);
}
.vd2e-win b { color: var(--vd2e-success); }

/* CTA banner */
.vd2e-cta {
  background: linear-gradient(135deg, #1f1a08, #0D1117);
  border: 1px solid var(--vd2e-primary);
  border-radius: var(--vd2e-radius);
  padding: 16px;
  text-align: center;
  margin: 18px 12px;
}
.vd2e-cta h3 { margin: 0 0 6px; color: var(--vd2e-primary); font-size: 1.7rem; }
.vd2e-cta p { margin: 0 0 12px; font-size: 1.3rem; }

/* ===== Footer ===== */
.vd2e-footer {
  background: var(--vd2e-bg-2);
  border-top: 1px solid var(--vd2e-line);
  padding: 18px 12px 90px;
  margin-top: 24px;
  font-size: 1.25rem;
  color: var(--vd2e-muted);
}
.vd2e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 8px 0;
}
.vd2e-footer-links a { color: var(--vd2e-text); font-size: 1.2rem; }
.vd2e-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.vd2e-footer-copy { margin-top: 10px; font-size: 1.1rem; }

/* ===== Bottom nav ===== */
.vd2e-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--vd2e-bg-2);
  border-top: 1px solid var(--vd2e-line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.vd2e-bottomnav-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--vd2e-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 2px;
  transition: color .12s ease, transform .12s ease;
  min-width: 60px;
}
.vd2e-bottomnav-btn:active { transform: scale(.92); }
.vd2e-bottomnav-btn .material-icons,
.vd2e-bottomnav-btn ion-icon,
.vd2e-bottomnav-btn i { font-size: 22px; }
.vd2e-bottomnav-btn.vd2e-bottomnav-active { color: var(--vd2e-primary); }
.vd2e-bottomnav-btn.vd2e-bottomnav-active::after {
  content: "";
  width: 24px; height: 2px;
  background: var(--vd2e-primary);
  border-radius: 2px;
  margin-top: 2px;
}

/* Desktop: hide bottom nav, show no extra padding */
@media (min-width: 769px) {
  .vd2e-bottomnav { display: none; }
  .vd2e-footer { padding-bottom: 24px; }
  body { background: #0a0d12; }
}

/* Mobile: add bottom padding to clear fixed bottom nav */
@media (max-width: 768px) {
  .vd2e-main { padding-bottom: 80px; }
}

/* Highlight promo bottom nav buttons */
.vd2e-bottomnav-btn.vd2e-bottomnav-promo { color: var(--vd2e-primary); }
