/* GoJackpot Stylesheet - wae15- prefix for all classes */
/* Mobile-first responsive design with playful pink and social gaming theme */

/* CSS Variables */
:root {
  /* Color palette */
  --wae15-primary: #FFB6C1;
  --wae15-secondary: #FF91A4;
  --wae15-tertiary: #9AFF9A;
  --wae15-dark: #2C3E50;
  --wae15-light: #F8F9FA;
  --wae15-white: #FFFFFF;
  --wae15-text: #1A1A1A;
  --wae15-muted: #666666;
  --wae15-border: #E0E0E0;
  --wae15-error: #FF6B6B;
  --wae15-success: #51CF66;

  /* Spacing */
  --wae15-spacing-xs: 0.25rem;
  --wae15-spacing-sm: 0.5rem;
  --wae15-spacing-md: 1rem;
  --wae15-spacing-lg: 1.5rem;
  --wae15-spacing-xl: 2rem;

  /* Typography */
  --wae15-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --wae15-font-size-xs: 0.75rem;
  --wae15-font-size-sm: 0.875rem;
  --wae15-font-size-base: 1rem;
  --wae15-font-size-lg: 1.125rem;
  --wae15-font-size-xl: 1.25rem;
  --wae15-font-size-2xl: 1.5rem;
  --wae15-font-size-3xl: 1.875rem;
  --wae15-line-height: 1.5;

  /* Shadows & Radius */
  --wae15-radius-sm: 4px;
  --wae15-radius-md: 8px;
  --wae15-radius-lg: 12px;
  --wae15-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --wae15-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --wae15-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);

  /* Z-index */
  --wae15-z-header: 1000;
  --wae15-z-mobile-nav: 1000;
  --wae15-z-menu: 9999;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wae15-font-family);
  font-size: var(--wae15-font-size-base);
  line-height: var(--wae15-line-height);
  color: var(--wae15-text);
  background-color: var(--wae15-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
  font-size: var(--wae15-font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--wae15-spacing-lg);
  color: var(--wae15-dark);
}

h2 {
  font-size: var(--wae15-font-size-2xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--wae15-spacing-md);
  color: var(--wae15-dark);
}

h3 {
  font-size: var(--wae15-font-size-xl);
  font-weight: 600;
  margin-bottom: var(--wae15-spacing-md);
  color: var(--wae15-dark);
}

p {
  margin-bottom: var(--wae15-spacing-md);
  color: var(--wae15-text);
}

a {
  color: var(--wae15-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wae15-primary);
  text-decoration: underline;
}

/* Container */
.wae15-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--wae15-spacing-md);
}

.wae15-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wae15-main {
  flex: 1;
  padding-top: 64px;
  padding-bottom: 80px;
}

/* Header Navigation */
.wae15-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(135deg, var(--wae15-primary) 0%, var(--wae15-secondary) 100%);
  box-shadow: var(--wae15-shadow-md);
  z-index: var(--wae15-z-header);
  display: flex;
  align-items: center;
  padding: 0 var(--wae15-spacing-md);
}

.wae15-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.wae15-logo-section {
  display: flex;
  align-items: center;
  gap: var(--wae15-spacing-sm);
  flex: 1;
}

.wae15-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--wae15-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--wae15-secondary);
  font-size: var(--wae15-font-size-lg);
}

.wae15-brand {
  font-size: var(--wae15-font-size-lg);
  font-weight: 700;
  color: var(--wae15-white);
  white-space: nowrap;
}

.wae15-header-buttons {
  display: none;
  gap: var(--wae15-spacing-sm);
}

.wae15-header-btn {
  padding: 6px 12px;
  background-color: var(--wae15-white);
  color: var(--wae15-secondary);
  border: none;
  border-radius: var(--wae15-radius-md);
  font-size: var(--wae15-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wae15-header-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--wae15-shadow-md);
}

.wae15-menu-toggle {
  background: none;
  border: none;
  color: var(--wae15-white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.wae15-menu-toggle:hover {
  transform: scale(1.1);
}

.wae15-toggle-active {
  transform: rotate(90deg);
}

/* Mobile Menu */
.wae15-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--wae15-white);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: var(--wae15-z-menu);
  padding-top: var(--wae15-spacing-lg);
}

.wae15-menu-active {
  transform: translateX(0);
}

.wae15-menu-list {
  list-style: none;
  padding: 0;
}

.wae15-menu-item {
  border-bottom: 1px solid var(--wae15-border);
}

.wae15-menu-link {
  display: block;
  padding: 12px var(--wae15-spacing-md);
  color: var(--wae15-text);
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wae15-menu-link:hover {
  background-color: var(--wae15-light);
  padding-left: var(--wae15-spacing-lg);
  color: var(--wae15-secondary);
}

/* Carousel */
.wae15-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--wae15-radius-lg);
  overflow: hidden;
  margin-bottom: var(--wae15-spacing-lg);
  background-color: var(--wae15-dark);
}

.wae15-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
}

.wae15-carousel-slide.wae15-active {
  opacity: 1;
}

.wae15-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wae15-carousel-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.wae15-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wae15-carousel-dot.wae15-active {
  background-color: var(--wae15-white);
  width: 24px;
  border-radius: 4px;
}

/* Game Grid */
.wae15-games-section {
  margin-bottom: var(--wae15-spacing-xl);
}

.wae15-games-title {
  font-size: var(--wae15-font-size-lg);
  font-weight: 700;
  margin-bottom: var(--wae15-spacing-md);
  color: var(--wae15-dark);
  display: flex;
  align-items: center;
  gap: var(--wae15-spacing-sm);
}

.wae15-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wae15-spacing-sm);
  margin-bottom: var(--wae15-spacing-lg);
}

.wae15-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.wae15-game-card:hover {
  transform: scale(1.05);
}

.wae15-game-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--wae15-radius-md);
  object-fit: cover;
  border: 2px solid var(--wae15-primary);
  box-shadow: var(--wae15-shadow-sm);
}

.wae15-game-name {
  font-size: var(--wae15-font-size-xs);
  text-align: center;
  color: var(--wae15-text);
  line-height: 1.2;
  word-break: break-word;
}

/* Buttons */
.wae15-btn {
  display: inline-block;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--wae15-primary) 0%, var(--wae15-secondary) 100%);
  color: var(--wae15-white);
  border: none;
  border-radius: var(--wae15-radius-md);
  font-size: var(--wae15-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.wae15-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--wae15-shadow-md);
}

.wae15-btn:active {
  transform: translateY(0);
}

.wae15-btn-large {
  padding: 12px 24px;
  font-size: var(--wae15-font-size-base);
  width: 100%;
}

.wae15-btn-outline {
  background: transparent;
  color: var(--wae15-secondary);
  border: 2px solid var(--wae15-secondary);
}

.wae15-btn-outline:hover {
  background-color: var(--wae15-primary);
  color: var(--wae15-white);
}

/* Content Sections */
.wae15-section {
  margin-bottom: var(--wae15-spacing-xl);
  padding: var(--wae15-spacing-lg);
  background-color: var(--wae15-white);
  border-radius: var(--wae15-radius-lg);
  box-shadow: var(--wae15-shadow-sm);
}

.wae15-section-title {
  font-size: var(--wae15-font-size-xl);
  font-weight: 700;
  color: var(--wae15-dark);
  margin-bottom: var(--wae15-spacing-md);
}

.wae15-feature-list {
  list-style: none;
  padding: 0;
}

.wae15-feature-item {
  padding: var(--wae15-spacing-md) 0;
  border-bottom: 1px solid var(--wae15-border);
  display: flex;
  align-items: flex-start;
  gap: var(--wae15-spacing-md);
}

.wae15-feature-item:last-child {
  border-bottom: none;
}

.wae15-feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  color: var(--wae15-secondary);
}

.wae15-feature-content h3 {
  margin: 0 0 var(--wae15-spacing-sm) 0;
}

.wae15-feature-content p {
  margin: 0;
  color: var(--wae15-muted);
  font-size: var(--wae15-font-size-sm);
}

/* Footer */
.wae15-footer {
  background-color: var(--wae15-dark);
  color: var(--wae15-white);
  padding: var(--wae15-spacing-xl) var(--wae15-spacing-md);
  margin-top: var(--wae15-spacing-xl);
}

.wae15-footer-content {
  margin-bottom: var(--wae15-spacing-lg);
}

.wae15-footer-section {
  margin-bottom: var(--wae15-spacing-lg);
}

.wae15-footer-title {
  font-size: var(--wae15-font-size-base);
  font-weight: 700;
  margin-bottom: var(--wae15-spacing-md);
}

.wae15-footer-links {
  list-style: none;
  padding: 0;
}

.wae15-footer-link {
  display: inline-block;
  margin-right: var(--wae15-spacing-md);
  margin-bottom: var(--wae15-spacing-sm);
  color: var(--wae15-light);
  font-size: var(--wae15-font-size-sm);
  transition: color 0.2s ease;
}

.wae15-footer-link:hover {
  color: var(--wae15-primary);
}

.wae15-partners {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wae15-spacing-md);
  margin-bottom: var(--wae15-spacing-lg);
  justify-content: center;
}

.wae15-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.wae15-partner-logo:hover {
  opacity: 1;
}

.wae15-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--wae15-spacing-lg);
  text-align: center;
  font-size: var(--wae15-font-size-sm);
  color: var(--wae15-light);
}

/* Mobile Bottom Navigation */
.wae15-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, var(--wae15-white) 0%, var(--wae15-light) 100%);
  border-top: 2px solid var(--wae15-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: var(--wae15-z-mobile-nav);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.wae15-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  min-width: 64px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wae15-muted);
  transition: all 0.2s ease;
  font-size: var(--wae15-font-size-xs);
  padding: 8px;
}

.wae15-bottom-nav-btn:hover,
.wae15-bottom-nav-btn.wae15-active {
  color: var(--wae15-secondary);
  transform: scale(1.08);
}

.wae15-bottom-nav-btn.wae15-active {
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 145, 164, 0.1) 100%);
  border-radius: 12px;
}

.wae15-nav-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wae15-nav-label {
  font-size: var(--wae15-font-size-xs);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .wae15-header-buttons {
    display: flex;
  }

  .wae15-menu-toggle {
    display: none;
  }

  .wae15-mobile-menu {
    position: static;
    background-color: transparent;
    transform: none;
    max-height: none;
    overflow-y: visible;
    z-index: auto;
    padding-top: 0;
    display: flex;
  }

  .wae15-mobile-menu.wae15-menu-active {
    transform: none;
  }

  .wae15-menu-list {
    display: flex;
    gap: var(--wae15-spacing-md);
    padding: 0;
  }

  .wae15-menu-item {
    border-bottom: none;
  }

  .wae15-menu-link {
    padding: 8px 12px;
    color: var(--wae15-white);
    border-radius: var(--wae15-radius-md);
    font-size: var(--wae15-font-size-sm);
  }

  .wae15-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    padding-left: 12px;
  }

  .wae15-bottom-nav {
    display: none;
  }

  .wae15-main {
    padding-bottom: 0;
  }

  .wae15-container {
    max-width: 768px;
  }

  .wae15-games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Utility Classes */
.wae15-text-center {
  text-align: center;
}

.wae15-mt-1 {
  margin-top: var(--wae15-spacing-sm);
}

.wae15-mt-2 {
  margin-top: var(--wae15-spacing-md);
}

.wae15-mb-1 {
  margin-bottom: var(--wae15-spacing-sm);
}

.wae15-mb-2 {
  margin-bottom: var(--wae15-spacing-md);
}

.wae15-hidden {
  display: none;
}

.wae15-flex {
  display: flex;
}

.wae15-flex-col {
  flex-direction: column;
}

.wae15-gap-1 {
  gap: var(--wae15-spacing-sm);
}

.wae15-gap-2 {
  gap: var(--wae15-spacing-md);
}

/* Loading & Animation */
@keyframes wae15-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wae15-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.wae15-loading {
  animation: wae15-spin 1s linear infinite;
}

.wae15-pulse {
  animation: wae15-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  .wae15-header,
  .wae15-bottom-nav {
    display: none;
  }

  .wae15-main {
    padding-top: 0;
    padding-bottom: 0;
  }
}
