/**
 * MuMu Player Lite - Theme Stylesheet
 * Class prefix: vc44-
 * Color palette: #1C2833 (dark bg), #9370DB (accent), #E6E6FA (light text)
 */

/* CSS Variables */
:root {
  --vc44-primary: #9370DB;
  --vc44-primary-dark: #7B52AB;
  --vc44-primary-light: #B69AE6;
  --vc44-bg-dark: #1C2833;
  --vc44-bg-darker: #141D26;
  --vc44-bg-card: #222F3E;
  --vc44-text-light: #E6E6FA;
  --vc44-text-muted: #AEB6BF;
  --vc44-text-accent: #D7BDE2;
  --vc44-gold: #F4D03F;
  --vc44-green: #58D68D;
  --vc44-red: #EC7063;
  --vc44-border: #2C3E50;
  --vc44-shadow: rgba(0,0,0,0.3);
  --vc44-radius: 12px;
  --vc44-radius-sm: 8px;
  --vc44-header-h: 60px;
  --vc44-bottom-h: 62px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vc44-bg-dark);
  color: var(--vc44-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vc44-primary-light); text-decoration: none; }
a:hover { color: var(--vc44-text-light); }

/* Container */
.vc44-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ===== HEADER ===== */
.vc44-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--vc44-bg-darker);
  border-bottom: 1px solid var(--vc44-border);
  height: var(--vc44-header-h);
  display: flex;
  align-items: center;
  padding: 0 12px;
  backdrop-filter: blur(10px);
  background: rgba(20, 29, 38, 0.95);
}

.vc44-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.vc44-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc44-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.vc44-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vc44-primary);
  white-space: nowrap;
}

.vc44-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc44-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--vc44-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vc44-btn-register {
  background: var(--vc44-primary);
  color: #fff;
}

.vc44-btn-register:hover {
  background: var(--vc44-primary-dark);
  transform: scale(1.03);
}

.vc44-btn-login {
  background: transparent;
  color: var(--vc44-text-light);
  border: 1px solid var(--vc44-primary);
}

.vc44-btn-login:hover {
  background: var(--vc44-primary);
  color: #fff;
}

.vc44-btn-menu {
  background: none;
  border: none;
  color: var(--vc44-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.vc44-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vc44-overlay-active {
  opacity: 1;
  visibility: visible;
}

.vc44-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vc44-bg-darker);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px 16px;
  overflow-y: auto;
}

.vc44-menu-active {
  right: 0;
}

.vc44-menu-close {
  background: none;
  border: none;
  color: var(--vc44-text-light);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
}

.vc44-menu-links {
  list-style: none;
  margin-top: 40px;
}

.vc44-menu-links li {
  border-bottom: 1px solid var(--vc44-border);
}

.vc44-menu-links a {
  display: block;
  padding: 14px 8px;
  color: var(--vc44-text-light);
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.vc44-menu-links a:hover {
  color: var(--vc44-primary);
}

/* ===== SLIDER ===== */
.vc44-slider {
  position: relative;
  margin-top: var(--vc44-header-h);
  overflow: hidden;
  border-radius: 0 0 var(--vc44-radius) var(--vc44-radius);
}

.vc44-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.vc44-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.vc44-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc44-slide-active {
  opacity: 1;
}

.vc44-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.vc44-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.vc44-dot-active {
  background: var(--vc44-primary);
}

/* ===== MAIN CONTENT ===== */
.vc44-main {
  padding-top: calc(var(--vc44-header-h) + 8px);
  padding-bottom: calc(var(--vc44-bottom-h) + 20px);
  min-height: 100vh;
}

.vc44-section {
  padding: 16px 0;
}

.vc44-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vc44-text-light);
  margin-bottom: 12px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc44-section-title i {
  color: var(--vc44-primary);
  font-size: 2rem;
}

.vc44-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vc44-text-light);
  line-height: 1.4;
  margin-bottom: 16px;
}

.vc44-h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vc44-text-light);
  margin: 20px 0 10px;
}

.vc44-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vc44-primary-light);
  margin: 16px 0 8px;
}

.vc44-text {
  color: var(--vc44-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.vc44-text-bold {
  color: var(--vc44-gold);
  font-weight: 700;
}

.vc44-promo-link {
  color: var(--vc44-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.vc44-promo-link:hover {
  color: var(--vc44-primary-light);
}

/* ===== GAME GRID ===== */
.vc44-category-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vc44-primary);
  margin: 16px 0 10px;
  padding: 8px 12px;
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius-sm);
  border-left: 3px solid var(--vc44-primary);
}

.vc44-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 0;
}

.vc44-game-card {
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--vc44-border);
}

.vc44-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--vc44-shadow);
}

.vc44-game-card:active, .vc44-card-touched {
  transform: scale(0.96);
}

.vc44-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.vc44-game-name {
  font-size: 1.05rem;
  color: var(--vc44-text-light);
  text-align: center;
  padding: 4px 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* ===== FEATURE CARDS ===== */
.vc44-card {
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--vc44-border);
}

.vc44-card-highlight {
  border-left: 3px solid var(--vc44-primary);
}

.vc44-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vc44-text-light);
  margin-bottom: 8px;
}

/* ===== PROMO BANNER ===== */
.vc44-promo-banner {
  background: linear-gradient(135deg, var(--vc44-primary-dark), var(--vc44-primary));
  border-radius: var(--vc44-radius);
  padding: 20px 16px;
  text-align: center;
  margin: 16px 0;
}

.vc44-promo-banner h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.vc44-promo-banner p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.vc44-btn-promo {
  background: var(--vc44-gold);
  color: var(--vc44-bg-dark);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 1.3rem;
}

.vc44-btn-promo:hover {
  background: #FDE68A;
  transform: scale(1.04);
}

/* ===== FAQ ===== */
.vc44-faq-item {
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--vc44-border);
}

.vc44-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vc44-primary-light);
  margin-bottom: 6px;
}

.vc44-faq-a {
  font-size: 1.3rem;
  color: var(--vc44-text-muted);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.vc44-footer {
  background: var(--vc44-bg-darker);
  border-top: 1px solid var(--vc44-border);
  padding: 20px 12px;
  text-align: center;
}

.vc44-footer-text {
  font-size: 1.2rem;
  color: var(--vc44-text-muted);
  margin-bottom: 8px;
}

.vc44-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin: 12px 0;
}

.vc44-footer-links a {
  font-size: 1.1rem;
  color: var(--vc44-text-muted);
  transition: color 0.2s;
}

.vc44-footer-links a:hover {
  color: var(--vc44-primary);
}

.vc44-footer-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.vc44-footer-btn {
  background: var(--vc44-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.vc44-footer-btn:hover {
  background: var(--vc44-primary-dark);
}

.vc44-copyright {
  font-size: 1.1rem;
  color: var(--vc44-text-muted);
  margin-top: 12px;
  opacity: 0.7;
}

/* ===== BOTTOM NAV ===== */
.vc44-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--vc44-bottom-h);
  background: var(--vc44-bg-darker);
  border-top: 1px solid var(--vc44-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.vc44-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--vc44-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 4px 0;
  border-radius: 8px;
}

.vc44-bottom-nav-btn:hover {
  color: var(--vc44-primary);
  background: rgba(147, 112, 219, 0.1);
}

.vc44-bottom-nav-btn:active {
  transform: scale(0.92);
}

.vc44-bottom-nav-btn i,
.vc44-bottom-nav-btn .material-icons,
.vc44-bottom-nav-btn ion-icon,
.vc44-bottom-nav-btn bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.vc44-bottom-nav-btn .material-icons {
  font-size: 24px;
}

.vc44-bottom-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.vc44-nav-active {
  color: var(--vc44-primary) !important;
}

.vc44-nav-active i,
.vc44-nav-active .material-icons,
.vc44-nav-active ion-icon {
  color: var(--vc44-primary);
}

/* ===== WINNERS TABLE ===== */
.vc44-winners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vc44-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vc44-bg-card);
  padding: 10px 14px;
  border-radius: var(--vc44-radius-sm);
  border: 1px solid var(--vc44-border);
}

.vc44-winner-name {
  font-size: 1.2rem;
  color: var(--vc44-text-light);
  font-weight: 600;
}

.vc44-winner-game {
  font-size: 1.1rem;
  color: var(--vc44-text-muted);
}

.vc44-winner-amount {
  font-size: 1.3rem;
  color: var(--vc44-green);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.vc44-testimonial {
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--vc44-border);
}

.vc44-testimonial-user {
  font-weight: 700;
  color: var(--vc44-primary-light);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.vc44-testimonial-text {
  font-size: 1.2rem;
  color: var(--vc44-text-muted);
  line-height: 1.5;
}

/* ===== PAYMENT METHODS ===== */
.vc44-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vc44-payment-item {
  background: var(--vc44-bg-card);
  border-radius: var(--vc44-radius-sm);
  padding: 10px 14px;
  font-size: 1.2rem;
  color: var(--vc44-text-light);
  border: 1px solid var(--vc44-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .vc44-bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .vc44-main {
    padding-bottom: calc(var(--vc44-bottom-h) + 24px);
  }
}

/* Utility */
.vc44-mt-8 { margin-top: 8px; }
.vc44-mt-16 { margin-top: 16px; }
.vc44-mb-8 { margin-bottom: 8px; }
.vc44-mb-16 { margin-bottom: 16px; }
.vc44-text-center { text-align: center; }
.vc44-hidden { display: none; }
