/* ============================================================
   bigwin casino - layout stylesheet (basefiles)
   All custom classes use the "veff-" prefix.
   Color palette: #273746 / #5D5D5D (dark), #A9A9A9 / #778899 (light),
   #FF5722 (accent). Root font 62.5% => 1rem = 10px.
   Mobile-first: max-width 430px, touch targets >= 44px.
   ============================================================ */

:root {
  --veff-bg: #273746;
  --veff-bg-alt: #1c2733;
  --veff-bg-soft: #33485c;
  --veff-text: #A9A9A9;
  --veff-text-soft: #778899;
  --veff-accent: #FF5722;
  --veff-accent-dark: #d84315;
  --veff-muted: #5D5D5D;
  --veff-line: rgba(169, 169, 169, 0.16);
  --veff-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --veff-radius: 12px;
  --veff-radius-lg: 18px;
  --veff-header-h: 5.6rem;
}

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

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

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

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

a { color: var(--veff-accent); text-decoration: none; }
a:hover { color: #ff7a4d; }

h1, h2, h3 { color: #f3f5f8; font-weight: 700; line-height: 1.25; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.7rem; }

/* ---------- Layout containers ---------- */
.veff-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.veff-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.veff-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--veff-header-h);
  background: var(--veff-bg-alt);
  border-bottom: 1px solid var(--veff-line);
  box-shadow: var(--veff-shadow);
}
.veff-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.veff-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.veff-brand-logo { width: 2.8rem; height: 2.8rem; border-radius: 6px; object-fit: cover; }
.veff-brand-name { color: #f3f5f8; font-size: 1.6rem; font-weight: 800; white-space: nowrap; letter-spacing: 0.2px; }
.veff-brand-name span { color: var(--veff-accent); }

.veff-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.veff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 3.6rem; padding: 0 1.2rem; border: none; border-radius: 8px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: all 0.2s ease;
  font-family: inherit;
}
.veff-btn-login { background: transparent; color: #f3f5f8; border: 1px solid var(--veff-text-soft); }
.veff-btn-login:hover { border-color: var(--veff-accent); color: var(--veff-accent); }
.veff-btn-register { background: var(--veff-accent); color: #fff; box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35); }
.veff-btn-register:hover { background: var(--veff-accent-dark); transform: translateY(-1px); }
.veff-btn .veff-btn-ico { font-size: 1.4rem; }

.veff-menu-btn {
  background: transparent; border: 1px solid var(--veff-line); color: #f3f5f8;
  width: 3.6rem; height: 3.6rem; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; margin-right: 0.4rem;
}
.veff-menu-btn .material-symbols-outlined { font-size: 2.2rem; }

/* ---------- Mobile slide-down menu ---------- */
.veff-mobile-menu {
  position: fixed; top: var(--veff-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--veff-bg-alt); border-bottom: 1px solid var(--veff-line);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  box-shadow: var(--veff-shadow);
}
.veff-mobile-menu.veff-menu-open { max-height: 70vh; overflow-y: auto; }
.veff-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem 1.6rem; }
.veff-menu-item {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 0.6rem;
  color: var(--veff-text); border-bottom: 1px solid var(--veff-line);
  font-size: 1.4rem; font-weight: 600; cursor: pointer;
}
.veff-menu-item:last-child { border-bottom: none; }
.veff-menu-item:hover { color: var(--veff-accent); }
.veff-menu-item i, .veff-menu-item .material-symbols-outlined { width: 2.4rem; font-size: 1.8rem; color: var(--veff-accent); }
.veff-menu-cta { margin-top: 1.2rem; }

/* ---------- Main / spacing ---------- */
.veff-main { padding-top: var(--veff-header-h); }

/* ---------- Hero carousel ---------- */
.veff-carousel { position: relative; width: 100%; max-width: 430px; margin: 0 auto; overflow: hidden; border-radius: 0; }
.veff-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.veff-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.veff-carousel-slide.veff-slide-active { opacity: 1; }
.veff-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.veff-carousel-slide .veff-slide-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  color: #fff; font-size: 1.6rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.veff-carousel-slide .veff-slide-cta {
  position: absolute; right: 1.2rem; bottom: 1.2rem;
  background: var(--veff-accent); color: #fff; font-size: 1.2rem; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 6px; cursor: pointer;
}
.veff-carousel-prev, .veff-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(39, 55, 70, 0.7); color: #fff; display: flex; align-items: center; justify-content: center;
}
.veff-carousel-prev { left: 0.6rem; } .veff-carousel-next { right: 0.6rem; }
.veff-carousel-prev i, .veff-carousel-next i { font-size: 1.6rem; }
.veff-carousel-dots { position: absolute; left: 0; right: 0; bottom: 0.6rem; text-align: center; z-index: 5; }
.veff-carousel-dot { display: inline-block; width: 0.8rem; height: 0.8rem; margin: 0 0.3rem; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; border: none; }
.veff-carousel-dot.veff-dot-active { background: var(--veff-accent); }

/* ---------- Section blocks ---------- */
.veff-section { padding: 2rem 1.2rem; }
.veff-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.veff-section-head h2 { color: #f3f5f8; }
.veff-section-head .veff-accent-bar { display: inline-block; width: 0.4rem; height: 1.8rem; background: var(--veff-accent); margin-right: 0.6rem; border-radius: 2px; vertical-align: middle; }
.veff-section-more { font-size: 1.2rem; color: var(--veff-accent); font-weight: 600; }

/* ---------- Game categories ---------- */
.veff-cat-tabs { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 1rem; -webkit-overflow-scrolling: touch; }
.veff-cat-tabs::-webkit-scrollbar { display: none; }
.veff-cat-tab {
  flex: 0 0 auto; padding: 0.7rem 1.2rem; border-radius: 20px; background: var(--veff-bg-soft);
  color: var(--veff-text); font-size: 1.3rem; font-weight: 600; border: 1px solid var(--veff-line); cursor: pointer;
}
.veff-cat-tab.veff-cat-active { background: var(--veff-accent); color: #fff; border-color: var(--veff-accent); }

/* ---------- Game grid ---------- */
.veff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.veff-card {
  background: var(--veff-bg-alt); border: 1px solid var(--veff-line); border-radius: var(--veff-radius);
  overflow: hidden; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.veff-card:hover { transform: translateY(-2px); box-shadow: var(--veff-shadow); border-color: var(--veff-accent); }
.veff-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #000; }
.veff-card-name {
  padding: 0.6rem 0.5rem 0.7rem; font-size: 1.15rem; color: #e8edf2; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}
.veff-card-tag {
  position: absolute; top: 0.4rem; left: 0.4rem; background: rgba(255,87,34,0.9); color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px;
}
.veff-card-wrap { position: relative; }

/* ---------- Promo banner / CTA ---------- */
.veff-cta-band {
  background: linear-gradient(135deg, var(--veff-accent), var(--veff-accent-dark));
  color: #fff; border-radius: var(--veff-radius-lg); padding: 1.6rem 1.2rem; text-align: center; margin: 1.6rem 0;
}
.veff-cta-band h3 { color: #fff; margin-bottom: 0.4rem; }
.veff-cta-band p { font-size: 1.3rem; margin-bottom: 1rem; }
.veff-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--veff-accent-dark);
  font-weight: 800; padding: 1rem 2rem; border-radius: 30px; border: none; cursor: pointer; font-size: 1.4rem;
}
.veff-cta-btn:hover { transform: scale(1.03); }

/* ---------- Info / feature lists ---------- */
.veff-feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.veff-feature-item {
  display: flex; gap: 1rem; padding: 1.2rem; background: var(--veff-bg-alt); border-radius: var(--veff-radius); border: 1px solid var(--veff-line);
}
.veff-feature-icon {
  flex: 0 0 4rem; width: 4rem; height: 4rem; border-radius: 10px; background: rgba(255,87,34,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--veff-accent);
}
.veff-feature-icon i, .veff-feature-icon .material-symbols-outlined, .veff-feature-icon ion-icon { font-size: 2.2rem; }
.veff-feature-text h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.veff-feature-text p { font-size: 1.3rem; color: var(--veff-text); }

/* ---------- Winners strip ---------- */
.veff-winners { background: var(--veff-bg-alt); border-radius: var(--veff-radius); padding: 1rem 1.2rem; border: 1px solid var(--veff-line); }
.veff-winner-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px dashed var(--veff-line); font-size: 1.25rem; }
.veff-winner-row:last-child { border-bottom: none; }
.veff-winner-name { color: #e8edf2; font-weight: 600; }
.veff-winner-amount { color: var(--veff-accent); font-weight: 800; }

/* ---------- Testimonials ---------- */
.veff-testi-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.veff-testi { background: var(--veff-bg-alt); border-radius: var(--veff-radius); padding: 1.2rem; border: 1px solid var(--veff-line); }
.veff-testi-stars { color: #ffc24d; margin-bottom: 0.5rem; font-size: 1.3rem; }
.veff-testi p { font-size: 1.3rem; margin-bottom: 0.6rem; }
.veff-testi-author { font-size: 1.2rem; color: var(--veff-text-soft); font-weight: 600; }

/* ---------- Payment / app ---------- */
.veff-pay-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.veff-pay-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;
  background: var(--veff-bg-alt); border: 1px solid var(--veff-line); border-radius: 20px; color: #e8edf2; font-size: 1.2rem; font-weight: 600;
}
.veff-app-box { background: var(--veff-bg-alt); border: 1px solid var(--veff-line); border-radius: var(--veff-radius-lg); padding: 1.6rem; text-align: center; }
.veff-app-box h3 { margin-bottom: 0.6rem; }
.veff-app-box p { font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.veff-faq-item { background: var(--veff-bg-alt); border: 1px solid var(--veff-line); border-radius: var(--veff-radius); margin-bottom: 0.8rem; overflow: hidden; }
.veff-faq-q { padding: 1.1rem 1.2rem; font-weight: 700; color: #f3f5f8; font-size: 1.4rem; cursor: default; }
.veff-faq-a { padding: 0 1.2rem 1.2rem; font-size: 1.25rem; color: var(--veff-text); }

/* ---------- Footer ---------- */
.veff-footer { background: var(--veff-bg-alt); border-top: 1px solid var(--veff-line); padding: 2rem 1.2rem 6rem; margin-top: 2rem; }
.veff-footer-inner { max-width: 430px; margin: 0 auto; }
.veff-footer-brand { color: #f3f5f8; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.6rem; }
.veff-footer-brand span { color: var(--veff-accent); }
.veff-footer-desc { font-size: 1.25rem; color: var(--veff-text); margin-bottom: 1.2rem; }
.veff-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.veff-footer-promos .veff-btn { flex: 1 1 auto; min-height: 3.4rem; font-size: 1.2rem; }
.veff-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem; }
.veff-footer-links a { color: var(--veff-text); font-size: 1.2rem; }
.veff-footer-links a:hover { color: var(--veff-accent); }
.veff-footer-copy { font-size: 1.1rem; color: var(--veff-text-soft); border-top: 1px solid var(--veff-line); padding-top: 1rem; text-align: center; }

/* ---------- Back to top ---------- */
.veff-top-btn {
  position: fixed; right: 1.2rem; bottom: 7.6rem; z-index: 1000;
  width: 4rem; height: 4rem; border-radius: 50%; border: none; cursor: pointer;
  background: var(--veff-accent); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; box-shadow: var(--veff-shadow);
}
.veff-top-btn.veff-top-visible { opacity: 1; visibility: visible; }
.veff-top-btn i { font-size: 1.8rem; }

/* ---------- Mobile bottom navigation ---------- */
.veff-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: var(--veff-bg-alt); border-top: 1px solid var(--veff-line);
  display: flex; justify-content: space-around; align-items: stretch; box-shadow: 0 -4px 14px rgba(0,0,0,0.3);
}
.veff-bottom-nav-btn {
  flex: 1 1 0; min-width: 60px; min-height: 60px; background: transparent; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  color: var(--veff-text-soft); font-size: 1.05rem; font-weight: 600; transition: color 0.2s ease, transform 0.18s ease;
}
.veff-bottom-nav-btn i, .veff-bottom-nav-btn .material-symbols-outlined, .veff-bottom-nav-btn ion-icon { font-size: 2.2rem; }
.veff-bottom-nav-btn:hover { color: var(--veff-accent); transform: translateY(-2px); }
.veff-bottom-nav-btn.veff-nav-active { color: var(--veff-accent); }
.veff-bottom-nav-btn.veff-nav-active::before {
  content: ""; position: absolute; top: 0; width: 2.4rem; height: 0.3rem; border-radius: 0 0 4px 4px; background: var(--veff-accent);
}
.veff-bottom-nav-btn { position: relative; }
.veff-nav-badge { position: absolute; top: 0.4rem; right: 1rem; background: var(--veff-accent); color: #fff; font-size: 0.9rem; font-weight: 700; border-radius: 8px; padding: 0 0.4rem; min-width: 1.4rem; text-align: center; }

/* ---------- Desktop: hide bottom nav, expand container ---------- */
@media (min-width: 769px) {
  .veff-bottom-nav { display: none; }
  .veff-container, .veff-wrapper, .veff-footer-inner, .veff-mobile-menu-inner { max-width: 960px; }
  .veff-grid { grid-template-columns: repeat(6, 1fr); }
  .veff-feature-grid, .veff-testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile: bottom padding so content clears fixed nav ---------- */
@media (max-width: 768px) {
  .veff-main { padding-bottom: 7rem; }
  .veff-footer { padding-bottom: 8rem; }
}

/* Hide desktop-only nav by default (shown >= 769px if needed) */
.veff-desktop-nav { display: none; }
@media (min-width: 769px) { .veff-desktop-nav { display: flex; gap: 1.4rem; align-items: center; } .veff-desktop-nav a { color: var(--veff-text); font-size: 1.3rem; font-weight: 600; } .veff-desktop-nav a:hover { color: var(--veff-accent); } }
