/**
 * Bingo Corned Beef - Main Stylesheet
 * All classes use prefix "w14b0-" for namespace isolation
 * Color palette: #0E1621 | #95A5A6 | #696969 | #808080
 * File: css/style-14b0.css
 */

/* CSS Variables */
:root {
  --w14b0-primary: #0E1621;
  --w14b0-secondary: #95A5A6;
  --w14b0-muted: #696969;
  --w14b0-accent: #808080;
  --w14b0-bg: #0E1621;
  --w14b0-surface: #162030;
  --w14b0-text: #E8E8E8;
  --w14b0-text-muted: #95A5A6;
  --w14b0-highlight: #C0A062;
  --w14b0-highlight-hover: #D4B87A;
  --w14b0-border: #2A3A4E;
  --w14b0-radius: 0.8rem;
  --w14b0-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  background: var(--w14b0-bg);
  color: var(--w14b0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Container & Wrapper */
.w14b0-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w14b0-wrapper { padding: 1.6rem 0; }
.w14b0-grid { display: grid; gap: 1rem; }

/* ===== HEADER ===== */
.w14b0-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, #0E1621 0%, #141E2E 100%);
  border-bottom: 1px solid var(--w14b0-border);
  padding: 0.8rem 1rem;
}
.w14b0-header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.w14b0-logo-area { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.w14b0-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.w14b0-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--w14b0-highlight); white-space: nowrap; }
.w14b0-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w14b0-btn-register {
  background: var(--w14b0-highlight); color: #0E1621;
  border: none; padding: 0.6rem 1.2rem; border-radius: 0.5rem;
  font-weight: 700; font-size: 1.2rem; cursor: pointer;
  transition: all 0.2s;
}
.w14b0-btn-register:hover { background: var(--w14b0-highlight-hover); transform: scale(1.03); }
.w14b0-btn-login {
  background: transparent; color: var(--w14b0-text);
  border: 1px solid var(--w14b0-border); padding: 0.6rem 1rem;
  border-radius: 0.5rem; font-weight: 600; font-size: 1.2rem;
  cursor: pointer; transition: all 0.2s;
}
.w14b0-btn-login:hover { border-color: var(--w14b0-highlight); color: var(--w14b0-highlight); }
.w14b0-menu-toggle {
  background: none; border: none; color: var(--w14b0-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* ===== MOBILE MENU ===== */
.w14b0-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: #111B28; border-top: 1px solid var(--w14b0-border);
}
.w14b0-menu-active { max-height: 400px !important; }
.w14b0-mobile-menu a {
  display: block; padding: 1rem 1.6rem; color: var(--w14b0-text);
  text-decoration: none; border-bottom: 1px solid var(--w14b0-border);
  font-size: 1.3rem; transition: background 0.2s;
}
.w14b0-mobile-menu a:hover { background: var(--w14b0-surface); color: var(--w14b0-highlight); }

/* ===== MAIN CONTENT ===== */
.w14b0-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .w14b0-main { padding-bottom: 8rem; }
}

/* ===== CAROUSEL ===== */
.w14b0-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--w14b0-radius); margin-bottom: 1.6rem; }
.w14b0-slide {
  display: none; width: 100%; cursor: pointer;
}
.w14b0-slide-active { display: block; }
.w14b0-slide img { width: 100%; height: auto; display: block; border-radius: var(--w14b0-radius); }
.w14b0-dots { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 0; }
.w14b0-dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--w14b0-muted); cursor: pointer; transition: all 0.2s;
}
.w14b0-dot-active { background: var(--w14b0-highlight); transform: scale(1.2); }

/* ===== SECTION HEADINGS ===== */
.w14b0-section { margin-bottom: 2rem; }
.w14b0-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--w14b0-highlight);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w14b0-border);
}
.w14b0-section-subtitle {
  font-size: 1.4rem; font-weight: 600; color: var(--w14b0-text);
  margin: 1.2rem 0 0.8rem;
}

/* ===== GAME GRID ===== */
.w14b0-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.w14b0-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.w14b0-game-item:hover { transform: translateY(-0.2rem); }
.w14b0-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 0.6rem;
  border: 1px solid var(--w14b0-border); object-fit: cover;
}
.w14b0-game-name {
  font-size: 1.1rem; color: var(--w14b0-text-muted);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== BUTTONS ===== */
.w14b0-btn {
  display: inline-block; padding: 1rem 2rem;
  background: var(--w14b0-highlight); color: #0E1621;
  border: none; border-radius: var(--w14b0-radius);
  font-weight: 700; font-size: 1.4rem; cursor: pointer;
  text-align: center; transition: all 0.2s;
}
.w14b0-btn:hover { background: var(--w14b0-highlight-hover); transform: scale(1.02); }
.w14b0-btn-outline {
  background: transparent; border: 2px solid var(--w14b0-highlight);
  color: var(--w14b0-highlight);
}
.w14b0-btn-outline:hover { background: var(--w14b0-highlight); color: #0E1621; }
.w14b0-btn-block { display: block; width: 100%; }

/* ===== CARDS ===== */
.w14b0-card {
  background: var(--w14b0-surface); border: 1px solid var(--w14b0-border);
  border-radius: var(--w14b0-radius); padding: 1.4rem;
  margin-bottom: 1rem;
}
.w14b0-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--w14b0-highlight);
  margin-bottom: 0.8rem;
}
.w14b0-card p { color: var(--w14b0-text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.w14b0-faq-item { border-bottom: 1px solid var(--w14b0-border); }
.w14b0-faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; cursor: pointer; font-weight: 600;
  color: var(--w14b0-text); font-size: 1.3rem;
}
.w14b0-faq-icon { color: var(--w14b0-highlight); font-size: 1.6rem; font-weight: 700; }
.w14b0-faq-answer {
  display: none; padding: 0 0 1rem; color: var(--w14b0-text-muted);
  line-height: 1.6;
}

/* ===== PROMO LINKS ===== */
.w14b0-promo-link {
  color: var(--w14b0-highlight); font-weight: 600;
  text-decoration: none; cursor: pointer; transition: color 0.2s;
}
.w14b0-promo-link:hover { color: var(--w14b0-highlight-hover); text-decoration: underline; }

/* ===== TESTIMONIALS ===== */
.w14b0-testimonial {
  background: var(--w14b0-surface); border-left: 3px solid var(--w14b0-highlight);
  border-radius: 0 var(--w14b0-radius) var(--w14b0-radius) 0;
  padding: 1.2rem; margin-bottom: 1rem;
}
.w14b0-testimonial-text { color: var(--w14b0-text-muted); font-style: italic; margin-bottom: 0.6rem; }
.w14b0-testimonial-author { font-weight: 600; color: var(--w14b0-highlight); font-size: 1.2rem; }

/* ===== PAYMENT ICONS ===== */
.w14b0-payment-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: center;
  padding: 1rem 0;
}
.w14b0-payment-item {
  background: var(--w14b0-surface); border: 1px solid var(--w14b0-border);
  border-radius: 0.5rem; padding: 0.6rem 1rem;
  font-size: 1.2rem; color: var(--w14b0-text-muted);
}

/* ===== WINNER SHOWCASE ===== */
.w14b0-winner-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem; background: var(--w14b0-surface);
  border-radius: var(--w14b0-radius); margin-bottom: 0.6rem;
}
.w14b0-winner-avatar {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--w14b0-border); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--w14b0-highlight);
}
.w14b0-winner-info { flex: 1; }
.w14b0-winner-name { font-weight: 600; font-size: 1.2rem; color: var(--w14b0-text); }
.w14b0-winner-game { font-size: 1.1rem; color: var(--w14b0-text-muted); }
.w14b0-winner-amount { font-weight: 700; color: var(--w14b0-highlight); font-size: 1.3rem; }

/* ===== FOOTER ===== */
.w14b0-footer {
  background: #0A1018; border-top: 1px solid var(--w14b0-border);
  padding: 2rem 1.2rem 3rem; margin-top: 2rem;
}
.w14b0-footer-brand { font-size: 1.3rem; color: var(--w14b0-text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.w14b0-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem;
}
.w14b0-footer-links a {
  background: var(--w14b0-surface); border: 1px solid var(--w14b0-border);
  color: var(--w14b0-text); padding: 0.5rem 1rem; border-radius: 0.5rem;
  text-decoration: none; font-size: 1.1rem; transition: all 0.2s;
}
.w14b0-footer-links a:hover { border-color: var(--w14b0-highlight); color: var(--w14b0-highlight); }
.w14b0-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--w14b0-muted);
  padding-top: 1rem; border-top: 1px solid var(--w14b0-border);
}

/* ===== BOTTOM NAV ===== */
.w14b0-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(180deg, #141E2E 0%, #0E1621 100%);
  border-top: 1px solid var(--w14b0-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}
.w14b0-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 56px; min-height: 56px;
  background: none; border: none; color: var(--w14b0-muted);
  cursor: pointer; transition: all 0.2s; gap: 0.2rem;
  border-radius: 0.8rem; padding: 0.4rem;
}
.w14b0-bottom-nav-btn:hover { color: var(--w14b0-highlight); background: rgba(192,160,98,0.1); }
.w14b0-bottom-nav-btn .w14b0-nav-icon { font-size: 2.2rem; }
.w14b0-bottom-nav-btn .w14b0-nav-label { font-size: 1rem; font-weight: 500; }
.w14b0-nav-active {
  color: var(--w14b0-highlight) !important;
  background: rgba(192,160,98,0.15) !important;
}
.w14b0-nav-active .w14b0-nav-icon { transform: scale(1.1); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .w14b0-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .w14b0-main { padding-bottom: 8rem; }
}

/* ===== UTILITY CLASSES ===== */
.w14b0-text-center { text-align: center; }
.w14b0-text-highlight { color: var(--w14b0-highlight); font-weight: 600; }
.w14b0-mb-1 { margin-bottom: 1rem; }
.w14b0-mb-2 { margin-bottom: 2rem; }
.w14b0-mt-1 { margin-top: 1rem; }
.w14b0-mt-2 { margin-top: 2rem; }
.w14b0-hidden { display: none !important; }

/* ===== CTA BANNER ===== */
.w14b0-cta-banner {
  background: linear-gradient(135deg, var(--w14b0-surface), #1A2838);
  border: 1px solid var(--w14b0-highlight);
  border-radius: var(--w14b0-radius); padding: 1.6rem;
  text-align: center; margin: 1.6rem 0;
}
.w14b0-cta-banner h3 { color: var(--w14b0-highlight); font-size: 1.6rem; margin-bottom: 0.8rem; }
.w14b0-cta-banner p { color: var(--w14b0-text-muted); margin-bottom: 1rem; }

/* ===== APP DOWNLOAD SECTION ===== */
.w14b0-app-section {
  background: linear-gradient(135deg, #0E1621, #1A2838);
  border: 1px solid var(--w14b0-border); border-radius: var(--w14b0-radius);
  padding: 1.6rem; text-align: center;
}
.w14b0-app-section img { width: 100%; border-radius: 0.6rem; margin-bottom: 1rem; }

/* ===== RTP TABLE ===== */
.w14b0-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w14b0-rtp-table th {
  background: var(--w14b0-surface); color: var(--w14b0-highlight);
  padding: 0.8rem; text-align: left; border-bottom: 2px solid var(--w14b0-border);
}
.w14b0-rtp-table td {
  padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--w14b0-border);
  color: var(--w14b0-text-muted);
}

/* ===== INTERNAL LINKS ===== */
.w14b0-internal-link {
  color: var(--w14b0-highlight); text-decoration: none;
  border-bottom: 1px dotted var(--w14b0-highlight);
  transition: all 0.2s;
}
.w14b0-internal-link:hover { color: var(--w14b0-highlight-hover); border-bottom-style: solid; }

/* ===== FEATURES LIST ===== */
.w14b0-feature-list { list-style: none; padding: 0; }
.w14b0-feature-list li {
  padding: 0.8rem 0; border-bottom: 1px solid var(--w14b0-border);
  display: flex; align-items: flex-start; gap: 0.8rem;
  color: var(--w14b0-text-muted);
}
.w14b0-feature-list li i { color: var(--w14b0-highlight); margin-top: 0.2rem; font-size: 1.3rem; }
