/**
 * Arena Plus Layout Stylesheet
 * All classes use prefix: wae45-
 * Color Palette: #FFE135 | #1E1E1E | #F0F8FF | #FF8C00
 */

/* ================================
   CSS Custom Properties
================================ */
:root {
  --wae45-primary: #FFE135;
  --wae45-primary-dark: #D4B82E;
  --wae45-bg-dark: #1E1E1E;
  --wae45-bg-darker: #141414;
  --wae45-text-light: #F0F8FF;
  --wae45-text-muted: #A0B4C8;
  --wae45-accent: #FF8C00;
  --wae45-accent-hover: #E67E00;
  --wae45-card-bg: #2A2A2A;
  --wae45-border-color: #3A3A3A;
  --wae45-success: #2ECC71;
  --wae45-danger: #E74C3C;
  --wae45-font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ================================
   Reset & Base Styles
================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wae45-font-main);
  font-size: 1.6rem;
  line-height: 1.5rem;
  background-color: var(--wae45-bg-dark);
  color: var(--wae45-text-light);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ================================
   Container & Layout
================================ */
.wae45-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}

.wae45-wrapper {
  padding-bottom: 80px;
}

.wae45-section {
  padding: 2rem 0;
}

.wae45-grid {
  display: grid;
  gap: 1rem;
}

.wae45-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.wae45-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.wae45-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ================================
   Header / Top Navigation
================================ */
.wae45-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--wae45-bg-darker) 0%, var(--wae45-bg-dark) 100%);
  border-bottom: 1px solid var(--wae45-border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wae45-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}

.wae45-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.wae45-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.wae45-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wae45-primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.wae45-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.wae45-btn-register,
.wae45-btn-login {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wae45-btn-register {
  background: linear-gradient(135deg, var(--wae45-primary) 0%, var(--wae45-accent) 100%);
  color: var(--wae45-bg-dark);
}

.wae45-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 225, 53, 0.35);
}

.wae45-btn-login {
  background: transparent;
  color: var(--wae45-text-light);
  border: 1.5px solid var(--wae45-primary);
}

.wae45-btn-login:hover {
  background: rgba(255, 225, 53, 0.12);
  transform: scale(1.03);
}

.wae45-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wae45-text-light);
  font-size: 22px;
  border-radius: 8px;
  transition: background 0.2s;
}

.wae45-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ================================
   Mobile Menu (Overlay)
================================ */
.wae45-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wae45-overlay-visible {
  opacity: 1;
  visibility: visible;
}

.wae45-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  z-index: 9999;
  background: var(--wae45-bg-darker);
  border-left: 1px solid var(--wae45-border-color);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-top: 70px;
}

.wae45-menu-open {
  right: 0 !important;
}

.wae45-mobile-menu .wae45-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--wae45-text-muted);
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
}

.wae45-mobile-menu .wae45-menu-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wae45-text-light);
}

.wae45-nav-list {
  padding: 0.8rem 0;
}

.wae45-nav-list li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.6rem;
  font-size: 1.4rem;
  color: var(--wae45-text-light);
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.wae45-nav-list li a:hover,
.wae45-nav-list li a:focus {
  background: rgba(255, 225, 53, 0.06);
  border-left-color: var(--wae45-primary);
  color: var(--wae45-primary);
}

.wae45-nav-list li a i {
  font-size: 18px;
  width: 24px;
  text-align: center;
  color: var(--wae45-accent);
}

/* ================================
   Carousel / Slider
================================ */
.wae45-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 64px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.wae45-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wae45-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.wae45-slide.wae45-active {
  opacity: 1;
  display: block;
}

.wae45-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.wae45-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.wae45-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.wae45-dot.wae45-active {
  background: var(--wae45-primary);
  width: 24px;
  border-radius: 4px;
}

/* ================================
   Cards
================================ */
.wae45-card {
  background: var(--wae45-card-bg);
  border-radius: 12px;
  padding: 1.4rem;
  border: 1px solid var(--wae45-border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wae45-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.wae45-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--wae45-primary);
  margin-bottom: 0.8rem;
}

.wae45-card-text {
  font-size: 1.3rem;
  color: var(--wae45-text-muted);
  line-height: 1.6;
}

/* ================================
   Game Grid Items
================================ */
.wae45-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0.4rem;
  background: var(--wae45-card-bg);
  border-radius: 10px;
  border: 1px solid var(--wae45-border-color);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.wae45-game-item:hover {
  border-color: var(--wae45-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 225, 53, 0.12);
}

.wae45-game-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
}

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

/* ================================
   Section Titles
================================ */
.wae45-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wae45-primary);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.3px;
}

.wae45-section-title i {
  color: var(--wae45-accent);
  font-size: 20px;
}

.wae45-category-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wae45-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--wae45-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   Buttons & CTA
================================ */
.wae45-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--wae45-primary), var(--wae45-accent));
  color: var(--wae45-bg-dark);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 48px;
  width: 100%;
}

.wae45-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.wae45-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--wae45-primary);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 22px;
  border: 2px solid var(--wae45-primary);
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 42px;
}

.wae45-btn-secondary:hover {
  background: rgba(255, 225, 53, 0.1);
  transform: scale(1.03);
}

.wae45-link-text {
  color: var(--wae45-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.wae45-link-text:hover {
  color: var(--wae45-accent);
}

/* ================================
   Bottom Navigation (Mobile)
================================ */
.wae45-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--wae45-bg-darker) 0%, #0D0D0D 100%);
  border-top: 1px solid var(--wae45-border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0.4rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.wae45-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 56px;
  color: var(--wae45-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.wae45-bottom-nav a i {
  font-size: 22px;
  transition: all 0.25s ease;
  line-height: 1;
}

.wae45-bottom-nav a span {
  font-size: 0.85rem;
  line-height: 1;
}

.wae45-bottom-nav a:hover {
  color: var(--wae45-primary);
}

.wae45-bottom-nav a:hover i {
  transform: scale(1.15);
}

.wae45-bottom-nav a.wae45-nav-active {
  color: var(--wae45-primary);
}

.wae45-bottom-nav a.wae45-nav-active i {
  color: var(--wae45-primary);
  text-shadow: 0 0 8px rgba(255, 225, 53, 0.4);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .wae45-bottom-nav {
    display: none;
  }
  .wae45-wrapper {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* ================================
   Footer
================================ */
.wae45-footer {
  background: var(--wae45-bg-darker);
  border-top: 1px solid var(--wae45-border-color);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.wae45-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.wae45-footer-brand p {
  font-size: 1.2rem;
  color: var(--wae45-text-muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.wae45-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-bottom: 1.5rem;
}

.wae45-footer-links a {
  font-size: 1.1rem;
  color: var(--wae45-text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wae45-border-color);
  transition: all 0.2s;
}

.wae45-footer-links a:hover {
  color: var(--wae45-primary);
  border-color: var(--wae45-primary);
  background: rgba(255, 225, 53, 0.06);
}

.wae45-footer-copy {
  text-align: center;
  font-size: 1.05rem;
  color: var(--wae45-text-muted);
  opacity: 0.6;
}

/* ================================
   Promo Banners
================================ */
.wae45-promo-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0;
}

.wae45-promo-banner img {
  width: 100%;
  display: block;
  cursor: pointer;
  border-radius: 12px;
}

/* ================================
   Feature List
================================ */
.wae45-feature-list {
  list-style: none;
  padding: 0;
}

.wae45-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  font-size: 1.3rem;
  color: var(--wae45-text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wae45-feature-list li:last-child {
  border-bottom: none;
}

.wae45-feature-list li i {
  color: var(--wae45-primary);
  font-size: 16px;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ================================
   FAQ Accordion
================================ */
.wae45-faq-item {
  background: var(--wae45-card-bg);
  border: 1px solid var(--wae45-border-color);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.wae45-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wae45-text-light);
  cursor: pointer;
  transition: background 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.wae45-faq-question:hover {
  background: rgba(255, 225, 53, 0.04);
}

.wae45-faq-question i {
  color: var(--wae45-accent);
  transition: transform 0.3s;
  font-size: 16px;
}

.wae45-faq-answer {
  padding: 0 1.4rem 1.2rem;
  font-size: 1.25rem;
  color: var(--wae45-text-muted);
  line-height: 1.6;
  display: none;
}

.wae45-faq-answer.wae45-open {
  display: block;
}

/* ================================
   Testimonial Cards
================================ */
.wae45-testimonial {
  background: var(--wae45-card-bg);
  border-radius: 12px;
  padding: 1.4rem;
  border: 1px solid var(--wae45-border-color);
  margin-bottom: 1rem;
}

.wae45-testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.wae45-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wae45-primary), var(--wae45-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--wae45-bg-dark);
  font-size: 1.3rem;
}

.wae45-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wae45-text-light);
}

.wae45-testimonial-body {
  font-size: 1.2rem;
  color: var(--wae45-text-muted);
  line-height: 1.55;
  font-style: italic;
}

/* ================================
   Payment Methods Grid
================================ */
.wae45-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.wae45-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.6rem;
  background: var(--wae45-card-bg);
  border-radius: 10px;
  border: 1px solid var(--wae45-border-color);
  font-size: 1.1rem;
  color: var(--wae45-text-muted);
  transition: all 0.2s;
}

.wae45-payment-item i {
  font-size: 26px;
  color: var(--wae45-primary);
}

.wae45-payment-item:hover {
  border-color: var(--wae45-primary);
  transform: translateY(-2px);
}

/* ================================
   Stats / Numbers Display
================================ */
.wae45-stats-row {
  display: flex;
  justify-content: space-around;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.wae45-stat-item {
  text-align: center;
  flex: 1;
}

.wae45-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wae45-primary);
  display: block;
}

.wae45-stat-label {
  font-size: 1rem;
  color: var(--wae45-text-muted);
  margin-top: 0.2rem;
}

/* ================================
   RTP Bar Component
================================ */
.wae45-rtp-bar {
  background: var(--wae45-card-bg);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--wae45-border-color);
}

.wae45-rtp-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.wae45-rtp-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--wae45-text-light);
}

.wae45-rtp-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wae45-success);
}

.wae45-rtp-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.wae45-rtp-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--wae45-success), var(--wae45-primary));
  transition: width 0.6s ease;
}

/* ================================
   Utility Classes
================================ */
.wae45-text-center { text-align: center; }
.wae45-text-primary { color: var(--wae45-primary); }
.wae45-text-accent { color: var(--wae45-accent); }
.wae45-text-muted { color: var(--wae45-text-muted); }
.wae45-mt-1 { margin-top: 1rem; }
.wae45-mt-2 { margin-top: 2rem; }
.wae45-mb-1 { margin-bottom: 1rem; }
.wae45-mb-2 { margin-bottom: 2rem; }
.wae45-py-1 { padding-top: 1rem; padding-bottom: 1rem; }

.wae45-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 140, 0, 0.15);
  color: var(--wae45-accent);
  vertical-align: middle;
}

/* ================================
   Animations
================================ */
@keyframes wae45-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wae45-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes wae45-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.wae45-animate-in {
  animation: wae45-fadeInUp 0.5s ease forwards;
}
