/* boom99app.cfd - Main Stylesheet */
/* All classes use wcb00- prefix for namespace isolation */

:root {
  --wcb00-dark: #1A1A2E;
  --wcb00-light: #CED4DA;
  --wcb00-accent1: #87CEEB;
  --wcb00-accent2: #00BFFF;
  --wcb00-accent3: #48D1CC;
  --wcb00-bg: #1A1A2E;
  --wcb00-card-bg: #16213E;
  --wcb00-text: #CED4DA;
  --wcb00-text-bright: #FFFFFF;
  --wcb00-border: rgba(135,206,235,0.15);
  --wcb00-radius: 10px;
  --wcb00-radius-lg: 16px;
}

*, *::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(--wcb00-dark);
  color: var(--wcb00-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.wcb00-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  border-bottom: 1px solid var(--wcb00-border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.wcb00-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.wcb00-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.wcb00-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wcb00-accent2);
  letter-spacing: 0.5px;
}

.wcb00-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wcb00-btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: var(--wcb00-radius);
  transition: all 0.25s ease;
  font-size: 1.2rem;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wcb00-btn-register {
  background: linear-gradient(135deg, var(--wcb00-accent2), var(--wcb00-accent3));
  color: #1A1A2E;
}

.wcb00-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,191,255,0.4);
}

.wcb00-btn-login {
  background: transparent;
  color: var(--wcb00-accent1);
  border: 1px solid var(--wcb00-accent1);
}

.wcb00-btn-login:hover {
  background: rgba(135,206,235,0.1);
}

.wcb00-menu-toggle {
  background: none;
  border: none;
  color: var(--wcb00-accent1);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.wcb00-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #16213E 0%, #1A1A2E 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}

.wcb00-mobile-menu.wcb00-menu-active {
  right: 0;
}

.wcb00-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--wcb00-accent1);
  font-size: 2.4rem;
  cursor: pointer;
}

.wcb00-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.wcb00-menu-active ~ .wcb00-menu-overlay {
  display: block;
}

.wcb00-menu-link {
  display: block;
  padding: 12px 16px;
  color: var(--wcb00-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--wcb00-border);
  transition: color 0.2s, background 0.2s;
}

.wcb00-menu-link:hover {
  color: var(--wcb00-accent2);
  background: rgba(0,191,255,0.05);
}

/* Main Content */
.wcb00-main {
  padding-top: 56px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .wcb00-main {
    padding-bottom: 80px;
  }
}

/* Hero Banner */
.wcb00-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.wcb00-hero-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wcb00-hero-slider::-webkit-scrollbar {
  display: none;
}

.wcb00-hero-slide {
  min-width: 100%;
  scroll-snap-align: start;
  position: relative;
}

.wcb00-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 430/200;
  object-fit: cover;
}

.wcb00-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26,26,46,0.9));
}

/* Section Styles */
.wcb00-section {
  padding: 16px 12px;
}

.wcb00-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wcb00-text-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wcb00-section-title i {
  color: var(--wcb00-accent2);
}

/* Category Tabs */
.wcb00-cat-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.wcb00-cat-tabs::-webkit-scrollbar {
  display: none;
}

.wcb00-cat-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--wcb00-border);
  background: var(--wcb00-card-bg);
  color: var(--wcb00-text);
  border-radius: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.wcb00-cat-btn.wcb00-cat-active {
  background: linear-gradient(135deg, var(--wcb00-accent2), var(--wcb00-accent3));
  color: #1A1A2E;
  border-color: transparent;
  font-weight: 600;
}

/* Game Grid */
.wcb00-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wcb00-game-card {
  background: var(--wcb00-card-bg);
  border-radius: var(--wcb00-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--wcb00-border);
}

.wcb00-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,191,255,0.15);
}

.wcb00-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.wcb00-game-name {
  padding: 6px 8px;
  font-size: 1.1rem;
  text-align: center;
  color: var(--wcb00-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Content Article */
.wcb00-article {
  padding: 16px 12px;
  line-height: 1.8;
}

.wcb00-article h2 {
  font-size: 1.8rem;
  color: var(--wcb00-accent2);
  margin: 20px 0 10px;
  font-weight: 700;
}

.wcb00-article h3 {
  font-size: 1.5rem;
  color: var(--wcb00-accent1);
  margin: 16px 0 8px;
  font-weight: 600;
}

.wcb00-article p {
  font-size: 1.3rem;
  color: var(--wcb00-text);
  margin-bottom: 12px;
}

.wcb00-article ul, .wcb00-article ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.wcb00-article li {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--wcb00-text);
}

.wcb00-article a {
  color: var(--wcb00-accent2);
  text-decoration: none;
}

.wcb00-article a:hover {
  text-decoration: underline;
}

/* FAQ Accordion */
.wcb00-faq-item {
  background: var(--wcb00-card-bg);
  border: 1px solid var(--wcb00-border);
  border-radius: var(--wcb00-radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.wcb00-faq-question {
  padding: 14px 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wcb00-text-bright);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.wcb00-faq-question:hover {
  background: rgba(0,191,255,0.05);
}

.wcb00-faq-icon {
  transition: transform 0.3s;
  color: var(--wcb00-accent2);
  font-size: 1.4rem;
}

.wcb00-faq-icon-rotate {
  transform: rotate(180deg);
}

.wcb00-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  font-size: 1.3rem;
  color: var(--wcb00-text);
  line-height: 1.7;
}

.wcb00-faq-answer.wcb00-faq-open {
  max-height: 500px;
  padding: 0 16px 14px;
}

/* Footer */
.wcb00-footer {
  padding: 24px 12px;
  border-top: 1px solid var(--wcb00-border);
  text-align: center;
}

.wcb00-footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wcb00-footer-partners img {
  height: 28px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.wcb00-footer-partners img:hover {
  opacity: 1;
}

.wcb00-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

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

.wcb00-footer-links a:hover {
  color: var(--wcb00-accent2);
}

.wcb00-footer-copy {
  font-size: 1.1rem;
  color: rgba(206,212,218,0.5);
}

/* Bottom Navigation */
.wcb00-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #16213E 0%, #0F1525 100%);
  border-top: 1px solid var(--wcb00-border);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.wcb00-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 48px;
  background: none;
  border: none;
  color: var(--wcb00-text);
  cursor: pointer;
  transition: all 0.25s;
  padding: 4px;
  border-radius: 8px;
  text-decoration: none;
}

.wcb00-bottom-btn:hover {
  color: var(--wcb00-accent2);
  background: rgba(0,191,255,0.08);
}

.wcb00-bottom-btn-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.wcb00-bottom-btn-text {
  font-size: 10px;
  font-weight: 500;
}

.wcb00-bottom-btn.wcb00-bottom-active {
  color: var(--wcb00-accent2);
}

.wcb00-bottom-btn.wcb00-bottom-active .wcb00-bottom-btn-text {
  font-weight: 700;
}

/* Promotional CTA */
.wcb00-cta-banner {
  background: linear-gradient(135deg, var(--wcb00-accent2), var(--wcb00-accent3));
  border-radius: var(--wcb00-radius-lg);
  padding: 16px;
  margin: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.wcb00-cta-banner:hover {
  transform: scale(1.01);
}

.wcb00-cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 6px;
}

.wcb00-cta-text {
  font-size: 1.2rem;
  color: rgba(26,26,46,0.8);
}

/* Responsive */
@media (min-width: 769px) {
  .wcb00-bottom-nav {
    display: none;
  }
  .wcb00-main {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .wcb00-main {
    padding-bottom: 80px;
  }
}

/* Utility */
.wcb00-hidden {
  display: none !important;
}

.wcb00-text-center {
  text-align: center;
}

.wcb00-mt-8 { margin-top: 8px; }
.wcb00-mt-16 { margin-top: 16px; }
.wcb00-mb-8 { margin-bottom: 8px; }
.wcb00-mb-16 { margin-bottom: 16px; }
