/*!
 * phsky link - Core stylesheet
 * Palette: #0C0C0C (bg) | #BC8F8F (text/accent) | #FFB347 (highlight)
 * All custom classes use the `vdb4-` prefix.
 */
:root {
  --vdb4-bg: #0C0C0C;
  --vdb4-bg-soft: #161616;
  --vdb4-bg-card: #1c1c1c;
  --vdb4-text: #BC8F8F;
  --vdb4-text-light: #F5E6E6;
  --vdb4-primary: #FFB347;
  --vdb4-primary-dark: #E89A2F;
  --vdb4-border: rgba(188, 143, 143, 0.22);
  --vdb4-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
  --vdb4-radius: 14px;
  --vdb4-header-h: 60px;
  --vdb4-bottom-h: 62px;
  --vdb4-maxw: 430px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--vdb4-bg);
  color: var(--vdb4-text-light);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--vdb4-primary); text-decoration: none; }
a:hover { color: var(--vdb4-text); }

/* ===== Layout ===== */
.vdb4-wrapper { width: 100%; max-width: var(--vdb4-maxw); margin: 0 auto; position: relative; }
.vdb4-container { padding: 0 1.4rem; }
.vdb4-main { padding-top: var(--vdb4-header-h); padding-bottom: calc(var(--vdb4-bottom-h) + 2rem); }

/* ===== Header ===== */
.vdb4-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--vdb4-header-h);
  background: linear-gradient(180deg, rgba(12,12,12,0.96), rgba(12,12,12,0.82));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vdb4-border);
  display: flex; align-items: center;
}
.vdb4-header-inner {
  width: 100%; max-width: var(--vdb4-maxw); margin: 0 auto;
  padding: 0 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.vdb4-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--vdb4-text-light); }
.vdb4-brand img { width: 30px; height: 30px; border-radius: 8px; }
.vdb4-brand-name { font-size: 1.7rem; font-weight: 700; color: var(--vdb4-primary); letter-spacing: 0.3px; }
.vdb4-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vdb4-menu-btn {
  background: transparent; border: 1px solid var(--vdb4-border);
  color: var(--vdb4-text); width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.vdb4-menu-btn:hover { color: var(--vdb4-primary); border-color: var(--vdb4-primary); }

/* ===== Buttons ===== */
.vdb4-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; font-size: 1.4rem; font-weight: 700;
  border: none; cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; min-height: 44px;
}
.vdb4-btn:active { transform: scale(0.96); }
.vdb4-btn-primary { background: linear-gradient(135deg, var(--vdb4-primary), var(--vdb4-primary-dark)); color: #1a1208; }
.vdb4-btn-primary:hover { color: #1a1208; filter: brightness(1.06); }
.vdb4-btn-ghost { background: transparent; border: 1.5px solid var(--vdb4-primary); color: var(--vdb4-primary); }
.vdb4-btn-ghost:hover { background: rgba(255,179,71,0.12); color: var(--vdb4-primary); }
.vdb4-btn-block { width: 100%; }

/* ===== Mobile menu ===== */
.vdb4-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.vdb4-menu-overlay.vdb4-overlay-show { opacity: 1; visibility: visible; }
#webf8dMobileMenu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--vdb4-bg-soft); z-index: 9999;
  transform: translateX(0); transition: right 0.28s ease;
  padding: 7rem 1.6rem 2rem; overflow-y: auto; border-left: 1px solid var(--vdb4-border);
}
#webf8dMobileMenu.vdb4-menu-open { right: 0; }
.vdb4-mobile-nav { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.vdb4-mobile-nav a {
  display: block; padding: 1.1rem 1.2rem; border-radius: 10px;
  color: var(--vdb4-text-light); background: var(--vdb4-bg-card);
  border: 1px solid var(--vdb4-border); font-size: 1.45rem;
}
.vdb4-mobile-nav a:hover { background: rgba(255,179,71,0.10); color: var(--vdb4-primary); }
.vdb4-mobile-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }

/* ===== Carousel ===== */
.vdb4-carousel { position: relative; border-radius: var(--vdb4-radius); overflow: hidden; margin: 1.4rem 0; box-shadow: var(--vdb4-shadow); }
.vdb4-slide {
  position: relative; display: none; cursor: pointer;
}
.vdb4-slide.vdb4-slide-active { display: block; }
.vdb4-slide img { width: 100%; height: 190px; object-fit: cover; }
.vdb4-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.6rem 1.2rem 1rem; color: #fff; font-weight: 700; font-size: 1.5rem;
}
.vdb4-slide-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.vdb4-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; }
.vdb4-slide-dot.vdb4-slide-active-dot { background: var(--vdb4-primary); }

/* ===== Section ===== */
.vdb4-section { margin: 2.2rem 0; }
.vdb4-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--vdb4-text-light);
  margin-bottom: 1rem; padding-left: 0.9rem; border-left: 4px solid var(--vdb4-primary);
}
.vdb4-section-title small { display: block; font-size: 1.2rem; color: var(--vdb4-text); font-weight: 400; margin-top: 2px; }
.vdb4-text { color: var(--vdb4-text-light); margin-bottom: 1rem; font-size: 1.4rem; }
.vdb4-text strong { color: var(--vdb4-primary); }
.vdb4-h1 { font-size: 2.2rem; line-height: 1.35; color: var(--vdb4-text-light); margin: 1.4rem 0; font-weight: 800; }
.vdb4-h2 { font-size: 1.9rem; color: var(--vdb4-text-light); margin: 1.6rem 0 0.8rem; font-weight: 700; }
.vdb4-h3 { font-size: 1.6rem; color: var(--vdb4-primary); margin: 1.2rem 0 0.6rem; font-weight: 700; }

/* ===== Game grid ===== */
.vdb4-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.vdb4-card {
  background: var(--vdb4-bg-card); border: 1px solid var(--vdb4-border);
  border-radius: 12px; padding: 0.6rem; text-align: center;
  transition: transform 0.15s ease, border-color 0.2s ease; cursor: pointer;
}
.vdb4-card:hover { transform: translateY(-3px); border-color: var(--vdb4-primary); }
.vdb4-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; margin-bottom: 0.4rem; }
.vdb4-card-name { font-size: 1.15rem; color: var(--vdb4-text-light); font-weight: 600; line-height: 1.25; word-break: break-word; }

/* ===== Info / feature cards ===== */
.vdb4-info-card {
  background: var(--vdb4-bg-card); border: 1px solid var(--vdb4-border);
  border-radius: var(--vdb4-radius); padding: 1.4rem; margin-bottom: 1rem;
}
.vdb4-info-card h3 { color: var(--vdb4-primary); margin-bottom: 0.5rem; font-size: 1.5rem; }
.vdb4-info-card p { color: var(--vdb4-text-light); font-size: 1.35rem; }
.vdb4-feature-list { list-style: none; display: grid; gap: 0.8rem; }
.vdb4-feature-list li {
  background: var(--vdb4-bg-card); border-left: 3px solid var(--vdb4-primary);
  padding: 1rem 1.2rem; border-radius: 8px; color: var(--vdb4-text-light); font-size: 1.35rem;
}
.vdb4-feature-list li strong { color: var(--vdb4-primary); }

/* ===== RTP / stats ===== */
.vdb4-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--vdb4-border); font-size: 1.35rem;
}
.vdb4-rtp-row:last-child { border-bottom: none; }
.vdb4-rtp-name { color: var(--vdb4-text-light); font-weight: 600; }
.vdb4-rtp-val { color: var(--vdb4-primary); font-weight: 800; }
.vdb4-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.vdb4-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--vdb4-primary), var(--vdb4-text)); }

/* ===== Testimonials ===== */
.vdb4-quote {
  background: var(--vdb4-bg-card); border-radius: var(--vdb4-radius); padding: 1.2rem 1.4rem;
  margin-bottom: 0.9rem; border: 1px solid var(--vdb4-border); position: relative;
}
.vdb4-quote p { color: var(--vdb4-text-light); font-size: 1.35rem; font-style: italic; }
.vdb4-quote cite { display: block; margin-top: 0.6rem; color: var(--vdb4-primary); font-size: 1.25rem; font-style: normal; font-weight: 700; }

/* ===== Payment / winners ===== */
.vdb4-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vdb4-chip {
  background: var(--vdb4-bg-card); border: 1px solid var(--vdb4-border); color: var(--vdb4-text-light);
  padding: 0.6rem 1rem; border-radius: 999px; font-size: 1.25rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.vdb4-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--vdb4-bg-card); padding: 0.7rem 1rem; border-radius: 10px; margin-bottom: 0.5rem;
  border: 1px solid var(--vdb4-border); font-size: 1.3rem;
}
.vdb4-winner span:first-child { color: var(--vdb4-text-light); font-weight: 600; }
.vdb4-winner span:last-child { color: var(--vdb4-primary); font-weight: 800; }

/* ===== Promo link block ===== */
.vdb4-promo-link {
  display: inline-block; color: var(--vdb4-primary); font-weight: 700; text-decoration: underline;
  cursor: pointer; padding: 0.2rem 0;
}
.vdb4-promo-link:hover { color: var(--vdb4-text); }
.vdb4-cta-band {
  background: linear-gradient(135deg, rgba(255,179,71,0.18), rgba(188,143,143,0.10));
  border: 1px solid var(--vdb4-primary); border-radius: var(--vdb4-radius);
  padding: 1.6rem; text-align: center; margin: 1.4rem 0;
}
.vdb4-cta-band h3 { color: var(--vdb4-primary); margin-bottom: 0.6rem; }
.vdb4-cta-band p { color: var(--vdb4-text-light); margin-bottom: 1rem; font-size: 1.35rem; }

/* ===== Footer ===== */
.vdb4-footer {
  background: var(--vdb4-bg-soft); border-top: 1px solid var(--vdb4-border);
  padding: 2rem 1.4rem calc(var(--vdb4-bottom-h) + 1.5rem); margin-top: 2rem;
}
.vdb4-footer-brand { color: var(--vdb4-text-light); font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.6; }
.vdb4-footer-brand strong { color: var(--vdb4-primary); }
.vdb4-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1rem 0; }
.vdb4-footer-links a { color: var(--vdb4-text); font-size: 1.25rem; }
.vdb4-footer-links a:hover { color: var(--vdb4-primary); }
.vdb4-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.vdb4-footer-copy { color: var(--vdb4-text); font-size: 1.15rem; margin-top: 1rem; border-top: 1px solid var(--vdb4-border); padding-top: 1rem; }

/* ===== Bottom nav ===== */
.vdb4-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--vdb4-bottom-h);
  background: linear-gradient(180deg, rgba(22,22,22,0.98), rgba(12,12,12,1));
  border-top: 1px solid var(--vdb4-border); z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch; padding: 4px 0;
}
.vdb4-bottom-nav-link {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--vdb4-text); font-size: 1.05rem; gap: 2px; cursor: pointer;
  background: transparent; border: none; min-width: 60px; min-height: 54px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.vdb4-bottom-nav-link i, .vdb4-bottom-nav-link span.material-icons-outlined { font-size: 22px; }
.vdb4-bottom-nav-link ion-icon { font-size: 24px; }
.vdb4-bottom-nav-link bi { font-size: 22px; }
.vdb4-bottom-nav-link:active { transform: scale(0.92); }
.vdb4-bottom-nav-link:hover { color: var(--vdb4-text-light); }
.vdb4-bottom-nav-active { color: var(--vdb4-primary); }
.vdb4-bottom-nav-active ion-icon, .vdb4-bottom-nav-active i { color: var(--vdb4-primary); }

/* ===== Utilities ===== */
.vdb4-no-scroll { overflow: hidden; }
.vdb4-mt { margin-top: 1.4rem; }
.vdb4-center { text-align: center; }
.vdb4-pill { display: inline-block; background: rgba(255,179,71,0.15); color: var(--vdb4-primary); padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 1.15rem; font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 430px) {
  html { font-size: 58%; }
  .vdb4-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .vdb4-card img { height: 70px; }
  .vdb4-slide img { height: 165px; }
  .vdb4-h1 { font-size: 2rem; }
  .vdb4-container { padding: 0 1.1rem; }
  .vdb4-footer-links { grid-template-columns: 1fr; }
}

@media (min-width: 431px) and (max-width: 768px) {
  html { font-size: 60%; }
}

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .vdb4-bottom-nav { display: none; }
  .vdb4-main { padding-bottom: 2rem; }
  .vdb4-footer { padding-bottom: 2rem; }
  :root { --vdb4-maxw: 720px; }
}
