/**
 * Real Money - Core Theme Stylesheet
 * File: css/theme-964e.css
 * Prefix: vecc-
 * Colors: #FFCC33 (gold/accent) | #1A1A2E (dark bg)
 */

/* ===== CSS Variables ===== */
:root {
  --vecc-primary: #FFCC33;
  --vecc-bg: #1A1A2E;
  --vecc-bg-light: #232342;
  --vecc-bg-card: #2a2a4a;
  --vecc-text: #ffffff;
  --vecc-text-muted: #b0b0cc;
  --vecc-accent: #FFCC33;
  --vecc-accent-hover: #ffd94d;
  --vecc-border: #3a3a5c;
  --vecc-shadow: rgba(0, 0, 0, 0.4);
  --vecc-radius: 10px;
  --vecc-radius-sm: 6px;
  --vecc-transition: all 0.3s ease;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--vecc-bg);
  color: var(--vecc-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.vecc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vecc-bg) 0%, var(--vecc-bg-light) 100%);
  border-bottom: 2px solid var(--vecc-primary);
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}

.vecc-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.vecc-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--vecc-primary);
}

.vecc-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vecc-primary);
  white-space: nowrap;
}

.vecc-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vecc-btn-register {
  background: var(--vecc-primary);
  color: var(--vecc-bg);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--vecc-radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vecc-transition);
  min-height: 36px;
}

.vecc-btn-register:hover {
  background: var(--vecc-accent-hover);
  transform: scale(1.05);
}

.vecc-btn-login {
  background: transparent;
  color: var(--vecc-primary);
  border: 2px solid var(--vecc-primary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--vecc-radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vecc-transition);
  min-height: 36px;
}

.vecc-btn-login:hover {
  background: rgba(255, 204, 51, 0.15);
  transform: scale(1.05);
}

.vecc-menu-toggle {
  background: none;
  border: none;
  color: var(--vecc-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: var(--vecc-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}

.vecc-toggle-active {
  color: var(--vecc-accent-hover);
  transform: rotate(90deg);
}

/* ===== Mobile Menu ===== */
.vecc-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--vecc-transition);
}

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

.vecc-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--vecc-bg-light), var(--vecc-bg));
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

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

.vecc-menu-close {
  background: none;
  border: none;
  color: var(--vecc-primary);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.vecc-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vecc-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--vecc-border);
}

.vecc-menu-list {
  list-style: none;
}

.vecc-menu-list li {
  margin-bottom: 0.5rem;
}

.vecc-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--vecc-radius-sm);
  color: var(--vecc-text);
  font-size: 1.4rem;
  transition: var(--vecc-transition);
}

.vecc-menu-list a:hover {
  background: rgba(255, 204, 51, 0.1);
  color: var(--vecc-primary);
  padding-left: 1.5rem;
}

.vecc-menu-list .material-icons,
.vecc-menu-list .fas {
  font-size: 2rem;
  color: var(--vecc-primary);
}

/* ===== Main Content ===== */
.vecc-main {
  padding-top: 60px;
  min-height: 100vh;
}

.vecc-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Carousel / Slider ===== */
.vecc-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  border-radius: var(--vecc-radius);
  margin-bottom: 1.5rem;
}

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

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

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

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

.vecc-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--vecc-transition);
}

.vecc-dot-active {
  background: var(--vecc-primary);
  width: 20px;
  border-radius: 4px;
}

/* ===== Section Titles ===== */
.vecc-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vecc-primary);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--vecc-primary);
}

.vecc-section-subtitle {
  font-size: 1.4rem;
  color: var(--vecc-text-muted);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
}

/* ===== Game Grid ===== */
.vecc-game-section {
  margin-bottom: 2rem;
}

.vecc-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vecc-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--vecc-transition);
  border-radius: var(--vecc-radius-sm);
  padding: 0.5rem;
}

.vecc-game-item:hover {
  background: rgba(255, 204, 51, 0.08);
  transform: translateY(-2px);
}

.vecc-game-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--vecc-border);
  margin-bottom: 0.4rem;
  transition: var(--vecc-transition);
}

.vecc-game-item:hover img {
  border-color: var(--vecc-primary);
}

.vecc-game-item span {
  font-size: 1.1rem;
  color: var(--vecc-text-muted);
  text-align: center;
  line-height: 1.3rem;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Cards & Blocks ===== */
.vecc-card {
  background: var(--vecc-bg-card);
  border-radius: var(--vecc-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vecc-border);
}

.vecc-card h2 {
  font-size: 1.6rem;
  color: var(--vecc-primary);
  margin-bottom: 1rem;
}

.vecc-card h3 {
  font-size: 1.4rem;
  color: var(--vecc-accent);
  margin-bottom: 0.8rem;
}

.vecc-card p {
  color: var(--vecc-text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.vecc-card ul {
  list-style: none;
  padding: 0;
}

.vecc-card li {
  padding: 0.6rem 0;
  color: var(--vecc-text-muted);
  border-bottom: 1px solid var(--vecc-border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.vecc-card li:last-child {
  border-bottom: none;
}

/* ===== Promo Buttons ===== */
.vecc-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vecc-primary), #e6b800);
  color: var(--vecc-bg);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--vecc-transition);
  text-align: center;
  border: none;
  min-height: 44px;
}

.vecc-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 204, 51, 0.4);
}

.vecc-promo-link {
  color: var(--vecc-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--vecc-transition);
  border-bottom: 1px dashed var(--vecc-primary);
}

.vecc-promo-link:hover {
  color: var(--vecc-accent-hover);
  border-bottom-style: solid;
}

/* ===== CTA Block ===== */
.vecc-cta {
  background: linear-gradient(135deg, rgba(255, 204, 51, 0.15), rgba(255, 204, 51, 0.05));
  border: 2px solid var(--vecc-primary);
  border-radius: var(--vecc-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.vecc-cta h2 {
  font-size: 1.8rem;
  color: var(--vecc-primary);
  margin-bottom: 0.8rem;
}

.vecc-cta p {
  color: var(--vecc-text-muted);
  margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.vecc-footer {
  background: var(--vecc-bg-light);
  padding: 2rem 1rem;
  border-top: 2px solid var(--vecc-primary);
}

.vecc-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.vecc-footer-brand p {
  color: var(--vecc-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}

.vecc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.vecc-footer-links a {
  display: inline-block;
  background: var(--vecc-bg-card);
  color: var(--vecc-text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--vecc-radius-sm);
  font-size: 1.1rem;
  border: 1px solid var(--vecc-border);
  transition: var(--vecc-transition);
}

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

.vecc-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.vecc-footer-promo button {
  background: var(--vecc-primary);
  color: var(--vecc-bg);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vecc-transition);
}

.vecc-footer-promo button:hover {
  transform: scale(1.05);
}

.vecc-copyright {
  text-align: center;
  color: var(--vecc-text-muted);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vecc-border);
}

/* ===== Bottom Navigation ===== */
.vecc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--vecc-bg-light), #12121f);
  border-top: 2px solid var(--vecc-primary);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}

.vecc-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--vecc-text-muted);
  min-width: 60px;
  min-height: 56px;
  cursor: pointer;
  transition: var(--vecc-transition);
  gap: 2px;
}

.vecc-bottom-nav-btn:hover,
.vecc-bottom-nav-btn:focus {
  color: var(--vecc-primary);
  transform: scale(1.1);
}

.vecc-bottom-nav-btn .material-icons,
.vecc-bottom-nav-btn .fas,
.vecc-bottom-nav-btn .far,
.vecc-bottom-nav-btn .fad,
.vecc-bottom-nav-btn ion-icon {
  font-size: 24px;
  transition: var(--vecc-transition);
}

.vecc-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.vecc-bottom-nav-btn:hover .material-icons,
.vecc-bottom-nav-btn:hover .fas,
.vecc-bottom-nav-btn:hover .far,
.vecc-bottom-nav-btn:hover .fad,
.vecc-bottom-nav-btn:hover ion-icon {
  color: var(--vecc-primary);
}

.vecc-btn-touch {
  transform: scale(0.92) !important;
}

.vecc-bottom-nav-btn.vecc-active-btn {
  color: var(--vecc-primary);
}

.vecc-bottom-nav-btn.vecc-active-btn::after {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  background: var(--vecc-primary);
  border-radius: 2px;
  margin-top: 2px;
}

/* ===== Helpers ===== */
.vecc-text-gold { color: var(--vecc-primary); }
.vecc-text-center { text-align: center; }
.vecc-mb-1 { margin-bottom: 1rem; }
.vecc-mb-2 { margin-bottom: 2rem; }
.vecc-mt-1 { margin-top: 1rem; }
.vecc-fw-700 { font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .vecc-main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .vecc-bottom-nav {
    display: none;
  }
}

/* ===== Animations ===== */
@keyframes vecc-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vecc-animate-in {
  animation: vecc-fadeIn 0.5s ease forwards;
}

/* ===== FAQ Accordion ===== */
.vecc-faq-item {
  border: 1px solid var(--vecc-border);
  border-radius: var(--vecc-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.vecc-faq-q {
  padding: 1rem;
  color: var(--vecc-text);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--vecc-bg-card);
}

.vecc-faq-q .fas {
  transition: transform 0.3s;
}

.vecc-faq-a {
  padding: 0 1rem;
  color: var(--vecc-text-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* ===== Winners Marquee ===== */
.vecc-winners-list {
  overflow: hidden;
}

.vecc-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--vecc-border);
}

.vecc-winner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vecc-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vecc-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.vecc-winner-info {
  flex: 1;
}

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

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

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

/* ===== Payment Icons ===== */
.vecc-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.vecc-payment-item {
  background: var(--vecc-bg-card);
  border: 1px solid var(--vecc-border);
  border-radius: var(--vecc-radius-sm);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--vecc-text-muted);
  text-align: center;
  min-width: 80px;
}
