/**
 * 999 game - Core CSS Stylesheet
 * File: css/theme-addc.css
 * Prefix: vca8-
 * Palette: #F08080 | #CD853F | #A0522D | #141414 | #6C757D | #EEE8AA
 */

/* === CSS Variables === */
:root {
  --vca8-primary: #F08080;
  --vca8-secondary: #CD853F;
  --vca8-accent: #A0522D;
  --vca8-bg: #141414;
  --vca8-bg-light: #1e1e1e;
  --vca8-bg-card: #252525;
  --vca8-text: #EEE8AA;
  --vca8-text-muted: #6C757D;
  --vca8-white: #f5f5f5;
  --vca8-border: #333333;
  --vca8-gold: #CD853F;
  --vca8-red: #F08080;
  --vca8-radius: 8px;
  --vca8-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --vca8-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  color: var(--vca8-text);
  background: var(--vca8-bg);
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vca8-primary); text-decoration: none; transition: var(--vca8-transition); }
a:hover { color: var(--vca8-gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.vca8-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vca8-bg) 0%, var(--vca8-bg-light) 100%);
  border-bottom: 1px solid var(--vca8-border);
  padding: 0 1.2rem;
  transition: var(--vca8-transition);
}
.vca8-header-scrolled { box-shadow: var(--vca8-shadow); }
.vca8-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.6rem;
}
.vca8-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--vca8-white);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}
.vca8-logo img { width: 28px; height: 28px; border-radius: 4px; }
.vca8-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vca8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--vca8-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--vca8-transition);
  min-height: 3.6rem;
  text-decoration: none;
}
.vca8-btn-register {
  background: linear-gradient(135deg, var(--vca8-primary), var(--vca8-accent));
  color: #fff;
}
.vca8-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(240,128,128,0.4); }
.vca8-btn-login {
  background: transparent;
  border: 1.5px solid var(--vca8-gold);
  color: var(--vca8-gold);
}
.vca8-btn-login:hover { background: var(--vca8-gold); color: var(--vca8-bg); }
.vca8-menu-toggle {
  background: none;
  border: none;
  color: var(--vca8-white);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.vca8-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--vca8-transition);
}
.vca8-overlay-active { opacity: 1; visibility: visible; }
.vca8-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vca8-bg-light);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.vca8-menu-active { right: 0; }
.vca8-menu-close {
  background: none;
  border: none;
  color: var(--vca8-white);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem; right: 1.2rem;
}
.vca8-mobile-menu nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--vca8-white);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--vca8-border);
  transition: var(--vca8-transition);
}
.vca8-mobile-menu nav a:hover { color: var(--vca8-primary); padding-left: 0.8rem; }

/* === Main Content === */
.vca8-main {
  padding-top: 5.6rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .vca8-main { padding-bottom: 80px; }
}

/* === Carousel === */
.vca8-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--vca8-radius) var(--vca8-radius);
  margin-bottom: 2rem;
}
.vca8-carousel-slide {
  display: none;
  cursor: pointer;
}
.vca8-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* === Section === */
.vca8-section {
  padding: 2rem 1.2rem;
}
.vca8-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vca8-white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--vca8-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vca8-section-title i { color: var(--vca8-primary); }

/* === Game Grid === */
.vca8-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.vca8-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--vca8-transition);
}
.vca8-game-item:hover { transform: translateY(-3px); }
.vca8-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--vca8-radius);
  border: 1px solid var(--vca8-border);
  margin-bottom: 0.4rem;
}
.vca8-game-item span {
  font-size: 1.1rem;
  color: var(--vca8-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Cards === */
.vca8-card {
  background: var(--vca8-bg-card);
  border-radius: var(--vca8-radius);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid var(--vca8-border);
}
.vca8-card h2, .vca8-card h3 {
  color: var(--vca8-white);
  margin-bottom: 1rem;
}
.vca8-card p {
  color: var(--vca8-text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* === Promo Buttons === */
.vca8-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--vca8-primary), var(--vca8-accent));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--vca8-transition);
  text-decoration: none;
  margin: 0.8rem 0;
}
.vca8-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(240,128,128,0.5); color: #fff; }

.vca8-promo-link {
  color: var(--vca8-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.vca8-promo-link:hover { color: var(--vca8-gold); }

/* === Footer === */
.vca8-footer {
  background: var(--vca8-bg-light);
  padding: 2rem 1.2rem;
  border-top: 1px solid var(--vca8-border);
}
.vca8-footer-brand { margin-bottom: 1.5rem; }
.vca8-footer-brand p {
  font-size: 1.3rem;
  color: var(--vca8-text-muted);
  line-height: 1.6;
}
.vca8-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.vca8-footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--vca8-bg-card);
  color: var(--vca8-text);
  border-radius: 4px;
  font-size: 1.2rem;
  border: 1px solid var(--vca8-border);
  transition: var(--vca8-transition);
}
.vca8-footer-links a:hover { border-color: var(--vca8-primary); color: var(--vca8-primary); }
.vca8-footer-copy {
  text-align: center;
  color: var(--vca8-text-muted);
  font-size: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vca8-border);
}

/* === Bottom Navigation === */
.vca8-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--vca8-bg-light) 0%, var(--vca8-bg) 100%);
  border-top: 1px solid var(--vca8-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
.vca8-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--vca8-text-muted);
  cursor: pointer;
  transition: var(--vca8-transition);
  padding: 0.2rem;
  position: relative;
}
.vca8-bottom-nav-btn i, .vca8-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 0.2rem;
  transition: var(--vca8-transition);
}
.vca8-bottom-nav-btn span {
  font-size: 1rem;
  white-space: nowrap;
}
.vca8-bottom-nav-btn:hover, .vca8-bottom-nav-btn.vca8-active {
  color: var(--vca8-primary);
}
.vca8-bottom-nav-btn:hover i, .vca8-bottom-nav-btn.vca8-active i,
.vca8-bottom-nav-btn:hover .material-icons, .vca8-bottom-nav-btn.vca8-active .material-icons {
  transform: scale(1.15);
}
.vca8-bottom-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 20px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  transition: var(--vca8-transition);
}
.vca8-bottom-nav-btn.vca8-active::after { background: var(--vca8-primary); }

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

/* === Utility Classes === */
.vca8-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vca8-text-center { text-align: center; }
.vca8-mb-1 { margin-bottom: 0.8rem; }
.vca8-mb-2 { margin-bottom: 1.6rem; }
.vca8-mb-3 { margin-bottom: 2.4rem; }
.vca8-mt-2 { margin-top: 1.6rem; }
.vca8-hidden { display: none; }

/* === FAQ Accordion === */
.vca8-faq-item { border-bottom: 1px solid var(--vca8-border); }
.vca8-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  color: var(--vca8-white);
  font-weight: 600;
  cursor: pointer;
  font-size: 1.4rem;
}
.vca8-faq-a {
  padding: 0 0 1.2rem;
  color: var(--vca8-text);
  font-size: 1.3rem;
  line-height: 1.6;
}

/* === Highlight Box === */
.vca8-highlight-box {
  background: linear-gradient(135deg, rgba(240,128,128,0.15), rgba(205,133,63,0.15));
  border: 1px solid rgba(240,128,128,0.3);
  border-radius: var(--vca8-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.vca8-highlight-box h3 { color: var(--vca8-primary); }

/* === Steps List === */
.vca8-steps { counter-reset: vca8-step; }
.vca8-steps li {
  counter-increment: vca8-step;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.2rem;
  color: var(--vca8-text);
  line-height: 1.6;
}
.vca8-steps li::before {
  content: counter(vca8-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--vca8-primary), var(--vca8-accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* === Testimonial === */
.vca8-testimonial {
  background: var(--vca8-bg-card);
  border-left: 3px solid var(--vca8-primary);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 0 var(--vca8-radius) var(--vca8-radius) 0;
}
.vca8-testimonial p { font-size: 1.3rem; font-style: italic; }
.vca8-testimonial cite {
  display: block;
  margin-top: 0.6rem;
  color: var(--vca8-gold);
  font-size: 1.2rem;
  font-style: normal;
}

/* === Winner Display === */
.vca8-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--vca8-border);
  font-size: 1.2rem;
}
.vca8-winner-row:last-child { border-bottom: none; }
.vca8-winner-name { color: var(--vca8-white); font-weight: 600; }
.vca8-winner-game { color: var(--vca8-text-muted); }
.vca8-winner-amount { color: var(--vca8-primary); font-weight: 700; }
