/**
 * cv99 - Gaming Platform Stylesheet
 * All classes use v4c4- prefix for namespace isolation
 * Color palette: #0A0A0A | #BAE1FF | #F8F9FA | #FFC0CB
 */

/* CSS Variables */
:root {
  --v4c4-primary: #BAE1FF;
  --v4c4-bg-dark: #0A0A0A;
  --v4c4-bg-card: #141414;
  --v4c4-bg-card2: #1a1a2e;
  --v4c4-text-light: #F8F9FA;
  --v4c4-accent: #FFC0CB;
  --v4c4-accent2: #e91e63;
  --v4c4-gold: #FFD700;
  --v4c4-border: rgba(186, 225, 255, 0.12);
  --v4c4-radius: 10px;
  --v4c4-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  font-size: 62.5%;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--v4c4-bg-dark);
  color: var(--v4c4-text-light);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: var(--v4c4-primary); text-decoration: none; }
a:hover { color: var(--v4c4-accent); }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.v4c4-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0d0d1a 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--v4c4-border);
  max-width: 430px; margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.v4c4-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.v4c4-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.v4c4-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--v4c4-primary); letter-spacing: 1px; }
.v4c4-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.v4c4-btn-register {
  background: linear-gradient(135deg, var(--v4c4-accent) 0%, var(--v4c4-accent2) 100%);
  color: #0A0A0A; font-weight: 700; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border: none; border-radius: 20px;
  cursor: pointer; white-space: nowrap;
}
.v4c4-btn-login {
  background: transparent; color: var(--v4c4-primary);
  border: 1px solid var(--v4c4-primary); font-size: 1.2rem;
  padding: 0.5rem 1rem; border-radius: 20px; cursor: pointer;
}
.v4c4-menu-toggle {
  background: none; border: none; color: var(--v4c4-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* ===== MOBILE MENU ===== */
.v4c4-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.v4c4-overlay-active { display: block; }
.v4c4-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100vh; z-index: 9999;
  background: #0d0d1a; padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.v4c4-menu-active { right: 0; }
.v4c4-menu-close {
  background: none; border: none; color: var(--v4c4-primary);
  font-size: 2.4rem; cursor: pointer; float: right;
}
.v4c4-menu-links { clear: both; margin-top: 2rem; }
.v4c4-menu-links a {
  display: block; padding: 1.2rem 0;
  color: var(--v4c4-text-light); font-size: 1.5rem;
  border-bottom: 1px solid var(--v4c4-border);
}
.v4c4-menu-links a:hover { color: var(--v4c4-accent); padding-left: 0.5rem; }

/* ===== MAIN CONTENT ===== */
.v4c4-main { padding-top: 60px; }
@media (max-width: 768px) {
  .v4c4-main { padding-bottom: 80px; }
}

/* ===== CAROUSEL ===== */
.v4c4-carousel { position: relative; overflow: hidden; }
.v4c4-slide { display: none; cursor: pointer; }
.v4c4-slide img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.v4c4-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.v4c4-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  border: none; padding: 0;
}
.v4c4-dot-active { background: var(--v4c4-accent); }

/* ===== SECTION ===== */
.v4c4-section {
  padding: 1.5rem 1rem;
}
.v4c4-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--v4c4-primary); margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--v4c4-accent);
}

/* ===== GAME GRID ===== */
.v4c4-cat-title {
  font-size: 1.5rem; font-weight: 600;
  color: var(--v4c4-accent); margin: 1.2rem 0 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.v4c4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v4c4-game-item {
  text-align: center; cursor: pointer;
  border-radius: var(--v4c4-radius);
  background: var(--v4c4-bg-card);
  padding: 0.5rem 0.2rem;
  transition: transform 0.2s;
}
.v4c4-game-item:active { transform: scale(0.95); }
.v4c4-game-item img {
  width: 56px; height: 56px;
  border-radius: 8px; margin: 0 auto 0.3rem;
  object-fit: cover;
}
.v4c4-game-name {
  font-size: 1rem; color: var(--v4c4-text-light);
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 100%;
  display: block;
}

/* ===== CONTENT CARD ===== */
.v4c4-card {
  background: var(--v4c4-bg-card);
  border: 1px solid var(--v4c4-border);
  border-radius: var(--v4c4-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.v4c4-card h3 {
  font-size: 1.5rem; color: var(--v4c4-primary);
  margin-bottom: 0.6rem;
}
.v4c4-card p {
  font-size: 1.3rem; color: #ccc; line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ===== PROMO LINKS ===== */
.v4c4-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v4c4-accent), var(--v4c4-accent2));
  color: #0A0A0A; font-weight: 700; font-size: 1.3rem;
  padding: 0.6rem 1.5rem; border-radius: 20px;
  cursor: pointer; border: none; text-align: center;
}
.v4c4-promo-text {
  color: var(--v4c4-accent); font-weight: 600;
  cursor: pointer; text-decoration: underline;
}
.v4c4-promo-text:hover { color: var(--v4c4-primary); }

/* ===== STATS ===== */
.v4c4-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem; margin: 0.8rem 0;
}
.v4c4-stat-item {
  background: var(--v4c4-bg-card2);
  border-radius: 8px; padding: 0.8rem;
  text-align: center;
}
.v4c4-stat-val { font-size: 1.8rem; font-weight: 700; color: var(--v4c4-gold); }
.v4c4-stat-label { font-size: 1rem; color: #999; margin-top: 0.2rem; }

/* ===== TESTIMONIALS ===== */
.v4c4-testimonial {
  background: var(--v4c4-bg-card2);
  border-radius: var(--v4c4-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v4c4-accent);
}
.v4c4-testimonial-name { font-weight: 600; color: var(--v4c4-primary); font-size: 1.3rem; }
.v4c4-testimonial-text { color: #bbb; font-size: 1.2rem; margin-top: 0.4rem; }
.v4c4-testimonial-stars { color: var(--v4c4-gold); font-size: 1.2rem; }

/* ===== PAYMENT ===== */
.v4c4-payment-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  justify-content: center; margin: 0.8rem 0;
}
.v4c4-payment-item {
  background: var(--v4c4-bg-card2);
  border-radius: 8px; padding: 0.6rem 1rem;
  font-size: 1.2rem; color: var(--v4c4-primary);
  border: 1px solid var(--v4c4-border);
}

/* ===== WINNERS ===== */
.v4c4-winner-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--v4c4-border);
  font-size: 1.2rem;
}
.v4c4-winner-name { color: var(--v4c4-primary); }
.v4c4-winner-amount { color: var(--v4c4-gold); font-weight: 600; }
.v4c4-winner-game { color: #888; }

/* ===== FOOTER ===== */
.v4c4-footer {
  background: #0d0d1a;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid var(--v4c4-border);
}
.v4c4-footer-brand {
  font-size: 1.2rem; color: #888; line-height: 1.6;
  margin-bottom: 1rem;
}
.v4c4-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem; justify-content: center;
}
.v4c4-footer-links a {
  background: var(--v4c4-bg-card);
  padding: 0.4rem 0.8rem; border-radius: 4px;
  font-size: 1.1rem; color: var(--v4c4-primary);
  border: 1px solid var(--v4c4-border);
}
.v4c4-footer-copy {
  text-align: center; font-size: 1.1rem;
  color: #555; margin-top: 0.8rem;
}

/* ===== BOTTOM NAV ===== */
.v4c4-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0d0d1a 0%, #060612 100%);
  border-top: 1px solid var(--v4c4-border);
  display: flex; justify-content: space-around;
  align-items: center; height: 60px;
  max-width: 430px; margin: 0 auto;
  padding: 0 0.3rem;
}
.v4c4-nav-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px;
  background: none; border: none;
  color: #888; cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.2rem;
}
.v4c4-nav-btn:active { transform: scale(0.9); }
.v4c4-nav-btn .v4c4-nav-icon { font-size: 2.2rem; line-height: 1; }
.v4c4-nav-btn .v4c4-nav-label { font-size: 1rem; margin-top: 0.15rem; }
.v4c4-nav-btn.v4c4-nav-active { color: var(--v4c4-accent); }
.v4c4-nav-btn:hover { color: var(--v4c4-primary); }

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

/* ===== FAQ ===== */
.v4c4-faq-item {
  background: var(--v4c4-bg-card);
  border-radius: var(--v4c4-radius);
  padding: 1rem; margin-bottom: 0.6rem;
}
.v4c4-faq-q {
  font-weight: 600; color: var(--v4c4-primary);
  font-size: 1.4rem; margin-bottom: 0.4rem;
}
.v4c4-faq-a { color: #bbb; font-size: 1.2rem; line-height: 1.5; }

/* ===== GUIDE STEPS ===== */
.v4c4-step {
  display: flex; gap: 1rem; margin-bottom: 1rem;
  align-items: flex-start;
}
.v4c4-step-num {
  min-width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--v4c4-accent), var(--v4c4-accent2));
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: #0A0A0A; font-size: 1.4rem;
}
.v4c4-step-content h3 {
  font-size: 1.4rem; color: var(--v4c4-primary); margin-bottom: 0.3rem;
}
.v4c4-step-content p {
  font-size: 1.2rem; color: #bbb; line-height: 1.5;
}

/* ===== FEATURE GRID ===== */
.v4c4-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v4c4-feature-item {
  background: var(--v4c4-bg-card2);
  border-radius: var(--v4c4-radius);
  padding: 1rem; text-align: center;
  border: 1px solid var(--v4c4-border);
}
.v4c4-feature-item .material-icons,
.v4c4-feature-item .fas,
.v4c4-feature-item .far {
  font-size: 2.4rem; color: var(--v4c4-accent); margin-bottom: 0.4rem;
}
.v4c4-feature-item h4 {
  font-size: 1.2rem; color: var(--v4c4-primary); margin-bottom: 0.3rem;
}
.v4c4-feature-item p { font-size: 1.1rem; color: #999; }

/* ===== DOWNLOAD CTA ===== */
.v4c4-download-box {
  background: linear-gradient(135deg, #1a1a2e, #0d0d1a);
  border: 2px solid var(--v4c4-accent);
  border-radius: var(--v4c4-radius);
  padding: 1.5rem; text-align: center;
}
.v4c4-download-box h3 {
  font-size: 1.6rem; color: var(--v4c4-primary); margin-bottom: 0.5rem;
}
.v4c4-download-box p {
  font-size: 1.2rem; color: #bbb; margin-bottom: 1rem;
}
