/**
 * A45 Casino - Design Stylesheet
 * All classes use 'wb95b-' prefix for namespace isolation
 */

/* CSS Variables */
:root {
  --wb95b-primary: #FFAA00;
  --wb95b-secondary: #FF7F50;
  --wb95b-accent: #FF8C00;
  --wb95b-dark: #2C2C2C;
  --wb95b-gold: #FFD700;
  --wb95b-gray: #808080;
  --wb95b-bg: #1a1a1a;
  --wb95b-bg-light: #2C2C2C;
  --wb95b-text: #ffffff;
  --wb95b-text-dark: #cccccc;
  --wb95b-border: #404040;
  --wb95b-gradient: linear-gradient(135deg, #FFAA00 0%, #FF7F50 100%);
}

/* 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, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--wb95b-text);
  background-color: var(--wb95b-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container */
.wb95b-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.wb95b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--wb95b-dark);
  border-bottom: 2px solid var(--wb95b-primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wb95b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.wb95b-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--wb95b-text);
  font-size: 1.8rem;
  font-weight: bold;
}

.wb95b-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
}

.wb95b-header-buttons {
  display: flex;
  gap: 1rem;
}

.wb95b-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.wb95b-btn-register {
  background: var(--wb95b-gradient);
  color: var(--wb95b-dark);
}

.wb95b-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.4);
}

.wb95b-btn-login {
  background: transparent;
  color: var(--wb95b-gold);
  border: 2px solid var(--wb95b-gold);
}

.wb95b-btn-login:hover {
  background: var(--wb95b-gold);
  color: var(--wb95b-dark);
}

/* Mobile Menu Toggle */
.wb95b-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.wb95b-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--wb95b-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.wb95b-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

/* Mobile Menu */
.wb95b-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: var(--wb95b-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.wb95b-mobile-menu.wb95b-menu-open {
  right: 0;
}

.wb95b-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--wb95b-border);
}

.wb95b-menu-close {
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--wb95b-text);
  background: none;
  border: none;
}

.wb95b-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.wb95b-menu-list li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--wb95b-text);
  text-decoration: none;
  font-size: 1.6rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.wb95b-menu-list li a:hover {
  background-color: rgba(255, 170, 0, 0.1);
  border-left-color: var(--wb95b-primary);
  color: var(--wb95b-primary);
}

/* Main Content */
main {
  margin-top: 80px;
  padding-bottom: 80px;
}

/* Slider */
.wb95b-slider {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.wb95b-slide {
  width: 100%;
  display: none;
}

.wb95b-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.wb95b-slide:first-child {
  display: block;
}

/* Section Styles */
.wb95b-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--wb95b-bg-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.wb95b-section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--wb95b-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.4rem;
  color: var(--wb95b-gold);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.3;
}

h2 {
  font-size: 2rem;
  color: var(--wb95b-primary);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  color: var(--wb95b-secondary);
  margin-bottom: 1rem;
}

/* Game Grid */
.wb95b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.wb95b-game-card {
  background-color: var(--wb95b-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.wb95b-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--wb95b-primary);
  box-shadow: 0 5px 20px rgba(255, 170, 0, 0.3);
}

.wb95b-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.wb95b-game-name {
  padding: 0.6rem;
  font-size: 1.2rem;
  text-align: center;
  color: var(--wb95b-text);
  background-color: var(--wb95b-bg-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Tabs */
.wb95b-category-title {
  font-size: 1.8rem;
  color: var(--wb95b-gold);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--wb95b-primary);
}

/* Text Links */
.wb95b-promo-link {
  color: var(--wb95b-primary);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--wb95b-primary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wb95b-promo-link:hover {
  color: var(--wb95b-gold);
  border-color: var(--wb95b-gold);
}

/* Content Styling */
.wb95b-content p {
  margin-bottom: 1rem;
  color: var(--wb95b-text-dark);
  text-align: justify;
}

.wb95b-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.wb95b-content li {
  margin-bottom: 0.8rem;
  color: var(--wb95b-text-dark);
}

.wb95b-highlight {
  color: var(--wb95b-primary);
  font-weight: bold;
}

/* Footer */
.wb95b-footer {
  background-color: var(--wb95b-dark);
  padding: 3rem 1rem 9rem;
  border-top: 3px solid var(--wb95b-primary);
}

.wb95b-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.wb95b-footer-section {
  margin-bottom: 2rem;
}

.wb95b-footer-title {
  font-size: 1.8rem;
  color: var(--wb95b-primary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.wb95b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.wb95b-footer-links a {
  color: var(--wb95b-text-dark);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.wb95b-footer-links a:hover {
  color: var(--wb95b-primary);
}

.wb95b-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.wb95b-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.wb95b-partner-logo:hover {
  opacity: 1;
}

.wb95b-copyright {
  text-align: center;
  color: var(--wb95b-gray);
  font-size: 1.2rem;
  margin-top: 2rem;
}

/* Bottom Navigation (Mobile) */
.wb95b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #2C2C2C 0%, #1a1a1a 100%);
  border-top: 2px solid var(--wb95b-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.wb95b-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--wb95b-text-dark);
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.wb95b-bottom-nav a:hover {
  color: var(--wb95b-primary);
  transform: scale(1.1);
}

.wb95b-bottom-nav a.wb95b-nav-active {
  color: var(--wb95b-gold);
}

.wb95b-bottom-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.wb95b-bottom-nav-text {
  font-size: 10px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wb95b-animate-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (min-width: 769px) {
  .wb95b-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 2rem;
  }
}

/* Utility Classes */
.wb95b-text-center {
  text-align: center;
}

.wb95b-mt-1 {
  margin-top: 1rem;
}

.wb95b-mt-2 {
  margin-top: 2rem;
}

.wb95b-mb-1 {
  margin-bottom: 1rem;
}

.wb95b-mb-2 {
  margin-bottom: 2rem;
}
