/**
 * p828.click - Theme Stylesheet
 * All classes use prefix: vfda-
 * Color palette: #48D1CC | #F08080 | #696969 | #ECF0F1 | #3A3A3A
 */

:root {
  --vfda-primary: #48D1CC;
  --vfda-accent: #F08080;
  --vfda-muted: #696969;
  --vfda-light: #ECF0F1;
  --vfda-dark: #3A3A3A;
  --vfda-bg: #1a1a2e;
  --vfda-card-bg: #252542;
  --vfda-text: #ECF0F1;
  --vfda-gold: #FFD700;
  --vfda-gradient: linear-gradient(135deg, #48D1CC 0%, #3bb5b0 100%);
  --vfda-shadow: 0 4px 12px rgba(0,0,0,0.3);
  --vfda-radius: 8px;
  --vfda-radius-lg: 16px;
}

/* 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, sans-serif;
  background: var(--vfda-bg);
  color: var(--vfda-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vfda-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.vfda-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 5.2rem;
  background: var(--vfda-dark);
  border-bottom: 2px solid var(--vfda-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
}
.vfda-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.vfda-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 4px; }
.vfda-logo-area span { color: var(--vfda-primary); font-size: 1.6rem; font-weight: 700; }
.vfda-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vfda-btn-register {
  background: var(--vfda-gradient); color: #fff;
  padding: 0.5rem 1.2rem; border-radius: var(--vfda-radius);
  font-size: 1.2rem; font-weight: 600; border: none; cursor: pointer;
}
.vfda-btn-login {
  background: transparent; color: var(--vfda-primary);
  padding: 0.5rem 1.2rem; border-radius: var(--vfda-radius);
  font-size: 1.2rem; font-weight: 600; border: 1.5px solid var(--vfda-primary); cursor: pointer;
}
.vfda-menu-toggle {
  background: none; border: none; color: var(--vfda-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.vfda-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: all 0.3s;
}
.vfda-overlay-active { opacity: 1; visibility: visible; }
.vfda-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--vfda-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.vfda-menu-active { right: 0; }
.vfda-mobile-menu .vfda-menu-close {
  background: none; border: none; color: var(--vfda-primary);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.vfda-mobile-menu nav { margin-top: 3rem; }
.vfda-mobile-menu nav a {
  display: block; padding: 1rem 0; color: var(--vfda-light);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.vfda-mobile-menu nav a:hover { color: var(--vfda-primary); }

/* Carousel */
.vfda-carousel {
  position: relative; margin-top: 5.2rem; overflow: hidden;
  border-radius: 0 0 var(--vfda-radius) var(--vfda-radius);
}
.vfda-slide { display: none; cursor: pointer; }
.vfda-slide img { width: 100%; height: 18rem; object-fit: cover; }
.vfda-dots {
  position: absolute; bottom: 0.8rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.6rem;
}
.vfda-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  border: none; transition: background 0.3s;
}
.vfda-dot-active { background: var(--vfda-primary); }

/* Main content */
.vfda-main { padding: 1.5rem 1.2rem; }

/* Section titles */
.vfda-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--vfda-primary);
  margin: 2rem 0 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--vfda-primary);
}
.vfda-section-subtitle {
  font-size: 1.4rem; font-weight: 600; color: var(--vfda-accent);
  margin: 1.5rem 0 0.8rem;
}

/* Game grid */
.vfda-game-section { margin-bottom: 2rem; }
.vfda-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vfda-game-card {
  text-align: center; cursor: pointer;
  background: var(--vfda-card-bg); border-radius: var(--vfda-radius);
  padding: 0.6rem; transition: transform 0.2s, box-shadow 0.2s;
}
.vfda-game-card:hover { transform: translateY(-2px); box-shadow: var(--vfda-shadow); }
.vfda-game-card img {
  width: 100%; aspect-ratio: 1; border-radius: 6px;
  margin-bottom: 0.3rem; object-fit: cover;
}
.vfda-game-card span {
  font-size: 1rem; color: var(--vfda-light); line-height: 1.2;
  display: block; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content blocks */
.vfda-content-block {
  background: var(--vfda-card-bg); border-radius: var(--vfda-radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.vfda-content-block h2 {
  font-size: 1.6rem; color: var(--vfda-primary); margin-bottom: 0.8rem;
}
.vfda-content-block h3 {
  font-size: 1.4rem; color: var(--vfda-accent); margin: 1rem 0 0.5rem;
}
.vfda-content-block p {
  font-size: 1.3rem; color: var(--vfda-light); margin-bottom: 0.8rem;
  line-height: 1.6;
}
.vfda-content-block ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.vfda-content-block li {
  font-size: 1.3rem; color: var(--vfda-light); margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* Promo link styling */
.vfda-promo-link {
  color: var(--vfda-accent); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}
.vfda-promo-btn {
  display: inline-block; background: var(--vfda-gradient);
  color: #fff; padding: 0.8rem 1.6rem; border-radius: var(--vfda-radius);
  font-size: 1.3rem; font-weight: 600; border: none; cursor: pointer;
  margin: 0.5rem 0; transition: transform 0.2s;
}
.vfda-promo-btn:hover { transform: scale(1.03); }
.vfda-promo-btn-outline {
  display: inline-block; background: transparent;
  color: var(--vfda-primary); padding: 0.7rem 1.4rem;
  border-radius: var(--vfda-radius); font-size: 1.3rem;
  font-weight: 600; border: 2px solid var(--vfda-primary); cursor: pointer;
  margin: 0.5rem 0; transition: all 0.2s;
}
.vfda-promo-btn-outline:hover {
  background: var(--vfda-primary); color: var(--vfda-dark);
}

/* Stats grid */
.vfda-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.vfda-stat-card {
  background: rgba(72,209,204,0.1); border-radius: var(--vfda-radius);
  padding: 1rem; text-align: center; border: 1px solid rgba(72,209,204,0.2);
}
.vfda-stat-card .vfda-stat-num {
  font-size: 2rem; font-weight: 700; color: var(--vfda-primary);
}
.vfda-stat-card .vfda-stat-label {
  font-size: 1.1rem; color: var(--vfda-muted); margin-top: 0.2rem;
}

/* Testimonial */
.vfda-testimonial {
  background: rgba(240,128,128,0.1); border-radius: var(--vfda-radius);
  padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--vfda-accent);
}
.vfda-testimonial p { font-size: 1.2rem; font-style: italic; }
.vfda-testimonial .vfda-author {
  font-size: 1.1rem; color: var(--vfda-primary); font-weight: 600;
  margin-top: 0.4rem; font-style: normal;
}

/* Payment icons */
.vfda-payment-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0.8rem 0;
}
.vfda-payment-item {
  background: rgba(255,255,255,0.1); border-radius: 6px;
  padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--vfda-light);
}

/* Winner showcase */
.vfda-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vfda-winner-item .vfda-winner-name {
  font-size: 1.2rem; color: var(--vfda-light); flex: 1;
}
.vfda-winner-item .vfda-winner-amount {
  font-size: 1.3rem; color: var(--vfda-gold); font-weight: 700;
}

/* App download CTA */
.vfda-app-cta {
  background: linear-gradient(135deg, var(--vfda-dark) 0%, #16213e 100%);
  border-radius: var(--vfda-radius-lg); padding: 1.5rem;
  text-align: center; margin: 1.5rem 0;
  border: 1px solid var(--vfda-primary);
}
.vfda-app-cta h3 { color: var(--vfda-primary); font-size: 1.6rem; margin-bottom: 0.6rem; }
.vfda-app-cta p { color: var(--vfda-light); font-size: 1.2rem; margin-bottom: 1rem; }

/* Footer */
.vfda-footer {
  background: var(--vfda-dark); padding: 2rem 1.2rem 8rem;
  border-top: 2px solid var(--vfda-primary);
}
.vfda-footer-brand {
  font-size: 1.3rem; color: var(--vfda-muted); line-height: 1.6;
  margin-bottom: 1.5rem;
}
.vfda-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.vfda-footer-links a {
  background: rgba(72,209,204,0.15); color: var(--vfda-primary);
  padding: 0.5rem 1rem; border-radius: var(--vfda-radius);
  font-size: 1.1rem; transition: background 0.2s;
}
.vfda-footer-links a:hover { background: rgba(72,209,204,0.3); }
.vfda-footer-copyright {
  font-size: 1.1rem; color: var(--vfda-muted); text-align: center;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
}

/* Bottom navigation */
.vfda-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 6rem;
  background: var(--vfda-dark); border-top: 2px solid var(--vfda-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 0.4rem;
}
.vfda-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 5.8rem; min-height: 5.4rem;
  background: none; border: none; color: var(--vfda-muted);
  cursor: pointer; transition: all 0.25s; border-radius: 8px;
  padding: 0.3rem;
}
.vfda-bottom-nav-btn:hover,
.vfda-bottom-nav-btn:active { color: var(--vfda-primary); transform: scale(1.05); }
.vfda-bottom-nav-btn .vfda-nav-icon { font-size: 2.2rem; margin-bottom: 0.1rem; }
.vfda-bottom-nav-btn .vfda-nav-label { font-size: 1rem; line-height: 1.2; }
.vfda-nav-active { color: var(--vfda-primary) !important; }
.vfda-nav-active .vfda-nav-icon { color: var(--vfda-accent); }

/* Help page FAQ */
.vfda-faq-item {
  background: var(--vfda-card-bg); border-radius: var(--vfda-radius);
  padding: 1.2rem; margin-bottom: 1rem;
}
.vfda-faq-item h3 {
  font-size: 1.3rem; color: var(--vfda-primary); margin-bottom: 0.5rem;
}
.vfda-faq-item p {
  font-size: 1.2rem; color: var(--vfda-light); line-height: 1.6;
}

/* Feature card */
.vfda-feature-card {
  background: var(--vfda-card-bg); border-radius: var(--vfda-radius);
  padding: 1.2rem; margin-bottom: 1rem; display: flex; gap: 1rem;
  align-items: flex-start;
}
.vfda-feature-card .vfda-feature-icon {
  font-size: 2.4rem; color: var(--vfda-primary); flex-shrink: 0;
  width: 4rem; height: 4rem; display: flex; align-items: center;
  justify-content: center; background: rgba(72,209,204,0.1);
  border-radius: var(--vfda-radius);
}
.vfda-feature-card .vfda-feature-text h3 {
  font-size: 1.3rem; color: var(--vfda-primary); margin-bottom: 0.3rem;
}
.vfda-feature-card .vfda-feature-text p {
  font-size: 1.2rem; color: var(--vfda-light); line-height: 1.5;
}

/* Category highlight */
.vfda-cat-highlight {
  display: flex; gap: 0.8rem; margin-bottom: 1rem;
  background: var(--vfda-card-bg); border-radius: var(--vfda-radius);
  padding: 1rem; cursor: pointer; transition: transform 0.2s;
}
.vfda-cat-highlight:hover { transform: scale(1.02); }
.vfda-cat-highlight img {
  width: 5rem; height: 5rem; border-radius: 6px; object-fit: cover;
}
.vfda-cat-highlight .vfda-cat-info h3 {
  font-size: 1.3rem; color: var(--vfda-primary); margin-bottom: 0.2rem;
}
.vfda-cat-highlight .vfda-cat-info p {
  font-size: 1.1rem; color: var(--vfda-muted);
}

/* Internal link style */
.vfda-internal-link {
  color: var(--vfda-accent); text-decoration: underline;
  font-weight: 500;
}
.vfda-internal-link:hover { color: var(--vfda-primary); }

/* Responsive */
@media (max-width: 768px) {
  .vfda-main { padding-bottom: 7.5rem; }
}
@media (min-width: 769px) {
  .vfda-bottom-nav { display: none; }
}
