/* ============================================================
   930k - Common Stylesheet
   Class prefix: ve8c-
   Palette: #AD1457 | #E0F2F1 | #E0FFFF | #808080 | #0A0A0A | #008B8B
   ============================================================ */

:root {
  --ve8c-primary: #AD1457;
  --ve8c-accent: #008B8B;
  --ve8c-bg: #0A0A0A;
  --ve8c-bg-alt: #141414;
  --ve8c-card: #1c1c1c;
  --ve8c-text: #E0F2F1;
  --ve8c-text-light: #E0FFFF;
  --ve8c-muted: #808080;
  --ve8c-border: #2a2a2a;
  --ve8c-gold: #FFD700;
  --ve8c-radius: 1.2rem;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  background: var(--ve8c-bg);
  color: var(--ve8c-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.ve8c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 5.6rem;
  background: linear-gradient(90deg, #0A0A0A, #1a0008);
  border-bottom: 2px solid var(--ve8c-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}

.ve8c-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ve8c-text-light);
  font-weight: 700;
  font-size: 1.8rem;
}
.ve8c-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.ve8c-logo span { background: linear-gradient(90deg, #E0FFFF, var(--ve8c-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ve8c-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.ve8c-menu-btn {
  background: transparent;
  border: 1px solid var(--ve8c-accent);
  color: var(--ve8c-text-light);
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  cursor: pointer;
}

.ve8c-btn {
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 3.6rem;
}
.ve8c-btn-login {
  background: transparent;
  color: var(--ve8c-text-light);
  border: 1px solid var(--ve8c-accent);
}
.ve8c-btn-register {
  background: linear-gradient(90deg, var(--ve8c-primary), #d81b60);
  color: #fff;
  box-shadow: 0 0.4rem 1rem rgba(173,20,87,0.4);
}

/* ===== Mobile Menu ===== */
.ve8c-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s;
}
.ve8c-overlay-show { opacity: 1; visibility: visible; }

.ve8c-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--ve8c-bg-alt);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.ve8c-menu-open { right: 0; }
.ve8c-mobile-menu h3 { color: var(--ve8c-primary); font-size: 1.6rem; margin: 1.5rem 0 0.8rem; }
.ve8c-mobile-menu a {
  display: block;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--ve8c-border);
  color: var(--ve8c-text);
  font-size: 1.5rem;
}
.ve8c-mobile-menu a:hover { color: var(--ve8c-primary); padding-left: 1.5rem; }
.ve8c-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: none; color: var(--ve8c-text-light);
  font-size: 2.2rem; cursor: pointer;
}

/* ===== Main ===== */
.ve8c-main { padding-top: 5.6rem; padding-bottom: 7rem; }

/* ===== Carousel ===== */
.ve8c-slider {
  position: relative;
  width: 100%;
  height: 18rem;
  overflow: hidden;
  border-radius: 0 0 1.5rem 1.5rem;
}
.ve8c-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.ve8c-slide-active { opacity: 1; }
.ve8c-slide img { width: 100%; height: 100%; object-fit: cover; }
.ve8c-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.ve8c-slide-title { color: var(--ve8c-text-light); font-size: 1.8rem; font-weight: 700; }
.ve8c-slide-sub { color: var(--ve8c-muted); font-size: 1.3rem; margin-top: 0.3rem; }
.ve8c-dots { position: absolute; bottom: 1rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.6rem; }
.ve8c-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.ve8c-dot-active { background: var(--ve8c-primary); width: 2rem; border-radius: 0.4rem; }

/* ===== Sections ===== */
.ve8c-section { padding: 1.5rem 1.2rem; }
.ve8c-section-title {
  font-size: 2rem; font-weight: 700;
  color: var(--ve8c-text-light);
  border-left: 4px solid var(--ve8c-primary);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}
.ve8c-section-title em { color: var(--ve8c-accent); font-style: normal; }

/* ===== Promo Banner ===== */
.ve8c-promo-banner {
  background: linear-gradient(135deg, #1a0008, var(--ve8c-accent));
  border-radius: var(--ve8c-radius);
  padding: 1.5rem;
  margin: 1.2rem;
  text-align: center;
  border: 1px solid var(--ve8c-primary);
}
.ve8c-promo-banner h2 { color: var(--ve8c-gold); font-size: 1.8rem; margin-bottom: 0.5rem; }
.ve8c-promo-banner p { color: var(--ve8c-text-light); font-size: 1.3rem; margin-bottom: 1rem; }
.ve8c-promo-link {
  color: var(--ve8c-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Game Grid ===== */
.ve8c-cat-block { margin-bottom: 2rem; }
.ve8c-cat-head {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem;
}
.ve8c-cat-head i { color: var(--ve8c-primary); font-size: 2rem; }
.ve8c-cat-head h2 { font-size: 1.8rem; color: var(--ve8c-text-light); }

.ve8c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.ve8c-game-card {
  background: var(--ve8c-card);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--ve8c-border);
  transition: transform 0.2s, border-color 0.2s;
}
.ve8c-game-card:active { transform: scale(0.95); border-color: var(--ve8c-primary); }
.ve8c-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ve8c-game-name {
  font-size: 1.1rem;
  color: var(--ve8c-text);
  text-align: center;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info Cards ===== */
.ve8c-card {
  background: var(--ve8c-card);
  border-radius: var(--ve8c-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--ve8c-border);
}
.ve8c-card h3 { color: var(--ve8c-accent); font-size: 1.6rem; margin-bottom: 0.8rem; }
.ve8c-card p { color: var(--ve8c-text); font-size: 1.35rem; margin-bottom: 0.6rem; }

.ve8c-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.ve8c-feature-item {
  background: var(--ve8c-card);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--ve8c-border);
}
.ve8c-feature-item i { font-size: 2.4rem; color: var(--ve8c-primary); margin-bottom: 0.5rem; }
.ve8c-feature-item h4 { color: var(--ve8c-text-light); font-size: 1.3rem; margin-bottom: 0.3rem; }
.ve8c-feature-item p { color: var(--ve8c-muted); font-size: 1.1rem; }

/* ===== RTP Table ===== */
.ve8c-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.ve8c-table th, .ve8c-table td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--ve8c-border);
  text-align: left;
}
.ve8c-table th { color: var(--ve8c-primary); }
.ve8c-table td { color: var(--ve8c-text); }

/* ===== Winners ===== */
.ve8c-winner {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem; border-bottom: 1px solid var(--ve8c-border);
}
.ve8c-winner img { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.ve8c-winner-info { flex: 1; }
.ve8c-winner-name { color: var(--ve8c-text-light); font-size: 1.3rem; font-weight: 700; }
.ve8c-winner-amount { color: var(--ve8c-gold); font-size: 1.3rem; font-weight: 700; }

/* ===== Testimonials ===== */
.ve8c-testimonial {
  background: var(--ve8c-card);
  border-radius: 1rem;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--ve8c-accent);
}
.ve8c-testimonial p { font-style: italic; color: var(--ve8c-text); font-size: 1.3rem; }
.ve8c-testimonial .ve8c-author { color: var(--ve8c-muted); font-size: 1.2rem; margin-top: 0.5rem; }

/* ===== Payment ===== */
.ve8c-payment { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ve8c-pay-item {
  background: var(--ve8c-card);
  border: 1px solid var(--ve8c-border);
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  color: var(--ve8c-text-light);
  font-size: 1.2rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.ve8c-pay-item i { color: var(--ve8c-accent); }

/* ===== App CTA ===== */
.ve8c-app-cta {
  background: linear-gradient(135deg, var(--ve8c-primary), var(--ve8c-accent));
  border-radius: var(--ve8c-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1.2rem;
}
.ve8c-app-cta h3 { color: #fff; font-size: 1.8rem; margin-bottom: 0.5rem; }
.ve8c-app-cta p { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.ve8c-app-cta .ve8c-btn { background: #0A0A0A; color: var(--ve8c-gold); }

/* ===== Footer ===== */
.ve8c-footer {
  background: #050505;
  padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--ve8c-primary);
}
.ve8c-footer-brand { color: var(--ve8c-text); font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.6; }
.ve8c-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.ve8c-footer-links a { color: var(--ve8c-muted); font-size: 1.2rem; }
.ve8c-footer-links a:hover { color: var(--ve8c-primary); }
.ve8c-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.ve8c-footer-promo button {
  background: var(--ve8c-primary); color: #fff;
  border: none; border-radius: 2rem;
  padding: 0.6rem 1.2rem; font-size: 1.2rem; cursor: pointer;
}
.ve8c-copyright { color: var(--ve8c-muted); font-size: 1.1rem; text-align: center; padding-top: 1rem; border-top: 1px solid var(--ve8c-border); }

/* ===== Bottom Nav ===== */
.ve8c-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  background: linear-gradient(180deg, #141414, #0A0A0A);
  border-top: 2px solid var(--ve8c-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.ve8c-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.6rem;
  background: transparent; border: none;
  color: var(--ve8c-muted);
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
  gap: 0.2rem;
}
.ve8c-bnav-btn i, .ve8c-bnav-btn .material-icons-outlined { font-size: 2.4rem; }
.ve8c-bnav-btn span { font-size: 1rem; }
.ve8c-bnav-btn:active { transform: scale(0.9); }
.ve8c-bnav-active { color: var(--ve8c-primary); }
.ve8c-bnav-active i, .ve8c-bnav-active .material-icons-outlined { color: var(--ve8c-primary); }

/* ===== Desktop hide bottom nav ===== */
@media (min-width: 769px) {
  .ve8c-bnav { display: none; }
  .ve8c-main { padding-bottom: 2rem; }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 360px) {
  .ve8c-grid { grid-template-columns: repeat(3, 1fr); }
  .ve8c-features { grid-template-columns: 1fr; }
}
