/**
 * jiliphgo.click - Main Stylesheet
 * All classes use v50f- prefix for namespace isolation
 * Color palette: #0C0C0C #1a1a1a #D4AF37 #FFCC33 #A9A9A9 #F5F5F5
 * Mobile-first design (max 430px)
 */

/* Root variables */
:root {
  --v50f-bg-dark: #0C0C0C;
  --v50f-bg-card: #1a1a1a;
  --v50f-gold: #D4AF37;
  --v50f-gold-light: #FFCC33;
  --v50f-gray: #A9A9A9;
  --v50f-white: #F5F5F5;
  --v50f-accent: #D4AF37;
  --v50f-radius: 8px;
  --v50f-radius-lg: 12px;
  --v50f-shadow: 0 4px 12px rgba(0,0,0,0.4);
  --v50f-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', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--v50f-bg-dark);
  color: var(--v50f-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}
a { color: var(--v50f-gold); text-decoration: none; }
a:hover { color: var(--v50f-gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* Utility */
.v50f-container { width: 100%; padding: 0 1.2rem; max-width: 430px; margin: 0 auto; }
.v50f-wrapper { padding: 1.6rem 0; }
.v50f-text-center { text-align: center; }
.v50f-text-gold { color: var(--v50f-gold); }
.v50f-text-gray { color: var(--v50f-gray); }
.v50f-mt-1 { margin-top: 0.8rem; }
.v50f-mt-2 { margin-top: 1.6rem; }
.v50f-mt-3 { margin-top: 2.4rem; }
.v50f-mb-1 { margin-bottom: 0.8rem; }
.v50f-mb-2 { margin-bottom: 1.6rem; }

/* Header */
.v50f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0C0C0C 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  height: 56px; display: flex; align-items: center;
  max-width: 430px; margin: 0 auto;
  padding: 0 1rem;
}
.v50f-header-left { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.v50f-logo { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.v50f-brand { font-size: 1.6rem; font-weight: 700; color: var(--v50f-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v50f-header-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* Buttons */
.v50f-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--v50f-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--v50f-transition);
  text-decoration: none; white-space: nowrap;
}
.v50f-btn:hover { transform: translateY(-1px); opacity: 0.9; }
.v50f-btn-register {
  background: linear-gradient(135deg, var(--v50f-gold) 0%, var(--v50f-gold-light) 100%);
  color: #0C0C0C; font-weight: 700;
}
.v50f-btn-login {
  background: transparent; border: 1px solid var(--v50f-gold);
  color: var(--v50f-gold);
}
.v50f-btn-promo {
  background: linear-gradient(135deg, var(--v50f-gold) 0%, #e8c547 100%);
  color: #0C0C0C; font-weight: 700; padding: 1rem 2.4rem;
  font-size: 1.4rem; border-radius: var(--v50f-radius-lg);
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}
.v50f-btn-promo:hover { box-shadow: 0 6px 20px rgba(212,175,55,0.5); }
.v50f-btn-outline {
  background: transparent; border: 1px solid var(--v50f-gold);
  color: var(--v50f-gold); padding: 0.8rem 2rem;
  border-radius: var(--v50f-radius-lg);
}
.v50f-menu-btn {
  background: none; border: none; color: var(--v50f-gold);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu Overlay */
.v50f-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: var(--v50f-transition);
}
.v50f-overlay-active { opacity: 1; visibility: visible; }

/* Mobile Menu */
.v50f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: #111; z-index: 9999; padding: 2rem 1.6rem;
  transition: right 0.35s ease; overflow-y: auto;
}
.v50f-menu-active { right: 0; }
.v50f-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.v50f-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--v50f-gold); }
.v50f-menu-close { background: none; border: none; color: var(--v50f-gray); font-size: 2.2rem; cursor: pointer; }
.v50f-menu-links { list-style: none; }
.v50f-menu-links li { border-bottom: 1px solid rgba(212,175,55,0.1); }
.v50f-menu-links a {
  display: block; padding: 1.2rem 0.8rem; color: var(--v50f-white);
  font-size: 1.4rem; transition: var(--v50f-transition);
}
.v50f-menu-links a:hover { color: var(--v50f-gold); padding-left: 1.2rem; }

/* Carousel */
.v50f-carousel { position: relative; overflow: hidden; border-radius: var(--v50f-radius-lg); margin-top: 56px; }
.v50f-carousel-slide {
  display: none; width: 100%; cursor: pointer;
  aspect-ratio: 16/7; object-fit: cover;
}
.v50f-slide-active { display: block; }
.v50f-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.v50f-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  border: none; transition: var(--v50f-transition);
}
.v50f-dot-active { background: var(--v50f-gold); transform: scale(1.2); }

/* Section Headings */
.v50f-section { padding: 2rem 0; }
.v50f-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v50f-gold);
  margin-bottom: 1.2rem; padding-left: 1rem;
  border-left: 3px solid var(--v50f-gold);
  line-height: 2rem;
}
.v50f-section-desc { color: var(--v50f-gray); font-size: 1.3rem; margin-bottom: 1.6rem; line-height: 1.6rem; }

/* Game Grid */
.v50f-game-section { margin-bottom: 2.4rem; }
.v50f-game-category-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v50f-gold);
  margin-bottom: 1rem; padding-left: 1rem;
  border-left: 3px solid var(--v50f-gold-light);
}
.v50f-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.v50f-game-item { text-align: center; cursor: pointer; transition: var(--v50f-transition); }
.v50f-game-item:hover { transform: scale(1.05); }
.v50f-game-item:active { transform: scale(0.95); }
.v50f-game-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--v50f-radius);
  border: 1px solid rgba(212,175,55,0.15); object-fit: cover;
  background: #222;
}
.v50f-game-name {
  font-size: 1rem; color: var(--v50f-gray); margin-top: 0.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Cards */
.v50f-card {
  background: var(--v50f-bg-card); border-radius: var(--v50f-radius-lg);
  padding: 1.6rem; border: 1px solid rgba(212,175,55,0.1);
  margin-bottom: 1.2rem;
}
.v50f-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v50f-gold);
  margin-bottom: 0.8rem;
}
.v50f-card-text { color: var(--v50f-gray); font-size: 1.3rem; line-height: 1.6rem; }

/* Feature Grid */
.v50f-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v50f-feature-item {
  background: var(--v50f-bg-card); border-radius: var(--v50f-radius);
  padding: 1.2rem; text-align: center;
  border: 1px solid rgba(212,175,55,0.08);
  transition: var(--v50f-transition);
}
.v50f-feature-item:hover { border-color: rgba(212,175,55,0.3); }
.v50f-feature-icon { font-size: 2.4rem; color: var(--v50f-gold); margin-bottom: 0.6rem; }
.v50f-feature-label { font-size: 1.1rem; color: var(--v50f-gray); font-weight: 500; }

/* Winners / Testimonials */
.v50f-winner-list { list-style: none; }
.v50f-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v50f-winner-name { color: var(--v50f-white); font-size: 1.2rem; font-weight: 500; }
.v50f-winner-amount { color: var(--v50f-gold-light); font-weight: 700; font-size: 1.3rem; }
.v50f-winner-game { color: var(--v50f-gray); font-size: 1.1rem; }

/* Testimonial */
.v50f-testimonial {
  background: var(--v50f-bg-card); border-radius: var(--v50f-radius);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--v50f-gold);
}
.v50f-testimonial-text { color: var(--v50f-gray); font-size: 1.2rem; font-style: italic; line-height: 1.5rem; }
.v50f-testimonial-author { color: var(--v50f-gold); font-size: 1.1rem; margin-top: 0.5rem; font-weight: 600; }

/* Payment Methods */
.v50f-payment-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.v50f-payment-item {
  background: var(--v50f-bg-card); padding: 0.6rem 1.2rem;
  border-radius: var(--v50f-radius); border: 1px solid rgba(212,175,55,0.1);
  font-size: 1.1rem; color: var(--v50f-gray);
}

/* Promo CTA */
.v50f-cta-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(26,26,26,0.95) 100%);
  border: 1px solid rgba(212,175,55,0.3); border-radius: var(--v50f-radius-lg);
  padding: 2rem 1.6rem; text-align: center; margin: 2rem 0;
}
.v50f-cta-title { font-size: 2rem; font-weight: 700; color: var(--v50f-gold); margin-bottom: 0.8rem; }
.v50f-cta-desc { color: var(--v50f-gray); font-size: 1.3rem; margin-bottom: 1.6rem; line-height: 1.6rem; }

/* Footer */
.v50f-footer {
  background: #0a0a0a; padding: 2.4rem 1.2rem 1.6rem;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.v50f-footer-brand { text-align: center; margin-bottom: 1.6rem; }
.v50f-footer-brand-name { font-size: 1.6rem; font-weight: 700; color: var(--v50f-gold); }
.v50f-footer-desc { color: var(--v50f-gray); font-size: 1.2rem; margin-top: 0.6rem; line-height: 1.5rem; }
.v50f-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.6rem 0; }
.v50f-footer-link {
  color: var(--v50f-gray); font-size: 1.1rem; padding: 0.4rem 0.8rem;
  transition: var(--v50f-transition);
}
.v50f-footer-link:hover { color: var(--v50f-gold); }
.v50f-footer-copy { text-align: center; color: #555; font-size: 1rem; margin-top: 1.2rem; }

/* Bottom Navigation (Mobile) */
.v50f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #111 0%, #0C0C0C 100%);
  border-top: 1px solid rgba(212,175,55,0.2);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
}
.v50f-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  cursor: pointer; color: var(--v50f-gray); transition: var(--v50f-transition);
  padding: 0.4rem;
}
.v50f-bnav-btn:hover, .v50f-bnav-active { color: var(--v50f-gold); }
.v50f-bnav-btn:active { transform: scale(0.9); }
.v50f-bnav-icon { font-size: 2.2rem; margin-bottom: 0.2rem; }
.v50f-bnav-label { font-size: 0.95rem; font-weight: 500; }
.v50f-bnav-active .v50f-bnav-label { color: var(--v50f-gold); }

/* Main content offset for fixed header and bottom nav */
.v50f-main { padding-top: 56px; }
@media (max-width: 768px) {
  .v50f-main { padding-bottom: 80px; }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .v50f-bottom-nav { display: none; }
}

/* H tags */
.v50f-h1 {
  font-size: 2rem; font-weight: 800; color: var(--v50f-gold);
  line-height: 2.4rem; margin-bottom: 1rem;
}
.v50f-h2 {
  font-size: 1.7rem; font-weight: 700; color: var(--v50f-gold);
  margin-bottom: 0.8rem; line-height: 2rem;
}
.v50f-h3 {
  font-size: 1.4rem; font-weight: 600; color: var(--v50f-gold-light);
  margin-bottom: 0.6rem;
}

/* Paragraph */
.v50f-p { color: var(--v50f-gray); font-size: 1.3rem; line-height: 1.7rem; margin-bottom: 1rem; }

/* List */
.v50f-list { list-style: none; padding: 0; }
.v50f-list li {
  padding: 0.6rem 0 0.6rem 1.6rem; position: relative;
  color: var(--v50f-gray); font-size: 1.3rem; line-height: 1.5rem;
}
.v50f-list li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--v50f-gold);
}

/* FAQ */
.v50f-faq-item { margin-bottom: 1rem; }
.v50f-faq-q { color: var(--v50f-gold); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.4rem; }
.v50f-faq-a { color: var(--v50f-gray); font-size: 1.2rem; line-height: 1.5rem; }

/* Inline promo link */
.v50f-promo-link {
  color: var(--v50f-gold-light); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: var(--v50f-transition);
}
.v50f-promo-link:hover { color: var(--v50f-gold); }

/* Divider */
.v50f-divider { border: none; border-top: 1px solid rgba(212,175,55,0.12); margin: 1.6rem 0; }

/* App download CTA */
.v50f-app-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, var(--v50f-bg-card) 100%);
  border: 1px solid rgba(212,175,55,0.2); border-radius: var(--v50f-radius-lg);
  padding: 1.6rem; text-align: center;
}
.v50f-app-icon { font-size: 3.2rem; color: var(--v50f-gold); margin-bottom: 0.8rem; }

/* Animations */
@keyframes v50f-fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.v50f-animate { animation: v50f-fadeIn 0.5s ease forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--v50f-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--v50f-gold); border-radius: 4px; }
