/**
 * big bunny app apk - Main Stylesheet
 * All classes prefixed with w5a50- for namespace isolation
 * Mobile-first responsive design with unique visual identity
 */

/* CSS Variables - Unique Color Palette */
:root {
  --w5a50-primary: #00CED1;
  --w5a50-primary-dark: #009999;
  --w5a50-secondary: #778899;
  --w5a50-bg-dark: #0C0C0C;
  --w5a50-bg-card: #1a1a1a;
  --w5a50-bg-light: #E5E5E5;
  --w5a50-accent: #E0FFFF;
  --w5a50-text: #E5E5E5;
  --w5a50-text-muted: #778899;
  --w5a50-success: #00CED1;
  --w5a50-warning: #FFD700;
  --w5a50-danger: #FF4444;
  --w5a50-gradient: linear-gradient(135deg, #00CED1 0%, #009999 100%);
  --w5a50-glass: rgba(255, 255, 255, 0.05);
  --w5a50-shadow: 0 4px 20px rgba(0, 206, 209, 0.2);
  --w5a50-header-height: 60px;
  --w5a50-bottom-nav-height: 60px;
}

/* 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.6rem;
  line-height: 1.6;
  color: var(--w5a50-text);
  background-color: var(--w5a50-bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--w5a50-primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--w5a50-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Container */
.w5a50-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.w5a50-wrapper {
  padding-top: var(--w5a50-header-height);
  padding-bottom: 80px;
}

/* Header Styles - Unique Glassmorphism Design */
.w5a50-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--w5a50-header-height);
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 206, 209, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 206, 209, 0.1);
}

.w5a50-header-scrolled {
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 4px 30px rgba(0, 206, 209, 0.3);
}

.w5a50-header-content {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.w5a50-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w5a50-primary);
}

.w5a50-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.w5a50-header-buttons {
  display: flex;
  gap: 1rem;
}

.w5a50-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.w5a50-btn-register {
  background: var(--w5a50-gradient);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.4);
}

.w5a50-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.6);
}

.w5a50-btn-login {
  background: transparent;
  color: var(--w5a50-primary);
  border: 2px solid var(--w5a50-primary);
}

.w5a50-btn-login:hover {
  background: var(--w5a50-primary);
  color: #000;
}

.w5a50-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--w5a50-glass);
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(0, 206, 209, 0.3);
  transition: all 0.3s ease;
}

.w5a50-menu-toggle:hover {
  background: rgba(0, 206, 209, 0.1);
  border-color: var(--w5a50-primary);
}

/* Mobile Menu - Unique Slide-in Design */
.w5a50-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9999;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(0, 206, 209, 0.3);
  overflow-y: auto;
}

.w5a50-menu-open {
  right: 0;
}

.w5a50-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;
}

.w5a50-overlay-active {
  opacity: 1;
  visibility: visible;
}

.w5a50-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 206, 209, 0.2);
}

.w5a50-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--w5a50-glass);
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(0, 206, 209, 0.3);
}

.w5a50-menu-nav {
  padding: 1rem 0;
}

.w5a50-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--w5a50-text);
  font-size: 1.4rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.w5a50-menu-item:hover {
  background: rgba(0, 206, 209, 0.1);
  border-left-color: var(--w5a50-primary);
  color: var(--w5a50-primary);
}

/* Carousel - Unique Fade Design */
.w5a50-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: var(--w5a50-shadow);
}

.w5a50-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.w5a50-carousel-slide:first-child {
  opacity: 1;
}

.w5a50-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w5a50-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.w5a50-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.w5a50-carousel-dot.w5a50-active {
  background: var(--w5a50-primary);
  width: 24px;
  border-radius: 12px;
}

/* Hero Section - Unique Gradient Background */
.w5a50-hero {
  padding: 2rem 0;
  background: linear-gradient(180deg, rgba(0, 206, 209, 0.1) 0%, transparent 100%);
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
}

.w5a50-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--w5a50-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 206, 209, 0.3);
}

.w5a50-hero p {
  font-size: 1.4rem;
  color: var(--w5a50-text-muted);
  line-height: 1.6;
}

/* Card Component - Unique Glass Effect */
.w5a50-card {
  background: var(--w5a50-bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 206, 209, 0.2);
  box-shadow: var(--w5a50-shadow);
  transition: all 0.3s ease;
}

.w5a50-card:hover {
  transform: translateY(-4px);
  border-color: var(--w5a50-primary);
  box-shadow: 0 8px 30px rgba(0, 206, 209, 0.3);
}

.w5a50-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w5a50-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w5a50-card-content {
  font-size: 1.4rem;
  color: var(--w5a50-text);
  line-height: 1.6;
}

/* Game Grid - Unique Compact Design */
.w5a50-game-section {
  margin-bottom: 2.5rem;
}

.w5a50-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w5a50-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(0, 206, 209, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w5a50-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.w5a50-game-item {
  background: var(--w5a50-bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(119, 136, 153, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.w5a50-game-item:hover {
  transform: scale(1.05);
  border-color: var(--w5a50-primary);
  box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4);
}

.w5a50-game-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.w5a50-game-name {
  padding: 0.6rem 0.4rem;
  font-size: 1.1rem;
  color: var(--w5a50-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0, 206, 209, 0.1);
}

/* Button Component - Unique Gradient Style */
.w5a50-cta-button {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--w5a50-gradient);
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4);
  border: none;
  margin-top: 1rem;
}

.w5a50-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 206, 209, 0.6);
}

/* Features Section - Unique Icon Layout */
.w5a50-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w5a50-feature-item {
  background: var(--w5a50-glass);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 206, 209, 0.2);
  transition: all 0.3s ease;
}

.w5a50-feature-item:hover {
  background: rgba(0, 206, 209, 0.1);
  border-color: var(--w5a50-primary);
}

.w5a50-feature-icon {
  font-size: 2.4rem;
  color: var(--w5a50-primary);
  margin-bottom: 0.8rem;
}

.w5a50-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--w5a50-text);
  margin-bottom: 0.4rem;
}

.w5a50-feature-desc {
  font-size: 1.1rem;
  color: var(--w5a50-text-muted);
  line-height: 1.4;
}

/* FAQ Component - Unique Accordion Style */
.w5a50-faq-item {
  background: var(--w5a50-bg-card);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(119, 136, 153, 0.3);
}

.w5a50-faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w5a50-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 206, 209, 0.05);
  transition: all 0.3s ease;
}

.w5a50-faq-question:hover {
  background: rgba(0, 206, 209, 0.1);
}

.w5a50-faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.w5a50-faq-item.active .w5a50-faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.w5a50-faq-answer p {
  font-size: 1.3rem;
  color: var(--w5a50-text);
  line-height: 1.6;
}

/* Bottom Navigation - Unique Floating Design */
.w5a50-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--w5a50-bottom-nav-height);
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 206, 209, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 206, 209, 0.2);
}

.w5a50-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  padding: 0.5rem;
  color: var(--w5a50-text-muted);
  transition: all 0.3s ease;
  position: relative;
}

.w5a50-nav-btn:hover {
  color: var(--w5a50-primary);
  transform: scale(1.1);
}

.w5a50-nav-btn.w5a50-nav-active {
  color: var(--w5a50-primary);
}

.w5a50-nav-btn.w5a50-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--w5a50-gradient);
  border-radius: 0 0 4px 4px;
}

.w5a50-nav-icon {
  font-size: 24px;
  margin-bottom: 0.3rem;
}

.w5a50-nav-label {
  font-size: 10px;
  font-weight: 500;
}

/* Footer - Unique Multi-Section Layout */
.w5a50-footer {
  background: var(--w5a50-bg-card);
  padding: 2.5rem 0 8rem 0;
  border-top: 1px solid rgba(0, 206, 209, 0.2);
}

.w5a50-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.w5a50-footer-link {
  padding: 0.6rem 1.2rem;
  background: var(--w5a50-glass);
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--w5a50-primary);
  border: 1px solid rgba(0, 206, 209, 0.2);
  transition: all 0.3s ease;
}

.w5a50-footer-link:hover {
  background: var(--w5a50-primary);
  color: #000;
  border-color: var(--w5a50-primary);
}

.w5a50-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.w5a50-partner-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 8px;
  background: var(--w5a50-glass);
  padding: 0.5rem;
}

.w5a50-partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  border: 1px solid var(--w5a50-primary);
}

.w5a50-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--w5a50-text-muted);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(119, 136, 153, 0.2);
}

/* Utility Classes */
.w5a50-text-center {
  text-align: center;
}

.w5a50-mt-1 {
  margin-top: 1rem;
}

.w5a50-mt-2 {
  margin-top: 2rem;
}

.w5a50-mb-1 {
  margin-bottom: 1rem;
}

.w5a50-mb-2 {
  margin-bottom: 2rem;
}

.w5a50-p-1 {
  padding: 1rem;
}

.w5a50-p-2 {
  padding: 2rem;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .w5a50-bottom-nav {
    display: none;
  }

  .w5a50-wrapper {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .w5a50-menu-toggle {
    display: flex;
  }
}

/* Animation Keyframes */
@keyframes w5a50-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.w5a50-animate-in {
  animation: w5a50-fadeIn 0.6s ease forwards;
}

/* Loading Spinner */
.w5a50-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 206, 209, 0.2);
  border-top-color: var(--w5a50-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Badge Component */
.w5a50-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--w5a50-gradient);
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  margin-left: 0.5rem;
}
