/* Filbet Casino - Core Stylesheet */
/* All classes use w6aa2- prefix for namespace isolation */
/* Color palette: #1C2833 | #DAA520 | #FA8072 | #FFEBCD */

:root {
  --w6aa2-primary: #DAA520;
  --w6aa2-bg: #1C2833;
  --w6aa2-text: #FFEBCD;
  --w6aa2-accent: #FA8072;
  --w6aa2-dark: #0F1923;
  --w6aa2-card: #233040;
  --w6aa2-border: #2E4053;
  --w6aa2-light: #F5E6D3;
  --w6aa2-gold: #FFD700;
  --w6aa2-radius: 8px;
}

html { font-size: 62.5%; scroll-behavior: smooth; }

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w6aa2-bg);
  color: var(--w6aa2-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

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

/* === HEADER === */
.w6aa2-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w6aa2-dark);
  border-bottom: 2px solid var(--w6aa2-primary);
  max-width: 430px; margin: 0 auto;
}
.w6aa2-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; max-width: 430px; margin: 0 auto;
}
.w6aa2-logo { display: flex; align-items: center; gap: 6px; }
.w6aa2-logo img { width: 28px; height: 28px; border-radius: 4px; }
.w6aa2-logo-name {
  font-size: 1.5rem; font-weight: 700; color: var(--w6aa2-primary);
  white-space: nowrap;
}
.w6aa2-header-btns { display: flex; gap: 6px; align-items: center; }
.w6aa2-btn-register {
  background: var(--w6aa2-primary); color: var(--w6aa2-dark);
  border: none; padding: 6px 14px; border-radius: 20px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
}
.w6aa2-btn-register:hover { background: var(--w6aa2-gold); transform: scale(1.05); }
.w6aa2-btn-login {
  background: transparent; color: var(--w6aa2-primary);
  border: 1.5px solid var(--w6aa2-primary); padding: 5px 12px;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.w6aa2-btn-login:hover { background: var(--w6aa2-primary); color: var(--w6aa2-dark); }
.w6aa2-menu-btn {
  background: none; border: none; color: var(--w6aa2-text);
  font-size: 2rem; cursor: pointer; padding: 4px;
}

/* === MOBILE MENU === */
.w6aa2-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 270px;
  height: 100vh; background: var(--w6aa2-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 60px 16px 20px;
  border-left: 2px solid var(--w6aa2-primary);
}
.w6aa2-menu-active { right: 0; }
.w6aa2-mobile-menu .w6aa2-menu-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--w6aa2-text);
  font-size: 2.4rem; cursor: pointer;
}
.w6aa2-mobile-menu a {
  display: block; padding: 12px 0; color: var(--w6aa2-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--w6aa2-border);
  transition: color 0.2s;
}
.w6aa2-mobile-menu a:hover { color: var(--w6aa2-primary); }
.w6aa2-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.w6aa2-overlay-active { display: block; }

/* === CAROUSEL === */
.w6aa2-carousel {
  position: relative; margin-top: 50px; overflow: hidden;
  border-radius: 0 0 var(--w6aa2-radius) var(--w6aa2-radius);
}
.w6aa2-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.w6aa2-carousel-slide img { width: 100%; height: auto; }
.w6aa2-slide-active { display: block; }
.w6aa2-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(28,40,51,0.7); color: var(--w6aa2-primary);
  border: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; z-index: 5;
}
.w6aa2-carousel-prev { left: 8px; }
.w6aa2-carousel-next { right: 8px; }

/* === MAIN CONTENT === */
.w6aa2-main { padding: 12px; padding-bottom: 80px; }
.w6aa2-section { margin-bottom: 24px; }
.w6aa2-section-title {
  font-size: 2rem; font-weight: 700; color: var(--w6aa2-primary);
  margin-bottom: 12px; padding-bottom: 6px;
  border-bottom: 2px solid var(--w6aa2-primary);
}
.w6aa2-section-title i { margin-right: 6px; }
.w6aa2-section p { line-height: 2.4rem; margin-bottom: 10px; color: var(--w6aa2-text); }

/* === GAME GRID === */
.w6aa2-game-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--w6aa2-accent);
  margin: 16px 0 10px; display: flex; align-items: center; gap: 6px;
}
.w6aa2-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 16px;
}
.w6aa2-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: var(--w6aa2-radius); overflow: hidden;
  background: var(--w6aa2-card);
}
.w6aa2-game-item:hover { transform: scale(1.05); }
.w6aa2-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--w6aa2-radius) var(--w6aa2-radius) 0 0;
}
.w6aa2-game-name {
  font-size: 1.1rem; padding: 4px 2px; color: var(--w6aa2-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* === CONTENT CARDS === */
.w6aa2-card {
  background: var(--w6aa2-card); border-radius: var(--w6aa2-radius);
  padding: 16px; margin-bottom: 12px;
  border: 1px solid var(--w6aa2-border);
}
.w6aa2-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w6aa2-primary);
  margin-bottom: 8px;
}
.w6aa2-card p { font-size: 1.4rem; line-height: 2.2rem; }

/* === CTA BUTTONS === */
.w6aa2-cta-btn {
  display: inline-block; background: var(--w6aa2-primary);
  color: var(--w6aa2-dark); font-weight: 700; font-size: 1.4rem;
  padding: 10px 24px; border-radius: 25px; cursor: pointer;
  border: none; transition: all 0.3s; text-align: center;
  box-shadow: 0 4px 12px rgba(218,165,32,0.3);
}
.w6aa2-cta-btn:hover { background: var(--w6aa2-gold); transform: translateY(-2px); }
.w6aa2-cta-link {
  color: var(--w6aa2-primary); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}
.w6aa2-cta-link:hover { color: var(--w6aa2-gold); }

/* === FEATURES LIST === */
.w6aa2-feature-list { list-style: none; padding: 0; }
.w6aa2-feature-list li {
  padding: 8px 0; border-bottom: 1px solid var(--w6aa2-border);
  font-size: 1.4rem; display: flex; align-items: flex-start; gap: 8px;
}
.w6aa2-feature-list li i { color: var(--w6aa2-primary); margin-top: 3px; }

/* === WINNERS TABLE === */
.w6aa2-winners { width: 100%; border-collapse: collapse; }
.w6aa2-winners th {
  background: var(--w6aa2-dark); color: var(--w6aa2-primary);
  padding: 8px; font-size: 1.2rem; text-align: left;
}
.w6aa2-winners td {
  padding: 6px 8px; font-size: 1.2rem;
  border-bottom: 1px solid var(--w6aa2-border);
}
.w6aa2-winners tr:hover { background: var(--w6aa2-card); }

/* === PAYMENT ICONS === */
.w6aa2-payment-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.w6aa2-payment-item {
  background: var(--w6aa2-card); border-radius: var(--w6aa2-radius);
  padding: 10px 16px; font-size: 1.3rem; color: var(--w6aa2-text);
  border: 1px solid var(--w6aa2-border);
}

/* === TESTIMONIALS === */
.w6aa2-testimonial {
  background: var(--w6aa2-card); border-radius: var(--w6aa2-radius);
  padding: 14px; margin-bottom: 10px;
  border-left: 3px solid var(--w6aa2-primary);
}
.w6aa2-testimonial-name {
  font-weight: 700; color: var(--w6aa2-primary); font-size: 1.3rem;
}
.w6aa2-testimonial-text { font-size: 1.3rem; margin-top: 6px; line-height: 2rem; }

/* === FOOTER === */
.w6aa2-footer {
  background: var(--w6aa2-dark); padding: 24px 12px 80px;
  border-top: 2px solid var(--w6aa2-primary);
}
.w6aa2-footer-brand { font-size: 1.3rem; color: var(--w6aa2-text); line-height: 2rem; margin-bottom: 16px; }
.w6aa2-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.w6aa2-footer-links a {
  background: var(--w6aa2-card); color: var(--w6aa2-primary);
  padding: 6px 12px; border-radius: 16px; font-size: 1.2rem;
  border: 1px solid var(--w6aa2-border); transition: all 0.2s;
}
.w6aa2-footer-links a:hover { background: var(--w6aa2-primary); color: var(--w6aa2-dark); }
.w6aa2-footer-copy {
  font-size: 1.2rem; color: #8899AA; text-align: center; margin-top: 12px;
}

/* === BOTTOM NAV === */
.w6aa2-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w6aa2-dark); border-top: 2px solid var(--w6aa2-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}
.w6aa2-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--w6aa2-text);
  cursor: pointer; transition: all 0.2s; position: relative;
}
.w6aa2-bottom-btn:hover { color: var(--w6aa2-primary); transform: scale(1.1); }
.w6aa2-bottom-btn .w6aa2-nav-icon { font-size: 22px; margin-bottom: 2px; }
.w6aa2-bottom-btn .w6aa2-nav-label { font-size: 1rem; }
.w6aa2-bottom-btn.w6aa2-active { color: var(--w6aa2-primary); }
.w6aa2-bottom-btn.w6aa2-active::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 2px; background: var(--w6aa2-primary);
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .w6aa2-main { padding-bottom: 80px; }
  .w6aa2-footer { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .w6aa2-game-grid { grid-template-columns: repeat(3, 1fr); }
}
