/* ============================================================
 * colour game - style-532c.css
 * All custom classes use the dynamic prefix "vc14-" for isolation.
 * Mobile-first, max-width 430px. rem units, root font 62.5%.
 * Palette: #FAFAFA | #1C2833 | #FFF8DC | #FFEBCD (dark = bg, light = text)
 * ============================================================ */

:root {
  --vc14-primary: #1C2833;
  --vc14-bg: #1C2833;
  --vc14-bg-alt: #243443;
  --vc14-bg-soft: #2a3c4e;
  --vc14-text: #FFF8DC;
  --vc14-text-mute: #FFEBCD;
  --vc14-cream: #FFF8DC;
  --vc14-cream-2: #FFEBCD;
  --vc14-off: #FAFAFA;
  --vc14-accent: #d4af37;
  --vc14-accent-2: #f0c674;
  --vc14-red: #c0392b;
  --vc14-green: #27ae60;
  --vc14-radius: 12px;
  --vc14-shadow: 0 4px 14px 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(--vc14-bg);
  color: var(--vc14-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--vc14-accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout primitives ---------- */
.vc14-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vc14-wrapper { position: relative; width: 100%; }
.vc14-section { padding: 2.4rem 1.2rem; }
.vc14-section h2 {
  font-size: 1.9rem; line-height: 2.2rem; margin-bottom: .8rem; color: var(--vc14-cream);
}
.vc14-section h3 {
  font-size: 1.6rem; line-height: 2rem; margin: 1.2rem 0 .6rem; color: var(--vc14-accent-2);
}
.vc14-section p { color: var(--vc14-cream-2); margin-bottom: .9rem; }
.vc14-muted { color: var(--vc14-text-mute); opacity: .85; }

/* ---------- Header ---------- */
.vc14-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, rgba(28,40,51,.98), rgba(28,40,51,.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
.vc14-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1.2rem; gap: .6rem;
}
.vc14-brand { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }
.vc14-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vc14-brand b { font-size: 1.5rem; color: var(--vc14-cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc14-header-actions { display: flex; gap: .5rem; align-items: center; }
.vc14-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-weight: 700; font-size: 1.3rem; padding: .55rem 1.1rem; border-radius: 999px;
  min-height: 34px; transition: transform .15s ease, background .2s ease;
}
.vc14-btn-primary { background: linear-gradient(135deg, #d4af37, #f0c674); color: #1C2833; }
.vc14-btn-secondary { background: transparent; color: var(--vc14-cream); border: 1.5px solid var(--vc14-accent); }
.vc14-btn-primary:active, .vc14-btn-secondary:active { transform: scale(.94); }
.vc14-menu-btn {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--vc14-cream); font-size: 2rem; line-height: 1;
}
.vc14-menu-btn.vc14-active i { transform: rotate(90deg); }
.vc14-menu-btn i { transition: transform .2s ease; }

/* Mobile expandable menu */
.vc14-mobile-menu {
  position: fixed; top: 52px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 9999;
  background: var(--vc14-bg-alt); border-bottom: 2px solid var(--vc14-accent);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.vc14-mobile-menu.vc14-open { max-height: 540px; box-shadow: var(--vc14-shadow); }
.vc14-mobile-menu ul { list-style: none; padding: .6rem 1.2rem 1rem; }
.vc14-mobile-menu li { border-bottom: 1px solid rgba(255,248,220,.08); }
.vc14-mobile-menu li a {
  display: block; padding: .85rem .2rem; color: var(--vc14-cream); font-size: 1.4rem;
}
.vc14-mobile-menu li a i { width: 22px; color: var(--vc14-accent-2); margin-right: .4rem; }

/* ---------- Hero / Slider ---------- */
main { padding-top: 52px; }
.vc14-hero { position: relative; overflow: hidden; }
.vc14-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.vc14-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
}
.vc14-slide.vc14-active { opacity: 1; }
.vc14-slide img { width: 100%; height: 100%; object-fit: cover; }
.vc14-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem;
  background: linear-gradient(0deg, rgba(28,40,51,.92), transparent);
}
.vc14-slide-overlay h2 { font-size: 1.8rem; color: var(--vc14-cream); margin-bottom: .3rem; }
.vc14-slide-overlay p { font-size: 1.2rem; color: var(--vc14-cream-2); margin-bottom: .6rem; }
.vc14-slide-dots {
  position: absolute; bottom: .8rem; right: 1.2rem; display: flex; gap: .5rem;
}
.vc14-slide-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,248,220,.4);
}
.vc14-slide-dot.vc14-active { background: var(--vc14-accent); width: 22px; border-radius: 4px; }

/* ---------- CTA banner ---------- */
.vc14-cta {
  background: linear-gradient(135deg, #d4af37, #f0c674);
  color: #1C2833; border-radius: var(--vc14-radius); padding: .9rem 1.4rem;
  font-weight: 800; display: inline-flex; align-items: center; gap: .5rem;
}
.vc14-cta-soft {
  background: var(--vc14-bg-soft); color: var(--vc14-cream);
  border: 1px solid rgba(212,175,55,.4); border-radius: 999px;
  padding: .6rem 1.2rem; font-weight: 600;
}
.vc14-text-link { color: var(--vc14-accent-2); font-weight: 700; }
.vc14-text-link:hover { text-decoration: underline; }

/* ---------- Category chips ---------- */
.vc14-chips {
  display: flex; gap: .6rem; overflow-x: auto; padding: .8rem 1.2rem;
  scrollbar-width: none;
}
.vc14-chips::-webkit-scrollbar { display: none; }
.vc14-chip {
  flex: 0 0 auto; padding: .5rem 1.1rem; border-radius: 999px;
  background: var(--vc14-bg-alt); color: var(--vc14-cream-2); font-size: 1.25rem;
  border: 1px solid rgba(212,175,55,.25); white-space: nowrap;
}
.vc14-chip.vc14-active { background: var(--vc14-accent); color: #1C2833; font-weight: 700; }

/* ---------- Game grid ---------- */
.vc14-game-grid-title {
  display: flex; align-items: center; gap: .6rem; padding: 1.2rem 1.2rem .6rem;
}
.vc14-game-grid-title h2 { font-size: 1.7rem; color: var(--vc14-cream); }
.vc14-game-grid-title i { color: var(--vc14-accent); font-size: 2rem; }
.vc14-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem;
  padding: .4rem 1.2rem 1rem;
}
.vc14-game-card {
  display: block; position: relative; border-radius: 10px; overflow: hidden;
  background: var(--vc14-bg-alt); aspect-ratio: 1 / 1; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.vc14-game-card:active { transform: scale(.96); }
.vc14-game-card img { width: 100%; height: 100%; object-fit: cover; }
.vc14-game-card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .25rem .2rem;
  font-size: 1rem; line-height: 1.2rem; font-weight: 600; color: var(--vc14-cream);
  background: linear-gradient(0deg, rgba(28,40,51,.94), rgba(28,40,51,0));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc14-game-card.vc14-hot::after {
  content: "HOT"; position: absolute; top: 4px; left: 4px; background: var(--vc14-red);
  color: #fff; font-size: .85rem; font-weight: 800; padding: 1px 5px; border-radius: 4px;
}

/* ---------- Feature columns ---------- */
.vc14-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.vc14-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.vc14-card {
  background: var(--vc14-bg-alt); border-radius: var(--vc14-radius);
  padding: 1.1rem 1rem; border: 1px solid rgba(212,175,55,.15);
}
.vc14-card i { font-size: 2.2rem; color: var(--vc14-accent-2); margin-bottom: .4rem; }
.vc14-card b { display: block; color: var(--vc14-cream); font-size: 1.3rem; margin-bottom: .3rem; }
.vc14-card p { color: var(--vc14-cream-2); font-size: 1.15rem; line-height: 1.4rem; }

/* ---------- RTP table ---------- */
.vc14-rtp-table { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.vc14-rtp-table th, .vc14-rtp-table td {
  padding: .65rem .5rem; font-size: 1.2rem; text-align: left;
  border-bottom: 1px solid rgba(255,248,220,.1);
}
.vc14-rtp-table th { color: var(--vc14-accent-2); font-weight: 700; }
.vc14-rtp-table td.vc14-num { text-align: right; color: var(--vc14-green); font-weight: 700; }

/* ---------- Testimonials ---------- */
.vc14-testi { display: flex; flex-direction: column; gap: .8rem; }
.vc14-testi-item {
  background: var(--vc14-bg-alt); border-radius: var(--vc14-radius); padding: 1rem;
  border-left: 3px solid var(--vc14-accent);
}
.vc14-testi-item .vc14-stars { color: #f0c674; font-size: 1.2rem; margin-bottom: .3rem; }
.vc14-testi-item p { color: var(--vc14-cream-2); font-size: 1.2rem; }
.vc14-testi-item b { color: var(--vc14-cream); font-size: 1.2rem; }

/* ---------- Winners ---------- */
.vc14-winner {
  display: flex; align-items: center; gap: .8rem; padding: .6rem .2rem;
  border-bottom: 1px dashed rgba(255,248,220,.15);
}
.vc14-winner img { width: 38px; height: 38px; border-radius: 50%; }
.vc14-winner .vc14-w-name { font-weight: 700; color: var(--vc14-cream); font-size: 1.2rem; }
.vc14-winner .vc14-w-amount { color: var(--vc14-green); font-weight: 800; font-size: 1.3rem; }
.vc14-winner .vc14-w-game { color: var(--vc14-cream-2); opacity: .75; font-size: 1.1rem; }

/* ---------- Payment methods ---------- */
.vc14-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.vc14-pay span {
  background: var(--vc14-bg-alt); color: var(--vc14-cream-2); border-radius: 6px;
  padding: .35rem .7rem; font-size: 1.1rem; border: 1px solid rgba(255,248,220,.12);
}

/* ---------- VIP / Steps ---------- */
.vc14-steps { list-style: none; counter-reset: vc14step; padding-left: 0; }
.vc14-steps li {
  position: relative; padding: .6rem .2rem .6rem 2.8rem; color: var(--vc14-cream-2);
  border-bottom: 1px solid rgba(255,248,220,.06); counter-increment: vc14step;
}
.vc14-steps li::before {
  content: counter(vc14step); position: absolute; left: 0; top: .5rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--vc14-accent);
  color: #1C2833; font-weight: 800; font-size: 1.1rem; display: inline-flex;
  align-items: center; justify-content: center;
}

/* ---------- FAQ ---------- */
.vc14-faq-item { border-bottom: 1px solid rgba(255,248,220,.1); padding: .6rem 0; }
.vc14-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-weight: 700; color: var(--vc14-cream); padding: .6rem .2rem; width: 100%; text-align: left;
}
.vc14-faq-q i { transition: transform .2s ease; color: var(--vc14-accent-2); }
.vc14-faq-item.vc14-open .vc14-faq-q i { transform: rotate(45deg); }
.vc14-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--vc14-cream-2); }
.vc14-faq-item.vc14-open .vc14-faq-a { max-height: 320px; padding: .2rem 0 .6rem; }

/* ---------- App download CTA ---------- */
.vc14-app-cta {
  background: linear-gradient(135deg, var(--vc14-bg-alt), var(--vc14-bg-soft));
  border-radius: var(--vc14-radius); padding: 1.2rem; text-align: center;
  border: 1px solid rgba(212,175,55,.3);
}
.vc14-app-cta h3 { color: var(--vc14-cream); }
.vc14-app-cta .vc14-qr { width: 120px; height: 120px; margin: .8rem auto; background: var(--vc14-off); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--vc14-bg); font-weight: 800; }

/* ---------- Security ---------- */
.vc14-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.vc14-badge {
  display: inline-flex; align-items: center; gap: .3rem; background: var(--vc14-bg-alt);
  color: var(--vc14-cream-2); padding: .35rem .7rem; border-radius: 6px; font-size: 1.1rem;
  border: 1px solid rgba(39,174,96,.4);
}
.vc14-badge i { color: var(--vc14-green); }

/* ---------- Footer ---------- */
.vc14-footer {
  background: var(--vc14-bg-alt); padding: 2rem 1.2rem 6rem; border-top: 1px solid rgba(212,175,55,.25);
}
.vc14-footer h4 { color: var(--vc14-accent-2); font-size: 1.4rem; margin-bottom: .6rem; }
.vc14-footer p { color: var(--vc14-cream-2); font-size: 1.2rem; margin-bottom: .8rem; }
.vc14-footer-links { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .8rem 0; }
.vc14-footer-links a { color: var(--vc14-cream-2); font-size: 1.2rem; }
.vc14-footer-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.vc14-footer-buttons .vc14-btn { font-size: 1.15rem; padding: .45rem .9rem; }
.vc14-copyright { margin-top: 1rem; color: var(--vc14-cream-2); opacity: .65; font-size: 1.1rem; border-top: 1px solid rgba(255,248,220,.08); padding-top: .8rem; }

/* ---------- Bottom nav ---------- */
.vc14-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 62px; z-index: 1000;
  background: linear-gradient(180deg, rgba(36,52,67,.98), rgba(28,40,51,.99));
  border-top: 1px solid rgba(212,175,55,.35); backdrop-filter: blur(6px);
  display: none;
}
.vc14-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center; height: 100%;
}
.vc14-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; flex: 1; color: var(--vc14-cream-2);
  font-size: 1rem; gap: .15rem; transition: color .2s ease, transform .15s ease;
}
.vc14-bottom-nav-btn i, .vc14-bottom-nav-btn span.material-icons-outlined {
  font-size: 22px; transition: transform .2s ease;
}
.vc14-bottom-nav-btn:active { transform: scale(.92); }
.vc14-bottom-nav-btn.vc14-current { color: var(--vc14-accent); }
.vc14-bottom-nav-btn.vc14-current i { transform: translateY(-2px); }
.vc14-bottom-nav-btn .vc14-badge-dot {
  position: absolute; top: 8px; right: 16px; background: var(--vc14-red); color: #fff;
  font-size: .9rem; min-width: 16px; height: 16px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 4px;
}

/* ---------- Back to top ---------- */
.vc14-to-top {
  position: fixed; right: 1.2rem; bottom: 78px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--vc14-accent); color: #1C2833;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .2s ease; z-index: 999;
}
.vc14-to-top.vc14-show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.vc14-reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.vc14-reveal.vc14-visible { opacity: 1; transform: translateY(0); }

/* ---------- Desktop adjustments ---------- */
@media (min-width: 769px) {
  .vc14-bottom-nav { display: none !important; }
  body { max-width: 768px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
  .vc14-bottom-nav { display: block; }
}
@media (max-width: 380px) {
  .vc14-game-grid { grid-template-columns: repeat(3, 1fr); }
  .vc14-btn { font-size: 1.2rem; padding: .5rem .8rem; }
}