/* Juan Bingo - Core Stylesheet */
/* All classes prefixed with s139- */

:root {
  --s139-primary: #00CED1;
  --s139-gold: #DAA520;
  --s139-yellow: #FFE135;
  --s139-dark: #2C3E50;
  --s139-bg: #1a2332;
  --s139-bg-light: #243447;
  --s139-text: #f0f4f8;
  --s139-text-muted: #a0b4c8;
  --s139-accent: #00E5E8;
  --s139-danger: #FF6B6B;
  --s139-success: #4CAF50;
  --s139-radius: 8px;
  --s139-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s139-bg);
  color: var(--s139-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--s139-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.s139-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--s139-dark);
  border-bottom: 2px solid var(--s139-gold);
  max-width: 430px; margin: 0 auto;
}
.s139-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 5.4rem;
}
.s139-logo { display: flex; align-items: center; gap: 0.8rem; }
.s139-logo img { width: 3rem; height: 3rem; border-radius: 50%; }
.s139-logo-text {
  font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--s139-primary), var(--s139-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s139-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.s139-btn-register {
  background: linear-gradient(135deg, var(--s139-gold), var(--s139-yellow));
  color: var(--s139-dark); font-weight: 700; font-size: 1.2rem;
  padding: 0.6rem 1.4rem; border-radius: 2rem; border: none; cursor: pointer;
  transition: transform 0.2s;
}
.s139-btn-register:hover { transform: scale(1.05); }
.s139-btn-login {
  background: transparent; color: var(--s139-primary);
  border: 2px solid var(--s139-primary); font-weight: 600; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 2rem; cursor: pointer;
  transition: all 0.2s;
}
.s139-btn-login:hover { background: var(--s139-primary); color: var(--s139-dark); }
.s139-menu-toggle {
  background: none; border: none; color: var(--s139-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu Overlay */
.s139-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.s139-overlay-active { opacity: 1; visibility: visible; }

/* Mobile Menu */
.s139-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--s139-bg-light); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 0;
}
.s139-menu-active { right: 0; }
.s139-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--s139-text);
  font-size: 2.4rem; cursor: pointer;
}
.s139-menu-links { list-style: none; padding: 1rem 0; }
.s139-menu-links li a {
  display: block; padding: 1.2rem 2rem; color: var(--s139-text);
  font-size: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.s139-menu-links li a:hover { background: rgba(0,206,209,0.1); }

/* Carousel */
.s139-carousel {
  position: relative; overflow: hidden;
  margin-top: 5.4rem; border-radius: 0 0 var(--s139-radius) var(--s139-radius);
}
.s139-slide {
  display: none; width: 100%; cursor: pointer;
}
.s139-slide-active { display: block; }
.s139-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.s139-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.6rem;
}
.s139-carousel-dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.s139-dot-active { background: var(--s139-gold); }

/* Sections */
.s139-section { padding: 2rem 0; }
.s139-section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--s139-gold);
  color: var(--s139-primary);
}
.s139-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.s139-game-section { margin-bottom: 2rem; }
.s139-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.s139-game-item {
  text-align: center; cursor: pointer;
  border-radius: var(--s139-radius); overflow: hidden;
  transition: transform 0.2s;
}
.s139-game-item:hover { transform: scale(1.05); }
.s139-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--s139-radius);
  border: 2px solid rgba(255,255,255,0.1);
}
.s139-game-item span {
  display: block; font-size: 1.1rem; color: var(--s139-text-muted);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.s139-card {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 1.6rem; margin-bottom: 1.2rem; border: 1px solid rgba(255,255,255,0.05);
}
.s139-card h3 {
  font-size: 1.6rem; color: var(--s139-gold); margin-bottom: 0.8rem;
}
.s139-card p {
  font-size: 1.3rem; line-height: 1.8rem; color: var(--s139-text-muted);
}

/* Promo Buttons */
.s139-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s139-gold), var(--s139-yellow));
  color: var(--s139-dark); font-weight: 700; font-size: 1.4rem;
  padding: 1rem 2.4rem; border-radius: 3rem; cursor: pointer;
  border: none; text-align: center; margin: 1rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(218,165,32,0.3);
}
.s139-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(218,165,32,0.4); }

.s139-promo-link {
  color: var(--s139-primary); font-weight: 600; cursor: pointer;
  text-decoration: underline;
}
.s139-promo-link:hover { color: var(--s139-accent); }

/* FAQ */
.s139-faq-item {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 1.2rem 1.6rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--s139-primary);
}
.s139-faq-item h4 { font-size: 1.4rem; color: var(--s139-gold); margin-bottom: 0.4rem; }
.s139-faq-item p { font-size: 1.2rem; color: var(--s139-text-muted); line-height: 1.6rem; }

/* Testimonials */
.s139-testimonial {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 1.4rem; margin-bottom: 1rem;
  border: 1px solid rgba(0,206,209,0.2);
}
.s139-testimonial-name {
  font-weight: 700; color: var(--s139-gold); font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.s139-testimonial-text { font-size: 1.2rem; color: var(--s139-text-muted); font-style: italic; }

/* Payment Methods */
.s139-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center;
}
.s139-payment-item {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 0.8rem 1.4rem; font-size: 1.2rem; color: var(--s139-text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Winners */
.s139-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; background: var(--s139-bg-light);
  border-radius: var(--s139-radius); margin-bottom: 0.6rem;
  border: 1px solid rgba(0,206,209,0.15);
}
.s139-winner-name { font-weight: 600; color: var(--s139-primary); font-size: 1.3rem; }
.s139-winner-amount { color: var(--s139-gold); font-weight: 700; font-size: 1.4rem; }
.s139-winner-game { font-size: 1.1rem; color: var(--s139-text-muted); }

/* RTP Table */
.s139-rtp-table { width: 100%; border-collapse: collapse; }
.s139-rtp-table th {
  background: var(--s139-dark); color: var(--s139-gold);
  padding: 0.8rem; font-size: 1.2rem; text-align: left;
  border-bottom: 2px solid var(--s139-primary);
}
.s139-rtp-table td {
  padding: 0.7rem 0.8rem; font-size: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--s139-text-muted);
}
.s139-rtp-table tr:hover td { background: rgba(0,206,209,0.05); }

/* Footer */
.s139-footer {
  background: var(--s139-dark); padding: 2rem 0 1rem;
  border-top: 2px solid var(--s139-gold);
  margin-top: 2rem;
}
.s139-footer-desc {
  font-size: 1.2rem; color: var(--s139-text-muted);
  line-height: 1.6rem; margin-bottom: 1.2rem; text-align: center;
}
.s139-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin-bottom: 1.2rem;
}
.s139-footer-links a {
  font-size: 1.1rem; color: var(--s139-text-muted);
  padding: 0.4rem 0.8rem; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.s139-footer-links a:hover { color: var(--s139-primary); background: rgba(0,206,209,0.1); }
.s139-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin: 1rem 0;
}
.s139-footer-promo button {
  background: linear-gradient(135deg, var(--s139-gold), var(--s139-yellow));
  color: var(--s139-dark); font-weight: 600; font-size: 1.1rem;
  padding: 0.6rem 1.4rem; border-radius: 2rem; border: none; cursor: pointer;
}
.s139-copyright {
  text-align: center; font-size: 1.1rem; color: var(--s139-text-muted);
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05);
}

/* Bottom Navigation */
.s139-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--s139-dark);
  border-top: 2px solid var(--s139-gold);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.4);
}
.s139-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 6rem; min-height: 5rem;
  color: var(--s139-text-muted); cursor: pointer;
  transition: all 0.2s; border: none; background: none;
  padding: 0.4rem;
}
.s139-bottom-nav-item:hover, .s139-bottom-nav-active {
  color: var(--s139-primary); transform: scale(1.08);
}
.s139-bottom-nav-item i, .s139-bottom-nav-item span.material-symbols-outlined {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.s139-bottom-nav-item ion-icon { font-size: 2.4rem; margin-bottom: 0.2rem; }
.s139-bottom-nav-item .s139-nav-label {
  font-size: 1rem; font-weight: 500;
}

/* Main content padding for fixed navs */
main { padding-top: 5.4rem; }
@media (max-width: 768px) {
  main { padding-bottom: 7rem; }
  .s139-header { left: 0; right: 0; }
}
@media (min-width: 769px) {
  .s139-bottom-nav { display: none; }
  .s139-header { left: auto; right: auto; }
}

/* App Download CTA */
.s139-app-cta {
  background: linear-gradient(135deg, var(--s139-primary), #009DA0);
  border-radius: var(--s139-radius); padding: 2rem 1.6rem;
  text-align: center; margin: 1rem 0;
}
.s139-app-cta h3 { font-size: 1.8rem; color: var(--s139-dark); margin-bottom: 0.6rem; }
.s139-app-cta p { font-size: 1.3rem; color: var(--s139-dark); opacity: 0.8; margin-bottom: 1rem; }
.s139-app-cta-btn {
  background: var(--s139-dark); color: var(--s139-primary);
  font-weight: 700; font-size: 1.4rem; padding: 1rem 2.4rem;
  border-radius: 3rem; border: none; cursor: pointer;
}

/* Category Highlights */
.s139-cat-highlight {
  display: flex; gap: 0.8rem; overflow-x: auto;
  padding: 0.4rem 0; margin-bottom: 1rem;
}
.s139-cat-chip {
  background: var(--s139-bg-light); color: var(--s139-primary);
  padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 1.2rem;
  white-space: nowrap; border: 1px solid var(--s139-primary);
  cursor: pointer; transition: all 0.2s;
}
.s139-cat-chip:hover {
  background: var(--s139-primary); color: var(--s139-dark);
}

/* Utility */
.s139-text-center { text-align: center; }
.s139-mt-1 { margin-top: 1rem; }
.s139-mb-1 { margin-bottom: 1rem; }
.s139-mt-2 { margin-top: 2rem; }
.s139-hidden { display: none; }

/* Achievement badge */
.s139-badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  border-radius: 1rem; font-size: 1rem; font-weight: 600;
}
.s139-badge-gold { background: var(--s139-gold); color: var(--s139-dark); }
.s139-badge-primary { background: var(--s139-primary); color: var(--s139-dark); }

/* Trick card */
.s139-trick {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--s139-gold);
}
.s139-trick h4 { color: var(--s139-primary); font-size: 1.3rem; margin-bottom: 0.4rem; }
.s139-trick p { color: var(--s139-text-muted); font-size: 1.2rem; }

/* Feature grid */
.s139-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s139-feature-item {
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
  padding: 1.2rem; text-align: center;
  border: 1px solid rgba(0,206,209,0.15);
}
.s139-feature-item i { font-size: 2.4rem; color: var(--s139-primary); margin-bottom: 0.6rem; }
.s139-feature-item h4 { font-size: 1.3rem; color: var(--s139-gold); margin-bottom: 0.3rem; }
.s139-feature-item p { font-size: 1.1rem; color: var(--s139-text-muted); }

/* Security section */
.s139-security-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; margin-bottom: 0.8rem;
  background: var(--s139-bg-light); border-radius: var(--s139-radius);
}
.s139-security-item i { font-size: 2rem; color: var(--s139-success); flex-shrink: 0; }
.s139-security-item h4 { font-size: 1.3rem; color: var(--s139-primary); }
.s139-security-item p { font-size: 1.2rem; color: var(--s139-text-muted); }
