/**
 * 7555bit - Main Stylesheet
 * All classes use vcd3- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --vcd3-primary: #00FF00;
  --vcd3-accent: #7CFC00;
  --vcd3-bg-dark: #34495E;
  --vcd3-bg-darker: #495057;
  --vcd3-text-light: #AFEEEE;
  --vcd3-text-muted: #B0E0E6;
  --vcd3-radius: 8px;
  --vcd3-radius-lg: 12px;
  --vcd3-shadow: 0 2px 12px rgba(0, 255, 0, 0.15);
  --vcd3-transition: all 0.3s ease;
  --vcd3-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--vcd3-font);
  background: var(--vcd3-bg-dark);
  color: var(--vcd3-text-light);
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vcd3-primary); text-decoration: none; }
a:hover { color: var(--vcd3-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.vcd3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vcd3-wrapper { padding: 1rem 0; }

/* Header */
.vcd3-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 56px;
  background: var(--vcd3-bg-darker);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000;
  border-bottom: 2px solid var(--vcd3-primary);
}
.vcd3-header-left { display: flex; align-items: center; gap: 8px; }
.vcd3-logo { width: 28px; height: 28px; border-radius: 6px; }
.vcd3-site-name { font-size: 1.8rem; font-weight: 700; color: var(--vcd3-primary); }
.vcd3-header-right { display: flex; align-items: center; gap: 6px; }
.vcd3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; border-radius: var(--vcd3-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--vcd3-transition);
  min-height: 36px;
}
.vcd3-btn-register {
  background: var(--vcd3-primary); color: var(--vcd3-bg-dark);
}
.vcd3-btn-register:hover { background: var(--vcd3-accent); transform: scale(1.05); }
.vcd3-btn-login {
  background: transparent; color: var(--vcd3-primary);
  border: 1.5px solid var(--vcd3-primary);
}
.vcd3-btn-login:hover { background: rgba(0, 255, 0, 0.1); }
.vcd3-menu-toggle {
  background: none; border: none; color: var(--vcd3-text-light);
  font-size: 2.2rem; cursor: pointer; padding: 4px;
  display: flex; align-items: center;
}

/* Mobile Menu */
.vcd3-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.vcd3-overlay-active { display: block; }
.vcd3-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--vcd3-bg-darker); z-index: 9999;
  transition: right 0.3s ease; padding-top: 60px;
  border-left: 2px solid var(--vcd3-primary);
}
.vcd3-menu-active { right: 0; }
.vcd3-mobile-menu .vcd3-menu-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; color: var(--vcd3-text-light);
  font-size: 2.4rem; cursor: pointer;
}
.vcd3-menu-section { padding: 1rem 1.5rem; }
.vcd3-menu-title {
  font-size: 1.1rem; color: var(--vcd3-primary); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0.8rem; font-weight: 600;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2); padding-bottom: 0.5rem;
}
.vcd3-menu-link {
  display: block; padding: 1rem 0; color: var(--vcd3-text-light);
  font-size: 1.4rem; border-bottom: 1px solid rgba(175, 238, 238, 0.1);
  transition: var(--vcd3-transition);
}
.vcd3-menu-link:hover { color: var(--vcd3-primary); padding-left: 8px; }

/* Carousel */
.vcd3-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--vcd3-radius-lg); margin-bottom: 1.2rem;
  aspect-ratio: 16/9;
}
.vcd3-carousel-slide {
  width: 100%; height: 100%; object-fit: cover; cursor: pointer;
  border-radius: var(--vcd3-radius-lg);
}
.vcd3-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.vcd3-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(175, 238, 238, 0.5); cursor: pointer;
  border: none; transition: var(--vcd3-transition);
}
.vcd3-dot-active { background: var(--vcd3-primary); width: 20px; border-radius: 4px; }
.vcd3-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.6rem;
  cursor: pointer; z-index: 5; display: flex; align-items: center;
  justify-content: center; transition: var(--vcd3-transition);
}
.vcd3-carousel-arrow:hover { background: rgba(0, 255, 0, 0.5); }
.vcd3-arrow-prev { left: 8px; }
.vcd3-arrow-next { right: 8px; }

/* Main Content */
main { padding-top: 64px; padding-bottom: 20px; }

/* Section titles */
.vcd3-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--vcd3-primary);
  margin: 1.5rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 255, 0, 0.3);
  display: flex; align-items: center; gap: 8px;
}
.vcd3-section-title i, .vcd3-section-title span.material-symbols-outlined {
  font-size: 2rem;
}

/* Category Tabs */
.vcd3-cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 0.5rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.vcd3-cat-tabs::-webkit-scrollbar { display: none; }
.vcd3-cat-tab {
  flex-shrink: 0; padding: 6px 16px; border-radius: 20px;
  background: rgba(175, 238, 238, 0.1); color: var(--vcd3-text-light);
  font-size: 1.2rem; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(0, 255, 0, 0.2); transition: var(--vcd3-transition);
  white-space: nowrap;
}
.vcd3-cat-tab-active, .vcd3-cat-tab:hover {
  background: var(--vcd3-primary); color: var(--vcd3-bg-dark);
  border-color: var(--vcd3-primary);
}

/* Game Grid */
.vcd3-game-section { margin-bottom: 1.5rem; }
.vcd3-cat-heading {
  font-size: 1.5rem; font-weight: 600; color: var(--vcd3-accent);
  margin: 1rem 0 0.8rem; display: flex; align-items: center; gap: 6px;
}
.vcd3-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vcd3-game-item {
  text-align: center; cursor: pointer; transition: var(--vcd3-transition);
  border-radius: var(--vcd3-radius); padding: 6px;
  background: rgba(175, 238, 238, 0.05);
}
.vcd3-game-item:hover { transform: translateY(-2px); background: rgba(0, 255, 0, 0.08); }
.vcd3-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--vcd3-radius); border: 1.5px solid rgba(0, 255, 0, 0.15);
}
.vcd3-game-name {
  font-size: 1.05rem; color: var(--vcd3-text-light); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 1.3;
}

/* Cards */
.vcd3-card {
  background: rgba(175, 238, 238, 0.06); border-radius: var(--vcd3-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.1);
}
.vcd3-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--vcd3-primary);
  margin-bottom: 0.8rem;
}
.vcd3-card p { font-size: 1.3rem; line-height: 1.6; margin-bottom: 0.6rem; }

/* Promo Button */
.vcd3-promo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; background: linear-gradient(135deg, var(--vcd3-primary), var(--vcd3-accent));
  color: var(--vcd3-bg-dark); font-size: 1.4rem; font-weight: 700;
  border-radius: 30px; cursor: pointer; border: none;
  transition: var(--vcd3-transition); text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}
.vcd3-promo-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

/* Promo text link */
.vcd3-promo-link {
  color: var(--vcd3-primary); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: var(--vcd3-transition);
}
.vcd3-promo-link:hover { color: var(--vcd3-accent); }

/* Footer */
.vcd3-footer {
  background: var(--vcd3-bg-darker); padding: 2rem 1.2rem 1rem;
  border-top: 2px solid rgba(0, 255, 0, 0.2); margin-top: 2rem;
}
.vcd3-footer-brand { font-size: 1.3rem; line-height: 1.6; margin-bottom: 1rem; color: var(--vcd3-text-muted); }
.vcd3-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem;
}
.vcd3-footer-link {
  padding: 5px 12px; background: rgba(0, 255, 0, 0.1);
  border-radius: 20px; font-size: 1.1rem; color: var(--vcd3-text-light);
  transition: var(--vcd3-transition);
}
.vcd3-footer-link:hover { background: var(--vcd3-primary); color: var(--vcd3-bg-dark); }
.vcd3-footer-copy {
  text-align: center; font-size: 1.1rem; color: rgba(175, 238, 238, 0.5);
  padding-top: 1rem; border-top: 1px solid rgba(0, 255, 0, 0.1);
}

/* Bottom Fixed Nav */
.vcd3-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px;
  background: var(--vcd3-bg-darker);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; border-top: 2px solid var(--vcd3-primary);
  padding: 0 4px;
}
.vcd3-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; color: var(--vcd3-text-muted);
  cursor: pointer; transition: var(--vcd3-transition); gap: 2px;
  border-radius: 8px;
}
.vcd3-bottom-btn i,
.vcd3-bottom-btn span.material-symbols-outlined,
.vcd3-bottom-btn ion-icon {
  font-size: 2.2rem;
}
.vcd3-bottom-btn span.vcd3-bnav-label {
  font-size: 1rem; line-height: 1.2;
}
.vcd3-bottom-btn:hover, .vcd3-bottom-btn.vcd3-btn-active {
  color: var(--vcd3-primary); background: rgba(0, 255, 0, 0.08);
  transform: scale(1.05);
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .vcd3-bottom-nav { display: none; }
}

/* Feature grid */
.vcd3-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vcd3-feature-item {
  background: rgba(175, 238, 238, 0.06); border-radius: var(--vcd3-radius);
  padding: 1rem; text-align: center; border: 1px solid rgba(0, 255, 0, 0.1);
}
.vcd3-feature-icon { font-size: 2.4rem; color: var(--vcd3-primary); margin-bottom: 6px; }
.vcd3-feature-label { font-size: 1.2rem; color: var(--vcd3-text-light); font-weight: 500; }

/* Winner marquee */
.vcd3-winner-bar {
  background: rgba(0, 255, 0, 0.08); padding: 8px 12px;
  border-radius: var(--vcd3-radius); overflow: hidden;
  margin-bottom: 1rem;
}
.vcd3-winner-text {
  font-size: 1.2rem; color: var(--vcd3-accent); white-space: nowrap;
  animation: vcd3marquee 12s linear infinite;
}
@keyframes vcd3marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Payment icons */
.vcd3-payment-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 1rem 0;
}
.vcd3-pay-icon {
  padding: 6px 14px; background: rgba(175, 238, 238, 0.08);
  border-radius: 20px; font-size: 1.2rem; color: var(--vcd3-text-muted);
  border: 1px solid rgba(0, 255, 0, 0.15);
}

/* Testimonial */
.vcd3-testimonial {
  background: rgba(175, 238, 238, 0.05); border-radius: var(--vcd3-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--vcd3-primary);
}
.vcd3-testimonial-name { font-size: 1.2rem; font-weight: 600; color: var(--vcd3-accent); }
.vcd3-testimonial-text { font-size: 1.2rem; color: var(--vcd3-text-muted); margin-top: 4px; }

/* CTA Banner */
.vcd3-cta-banner {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.15), rgba(124, 252, 0, 0.1));
  border-radius: var(--vcd3-radius-lg); padding: 1.5rem;
  text-align: center; border: 1px solid rgba(0, 255, 0, 0.2);
  margin: 1.5rem 0;
}
.vcd3-cta-banner h3 {
  font-size: 1.6rem; color: var(--vcd3-primary); margin-bottom: 0.8rem;
}

/* Responsive fine-tuning */
@media (max-width: 360px) {
  .vcd3-game-grid { grid-template-columns: repeat(3, 1fr); }
  .vcd3-game-name { font-size: 0.95rem; }
}
