/* 25ph Theme CSS - Mobile First Design */
/* CSS Variables */
:root {
  --w324a-primary: #9370DB;
  --w324a-secondary: #6A5ACD;
  --w324a-accent: #DDA0DD;
  --w324a-bg: #0E1621;
  --w324a-light: #CCCCCC;
  --w324a-white: #ffffff;
  --w324a-black: #000000;
  --w324a-gradient: linear-gradient(135deg, var(--w324a-primary), var(--w324a-secondary));
  --w324a-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --w324a-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  --w324a-border-radius: 0.5rem;
  --w324a-transition: all 0.3s ease;
  --w324a-z-header: 1000;
  --w324a-z-modal: 9999;
  --w324a-z-overlay: 999;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--w324a-light);
  background: var(--w324a-bg);
  overflow-x: hidden;
}

/* Container and Layout */
.w324a-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.w324a-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.w324a-main {
  flex: 1;
  padding: 7rem 0 8rem;
}

/* Typography */
.w324a-h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--w324a-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.w324a-h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--w324a-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.w324a-h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--w324a-accent);
  margin-bottom: 0.8rem;
}

.w324a-text {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--w324a-light);
}

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

.w324a-text-bold {
  font-weight: 600;
  color: var(--w324a-white);
}

/* Header Styles */
.w324a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--w324a-gradient);
  padding: 1rem 0;
  z-index: var(--w324a-z-header);
  box-shadow: var(--w324a-shadow);
  transition: var(--w324a-transition);
}

.w324a-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w324a-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--w324a-white);
  font-weight: 700;
  font-size: 1.8rem;
}

.w324a-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.8rem;
  border-radius: var(--w324a-border-radius);
}

.w324a-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w324a-nav-btn {
  padding: 0.6rem 1.2rem;
  background: var(--w324a-white);
  color: var(--w324a-primary);
  text-decoration: none;
  border-radius: var(--w324a-border-radius);
  font-weight: 600;
  font-size: 1.2rem;
  transition: var(--w324a-transition);
  border: none;
  cursor: pointer;
}

.w324a-nav-btn:hover {
  background: var(--w324a-accent);
  transform: scale(1.05);
}

.w324a-mobile-menu-btn {
  background: none;
  border: none;
  color: var(--w324a-white);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--w324a-transition);
}

.w324a-mobile-menu-btn.w324a-active {
  transform: rotate(90deg);
}

/* Mobile Menu */
.w324a-mobile-menu {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  background: var(--w324a-bg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--w324a-transition);
  z-index: var(--w324a-z-overlay);
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  pointer-events: none;
}

.w324a-mobile-menu.w324a-menu-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.w324a-mobile-menu-list {
  list-style: none;
  padding: 2rem 0;
}

.w324a-mobile-menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w324a-mobile-menu-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--w324a-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--w324a-transition);
}

.w324a-mobile-menu-link:hover {
  background: var(--w324a-primary);
  color: var(--w324a-white);
}

/* Button Styles */
.w324a-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background: var(--w324a-gradient);
  color: var(--w324a-white);
  text-decoration: none;
  border-radius: var(--w324a-border-radius);
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  transition: var(--w324a-transition);
  border: none;
  cursor: pointer;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w324a-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--w324a-shadow-lg);
}

.w324a-btn-primary {
  background: var(--w324a-gradient);
}

.w324a-btn-secondary {
  background: transparent;
  border: 2px solid var(--w324a-primary);
  color: var(--w324a-primary);
}

.w324a-btn-secondary:hover {
  background: var(--w324a-primary);
  color: var(--w324a-white);
}

.w324a-btn-large {
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
  min-height: 5.2rem;
}

.w324a-btn-small {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
  min-height: 3.6rem;
}

/* Card Styles */
.w324a-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--w324a-border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--w324a-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--w324a-transition);
}

.w324a-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--w324a-shadow-lg);
}

.w324a-card-header {
  margin-bottom: 1.5rem;
}

.w324a-card-body {
  margin-bottom: 1.5rem;
}

.w324a-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Carousel Styles */
.w324a-carousel {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  border-radius: var(--w324a-border-radius);
  margin-bottom: 2rem;
}

.w324a-carousel-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.w324a-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: var(--w324a-transition);
}

.w324a-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w324a-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.w324a-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.w324a-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--w324a-transition);
}

.w324a-carousel-dot.w324a-active {
  background: var(--w324a-primary);
}

/* Game Grid */
.w324a-game-section {
  margin-bottom: 3rem;
}

.w324a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w324a-game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--w324a-border-radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--w324a-transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.w324a-game-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.w324a-game-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--w324a-border-radius);
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.w324a-game-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--w324a-light);
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Feature Section */
.w324a-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.w324a-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.w324a-feature-icon {
  width: 4rem;
  height: 4rem;
  background: var(--w324a-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--w324a-white);
  flex-shrink: 0;
}

.w324a-feature-content h3 {
  color: var(--w324a-white);
  margin-bottom: 0.5rem;
}

.w324a-feature-content p {
  color: var(--w324a-light);
  font-size: 1.3rem;
}

/* Stats Section */
.w324a-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.w324a-stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--w324a-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.w324a-stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--w324a-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.w324a-stat-label {
  font-size: 1.2rem;
  color: var(--w324a-light);
  font-weight: 500;
}

/* Footer Styles */
.w324a-footer {
  background: var(--w324a-bg);
  padding: 3rem 0 8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.w324a-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w324a-footer-link {
  color: var(--w324a-light);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.8rem;
  transition: var(--w324a-transition);
}

.w324a-footer-link:hover {
  color: var(--w324a-primary);
}

.w324a-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w324a-partner-icon {
  width: 100%;
  height: 3rem;
  object-fit: contain;
  opacity: 0.6;
  transition: var(--w324a-transition);
}

.w324a-partner-icon:hover {
  opacity: 1;
}

.w324a-copyright {
  text-align: center;
  color: var(--w324a-light);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Bottom Navigation */
.w324a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--w324a-gradient);
  display: flex;
  justify-content: space-around;
  padding: 0.8rem 0;
  z-index: var(--w324a-z-header);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.w324a-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--w324a-white);
  opacity: 0.7;
  transition: var(--w324a-transition);
  padding: 0.5rem;
  min-width: 4.4rem;
}

.w324a-bottom-nav-item.w324a-active,
.w324a-bottom-nav-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

.w324a-bottom-nav-icon {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.w324a-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

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

.w324a-visible {
  display: block !important;
}

.w324a-flex {
  display: flex;
}

.w324a-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.w324a-grid {
  display: grid;
}

.w324a-relative {
  position: relative;
}

.w324a-absolute {
  position: absolute;
}

.w324a-mb-1 {
  margin-bottom: 1rem;
}

.w324a-mb-2 {
  margin-bottom: 2rem;
}

.w324a-mb-3 {
  margin-bottom: 3rem;
}

.w324a-mt-1 {
  margin-top: 1rem;
}

.w324a-mt-2 {
  margin-top: 2rem;
}

.w324a-mt-3 {
  margin-top: 3rem;
}

.w324a-p-1 {
  padding: 1rem;
}

.w324a-p-2 {
  padding: 2rem;
}

.w324a-rounded {
  border-radius: var(--w324a-border-radius);
}

.w324a-shadow {
  box-shadow: var(--w324a-shadow);
}

.w324a-transition {
  transition: var(--w324a-transition);
}

/* Loading States */
.w324a-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 22, 33, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: var(--w324a-z-modal);
}

.w324a-spinner {
  width: 4rem;
  height: 4rem;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--w324a-primary);
  border-radius: 50%;
  animation: w324a-spin 1s linear infinite;
}

@keyframes w324a-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* FAQ Styles */
.w324a-faq-item {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--w324a-border-radius);
  overflow: hidden;
}

.w324a-faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--w324a-white);
  font-weight: 600;
  font-size: 1.4rem;
}

.w324a-faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--w324a-light);
  line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 768px) {
  .w324a-container {
    max-width: 768px;
    padding: 0 2rem;
  }
  
  .w324a-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .w324a-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .w324a-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .w324a-bottom-nav {
    display: none;
  }
  
  .w324a-main {
    padding: 7rem 0 3rem;
  }
}

@media (min-width: 1024px) {
  .w324a-container {
    max-width: 1024px;
  }
  
  .w324a-game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}