/*
 * pinas77 bet login - style-f5ec.css
 * Mobile-first casino homepage styles. All custom classes use the vc4e- prefix.
 * Color palette: #C9C9FF | #00FFFF | #F08080 | #6C757D | #E0F2F1 | #262626
 */

:root {
  --vc4e-primary: #00FFFF;
  --vc4e-accent: #F08080;
  --vc4e-lavender: #C9C9FF;
  --vc4e-muted: #6C757D;
  --vc4e-bg: #262626;
  --vc4e-bg-alt: #1c1c1c;
  --vc4e-surface: #303030;
  --vc4e-text: #E0F2F1;
  --vc4e-text-dim: #b8c5c4;
  --vc4e-border: rgba(201, 201, 255, 0.18);
  --vc4e-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --vc4e-radius: 12px;
}

/* Base reset tuned for casino mobile layout */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--vc4e-bg); color: var(--vc4e-text);
  line-height: 1.5rem; font-size: 1.4rem;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--vc4e-primary); text-decoration: none; }
a:hover { color: var(--vc4e-lavender); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* Layout containers */
.vc4e-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.vc4e-container { padding: 0 1.2rem; width: 100%; }
.vc4e-section { padding: 2.4rem 0; border-bottom: 1px solid var(--vc4e-border); }
.vc4e-section-alt { background: var(--vc4e-bg-alt); }

/* Header */
.vc4e-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, #1c1c1c 0%, #262626 60%, #303030 100%);
  border-bottom: 1px solid var(--vc4e-border);
  box-shadow: var(--vc4e-shadow);
}
.vc4e-header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem; gap: 0.8rem;
}
.vc4e-brand { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.vc4e-brand img { width: 30px; height: 30px; border-radius: 6px; }
.vc4e-brand-name {
  font-size: 1.5rem; font-weight: 700; color: var(--vc4e-primary);
  letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc4e-brand-name span { color: var(--vc4e-lavender); }
.vc4e-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.vc4e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.25rem; font-weight: 700; padding: 0.6rem 1.1rem;
  border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 36px; text-decoration: none;
}
.vc4e-btn:hover { transform: translateY(-1px); }
.vc4e-btn-primary {
  background: linear-gradient(135deg, #F08080 0%, #ff6b6b 100%);
  color: #1c1c1c; box-shadow: 0 4px 12px rgba(240, 128, 128, 0.4);
}
.vc4e-btn-secondary {
  background: linear-gradient(135deg, #00FFFF 0%, #7af3f3 100%);
  color: #1c1c1c; box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
}
.vc4e-btn-ghost {
  background: transparent; border: 1px solid var(--vc4e-lavender); color: var(--vc4e-lavender);
}
.vc4e-icon-btn {
  background: transparent; border: none; color: var(--vc4e-text);
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
}
.vc4e-icon-btn:hover { background: rgba(201, 201, 255, 0.1); }
.vc4e-icon-btn.vc4e-active { background: rgba(0, 255, 255, 0.18); color: var(--vc4e-primary); }

/* Expandable mobile menu */
.vc4e-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0;
  background: var(--vc4e-bg-alt);
  border-bottom: 1px solid var(--vc4e-border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease; z-index: 999;
}
.vc4e-mobile-menu.vc4e-menu-open { max-height: 420px; }
.vc4e-mobile-menu-inner { padding: 0.6rem 1rem 1rem; }
.vc4e-mobile-menu a {
  display: block; padding: 0.85rem 0.6rem;
  color: var(--vc4e-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.35rem;
}
.vc4e-mobile-menu a::before {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  margin-right: 0.8rem; color: var(--vc4e-primary); font-size: 1rem;
}

/* Carousel */
.vc4e-carousel {
  position: relative; overflow: hidden;
  border-radius: 0 0 var(--vc4e-radius) var(--vc4e-radius); margin-bottom: 0.5rem;
}
.vc4e-carousel-track { display: flex; transition: transform 0.5s ease; }
.vc4e-carousel-slide { min-width: 100%; position: relative; }
.vc4e-carousel-slide img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.vc4e-carousel-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(38, 38, 38, 0.7);
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--vc4e-primary);
  border-radius: 6px; font-size: 1.25rem; color: var(--vc4e-text);
}
.vc4e-carousel-dots {
  display: flex; justify-content: center; gap: 0.4rem; padding: 0.6rem 0;
}
.vc4e-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.vc4e-carousel-dot.vc4e-dot-active { background: var(--vc4e-primary); transform: scale(1.25); }

/* Headings and typography */
.vc4e-h1 {
  font-size: 1.9rem; font-weight: 800; margin: 1.4rem 0 0.6rem;
  color: var(--vc4e-text); line-height: 1.3;
}
.vc4e-h1 span { color: var(--vc4e-primary); }
.vc4e-h2 {
  font-size: 1.65rem; font-weight: 700; margin: 0 0 1rem;
  color: var(--vc4e-lavender); display: flex; align-items: center; gap: 0.5rem;
}
.vc4e-h2::before {
  content: ''; width: 4px; height: 22px;
  background: var(--vc4e-primary); border-radius: 2px; display: inline-block;
}
.vc4e-h3 { font-size: 1.4rem; font-weight: 700; margin: 1rem 0 0.5rem; color: var(--vc4e-primary); }
.vc4e-lead { color: var(--vc4e-text-dim); margin-bottom: 1rem; }
.vc4e-p { margin-bottom: 0.85rem; color: var(--vc4e-text-dim); }
.vc4e-p b, .vc4e-p strong { color: var(--vc4e-accent); }

/* Game sections */
.vc4e-game-block { padding: 1.6rem 0; }
.vc4e-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem; margin-top: 0.5rem;
}
.vc4e-game-card {
  background: var(--vc4e-surface); border: 1px solid var(--vc4e-border);
  border-radius: 10px; padding: 0.5rem; text-align: center;
  cursor: pointer; overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.vc4e-game-card:hover { transform: translateY(-2px); border-color: var(--vc4e-primary); }
.vc4e-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.3rem;
}
.vc4e-game-card span {
  display: block; font-size: 1.05rem; color: var(--vc4e-text); line-height: 1.2;
  min-height: 2.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc4e-game-card::after {
  content: 'PLAY'; display: inline-block; margin-top: 0.2rem;
  font-size: 0.95rem; font-weight: 700; color: var(--vc4e-primary);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.vc4e-game-card:hover::after { opacity: 1; transform: translateY(0); }

/* Feature / info cards */
.vc4e-cards-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin: 0.8rem 0; }
.vc4e-info-card { background: var(--vc4e-surface); border: 1px solid var(--vc4e-border); border-radius: var(--vc4e-radius); padding: 0.9rem; }
.vc4e-info-card i { color: var(--vc4e-primary); font-size: 1.6rem; }
.vc4e-info-card h3 { margin: 0.4rem 0; color: var(--vc4e-lavender); }
.vc4e-info-card p { color: var(--vc4e-text-dim); font-size: 1.2rem; }

/* FAQ accordion */
.vc4e-faq { border-top: 1px solid var(--vc4e-border); }
.vc4e-faq details { border-bottom: 1px solid var(--vc4e-border); padding: 0.8rem 0; }
.vc4e-faq summary {
  font-weight: 700; cursor: pointer; color: var(--vc4e-lavender);
  list-style: none; position: relative; padding-right: 1.6rem;
}
.vc4e-faq summary::after { content: '+'; position: absolute; right: 0; color: var(--vc4e-primary); font-size: 1.4rem; }
.vc4e-faq details[open] summary::after { content: '-'; }
.vc4e-faq p { margin-top: 0.6rem; color: var(--vc4e-text-dim); }

/* Stats row */
.vc4e-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.8rem 0; }
.vc4e-stat {
  background: var(--vc4e-surface); border-radius: 10px; padding: 0.7rem;
  text-align: center; border: 1px solid var(--vc4e-border);
}
.vc4e-stat b { display: block; font-size: 1.6rem; color: var(--vc4e-primary); }
.vc4e-stat small { color: var(--vc4e-text-dim); font-size: 1.05rem; }

/* CTA banner */
.vc4e-cta {
  background: linear-gradient(135deg, #F08080 0%, #00FFFF 180%);
  color: #1c1c1c; border-radius: var(--vc4e-radius);
  padding: 1.2rem; text-align: center; margin: 1.2rem 0;
}
.vc4e-cta h3 { color: #1c1c1c; margin-bottom: 0.4rem; }
.vc4e-cta p { color: rgba(28, 28, 28, 0.85); margin-bottom: 0.7rem; }

/* Testimonials */
.vc4e-testimonials { display: grid; gap: 0.6rem; margin: 0.8rem 0; }
.vc4e-testimonial {
  background: var(--vc4e-surface); border-left: 3px solid var(--vc4e-accent);
  border-radius: 8px; padding: 0.7rem 0.9rem;
}
.vc4e-testimonial b { color: var(--vc4e-lavender); }
.vc4e-testimonial small { color: var(--vc4e-muted); display: block; margin-top: 0.3rem; }

/* Footer */
.vc4e-footer {
  background: var(--vc4e-bg-alt); border-top: 1px solid var(--vc4e-border);
  padding: 1.6rem 0 6rem; margin-top: 1.6rem;
}
.vc4e-footer-brand { margin-bottom: 1rem; color: var(--vc4e-text-dim); }
.vc4e-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.8rem 0; }
.vc4e-footer-promos .vc4e-btn { width: 100%; font-size: 1.15rem; padding: 0.55rem 0.4rem; }
.vc4e-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; margin: 0.8rem 0; }
.vc4e-footer-links a { color: var(--vc4e-text-dim); font-size: 1.15rem; }
.vc4e-footer-links a:hover { color: var(--vc4e-primary); }
.vc4e-copyright {
  text-align: center; font-size: 1.1rem; color: var(--vc4e-muted);
  padding-top: 0.8rem; border-top: 1px dashed var(--vc4e-border);
}

/* Mobile bottom navigation */
.vc4e-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, #1c1c1c 0%, #000 100%);
  border-top: 1px solid var(--vc4e-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}
.vc4e-bottom-nav a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--vc4e-text-dim); font-size: 1.05rem;
  text-decoration: none; padding: 0.3rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
  min-width: 60px; min-height: 60px;
}
.vc4e-bottom-nav a i, .vc4e-bottom-nav a span.material-symbols-outlined {
  font-size: 22px; margin-bottom: 2px; display: block;
}
.vc4e-bottom-nav a:hover { color: var(--vc4e-primary); transform: translateY(-1px); }
.vc4e-bottom-nav a.vc4e-nav-active { color: var(--vc4e-primary); }
.vc4e-bottom-nav a.vc4e-nav-active i, .vc4e-bottom-nav a.vc4e-nav-active span.material-symbols-outlined { color: var(--vc4e-accent); }
.vc4e-nav-badge {
  position: absolute; top: 4px; right: calc(50% - 22px);
  background: var(--vc4e-accent); color: #1c1c1c;
  border-radius: 999px; font-size: 0.9rem; padding: 0 4px;
  line-height: 1.4; font-weight: 700;
}

/* Scroll-to-top */
.vc4e-top-btn {
  position: fixed; right: 14px; bottom: 76px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--vc4e-primary); color: #1c1c1c;
  border: none; font-size: 1.6rem; font-weight: 700;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 999;
}
.vc4e-top-btn.vc4e-top-show { opacity: 1; pointer-events: auto; }

/* Desktop: hide bottom nav, show wider layout */
@media (min-width: 769px) {
  .vc4e-wrapper { max-width: 960px; }
  .vc4e-bottom-nav { display: none; }
  .vc4e-footer { padding-bottom: 1.6rem; }
  .vc4e-game-grid { grid-template-columns: repeat(6, 1fr); }
  .vc4e-cards-row { grid-template-columns: repeat(4, 1fr); }
  body { padding-bottom: 0; }
}

/* Bottom clearance so content is never hidden behind fixed bottom nav */
@media (max-width: 768px) {
  main, .vc4e-wrapper { padding-bottom: 80px; }
}
