/**
 * sportsplus login - Main Stylesheet
 * All classes use wb195- prefix for namespace isolation
 * Mobile-first responsive design with max-width 430px
 */

/* CSS Variables - Color Scheme */
:root {
  --wb195-primary: #F4A460;
  --wb195-secondary: #1A1A2E;
  --wb195-accent: #A0522D;
  --wb195-text-light: #CCCCCC;
  --wb195-text-white: #FFFFFF;
  --wb195-teal: #20B2AA;
  --wb195-dark: #0D0D1A;
  --wb195-card-bg: #252540;
  --wb195-border: #3A3A5A;
}

/* Reset and Base Styles */
* {
  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, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  background-color: var(--wb195-secondary);
  color: var(--wb195-text-light);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Container */
.wb195-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.wb195-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background-color: var(--wb195-secondary);
  border-bottom: 2px solid var(--wb195-primary);
  z-index: 1000;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wb195-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wb195-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--wb195-text-white);
}

.wb195-logo img {
  width: 28px;
  height: 28px;
}

.wb195-logo-text {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--wb195-primary);
}

.wb195-header-buttons {
  display: flex;
  gap: 0.5rem;
}

.wb195-btn-header {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
}

.wb195-btn-register {
  background-color: var(--wb195-primary);
  color: var(--wb195-secondary);
}

.wb195-btn-register:hover {
  background-color: var(--wb195-accent);
}

.wb195-btn-login {
  background-color: var(--wb195-teal);
  color: var(--wb195-text-white);
}

.wb195-btn-login:hover {
  background-color: #1A9D94;
}

.wb195-menu-toggle {
  background: none;
  border: none;
  color: var(--wb195-primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.wb195-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wb195-overlay-show {
  opacity: 1;
  visibility: visible;
}

.wb195-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--wb195-secondary);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.wb195-menu-open {
  right: 0;
}

.wb195-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--wb195-text-light);
  font-size: 2rem;
  cursor: pointer;
}

.wb195-menu-list {
  list-style: none;
  padding: 0 1rem;
}

.wb195-menu-list li {
  margin-bottom: 0.5rem;
}

.wb195-menu-list a {
  display: block;
  padding: 1rem;
  color: var(--wb195-text-light);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.wb195-menu-list a:hover {
  background-color: var(--wb195-primary);
  color: var(--wb195-secondary);
}

/* Main Content */
.wb195-main {
  padding-top: 70px;
  padding-bottom: 80px;
}

/* Carousel */
.wb195-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 10px;
}

.wb195-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wb195-slide-active {
  opacity: 1;
}

.wb195-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wb195-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.wb195-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wb195-dot-active {
  background-color: var(--wb195-primary);
  transform: scale(1.2);
}

/* Headings */
.wb195-h1 {
  color: var(--wb195-primary);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.wb195-h2 {
  color: var(--wb195-teal);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--wb195-primary);
  padding-left: 1rem;
}

.wb195-h3 {
  color: var(--wb195-text-white);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Game Grid */
.wb195-game-section {
  margin-bottom: 3rem;
}

.wb195-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.wb195-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.wb195-game-item:hover {
  transform: scale(1.05);
}

.wb195-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background-color: var(--wb195-dark);
  border: 2px solid var(--wb195-border);
}

.wb195-game-name {
  font-size: 1rem;
  color: var(--wb195-text-light);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Cards */
.wb195-card {
  background-color: var(--wb195-card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--wb195-border);
}

.wb195-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Promotional Links */
.wb195-promo-link {
  color: var(--wb195-primary);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.wb195-promo-link:hover {
  color: var(--wb195-teal);
  text-decoration: underline;
}

/* Buttons */
.wb195-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--wb195-primary);
  color: var(--wb195-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.wb195-btn:hover {
  background-color: var(--wb195-accent);
  transform: translateY(-2px);
}

.wb195-btn-full {
  width: 100%;
}

.wb195-btn-secondary {
  background-color: var(--wb195-teal);
  color: var(--wb195-text-white);
}

/* FAQ Section */
.wb195-faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--wb195-border);
  padding-bottom: 1rem;
}

.wb195-faq-question {
  color: var(--wb195-primary);
  font-weight: bold;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.wb195-faq-answer {
  line-height: 1.6;
}

/* Features List */
.wb195-features-list {
  list-style: none;
}

.wb195-features-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--wb195-border);
  display: flex;
  align-items: start;
  gap: 1rem;
}

.wb195-feature-icon {
  color: var(--wb195-teal);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Footer */
.wb195-footer {
  background-color: var(--wb195-dark);
  padding: 2rem 1rem 1rem;
  margin-top: 3rem;
}

.wb195-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.wb195-footer-link {
  color: var(--wb195-text-light);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--wb195-border);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.wb195-footer-link:hover {
  background-color: var(--wb195-primary);
  color: var(--wb195-secondary);
  border-color: var(--wb195-primary);
}

.wb195-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.wb195-partner-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.wb195-partner-logo:hover {
  opacity: 1;
}

.wb195-footer-text {
  text-align: center;
  color: var(--wb195-text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.wb195-footer-copyright {
  text-align: center;
  color: var(--wb195-text-light);
  font-size: 1rem;
  opacity: 0.7;
}

/* Mobile Bottom Navigation */
.wb195-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background-color: var(--wb195-secondary);
  border-top: 2px solid var(--wb195-primary);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  z-index: 1000;
}

.wb195-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--wb195-text-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wb195-nav-item:hover {
  color: var(--wb195-primary);
}

.wb195-nav-item.active {
  color: var(--wb195-primary);
}

.wb195-nav-icon {
  font-size: 24px;
  margin-bottom: 0.2rem;
}

.wb195-nav-text {
  font-size: 10px;
  text-align: center;
}

/* Responsive - Hide bottom nav on desktop */
@media (min-width: 769px) {
  .wb195-bottom-nav {
    display: none;
  }

  .wb195-main {
    padding-bottom: 2rem;
  }
}

/* Utility Classes */
.wb195-text-center {
  text-align: center;
}

.wb195-mt-1 {
  margin-top: 1rem;
}

.wb195-mb-1 {
  margin-bottom: 1rem;
}

.wb195-mb-2 {
  margin-bottom: 2rem;
}

.wb195-mb-3 {
  margin-bottom: 3rem;
}
