/**
 * JL4 Club - Theme Stylesheet
 * Prefix: wb0b2-
 * Color Scheme: #273746 | #FFB347 | #FAFAD2 | #E5E5E5 | #FFE135
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --wb0b2-primary: #273746;
  --wb0b2-accent1: #FFB347;
  --wb0b2-accent2: #FAFAD2;
  --wb0b2-accent3: #FFE135;
  --wb0b2-light: #E5E5E5;
  --wb0b2-dark: #1a252f;
  --wb0b2-text: #ffffff;
  --wb0b2-text-dark: #333333;
  --wb0b2-border: rgba(255, 179, 71, 0.2);
  --wb0b2-shadow: rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--wb0b2-text);
  background: var(--wb0b2-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wb0b2-accent3);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--wb0b2-accent1);
}

/* Container */
.wb0b2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wb0b2-wrapper {
  padding-bottom: 8rem;
}

/* Header */
.wb0b2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--wb0b2-primary) 0%, var(--wb0b2-dark) 100%);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--wb0b2-shadow);
  transition: all 0.3s ease;
}

.wb0b2-header-scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.wb0b2-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wb0b2-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wb0b2-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.wb0b2-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wb0b2-accent3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wb0b2-header-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.wb0b2-btn-register,
.wb0b2-btn-login {
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.wb0b2-btn-register {
  background: linear-gradient(135deg, var(--wb0b2-accent3) 0%, var(--wb0b2-accent1) 100%);
  color: var(--wb0b2-text-dark);
}

.wb0b2-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 225, 53, 0.4);
}

.wb0b2-btn-login {
  background: transparent;
  color: var(--wb0b2-accent2);
  border: 2px solid var(--wb0b2-accent2);
}

.wb0b2-btn-login:hover {
  background: var(--wb0b2-accent2);
  color: var(--wb0b2-text-dark);
}

.wb0b2-menu-toggle {
  background: none;
  border: none;
  color: var(--wb0b2-accent3);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Overlay */
.wb0b2-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wb0b2-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.wb0b2-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: var(--wb0b2-dark);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.wb0b2-menu-active {
  right: 0;
}

.wb0b2-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--wb0b2-border);
}

.wb0b2-menu-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wb0b2-accent3);
}

.wb0b2-menu-close {
  background: none;
  border: none;
  color: var(--wb0b2-accent1);
  font-size: 2.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.wb0b2-menu-links {
  list-style: none;
}

.wb0b2-menu-link {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--wb0b2-light);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--wb0b2-border);
  transition: all 0.3s ease;
}

.wb0b2-menu-link:hover {
  background: rgba(255, 179, 71, 0.1);
  padding-left: 1.5rem;
  color: var(--wb0b2-accent3);
}

/* Main Content */
.wb0b2-main {
  margin-top: 6rem;
  padding-bottom: 8rem;
  min-height: 100vh;
}

/* Carousel */
.wb0b2-carousel {
  position: relative;
  width: 100%;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--wb0b2-shadow);
}

.wb0b2-carousel-slide {
  display: none;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.wb0b2-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section */
.wb0b2-section {
  margin: 3rem 0;
  padding: 2rem 0;
}

.wb0b2-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--wb0b2-accent3);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.wb0b2-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--wb0b2-accent1) 0%, var(--wb0b2-accent3) 100%);
  border-radius: 2px;
}

.wb0b2-section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--wb0b2-accent1);
  margin: 2rem 0 1rem;
}

/* Game Grid */
.wb0b2-game-category {
  margin: 3rem 0;
}

.wb0b2-category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wb0b2-accent1);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 179, 71, 0.1);
  border-left: 4px solid var(--wb0b2-accent3);
  border-radius: 6px;
}

.wb0b2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.wb0b2-game-item {
  background: var(--wb0b2-dark);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.wb0b2-game-item:hover {
  transform: translateY(-5px);
  border-color: var(--wb0b2-accent3);
  box-shadow: 0 8px 20px rgba(255, 225, 53, 0.3);
}

.wb0b2-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
}

.wb0b2-game-name {
  padding: 0.6rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--wb0b2-light);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wb0b2-game-name:hover {
  background: var(--wb0b2-accent3);
  color: var(--wb0b2-text-dark);
}

/* Content Card */
.wb0b2-content-card {
  background: var(--wb0b2-dark);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid var(--wb0b2-border);
  box-shadow: 0 4px 15px var(--wb0b2-shadow);
}

.wb0b2-content-card h2 {
  color: var(--wb0b2-accent3);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.wb0b2-content-card h3 {
  color: var(--wb0b2-accent1);
  font-size: 1.7rem;
  margin: 1.5rem 0 1rem;
}

.wb0b2-content-card p {
  color: var(--wb0b2-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.wb0b2-content-card ul,
.wb0b2-content-card ol {
  margin: 1rem 0 1rem 2rem;
  color: var(--wb0b2-light);
}

.wb0b2-content-card li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Accordion */
.wb0b2-accordion-item {
  background: var(--wb0b2-dark);
  border: 1px solid var(--wb0b2-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.wb0b2-accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--wb0b2-accent3);
  transition: all 0.3s ease;
}

.wb0b2-accordion-header:hover {
  background: rgba(255, 179, 71, 0.1);
}

.wb0b2-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.wb0b2-accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--wb0b2-light);
  line-height: 1.6;
}

/* Bottom Navigation */
.wb0b2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--wb0b2-dark) 0%, var(--wb0b2-primary) 100%);
  padding: 0.8rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--wb0b2-shadow);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid var(--wb0b2-border);
}

.wb0b2-bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--wb0b2-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wb0b2-bottom-nav-link:hover,
.wb0b2-nav-active {
  color: var(--wb0b2-accent3);
  transform: translateY(-3px);
}

.wb0b2-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.wb0b2-bottom-nav-text {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Footer */
.wb0b2-footer {
  background: var(--wb0b2-dark);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  border-top: 2px solid var(--wb0b2-border);
}

.wb0b2-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.wb0b2-footer-link {
  padding: 1rem;
  text-align: center;
  background: rgba(255, 179, 71, 0.1);
  border-radius: 6px;
  color: var(--wb0b2-accent2);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.wb0b2-footer-link:hover {
  background: rgba(255, 225, 53, 0.2);
  color: var(--wb0b2-accent3);
}

.wb0b2-partners {
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--wb0b2-border);
  border-bottom: 1px solid var(--wb0b2-border);
}

.wb0b2-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.wb0b2-partner-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.wb0b2-partner-logo:hover {
  opacity: 1;
}

.wb0b2-copyright {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--wb0b2-light);
  font-size: 1.2rem;
}

/* Buttons */
.wb0b2-btn-primary {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--wb0b2-accent3) 0%, var(--wb0b2-accent1) 100%);
  color: var(--wb0b2-text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.wb0b2-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 225, 53, 0.4);
}

/* Desktop Styles */
@media (min-width: 769px) {
  .wb0b2-bottom-nav {
    display: none;
  }

  .wb0b2-wrapper {
    padding-bottom: 2rem;
  }

  .wb0b2-main {
    padding-bottom: 2rem;
  }
}

/* Toast Notification */
.wb0b2-toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wb0b2-accent3);
  color: var(--wb0b2-text-dark);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.wb0b2-toast-show {
  top: 80px;
}
