/**
 * 369club - Main Stylesheet
 * All classes use vb1f- prefix for namespace isolation
 * Color palette: #FF8000 | #A0522D | #D2691E | #FFD700 | #1E1E1E
 */

/* CSS Variables */
:root {
  --vb1f-primary: #FF8000;
  --vb1f-secondary: #D2691E;
  --vb1f-accent: #FFD700;
  --vb1f-dark: #1E1E1E;
  --vb1f-brown: #A0522D;
  --vb1f-bg: #141414;
  --vb1f-bg-card: #1f1f1f;
  --vb1f-text: #f0f0f0;
  --vb1f-text-muted: #a0a0a0;
  --vb1f-border: #2a2a2a;
  --vb1f-gradient: linear-gradient(135deg, #FF8000 0%, #D2691E 50%, #A0522D 100%);
  --vb1f-radius: 8px;
  --vb1f-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

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

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

/* Header */
.vb1f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border-bottom: 2px solid var(--vb1f-primary);
  max-width: 430px; margin: 0 auto;
}
.vb1f-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 52px;
}
.vb1f-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.vb1f-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.vb1f-logo-text { font-size: 1.6rem; font-weight: 800; color: var(--vb1f-primary); letter-spacing: 0.5px; }
.vb1f-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vb1f-btn-register {
  background: var(--vb1f-gradient); color: #fff; border: none;
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; transition: transform 0.2s;
}
.vb1f-btn-register:hover { transform: scale(1.05); }
.vb1f-btn-login {
  background: transparent; color: var(--vb1f-accent);
  border: 1px solid var(--vb1f-accent); padding: 0.5rem 1rem;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.vb1f-btn-login:hover { background: rgba(255,215,0,0.1); }
.vb1f-menu-toggle {
  background: none; border: none; color: var(--vb1f-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.vb1f-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.vb1f-overlay-active { display: block; }
.vb1f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: #111; z-index: 9999; transition: right 0.3s ease;
  padding: 6rem 0 2rem; overflow-y: auto;
}
.vb1f-menu-active { right: 0; }
.vb1f-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 2rem; color: var(--vb1f-text); font-size: 1.4rem;
  border-bottom: 1px solid var(--vb1f-border); transition: background 0.2s;
}
.vb1f-mobile-menu a:hover { background: rgba(255,128,0,0.1); }
.vb1f-mobile-menu .material-icons { font-size: 20px; color: var(--vb1f-primary); }
.vb1f-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: none; border: none; color: var(--vb1f-text);
  font-size: 2.4rem; cursor: pointer;
}

/* Carousel */
.vb1f-carousel { position: relative; margin-top: 52px; overflow: hidden; }
.vb1f-carousel-slide { display: none; cursor: pointer; }
.vb1f-carousel-slide:first-child { display: block; }
.vb1f-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.vb1f-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.vb1f-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
}
.vb1f-carousel-dot.active { background: var(--vb1f-primary); }

/* Section Titles */
.vb1f-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--vb1f-primary);
  margin: 2rem 0 1.2rem; padding-left: 1.2rem;
  border-left: 4px solid var(--vb1f-accent);
}
.vb1f-section-subtitle {
  font-size: 1.4rem; color: var(--vb1f-text-muted);
  margin-bottom: 1.2rem; padding: 0 1.2rem;
}

/* Game Grid */
.vb1f-game-category { margin-bottom: 2rem; }
.vb1f-cat-label {
  font-size: 1.3rem; font-weight: 700; color: var(--vb1f-accent);
  margin: 1.4rem 0 0.8rem; padding: 0 1.2rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.vb1f-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0 1.2rem;
}
.vb1f-game-card { text-align: center; cursor: pointer; }
.vb1f-game-card img {
  width: 100%; aspect-ratio: 1; border-radius: var(--vb1f-radius);
  border: 2px solid var(--vb1f-border); transition: border-color 0.2s;
  object-fit: cover;
}
.vb1f-game-card img:hover { border-color: var(--vb1f-primary); }
.vb1f-game-card span {
  display: block; font-size: 1.1rem; color: var(--vb1f-text-muted);
  margin-top: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content Sections */
.vb1f-content-section {
  background: var(--vb1f-bg-card); border-radius: var(--vb1f-radius);
  padding: 1.6rem; margin: 1.2rem; box-shadow: var(--vb1f-shadow);
}
.vb1f-content-section h2 {
  font-size: 1.6rem; color: var(--vb1f-primary); margin-bottom: 1rem;
}
.vb1f-content-section h3 {
  font-size: 1.4rem; color: var(--vb1f-accent); margin: 1rem 0 0.6rem;
}
.vb1f-content-section p {
  color: var(--vb1f-text-muted); line-height: 1.6; margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* Buttons */
.vb1f-btn {
  display: inline-block; background: var(--vb1f-gradient);
  color: #fff; padding: 0.8rem 2rem; border-radius: 24px;
  font-size: 1.3rem; font-weight: 700; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.vb1f-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,128,0,0.3); }
.vb1f-btn-outline {
  background: transparent; border: 2px solid var(--vb1f-primary);
  color: var(--vb1f-primary); padding: 0.6rem 1.6rem;
  border-radius: 24px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.vb1f-btn-outline:hover { background: rgba(255,128,0,0.1); }
.vb1f-btn-sm {
  padding: 0.4rem 1rem; font-size: 1.1rem; border-radius: 16px;
}

/* Footer */
.vb1f-footer {
  background: #0a0a0a; padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--vb1f-brown);
}
.vb1f-footer-brand { text-align: center; margin-bottom: 1.4rem; }
.vb1f-footer-brand p { color: var(--vb1f-text-muted); font-size: 1.2rem; line-height: 1.5; }
.vb1f-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.vb1f-footer-links a {
  color: var(--vb1f-accent); font-size: 1.1rem; font-weight: 600;
  padding: 0.4rem 0.8rem; background: rgba(255,215,0,0.05);
  border-radius: 12px; transition: background 0.2s;
}
.vb1f-footer-links a:hover { background: rgba(255,215,0,0.15); }
.vb1f-footer-copy {
  text-align: center; color: #555; font-size: 1.1rem;
  border-top: 1px solid var(--vb1f-border); padding-top: 1rem;
}

/* Bottom Navigation */
.vb1f-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  border-top: 2px solid var(--vb1f-primary);
  height: 60px; max-width: 430px; margin: 0 auto;
}
.vb1f-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center;
  height: 100%; padding: 0 0.4rem;
}
.vb1f-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 48px;
  background: none; border: none; cursor: pointer;
  color: var(--vb1f-text-muted); transition: all 0.2s;
  padding: 0.3rem; position: relative;
}
.vb1f-bottom-btn .material-icons,
.vb1f-bottom-btn .fas,
.vb1f-bottom-btn .far,
.vb1f-bottom-btn .bi,
.vb1f-bottom-btn ion-icon { font-size: 22px; transition: color 0.2s, transform 0.2s; }
.vb1f-bottom-btn span {
  font-size: 10px; margin-top: 2px; font-weight: 600;
}
.vb1f-bottom-btn:hover,
.vb1f-bottom-btn:focus {
  color: var(--vb1f-primary);
}
.vb1f-bottom-btn:hover .material-icons,
.vb1f-bottom-btn:hover .fas,
.vb1f-bottom-btn:hover .far,
.vb1f-bottom-btn:hover .bi,
.vb1f-bottom-btn:hover ion-icon {
  transform: scale(1.15); color: var(--vb1f-primary);
}
.vb1f-bottom-btn-active {
  color: var(--vb1f-primary) !important;
}
.vb1f-bottom-btn-active::after {
  content: ''; position: absolute; top: -2px; left: 50%;
  transform: translateX(-50%); width: 30px; height: 3px;
  background: var(--vb1f-primary); border-radius: 0 0 3px 3px;
}

/* RTP Table */
.vb1f-rtp-table {
  width: 100%; border-collapse: collapse; margin: 0.8rem 0;
  font-size: 1.2rem;
}
.vb1f-rtp-table th {
  background: var(--vb1f-dark); color: var(--vb1f-accent);
  padding: 0.6rem; text-align: left; border-bottom: 2px solid var(--vb1f-primary);
}
.vb1f-rtp-table td {
  padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--vb1f-border);
  color: var(--vb1f-text-muted);
}
.vb1f-rtp-high { color: #4caf50; font-weight: 700; }
.vb1f-rtp-mid { color: var(--vb1f-accent); font-weight: 600; }

/* Testimonials */
.vb1f-testimonial {
  background: rgba(255,128,0,0.05); border-left: 3px solid var(--vb1f-primary);
  padding: 1rem; margin: 0.8rem 0; border-radius: 0 var(--vb1f-radius) var(--vb1f-radius) 0;
}
.vb1f-testimonial p { font-style: italic; font-size: 1.2rem; }
.vb1f-testimonial cite {
  display: block; color: var(--vb1f-accent); font-size: 1.1rem;
  margin-top: 0.4rem; font-style: normal;
}

/* Winners */
.vb1f-winner {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--vb1f-border);
}
.vb1f-winner-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vb1f-gradient); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.vb1f-winner-info { flex: 1; }
.vb1f-winner-name { font-size: 1.2rem; font-weight: 600; color: var(--vb1f-text); }
.vb1f-winner-game { font-size: 1.1rem; color: var(--vb1f-text-muted); }
.vb1f-winner-amount { font-size: 1.3rem; font-weight: 800; color: #4caf50; }

/* Payment Methods */
.vb1f-payment-row {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; padding: 0.8rem 0;
}
.vb1f-payment-item {
  background: var(--vb1f-bg-card); border: 1px solid var(--vb1f-border);
  border-radius: var(--vb1f-radius); padding: 0.6rem 1rem;
  font-size: 1.1rem; color: var(--vb1f-text-muted);
}

/* CTA Banner */
.vb1f-cta {
  background: var(--vb1f-gradient); border-radius: var(--vb1f-radius);
  padding: 2rem; text-align: center; margin: 1.2rem;
}
.vb1f-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.8rem; }
.vb1f-cta p { color: rgba(255,255,255,0.9); font-size: 1.3rem; margin-bottom: 1.2rem; }
.vb1f-cta .vb1f-btn { background: #fff; color: var(--vb1f-dark); }

/* Highlights */
.vb1f-highlight-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.vb1f-highlight-card {
  background: var(--vb1f-bg-card); border-radius: var(--vb1f-radius);
  padding: 1.2rem; text-align: center; border: 1px solid var(--vb1f-border);
}
.vb1f-highlight-card .material-icons { font-size: 28px; color: var(--vb1f-primary); }
.vb1f-highlight-card h4 { font-size: 1.2rem; color: var(--vb1f-text); margin: 0.6rem 0 0.3rem; }
.vb1f-highlight-card p { font-size: 1.1rem; color: var(--vb1f-text-muted); }

/* Promo link text */
.vb1f-promo-link {
  color: var(--vb1f-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.vb1f-promo-link:hover { color: var(--vb1f-accent); }

/* FAQ */
.vb1f-faq-item { margin: 0.8rem 0; }
.vb1f-faq-q {
  font-size: 1.3rem; font-weight: 700; color: var(--vb1f-primary);
  margin-bottom: 0.4rem;
}
.vb1f-faq-a { font-size: 1.2rem; color: var(--vb1f-text-muted); line-height: 1.5; }

/* Achievements */
.vb1f-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,128,0,0.1); border: 1px solid var(--vb1f-primary);
  border-radius: 20px; padding: 0.3rem 0.8rem; margin: 0.3rem;
  font-size: 1.1rem; color: var(--vb1f-accent);
}

/* Tricks */
.vb1f-trick {
  display: flex; gap: 0.8rem; margin: 0.6rem 0; align-items: flex-start;
}
.vb1f-trick-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--vb1f-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
}
.vb1f-trick-text { font-size: 1.2rem; color: var(--vb1f-text-muted); line-height: 1.5; }

/* Main content padding for fixed elements */
main { padding-top: 52px; }

/* Responsive - Mobile bottom nav visible */
@media (max-width: 768px) {
  .vb1f-bottom-nav { display: block; }
  main { padding-bottom: 80px; }
  .vb1f-footer { padding-bottom: 80px; }
}

/* Desktop - hide mobile elements */
@media (min-width: 769px) {
  .vb1f-bottom-nav { display: none; }
  .vb1f-menu-toggle { display: none; }
}
