/* jl85 Main Stylesheet - All classes use w6214- prefix */
/* Color Palette: #1E90FF | #0D1117 | #87CEEB | #495057 | #FF1493 | #A0522D */

/* CSS Variables */
:root {
  --w6214-primary: #1E90FF;
  --w6214-bg: #0D1117;
  --w6214-bg-light: #161B22;
  --w6214-text: #E6EDF3;
  --w6214-text-muted: #87CEEB;
  --w6214-accent: #FF1493;
  --w6214-accent2: #A0522D;
  --w6214-border: #30363D;
  --w6214-card-bg: #21262D;
  --w6214-gray: #495057;
  --w6214-success: #2EA043;
  --w6214-gold: #FFD700;
  --w6214-radius: 12px;
  --w6214-radius-sm: 8px;
  --w6214-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --w6214-transition: all 0.3s ease;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--w6214-bg);
  color: var(--w6214-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--w6214-primary); text-decoration: none; transition: var(--w6214-transition); }
a:hover { color: var(--w6214-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w6214-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--w6214-bg-light), var(--w6214-bg));
  border-bottom: 1px solid var(--w6214-border);
  padding: 0 12px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  backdrop-filter: blur(10px);
}
.w6214-logo-area { display: flex; align-items: center; gap: 8px; }
.w6214-logo-area img { width: 32px; height: 32px; border-radius: 6px; }
.w6214-logo-area span { font-size: 1.8rem; font-weight: 800; color: var(--w6214-primary); letter-spacing: -0.5px; }
.w6214-header-actions { display: flex; align-items: center; gap: 6px; }
.w6214-btn-register {
  background: linear-gradient(135deg, var(--w6214-accent), #FF69B4);
  color: #fff; border: none; padding: 6px 14px; border-radius: 20px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: var(--w6214-transition);
}
.w6214-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(255, 20, 147, 0.5); }
.w6214-btn-login {
  background: transparent; color: var(--w6214-primary); border: 1px solid var(--w6214-primary);
  padding: 5px 14px; border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: var(--w6214-transition);
}
.w6214-btn-login:hover { background: var(--w6214-primary); color: #fff; }
.w6214-menu-btn {
  background: none; border: none; color: var(--w6214-text); font-size: 2.2rem;
  cursor: pointer; padding: 4px; line-height: 1;
}

/* Mobile Menu Overlay */
.w6214-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); z-index: 9998; display: none;
}
.w6214-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
  background: var(--w6214-bg-light); z-index: 9999;
  transform: translateX(-100%); transition: transform 0.3s ease;
  padding: 20px 16px; overflow-y: auto;
}
.w6214-mobile-menu-header { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--w6214-border); }
.w6214-mobile-menu-header img { width: 28px; height: 28px; border-radius: 4px; }
.w6214-mobile-menu-header span { font-size: 1.6rem; font-weight: 700; color: var(--w6214-primary); }
.w6214-mobile-menu a {
  display: block; padding: 12px 8px; color: var(--w6214-text); font-size: 1.4rem;
  border-bottom: 1px solid var(--w6214-border); transition: var(--w6214-transition);
}
.w6214-mobile-menu a:hover { color: var(--w6214-primary); padding-left: 16px; background: rgba(30, 144, 255, 0.1); }

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

/* Carousel */
.w6214-carousel { position: relative; width: 100%; overflow: hidden; aspect-ratio: 16/7; background: var(--w6214-bg-light); }
.w6214-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; display: none; transition: opacity 0.5s ease; cursor: pointer; }
.w6214-slide img { width: 100%; height: 100%; object-fit: cover; }
.w6214-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.w6214-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--w6214-transition); border: none; }
.w6214-dot-active { background: var(--w6214-primary); width: 20px; border-radius: 4px; }

/* Section Titles */
.w6214-section { padding: 16px 12px; }
.w6214-section-title {
  font-size: 1.8rem; font-weight: 800; margin-bottom: 12px;
  color: var(--w6214-text); display: flex; align-items: center; gap: 8px;
}
.w6214-section-title i { color: var(--w6214-accent); font-size: 2rem; }
.w6214-section-title::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--w6214-primary), transparent); margin-left: 8px; }

/* Game Grid */
.w6214-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.w6214-game-item { text-align: center; cursor: pointer; transition: var(--w6214-transition); border-radius: var(--w6214-radius-sm); padding: 6px 2px; }
.w6214-game-item:hover { background: var(--w6214-card-bg); transform: translateY(-2px); }
.w6214-game-item img { width: 64px; height: 64px; border-radius: 10px; margin: 0 auto 4px; border: 2px solid var(--w6214-border); object-fit: cover; }
.w6214-game-item span { font-size: 1.1rem; color: var(--w6214-text-muted); display: block; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Category Tabs */
.w6214-cat-label { font-size: 1.3rem; font-weight: 700; color: var(--w6214-primary); margin-bottom: 8px; padding-left: 4px; border-left: 3px solid var(--w6214-accent); padding-left: 8px; }

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

/* Promo Buttons */
.w6214-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--w6214-accent), #FF69B4);
  color: #fff; padding: 8px 20px; border-radius: 24px; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; border: none; transition: var(--w6214-transition);
}
.w6214-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(255, 20, 147, 0.5); }
.w6214-promo-link { color: var(--w6214-accent); font-weight: 700; font-size: 1.3rem; cursor: pointer; }
.w6214-promo-link:hover { text-decoration: underline; }

/* Feature Grid */
.w6214-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.w6214-feature-item {
  background: var(--w6214-card-bg); border-radius: var(--w6214-radius-sm); padding: 12px;
  text-align: center; border: 1px solid var(--w6214-border); transition: var(--w6214-transition);
}
.w6214-feature-item:hover { border-color: var(--w6214-primary); }
.w6214-feature-item i { font-size: 2.4rem; color: var(--w6214-primary); margin-bottom: 6px; display: block; }
.w6214-feature-item span { font-size: 1.2rem; color: var(--w6214-text-muted); }

/* Winners Table */
.w6214-winners-list { list-style: none; }
.w6214-winners-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--w6214-border); font-size: 1.3rem;
}
.w6214-winners-list li:last-child { border-bottom: none; }
.w6214-winner-name { color: var(--w6214-text-muted); }
.w6214-winner-game { color: var(--w6214-primary); font-weight: 600; }
.w6214-winner-amount { color: var(--w6214-gold); font-weight: 700; }

/* Payment Icons */
.w6214-payment-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.w6214-payment-item {
  background: var(--w6214-card-bg); border-radius: var(--w6214-radius-sm);
  padding: 8px 14px; font-size: 1.2rem; color: var(--w6214-text-muted);
  border: 1px solid var(--w6214-border);
}

/* Testimonial */
.w6214-testimonial {
  background: var(--w6214-card-bg); border-radius: var(--w6214-radius); padding: 14px;
  margin-bottom: 10px; border-left: 3px solid var(--w6214-accent);
}
.w6214-testimonial p { font-size: 1.3rem; color: var(--w6214-text); font-style: italic; margin-bottom: 6px; }
.w6214-testimonial cite { font-size: 1.1rem; color: var(--w6214-primary); font-style: normal; }

/* Footer */
.w6214-footer {
  background: var(--w6214-bg-light); padding: 24px 16px; border-top: 1px solid var(--w6214-border);
  margin-top: 20px;
}
.w6214-footer-brand { font-size: 1.3rem; color: var(--w6214-text-muted); line-height: 1.6; margin-bottom: 16px; }
.w6214-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.w6214-footer-links a {
  font-size: 1.2rem; color: var(--w6214-text-muted); padding: 4px 10px;
  background: var(--w6214-card-bg); border-radius: 16px; border: 1px solid var(--w6214-border);
}
.w6214-footer-links a:hover { color: var(--w6214-primary); border-color: var(--w6214-primary); }
.w6214-footer-affiliate { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.w6214-footer-affiliate button {
  background: linear-gradient(135deg, var(--w6214-primary), #4DA6FF);
  color: #fff; border: none; padding: 8px 16px; border-radius: 20px;
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: var(--w6214-transition);
}
.w6214-footer-affiliate button:hover { transform: scale(1.05); }
.w6214-copyright { font-size: 1.1rem; color: var(--w6214-gray); text-align: center; padding-top: 12px; border-top: 1px solid var(--w6214-border); }

/* Bottom Navigation */
.w6214-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--w6214-bg-light), var(--w6214-bg));
  border-top: 1px solid var(--w6214-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  padding: 0 4px;
}
.w6214-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 52px; background: none; border: none;
  color: var(--w6214-gray); cursor: pointer; transition: var(--w6214-transition);
  padding: 4px 0; border-radius: 8px;
}
.w6214-bottom-nav-btn i, .w6214-bottom-nav-btn .material-symbols-outlined { font-size: 24px; margin-bottom: 2px; transition: var(--w6214-transition); }
.w6214-bottom-nav-btn span { font-size: 10px; line-height: 1.2; }
.w6214-bottom-nav-btn:hover, .w6214-nav-active {
  color: var(--w6214-accent);
}
.w6214-bottom-nav-btn:hover i, .w6214-nav-active i, .w6214-bottom-nav-btn:hover .material-symbols-outlined, .w6214-nav-active .material-symbols-outlined {
  color: var(--w6214-accent); transform: scale(1.15);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) { .w6214-bottom-nav { display: none; } }

/* Responsive Utilities */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .w6214-header { max-width: 430px; }
  .w6214-bottom-nav { max-width: 430px; }
}

/* CTA Banner */
.w6214-cta-banner {
  background: linear-gradient(135deg, var(--w6214-primary), var(--w6214-accent));
  border-radius: var(--w6214-radius); padding: 16px; text-align: center; margin: 12px;
}
.w6214-cta-banner h3 { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.w6214-cta-banner p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 10px; }
.w6214-cta-btn {
  display: inline-block; background: #fff; color: var(--w6214-accent);
  padding: 10px 28px; border-radius: 24px; font-size: 1.4rem; font-weight: 700;
  cursor: pointer; border: none; transition: var(--w6214-transition);
}
.w6214-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* RTP Table */
.w6214-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w6214-rtp-table th { background: var(--w6214-primary); color: #fff; padding: 8px 6px; text-align: left; font-weight: 600; }
.w6214-rtp-table td { padding: 7px 6px; border-bottom: 1px solid var(--w6214-border); color: var(--w6214-text); }
.w6214-rtp-table tr:nth-child(even) td { background: rgba(30, 144, 255, 0.05); }
.w6214-rtp-high { color: var(--w6214-success); font-weight: 700; }

/* FAQ Section */
.w6214-faq-item { border-bottom: 1px solid var(--w6214-border); padding: 12px 0; }
.w6214-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--w6214-primary); margin-bottom: 6px; }
.w6214-faq-a { font-size: 1.3rem; color: var(--w6214-text); line-height: 1.6; }

/* Step list */
.w6214-steps { list-style: none; counter-reset: wstep; }
.w6214-steps li { counter-increment: wstep; padding: 10px 0 10px 40px; position: relative; font-size: 1.3rem; line-height: 1.5; color: var(--w6214-text); }
.w6214-steps li::before {
  content: counter(wstep); position: absolute; left: 0; top: 8px;
  width: 28px; height: 28px; background: var(--w6214-primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}

/* Tips grid */
.w6214-tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.w6214-tip-card {
  background: var(--w6214-card-bg); border-radius: var(--w6214-radius-sm); padding: 12px;
  border: 1px solid var(--w6214-border);
}
.w6214-tip-card i { font-size: 2rem; color: var(--w6214-gold); margin-bottom: 6px; display: block; }
.w6214-tip-card h4 { font-size: 1.3rem; color: var(--w6214-primary); margin-bottom: 4px; }
.w6214-tip-card p { font-size: 1.1rem; color: var(--w6214-text-muted); line-height: 1.4; }

/* App download section */
.w6214-app-section { text-align: center; padding: 16px; }
.w6214-app-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--w6214-primary), #4DA6FF);
  color: #fff; padding: 12px 24px; border-radius: 28px;
  font-size: 1.4rem; font-weight: 700; border: none; cursor: pointer;
  transition: var(--w6214-transition); margin: 6px;
}
.w6214-app-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(30, 144, 255, 0.5); }

/* Achievement badges */
.w6214-badge {
  display: inline-block; background: linear-gradient(135deg, var(--w6214-gold), #FFA500);
  color: var(--w6214-bg); padding: 3px 10px; border-radius: 12px;
  font-size: 1.1rem; font-weight: 700;
}

/* Internal link style */
.w6214-internal-link { color: var(--w6214-text-muted); font-size: 1.3rem; text-decoration: underline; text-decoration-color: var(--w6214-primary); text-underline-offset: 2px; }
.w6214-internal-link:hover { color: var(--w6214-primary); }
