/* Bwin Com Login - Core Stylesheet */
/* All classes use wfcb5- prefix for namespace isolation */
/* Color Palette: #262626 | #E5E5E5 | #F4A460 | #D4AF37 | #48D1CC | #191970 */

:root {
  --wfcb5-bg-dark: #262626;
  --wfcb5-bg-deep: #191970;
  --wfcb5-text-light: #E5E5E5;
  --wfcb5-accent-gold: #D4AF37;
  --wfcb5-accent-sand: #F4A460;
  --wfcb5-accent-teal: #48D1CC;
  --wfcb5-primary: #191970;
  --wfcb5-secondary: #F4A460;
  --wfcb5-highlight: #D4AF37;
  --wfcb5-bg: #262626;
  --wfcb5-text: #E5E5E5;
  --wfcb5-radius: 1.2rem;
  --wfcb5-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
}

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

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

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

/* === HEADER === */
.wfcb5-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: var(--wfcb5-bg-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.5);
}

.wfcb5-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.wfcb5-logo-img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.wfcb5-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wfcb5-accent-gold);
  white-space: nowrap;
}

.wfcb5-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wfcb5-btn-register, .wfcb5-btn-login {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--wfcb5-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.wfcb5-btn-register {
  background: linear-gradient(135deg, var(--wfcb5-accent-gold), var(--wfcb5-accent-sand));
  color: #191970;
}

.wfcb5-btn-login {
  background: transparent;
  border: 0.15rem solid var(--wfcb5-accent-teal);
  color: var(--wfcb5-accent-teal);
}

.wfcb5-btn-register:active, .wfcb5-btn-login:active {
  transform: scale(0.95);
}

.wfcb5-hamburger {
  background: none;
  border: none;
  color: var(--wfcb5-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* === MOBILE MENU === */
.wfcb5-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wfcb5-overlay-active { opacity: 1; pointer-events: auto; }

.wfcb5-mobile-menu {
  position: fixed;
  top: 0; right: -75%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--wfcb5-bg-deep);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.wfcb5-menu-active { right: 0; }

.wfcb5-menu-close {
  background: none;
  border: none;
  color: var(--wfcb5-text-light);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.wfcb5-menu-title {
  font-size: 1.6rem;
  color: var(--wfcb5-accent-gold);
  margin-bottom: 2rem;
  font-weight: 700;
}

.wfcb5-menu-links { list-style: none; }

.wfcb5-menu-links li {
  border-bottom: 0.1rem solid rgba(229,229,229,0.1);
}

.wfcb5-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--wfcb5-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.wfcb5-menu-links a:hover { color: var(--wfcb5-accent-sand); }

/* === CAROUSEL === */
.wfcb5-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.6rem;
  overflow: hidden;
  aspect-ratio: 16/7;
}

.wfcb5-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.wfcb5-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wfcb5-slide-active { display: block; }

.wfcb5-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.wfcb5-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(229,229,229,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.wfcb5-dot-active { background: var(--wfcb5-accent-gold); }

/* === MAIN CONTENT === */
.wfcb5-main {
  padding: 1.5rem 1.2rem;
  padding-bottom: 2rem;
}

/* === SECTION TITLES === */
.wfcb5-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wfcb5-accent-gold);
  margin: 2rem 0 1.2rem;
  padding-left: 1rem;
  border-left: 0.4rem solid var(--wfcb5-accent-sand);
}

.wfcb5-section-subtitle {
  font-size: 1.4rem;
  color: var(--wfcb5-accent-teal);
  margin-bottom: 1rem;
}

/* === GAME GRID === */
.wfcb5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wfcb5-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.wfcb5-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.2s;
}

.wfcb5-game-item:active .wfcb5-game-img { transform: scale(0.93); }

.wfcb5-game-name {
  font-size: 1.1rem;
  color: var(--wfcb5-text-light);
  text-align: center;
  margin-top: 0.4rem;
  line-height: 1.3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === CONTENT MODULES === */
.wfcb5-card {
  background: rgba(25,25,112,0.4);
  border: 0.1rem solid rgba(212,175,55,0.2);
  border-radius: var(--wfcb5-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.wfcb5-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wfcb5-accent-gold);
  margin-bottom: 1rem;
}

.wfcb5-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--wfcb5-text-light);
  margin-bottom: 1rem;
}

.wfcb5-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.wfcb5-card li {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--wfcb5-text-light);
  margin-bottom: 0.4rem;
}

.wfcb5-promo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--wfcb5-accent-gold), var(--wfcb5-accent-sand));
  color: #191970;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: var(--wfcb5-radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s;
}

.wfcb5-promo-btn:active { transform: scale(0.95); }

.wfcb5-text-link {
  color: var(--wfcb5-accent-teal);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* === FAQ === */
.wfcb5-faq-item {
  border-bottom: 0.1rem solid rgba(229,229,229,0.1);
  padding: 1.2rem 0;
}

.wfcb5-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wfcb5-accent-sand);
  margin-bottom: 0.5rem;
}

.wfcb5-faq-a {
  font-size: 1.3rem;
  color: var(--wfcb5-text-light);
  line-height: 1.7rem;
}

/* === FOOTER === */
.wfcb5-footer {
  background: var(--wfcb5-bg-deep);
  padding: 2rem 1.2rem;
  text-align: center;
}

.wfcb5-footer-brand {
  font-size: 1.3rem;
  color: var(--wfcb5-text-light);
  line-height: 1.8rem;
  margin-bottom: 1.5rem;
}

.wfcb5-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.wfcb5-footer-links a {
  color: var(--wfcb5-accent-teal);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.wfcb5-footer-links a:hover { color: var(--wfcb5-accent-sand); }

.wfcb5-footer-copyright {
  font-size: 1.1rem;
  color: rgba(229,229,229,0.5);
  border-top: 0.1rem solid rgba(229,229,229,0.1);
  padding-top: 1rem;
}

.wfcb5-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

/* === BOTTOM NAV === */
.wfcb5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: var(--wfcb5-bg-deep);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 0.15rem solid rgba(212,175,55,0.3);
  box-shadow: 0 -0.2rem 1rem rgba(0,0,0,0.4);
}

.wfcb5-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.4rem;
  background: none;
  border: none;
  color: var(--wfcb5-text-light);
  cursor: pointer;
  transition: transform 0.15s, color 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.wfcb5-bottom-nav-btn:active { transform: scale(0.9); }

.wfcb5-bottom-nav-btn .wfcb5-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.wfcb5-bottom-nav-btn .wfcb5-nav-label {
  font-size: 1rem;
  color: rgba(229,229,229,0.7);
}

.wfcb5-nav-active .wfcb5-nav-icon,
.wfcb5-nav-active .wfcb5-nav-label {
  color: var(--wfcb5-accent-gold) !important;
}

/* === INTERNAL LINKS === */
.wfcb5-internal-link {
  color: var(--wfcb5-accent-teal);
  text-decoration: none;
  font-weight: 500;
}

.wfcb5-internal-link:hover {
  text-decoration: underline;
  color: var(--wfcb5-accent-sand);
}

/* === WINNER MARQUEE === */
.wfcb5-winners {
  background: rgba(72,209,204,0.1);
  border-radius: var(--wfcb5-radius);
  padding: 1rem;
  margin: 1.5rem 0;
}

.wfcb5-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 1.2rem;
  border-bottom: 0.1rem solid rgba(229,229,229,0.05);
}

.wfcb5-winner-name { color: var(--wfcb5-accent-sand); font-weight: 600; }
.wfcb5-winner-game { color: var(--wfcb5-text-light); }
.wfcb5-winner-amount { color: var(--wfcb5-accent-gold); font-weight: 700; }

/* === TESTIMONIALS === */
.wfcb5-testimonial {
  background: rgba(212,175,55,0.08);
  border-radius: var(--wfcb5-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.wfcb5-testimonial-user {
  font-size: 1.2rem;
  color: var(--wfcb5-accent-teal);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.wfcb5-testimonial-text {
  font-size: 1.2rem;
  color: var(--wfcb5-text-light);
  line-height: 1.6rem;
}

/* === RESPONSIVE === */
@media (min-width: 769px) {
  .wfcb5-bottom-nav { display: none; }
  .wfcb5-hamburger { display: none; }
}

@media (max-width: 768px) {
  .wfcb5-main { padding-bottom: 8rem; }
  .wfcb5-footer { padding-bottom: 8rem; }
}
