/*!
 * 1xbet ph - design.css
 * Site: 1xbetph.homes (en-PH)
 * Class prefix: vcf4-
 * Palette: #2C3E50 | #D3D3D3 | #2D2D2D | #D8BFD8 | #DCDCDC
 * Mobile-first, max 430px reference width.
 */

:root {
  --vcf4-bg: #2D2D2D;
  --vcf4-bg-2: #2C3E50;
  --vcf4-bg-3: #232a33;
  --vcf4-card: #34404d;
  --vcf4-card-2: #3b4858;
  --vcf4-text: #DCDCDC;
  --vcf4-text-dim: #D3D3D3;
  --vcf4-accent: #D8BFD8;
  --vcf4-accent-2: #c9a3c9;
  --vcf4-line: rgba(220, 220, 220, .12);
  --vcf4-radius: 12px;
  --vcf4-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --vcf4-max: 1200px;
  --vcf4-header-h: 60px;
  --vcf4-nav-h: 62px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--vcf4-bg);
  color: var(--vcf4-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--vcf4-accent); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { color: #fff; margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; color: var(--vcf4-text-dim); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { color: var(--vcf4-text-dim); margin-bottom: .35em; }
section { padding: 32px 16px; }
.vcf4-container { width: 100%; max-width: var(--vcf4-max); margin: 0 auto; padding: 0 16px; }
.vcf4-no-scroll { overflow: hidden; }

/* ============ Header ============ */
.vcf4-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--vcf4-header-h);
  background: linear-gradient(90deg, #2C3E50 0%, #2D2D2D 100%);
  border-bottom: 1px solid var(--vcf4-line);
  z-index: 1000;
  display: flex; align-items: center;
}
.vcf4-header-inner {
  width: 100%; max-width: var(--vcf4-max); margin: 0 auto;
  padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.vcf4-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .3px; }
.vcf4-brand img { width: 30px; height: 30px; border-radius: 6px; }
.vcf4-brand small { display: block; font-size: 10px; color: var(--vcf4-accent); font-weight: 600; letter-spacing: 1px; }

.vcf4-menu-btn {
  background: transparent; border: 1px solid var(--vcf4-line);
  color: #fff; width: 40px; height: 40px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.vcf4-menu-btn:hover { background: rgba(216, 191, 216, .12); }

.vcf4-header-actions { display: flex; align-items: center; gap: 8px; }
.vcf4-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s;
  white-space: nowrap;
}
.vcf4-btn:active { transform: scale(.97); }
.vcf4-btn-register { background: linear-gradient(135deg, var(--vcf4-accent), var(--vcf4-accent-2)); color: #2D2D2D; }
.vcf4-btn-register:hover { color: #2D2D2D; filter: brightness(1.05); }
.vcf4-btn-login { background: transparent; color: #fff; border-color: var(--vcf4-accent); }
.vcf4-btn-login:hover { color: #fff; background: rgba(216, 191, 216, .12); }
.vcf4-btn i, .vcf4-btn ion-icon { font-size: 14px; }

/* Desktop nav (hidden on mobile) */
.vcf4-desktop-nav { display: none; align-items: center; gap: 18px; }
.vcf4-desktop-nav a { color: var(--vcf4-text-dim); font-size: 13px; font-weight: 600; }
.vcf4-desktop-nav a:hover { color: #fff; }

/* ============ Mobile menu ============ */
.vcf4-mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--vcf4-bg-2);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 9999;
  padding: 76px 18px 24px;
  overflow-y: auto;
  border-left: 1px solid var(--vcf4-line);
  box-shadow: var(--vcf4-shadow);
}
.vcf4-mobile-menu.vcf4-is-open { transform: translateX(0); }
.vcf4-mobile-menu h4 { color: var(--vcf4-accent); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin: 18px 0 8px; }
.vcf4-mobile-menu a {
  display: block; padding: 11px 12px; border-radius: 8px;
  color: var(--vcf4-text); font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--vcf4-line);
}
.vcf4-mobile-menu a:hover { background: rgba(216, 191, 216, .12); color: #fff; }
.vcf4-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .55);
  opacity: 0; pointer-events: none; transition: opacity .25s;
  z-index: 9998;
}
.vcf4-menu-overlay.vcf4-is-open { opacity: 1; pointer-events: auto; }

/* ============ Main / Hero ============ */
main { display: block; padding-top: var(--vcf4-header-h); }
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--vcf4-nav-h) + 24px); }
}

.vcf4-hero { padding: 0; }
.vcf4-hero-carousel {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--vcf4-line);
}
.vcf4-hero-slide {
  position: relative; display: none;
  min-height: 320px;
  background-size: cover; background-position: center;
}
.vcf4-hero-slide.vcf4-active { display: block; animation: vcf4-fade .8s ease; }
@keyframes vcf4-fade { from { opacity: 0; } to { opacity: 1; } }
.vcf4-hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45, 45, 45, .25) 0%, rgba(45, 45, 45, .85) 100%);
}
.vcf4-hero-content {
  position: relative; z-index: 2; padding: 40px 18px 50px;
  max-width: var(--vcf4-max); margin: 0 auto;
}
.vcf4-hero-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(216, 191, 216, .22); color: var(--vcf4-accent);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.vcf4-hero-content h1 { font-size: 26px; margin-bottom: 10px; max-width: 560px; }
.vcf4-hero-content p { max-width: 540px; font-size: 14px; }
.vcf4-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vcf4-hero-cta .vcf4-btn { height: 44px; padding: 0 22px; font-size: 14px; }
.vcf4-hero-dots {
  position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.vcf4-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(220, 220, 220, .35); cursor: pointer; border: none; padding: 0;
}
.vcf4-hero-dot.vcf4-active { background: var(--vcf4-accent); width: 22px; border-radius: 4px; }

/* ============ Section heading ============ */
.vcf4-sec-head { text-align: center; margin-bottom: 22px; }
.vcf4-sec-head h2 { font-size: 22px; }
.vcf4-sec-head p { font-size: 13px; max-width: 640px; margin: 0 auto; }
.vcf4-eyebrow {
  display: inline-block; color: var(--vcf4-accent);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 6px;
}

/* ============ Filter tabs ============ */
.vcf4-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.vcf4-filter-tab {
  background: var(--vcf4-card); color: var(--vcf4-text-dim);
  border: 1px solid var(--vcf4-line);
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.vcf4-filter-tab:hover { color: #fff; }
.vcf4-filter-tab.vcf4-active {
  background: linear-gradient(135deg, var(--vcf4-accent), var(--vcf4-accent-2));
  color: #2D2D2D; border-color: transparent;
}

/* ============ Game grid ============ */
.vcf4-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (min-width: 560px) { .vcf4-game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .vcf4-game-grid { grid-template-columns: repeat(6, 1fr); } }

.vcf4-game-card {
  background: var(--vcf4-card); border: 1px solid var(--vcf4-line);
  border-radius: var(--vcf4-radius); overflow: hidden;
  position: relative; transition: transform .18s, box-shadow .18s;
}
.vcf4-game-card:hover { transform: translateY(-3px); box-shadow: var(--vcf4-shadow); border-color: var(--vcf4-accent); }
.vcf4-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1f2530; }
.vcf4-game-name {
  padding: 7px 8px; font-size: 11px; font-weight: 600; color: var(--vcf4-text);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcf4-game-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(45, 45, 45, .7); color: #fff; font-size: 12px; font-weight: 700;
  opacity: 0; transition: opacity .18s;
}
.vcf4-game-card:hover .vcf4-game-play { opacity: 1; }
.vcf4-badge {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  background: var(--vcf4-accent); color: #2D2D2D;
  font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ============ Featured / promo strip ============ */
.vcf4-feature {
  background: linear-gradient(135deg, #2C3E50 0%, #34404d 60%, #3b2f3a 100%);
  border-radius: 16px; padding: 22px 18px; margin: 8px 0;
  border: 1px solid var(--vcf4-line);
}
.vcf4-feature h3 { font-size: 18px; }
.vcf4-feature-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 700px) { .vcf4-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.vcf4-feature-item {
  background: rgba(0, 0, 0, .25); border-radius: 10px; padding: 14px;
  border: 1px solid var(--vcf4-line);
}
.vcf4-feature-item .vcf4-ico { font-size: 24px; color: var(--vcf4-accent); margin-bottom: 8px; }
.vcf4-feature-item h4 { font-size: 14px; margin-bottom: 4px; }
.vcf4-feature-item p { font-size: 12px; margin: 0; }

/* ============ Partners ============ */
.vcf4-partners {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (min-width: 600px) { .vcf4-partners { grid-template-columns: repeat(6, 1fr); } }
.vcf4-partner {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--vcf4-line);
  border-radius: 8px; padding: 8px; display: flex; align-items: center; justify-content: center;
}
.vcf4-partner img { max-height: 38px; width: auto; filter: grayscale(.3); opacity: .9; }

/* ============ SEO long-form ============ */
.vcf4-prose { max-width: 820px; margin: 0 auto; }
.vcf4-prose h2 { font-size: 20px; margin-top: 1.4em; }
.vcf4-prose h3 { font-size: 16px; margin-top: 1.2em; color: var(--vcf4-accent); }
.vcf4-prose p { font-size: 14px; }
.vcf4-prose a { font-weight: 600; }

/* ============ FAQ ============ */
.vcf4-faq { max-width: 820px; margin: 0 auto; }
.vcf4-faq-item {
  background: var(--vcf4-card); border: 1px solid var(--vcf4-line);
  border-radius: 10px; margin-bottom: 8px; overflow: hidden;
}
.vcf4-faq-q {
  width: 100%; text-align: left; background: transparent; color: #fff;
  padding: 14px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.vcf4-faq-q .vcf4-chev { transition: transform .2s; color: var(--vcf4-accent); }
.vcf4-faq-q.vcf4-open .vcf4-chev { transform: rotate(180deg); }
.vcf4-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 16px;
}
.vcf4-faq-a.vcf4-open { max-height: 320px; padding-bottom: 14px; }
.vcf4-faq-a p { font-size: 13px; margin: 0; }

/* ============ CTA band ============ */
.vcf4-cta-band {
  background: linear-gradient(135deg, var(--vcf4-accent) 0%, var(--vcf4-accent-2) 100%);
  color: #2D2D2D; border-radius: 16px; padding: 24px 18px; text-align: center;
}
.vcf4-cta-band h2 { color: #2D2D2D; font-size: 20px; }
.vcf4-cta-band p { color: #3a2b3a; }
.vcf4-cta-band .vcf4-btn { background: #2D2D2D; color: #fff; }
.vcf4-cta-band .vcf4-btn:hover { color: #fff; }

/* ============ Footer ============ */
.vcf4-footer {
  background: #232a33; border-top: 1px solid var(--vcf4-line);
  padding: 32px 16px 20px; margin-top: 24px;
}
.vcf4-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  max-width: var(--vcf4-max); margin: 0 auto;
}
@media (min-width: 720px) { .vcf4-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.vcf4-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.vcf4-footer a { display: block; color: var(--vcf4-text-dim); font-size: 13px; padding: 4px 0; }
.vcf4-footer a:hover { color: var(--vcf4-accent); }
.vcf4-footer p { font-size: 12px; }
.vcf4-footer-bottom {
  max-width: var(--vcf4-max); margin: 22px auto 0;
  border-top: 1px solid var(--vcf4-line); padding-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 11px; color: var(--vcf4-text-dim);
}

/* ============ Mobile bottom nav ============ */
.vcf4-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--vcf4-nav-h);
  background: linear-gradient(180deg, #2C3E50 0%, #232a33 100%);
  border-top: 1px solid var(--vcf4-line);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
}
.vcf4-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--vcf4-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; padding: 6px 2px;
  font-size: 10px; font-weight: 600; line-height: 1.2;
  position: relative; transition: color .15s;
}
.vcf4-bottom-nav-btn .vcf4-ico {
  font-size: 22px; line-height: 1;
}
.vcf4-bottom-nav-btn .material-icons,
.vcf4-bottom-nav-btn i { font-size: 22px; }
.vcf4-bottom-nav-btn:hover { color: #fff; }
.vcf4-bottom-nav-btn.vcf4-current { color: var(--vcf4-accent); }
.vcf4-bottom-nav-btn.vcf4-current::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%;
  height: 3px; background: var(--vcf4-accent); border-radius: 0 0 4px 4px;
}
.vcf4-bottom-nav-btn.vcf4-promo {
  color: var(--vcf4-accent); font-weight: 700;
}
@media (min-width: 769px) {
  .vcf4-bottom-nav { display: none; }
  .vcf4-header-actions .vcf4-menu-btn { display: none; }
  .vcf4-desktop-nav { display: flex; }
  .vcf4-hero-content h1 { font-size: 34px; }
  .vcf4-sec-head h2 { font-size: 26px; }
  section { padding: 48px 16px; }
}

/* ============ Reveal animation ============ */
.vcf4-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.vcf4-reveal.vcf4-in { opacity: 1; transform: none; }

/* ============ Utility ============ */
.vcf4-text-center { text-align: center; }
.vcf4-mt-16 { margin-top: 16px; }
.vcf4-mt-24 { margin-top: 24px; }
.vcf4-hide-mobile { display: none; }
@media (min-width: 769px) { .vcf4-hide-mobile { display: block; } .vcf4-hide-desktop { display: none; } }
