/**
 * 4999 bdt - Main Stylesheet
 * All classes use wa625- prefix for namespace isolation
 * Color palette: #4B0082 | #808080 | #DDA0DD | #1E1E1E
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
  --wa625-primary: #4B0082;
  --wa625-secondary: #808080;
  --wa625-accent: #DDA0DD;
  --wa625-bg: #1E1E1E;
  --wa625-bg-light: #2a2a2a;
  --wa625-bg-card: #2d2245;
  --wa625-text: #f0e6f6;
  --wa625-text-muted: #b0a0b8;
  --wa625-highlight: #DDA0DD;
  --wa625-border: #3d2d55;
  --wa625-gold: #FFD700;
  --wa625-radius: 0.8rem;
  --wa625-radius-sm: 0.5rem;
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--wa625-bg);
  color: var(--wa625-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--wa625-highlight);
}

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

/* === Header === */
.wa625-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--wa625-primary) 0%, #2d1b4e 100%);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--wa625-accent);
  box-shadow: 0 2px 12px rgba(75, 0, 130, 0.5);
}

.wa625-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wa625-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.wa625-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wa625-gold);
  white-space: nowrap;
}

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

.wa625-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--wa625-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.wa625-btn-register {
  background: var(--wa625-gold);
  color: var(--wa625-primary);
}

.wa625-btn-register:hover {
  background: #ffe44d;
  transform: scale(1.05);
}

.wa625-btn-login {
  background: transparent;
  color: var(--wa625-accent);
  border: 1px solid var(--wa625-accent);
}

.wa625-btn-login:hover {
  background: rgba(221, 160, 221, 0.15);
}

.wa625-menu-toggle {
  background: none;
  border: none;
  color: var(--wa625-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* === Mobile Menu === */
.wa625-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(180deg, #2d1b4e 0%, var(--wa625-bg) 100%);
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.wa625-menu-active {
  right: 0;
}

.wa625-mobile-menu h3 {
  color: var(--wa625-gold);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--wa625-border);
  padding-bottom: 0.8rem;
}

.wa625-mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  color: var(--wa625-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--wa625-border);
  transition: color 0.2s;
}

.wa625-mobile-menu a:hover {
  color: var(--wa625-gold);
}

.wa625-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--wa625-accent);
  font-size: 2.2rem;
  cursor: pointer;
}

.wa625-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.wa625-overlay-active {
  display: block;
}

/* === Main Content === */
.wa625-main {
  padding-top: 6rem;
}

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

/* === Carousel === */
.wa625-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.wa625-slide {
  display: none;
  cursor: pointer;
}

.wa625-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.wa625-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.wa625-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.wa625-dot-active {
  background: var(--wa625-gold);
  width: 20px;
  border-radius: 4px;
}

/* === Sections === */
.wa625-section {
  padding: 1.5rem 1.2rem;
}

.wa625-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wa625-gold);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--wa625-accent);
}

.wa625-section-title i {
  margin-right: 0.5rem;
  color: var(--wa625-accent);
}

/* === Game Grid === */
.wa625-category-label {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wa625-accent);
  margin: 1.2rem 0 0.8rem;
  padding: 0.4rem 0.8rem;
  background: rgba(75, 0, 130, 0.3);
  border-radius: var(--wa625-radius-sm);
  display: inline-block;
}

.wa625-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.wa625-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.wa625-game-item:hover {
  transform: scale(1.05);
}

.wa625-game-item img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--wa625-border);
}

.wa625-game-item p {
  font-size: 1.1rem;
  color: var(--wa625-text-muted);
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Blocks === */
.wa625-content-block {
  background: var(--wa625-bg-light);
  border-radius: var(--wa625-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--wa625-border);
}

.wa625-content-block h2 {
  font-size: 1.7rem;
  color: var(--wa625-gold);
  margin-bottom: 0.8rem;
}

.wa625-content-block h3 {
  font-size: 1.5rem;
  color: var(--wa625-accent);
  margin-bottom: 0.6rem;
}

.wa625-content-block p {
  color: var(--wa625-text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.wa625-content-block ul {
  list-style: none;
  padding: 0;
}

.wa625-content-block li {
  padding: 0.4rem 0;
  color: var(--wa625-text-muted);
  font-size: 1.3rem;
}

.wa625-content-block li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--wa625-accent);
  font-size: 1.1rem;
}

/* === Promo Button === */
.wa625-promo-btn {
  display: block;
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--wa625-primary), #6a1b9a);
  color: var(--wa625-gold);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--wa625-radius);
  border: 2px solid var(--wa625-accent);
  cursor: pointer;
  transition: all 0.3s;
  margin: 1rem 0;
}

.wa625-promo-btn:hover {
  background: linear-gradient(135deg, #6a1b9a, var(--wa625-primary));
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(221, 160, 221, 0.3);
}

/* === Promo Link Text === */
.wa625-promo-link {
  color: var(--wa625-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.wa625-promo-link:hover {
  color: #ffe44d;
}

/* === Testimonials === */
.wa625-testimonial {
  background: var(--wa625-bg-card);
  border-radius: var(--wa625-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--wa625-accent);
}

.wa625-testimonial-name {
  color: var(--wa625-gold);
  font-weight: 700;
  font-size: 1.3rem;
}

.wa625-testimonial-text {
  color: var(--wa625-text-muted);
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

/* === Winner Banner === */
.wa625-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wa625-border);
}

.wa625-winner-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--wa625-accent);
}

.wa625-winner-info {
  flex: 1;
}

.wa625-winner-name {
  color: var(--wa625-gold);
  font-size: 1.2rem;
  font-weight: 600;
}

.wa625-winner-amount {
  color: var(--wa625-accent);
  font-size: 1.1rem;
}

/* === Footer === */
.wa625-footer {
  background: var(--wa625-bg-light);
  padding: 2rem 1.2rem;
  border-top: 2px solid var(--wa625-primary);
}

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

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

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

.wa625-footer-links a {
  color: var(--wa625-accent);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--wa625-border);
  border-radius: var(--wa625-radius-sm);
  transition: all 0.2s;
}

.wa625-footer-links a:hover {
  background: var(--wa625-primary);
  color: var(--wa625-gold);
}

.wa625-footer-copy {
  text-align: center;
  color: var(--wa625-secondary);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wa625-border);
}

/* === Bottom Navigation === */
.wa625-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(180deg, #2d1b4e, var(--wa625-bg));
  border-top: 1px solid var(--wa625-accent);
  height: 60px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(75, 0, 130, 0.5);
}

@media (max-width: 768px) {
  .wa625-bottom-nav {
    display: flex;
  }
}

.wa625-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--wa625-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.wa625-bottom-nav-btn i,
.wa625-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.wa625-bottom-nav-btn span {
  font-size: 1rem;
  white-space: nowrap;
}

.wa625-bottom-nav-btn:hover,
.wa625-nav-active {
  color: var(--wa625-gold);
  transform: scale(1.08);
}

.wa625-bottom-nav-btn:active {
  transform: scale(0.95);
}

.wa625-nav-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: #ff3d00;
  color: white;
  font-size: 0.8rem;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* === Desktop Hide Bottom Nav === */
@media (min-width: 769px) {
  .wa625-bottom-nav {
    display: none;
  }
}

/* === Utilities === */
.wa625-text-center { text-align: center; }
.wa625-mt-1 { margin-top: 1rem; }
.wa625-mt-2 { margin-top: 2rem; }
.wa625-mb-1 { margin-bottom: 1rem; }
.wa625-mb-2 { margin-bottom: 2rem; }
.wa625-hidden { display: none; }
.wa625-text-gold { color: var(--wa625-gold); }
.wa625-text-accent { color: var(--wa625-accent); }

/* === FAQ === */
.wa625-faq-item {
  background: var(--wa625-bg-light);
  border-radius: var(--wa625-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--wa625-primary);
}

.wa625-faq-q {
  color: var(--wa625-gold);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.wa625-faq-a {
  color: var(--wa625-text-muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* === Payment Icons === */
.wa625-payment-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0;
}

.wa625-payment-item {
  background: var(--wa625-bg-card);
  padding: 0.6rem 1rem;
  border-radius: var(--wa625-radius-sm);
  border: 1px solid var(--wa625-border);
  font-size: 1.2rem;
  color: var(--wa625-text-muted);
}

/* === App Download CTA === */
.wa625-app-cta {
  background: linear-gradient(135deg, var(--wa625-primary), #6a1b9a);
  border-radius: var(--wa625-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--wa625-accent);
}

.wa625-app-cta h3 {
  color: var(--wa625-gold);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.wa625-app-cta p {
  color: var(--wa625-text-muted);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* === Help Page Styles === */
.wa625-help-section {
  padding: 1.2rem;
}

.wa625-help-section h2 {
  color: var(--wa625-gold);
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.wa625-help-section p {
  color: var(--wa625-text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.wa625-step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.wa625-step-list li {
  counter-increment: step;
  position: relative;
  padding: 0.8rem 0 0.8rem 3rem;
  color: var(--wa625-text-muted);
  font-size: 1.3rem;
  border-bottom: 1px solid var(--wa625-border);
}

.wa625-step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--wa625-primary);
  color: var(--wa625-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}
