/*
 * winbd.click - Theme Stylesheet
 * Prefix: v7c4-
 * Colors: #FFFACD | #F4A460 | #B8860B | #1B263B
 */

/* CSS Variables */
:root {
  --v7c4-primary: #B8860B;
  --v7c4-secondary: #F4A460;
  --v7c4-accent: #FFFACD;
  --v7c4-bg: #1B263B;
  --v7c4-bg-light: #243447;
  --v7c4-bg-card: #1e3048;
  --v7c4-text: #FFFACD;
  --v7c4-text-muted: #c4a882;
  --v7c4-text-dark: #1B263B;
  --v7c4-border: #2d4a5e;
  --v7c4-gold: #B8860B;
  --v7c4-sand: #F4A460;
  --v7c4-cream: #FFFACD;
  --v7c4-radius: 10px;
  --v7c4-radius-sm: 6px;
  --v7c4-radius-lg: 16px;
  --v7c4-shadow: 0 4px 15px rgba(0,0,0,0.3);
  --v7c4-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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--v7c4-bg);
  color: var(--v7c4-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--v7c4-secondary); text-decoration: none; }
a:hover { color: var(--v7c4-cream); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* Header */
.v7c4-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--v7c4-bg) 0%, var(--v7c4-bg-light) 100%);
  border-bottom: 2px solid var(--v7c4-gold);
  padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.v7c4-header-logo {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.v7c4-header-logo img { width: 28px; height: 28px; border-radius: 50%; }
.v7c4-header-logo span { font-size: 1.8rem; font-weight: 700; color: var(--v7c4-gold); }
.v7c4-header-actions { display: flex; align-items: center; gap: 8px; }
.v7c4-btn-register {
  background: linear-gradient(135deg, var(--v7c4-gold), var(--v7c4-sand));
  color: var(--v7c4-text-dark); border: none; padding: 6px 14px;
  border-radius: var(--v7c4-radius-sm); font-size: 1.2rem; font-weight: 700;
  cursor: pointer; transition: var(--v7c4-transition);
  min-height: 36px;
}
.v7c4-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 10px rgba(184,134,11,0.5); }
.v7c4-btn-login {
  background: transparent; color: var(--v7c4-cream);
  border: 1.5px solid var(--v7c4-gold); padding: 6px 14px;
  border-radius: var(--v7c4-radius-sm); font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: var(--v7c4-transition);
  min-height: 36px;
}
.v7c4-btn-login:hover { background: rgba(184,134,11,0.15); }
.v7c4-menu-toggle {
  background: none; border: none; color: var(--v7c4-gold);
  font-size: 2rem; cursor: pointer; padding: 4px;
  display: flex; align-items: center;
}

/* Mobile Menu */
.v7c4-mobile-menu {
  position: fixed; top: 0; left: 0; width: 80%; max-width: 320px;
  height: 100vh; z-index: 9999;
  background: linear-gradient(180deg, var(--v7c4-bg) 0%, var(--v7c4-bg-light) 100%);
  transform: translateX(-100%); transition: transform 0.3s ease;
  padding: 20px 16px; overflow-y: auto;
}
.v7c4-mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 15px;
  border-bottom: 1px solid var(--v7c4-border);
}
.v7c4-mobile-menu-header span { font-size: 2rem; font-weight: 700; color: var(--v7c4-gold); }
.v7c4-mobile-menu-close {
  background: none; border: none; color: var(--v7c4-text);
  font-size: 2.4rem; cursor: pointer;
}
.v7c4-mobile-menu nav a {
  display: block; padding: 12px 10px; font-size: 1.4rem;
  color: var(--v7c4-cream); border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--v7c4-transition);
}
.v7c4-mobile-menu nav a:hover {
  color: var(--v7c4-gold); padding-left: 16px;
  background: rgba(184,134,11,0.08);
}
.v7c4-menu-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh; z-index: 9998;
  background: rgba(0,0,0,0.6);
}

/* Main Content */
.v7c4-main { padding-top: 56px; }
@media (max-width: 768px) {
  .v7c4-main { padding-bottom: 80px; }
}

/* Carousel */
.v7c4-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 var(--v7c4-radius) var(--v7c4-radius); }
.v7c4-carousel-slide {
  display: none; width: 100%; cursor: pointer;
  position: relative;
}
.v7c4-carousel-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.v7c4-carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.v7c4-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,250,205,0.4); cursor: pointer;
  transition: var(--v7c4-transition); border: none;
}
.v7c4-carousel-dot-active { background: var(--v7c4-gold); transform: scale(1.3); }

/* Section */
.v7c4-section { padding: 16px 12px; }
.v7c4-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v7c4-gold);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid rgba(184,134,11,0.3);
  display: flex; align-items: center; gap: 8px;
}
.v7c4-section-title i { font-size: 2rem; }

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

/* Category Title */
.v7c4-cat-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v7c4-sand);
  margin: 14px 0 8px; padding-left: 4px;
  border-left: 3px solid var(--v7c4-gold); padding-left: 8px;
}

/* Cards */
.v7c4-card {
  background: var(--v7c4-bg-card); border-radius: var(--v7c4-radius);
  padding: 14px; margin-bottom: 12px;
  border: 1px solid var(--v7c4-border);
}
.v7c4-card h3 { font-size: 1.5rem; color: var(--v7c4-gold); margin-bottom: 8px; }
.v7c4-card p { font-size: 1.3rem; color: var(--v7c4-text); line-height: 1.8rem; }

/* Promo Link */
.v7c4-promo-link {
  display: inline-block; color: var(--v7c4-sand); font-weight: 700;
  cursor: pointer; text-decoration: underline;
  transition: var(--v7c4-transition);
}
.v7c4-promo-link:hover { color: var(--v7c4-gold); }

.v7c4-btn-play {
  display: inline-block; padding: 10px 24px;
  background: linear-gradient(135deg, var(--v7c4-gold), var(--v7c4-sand));
  color: var(--v7c4-text-dark); font-weight: 700; font-size: 1.4rem;
  border: none; border-radius: var(--v7c4-radius);
  cursor: pointer; transition: var(--v7c4-transition);
  text-align: center; min-height: 44px;
}
.v7c4-btn-play:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(184,134,11,0.5); }

/* Footer */
.v7c4-footer {
  background: linear-gradient(180deg, var(--v7c4-bg-light), var(--v7c4-bg));
  padding: 20px 12px; text-align: center;
  border-top: 2px solid var(--v7c4-gold);
}
.v7c4-footer-desc { font-size: 1.2rem; color: var(--v7c4-text-muted); margin-bottom: 14px; line-height: 1.7rem; }
.v7c4-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.v7c4-footer-links a {
  padding: 5px 12px; background: var(--v7c4-bg-card);
  border: 1px solid var(--v7c4-border); border-radius: var(--v7c4-radius-sm);
  font-size: 1.1rem; color: var(--v7c4-cream); transition: var(--v7c4-transition);
}
.v7c4-footer-links a:hover { border-color: var(--v7c4-gold); color: var(--v7c4-gold); }
.v7c4-footer-copy { font-size: 1.1rem; color: var(--v7c4-text-muted); }

/* Bottom Navigation */
.v7c4-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 100%; max-width: 430px;
  z-index: 1000; background: linear-gradient(180deg, var(--v7c4-bg-light), var(--v7c4-bg));
  border-top: 2px solid var(--v7c4-gold);
  height: 60px;
}
.v7c4-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center;
  height: 100%; padding: 0 4px;
}
.v7c4-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 54px;
  background: none; border: none; cursor: pointer;
  color: var(--v7c4-text-muted); transition: var(--v7c4-transition);
  padding: 4px 2px; border-radius: var(--v7c4-radius-sm);
}
.v7c4-bottom-nav-btn:hover { color: var(--v7c4-gold); transform: scale(1.1); }
.v7c4-bottom-nav-btn.active { color: var(--v7c4-gold); }
.v7c4-bottom-nav-btn i, .v7c4-bottom-nav-btn .material-icons {
  font-size: 22px; margin-bottom: 2px;
}
.v7c4-bottom-nav-btn span { font-size: 1rem; line-height: 1.2rem; }

@media (max-width: 768px) {
  .v7c4-bottom-nav { display: block; }
}

/* Utility Classes */
.v7c4-text-center { text-align: center; }
.v7c4-text-gold { color: var(--v7c4-gold); }
.v7c4-text-sand { color: var(--v7c4-sand); }
.v7c4-mt-1 { margin-top: 8px; }
.v7c4-mt-2 { margin-top: 16px; }
.v7c4-mb-1 { margin-bottom: 8px; }
.v7c4-mb-2 { margin-bottom: 16px; }
.v7c4-hidden { display: none; }

/* FAQ */
.v7c4-faq-item {
  background: var(--v7c4-bg-card); border-radius: var(--v7c4-radius-sm);
  margin-bottom: 10px; padding: 12px; border: 1px solid var(--v7c4-border);
}
.v7c4-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--v7c4-gold); margin-bottom: 6px; }
.v7c4-faq-a { font-size: 1.3rem; color: var(--v7c4-text); line-height: 1.7rem; }

/* Features Grid */
.v7c4-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.v7c4-feature-item {
  background: var(--v7c4-bg-card); border-radius: var(--v7c4-radius-sm);
  padding: 12px; text-align: center; border: 1px solid var(--v7c4-border);
  transition: var(--v7c4-transition);
}
.v7c4-feature-item:hover { border-color: var(--v7c4-gold); }
.v7c4-feature-item i { font-size: 2.4rem; color: var(--v7c4-gold); margin-bottom: 6px; }
.v7c4-feature-item h4 { font-size: 1.3rem; color: var(--v7c4-cream); margin-bottom: 4px; }
.v7c4-feature-item p { font-size: 1.1rem; color: var(--v7c4-text-muted); }

/* Testimonials */
.v7c4-testimonial {
  background: var(--v7c4-bg-card); border-radius: var(--v7c4-radius);
  padding: 12px; margin-bottom: 10px;
  border-left: 3px solid var(--v7c4-gold);
}
.v7c4-testimonial p { font-size: 1.2rem; color: var(--v7c4-cream); font-style: italic; line-height: 1.6rem; }
.v7c4-testimonial cite { font-size: 1.1rem; color: var(--v7c4-sand); display: block; margin-top: 6px; }

/* Payment Methods */
.v7c4-payment-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.v7c4-payment-item {
  background: var(--v7c4-bg-card); border-radius: var(--v7c4-radius-sm);
  padding: 8px 16px; font-size: 1.2rem; color: var(--v7c4-cream);
  border: 1px solid var(--v7c4-border);
}

/* Winners */
.v7c4-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.2rem;
}
.v7c4-winner-name { color: var(--v7c4-cream); }
.v7c4-winner-game { color: var(--v7c4-text-muted); }
.v7c4-winner-amount { color: var(--v7c4-gold); font-weight: 700; }

/* App Download CTA */
.v7c4-app-cta {
  background: linear-gradient(135deg, rgba(184,134,11,0.2), rgba(244,164,96,0.15));
  border-radius: var(--v7c4-radius); padding: 16px;
  text-align: center; border: 1px solid var(--v7c4-gold);
}
.v7c4-app-cta h3 { font-size: 1.6rem; color: var(--v7c4-gold); margin-bottom: 8px; }
.v7c4-app-cta p { font-size: 1.2rem; color: var(--v7c4-cream); margin-bottom: 12px; }

/* Guide Steps */
.v7c4-step {
  display: flex; gap: 12px; margin-bottom: 12px;
  align-items: flex-start;
}
.v7c4-step-num {
  min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--v7c4-gold); color: var(--v7c4-text-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
}
.v7c4-step-content h4 { font-size: 1.3rem; color: var(--v7c4-gold); margin-bottom: 3px; }
.v7c4-step-content p { font-size: 1.2rem; color: var(--v7c4-text); line-height: 1.6rem; }

/* Desktop: hide bottom nav, show wider layout */
@media (min-width: 769px) {
  .v7c4-bottom-nav { display: none !important; }
  body { max-width: 100%; }
  .v7c4-header { max-width: 100%; }
}
