/**
 * Olx 786 Vvip - Core Stylesheet
 * Prefix: wad58-
 * Colors: #2E4057 | #191970 | #00BFFF | #ADD8E6
 * Mobile-first design, max-width 430px
 */

/* ===== CSS Variables ===== */
:root {
  --wad58-primary: #00BFFF;
  --wad58-bg-dark: #191970;
  --wad58-bg-deeper: #2E4057;
  --wad58-text-light: #ADD8E6;
  --wad58-text-white: #FFFFFF;
  --wad58-accent: #00BFFF;
  --wad58-gold: #FFD700;
  --wad58-radius: 8px;
  --wad58-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--wad58-bg-dark);
  color: var(--wad58-text-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--wad58-primary); text-decoration: none; }
a:hover { color: var(--wad58-gold); }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.wad58-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--wad58-bg-deeper), var(--wad58-bg-dark));
  border-bottom: 1px solid rgba(0,191,255,0.2);
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.wad58-logo-area {
  display: flex; align-items: center; gap: 0.6rem;
}
.wad58-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.wad58-logo-area span { font-size: 1.4rem; font-weight: 700; color: var(--wad58-primary); white-space: nowrap; }
.wad58-header-actions {
  display: flex; align-items: center; gap: 0.6rem;
}
.wad58-btn-register, .wad58-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 20px; border: none;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 36px;
}
.wad58-btn-register {
  background: linear-gradient(135deg, var(--wad58-primary), #0099CC);
  color: #fff;
}
.wad58-btn-login {
  background: transparent; color: var(--wad58-primary);
  border: 1.5px solid var(--wad58-primary);
}
.wad58-btn-register:hover, .wad58-btn-login:hover {
  transform: scale(1.05); box-shadow: 0 2px 8px rgba(0,191,255,0.4);
}
.wad58-menu-toggle {
  background: none; border: none; color: var(--wad58-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* ===== Mobile Menu ===== */
.wad58-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100vh; z-index: 9999;
  background: linear-gradient(180deg, var(--wad58-bg-deeper), var(--wad58-bg-dark));
  transition: right 0.3s ease; padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.wad58-menu-active { right: 0 !important; }
.wad58-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--wad58-text-light);
  font-size: 1.4rem; border-bottom: 1px solid rgba(0,191,255,0.1);
  transition: color 0.2s, padding-left 0.2s;
}
.wad58-mobile-menu a:hover { color: var(--wad58-primary); padding-left: 0.8rem; }
.wad58-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--wad58-text-light);
  font-size: 2.4rem; cursor: pointer;
}
.wad58-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.wad58-overlay-active { display: block !important; }

/* ===== Main Content ===== */
.wad58-main { padding-top: 56px; padding-bottom: 2rem; }

/* ===== Carousel ===== */
.wad58-carousel {
  position: relative; width: 100%; overflow: hidden;
  margin-bottom: 1.5rem;
}
.wad58-slide {
  display: none; width: 100%; cursor: pointer;
}
.wad58-slide-active { display: block; }
.wad58-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.wad58-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.wad58-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.wad58-dot-active { background: var(--wad58-primary); }

/* ===== Sections ===== */
.wad58-section {
  padding: 1.5rem 1.2rem; max-width: 430px; margin: 0 auto;
}
.wad58-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wad58-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,191,255,0.3);
}
.wad58-section-subtitle {
  font-size: 1.5rem; font-weight: 600; color: var(--wad58-text-light);
  margin: 1rem 0 0.6rem;
}

/* ===== Game Grid ===== */
.wad58-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.wad58-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
  text-align: center;
}
.wad58-game-item:hover { transform: scale(1.05); }
.wad58-game-item img {
  width: 64px; height: 64px; border-radius: 12px;
  margin-bottom: 0.3rem; border: 1px solid rgba(0,191,255,0.2);
}
.wad58-game-item span {
  font-size: 1rem; color: var(--wad58-text-light);
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 72px;
}

/* ===== Category Label ===== */
.wad58-cat-label {
  font-size: 1.4rem; font-weight: 600; color: var(--wad58-gold);
  margin: 1.2rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}
.wad58-cat-label i { font-size: 1.6rem; }

/* ===== Promo Banner ===== */
.wad58-promo-banner {
  background: linear-gradient(135deg, var(--wad58-bg-deeper), rgba(0,191,255,0.15));
  border: 1px solid rgba(0,191,255,0.3); border-radius: var(--wad58-radius);
  padding: 1.2rem; margin: 1rem 0; text-align: center;
}
.wad58-promo-banner h3 {
  font-size: 1.6rem; color: var(--wad58-gold); margin-bottom: 0.5rem;
}
.wad58-promo-banner p { font-size: 1.2rem; color: var(--wad58-text-light); margin-bottom: 0.8rem; }

/* ===== CTA Button ===== */
.wad58-cta-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--wad58-primary), #0099CC);
  color: #fff; font-size: 1.4rem; font-weight: 700;
  border-radius: 30px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center; min-height: 44px;
}
.wad58-cta-btn:hover {
  transform: scale(1.05); box-shadow: 0 4px 16px rgba(0,191,255,0.5);
  color: #fff;
}
.wad58-cta-gold {
  background: linear-gradient(135deg, var(--wad58-gold), #FFA500);
  color: var(--wad58-bg-dark);
}

/* ===== Cards ===== */
.wad58-card {
  background: linear-gradient(135deg, var(--wad58-bg-deeper), rgba(0,191,255,0.08));
  border: 1px solid rgba(0,191,255,0.15); border-radius: var(--wad58-radius);
  padding: 1.2rem; margin-bottom: 1rem;
}
.wad58-card-title {
  font-size: 1.4rem; font-weight: 600; color: var(--wad58-primary);
  margin-bottom: 0.5rem;
}
.wad58-card p { font-size: 1.2rem; color: var(--wad58-text-light); line-height: 1.6; }

/* ===== FAQ ===== */
.wad58-faq-item {
  border-bottom: 1px solid rgba(0,191,255,0.1);
  padding: 0.8rem 0;
}
.wad58-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--wad58-primary);
  margin-bottom: 0.4rem;
}
.wad58-faq-a { font-size: 1.2rem; color: var(--wad58-text-light); line-height: 1.5; }

/* ===== Footer ===== */
.wad58-footer {
  background: linear-gradient(180deg, var(--wad58-bg-deeper), #0d0d3d);
  padding: 2rem 1.2rem 1rem; text-align: center;
  border-top: 1px solid rgba(0,191,255,0.2);
}
.wad58-footer-text {
  font-size: 1.2rem; color: var(--wad58-text-light); line-height: 1.6;
  margin-bottom: 1rem;
}
.wad58-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.wad58-footer-links a {
  font-size: 1.1rem; color: var(--wad58-text-light);
  transition: color 0.2s;
}
.wad58-footer-links a:hover { color: var(--wad58-primary); }
.wad58-footer-copy {
  font-size: 1rem; color: rgba(173,216,230,0.5);
  border-top: 1px solid rgba(0,191,255,0.1); padding-top: 1rem;
}

/* ===== Bottom Navigation (Mobile) ===== */
.wad58-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--wad58-bg-deeper), #0d0d3d);
  border-top: 1px solid rgba(0,191,255,0.25);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.wad58-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--wad58-text-light);
  cursor: pointer; min-width: 60px; min-height: 54px;
  transition: color 0.2s, transform 0.15s;
  border-radius: 8px; padding: 0.3rem;
}
.wad58-bottom-nav-btn i, .wad58-bottom-nav-btn .material-icons {
  font-size: 22px; margin-bottom: 2px;
}
.wad58-bottom-nav-btn span {
  font-size: 1rem; line-height: 1.2;
}
.wad58-bottom-nav-btn:hover, .wad58-nav-active {
  color: var(--wad58-primary) !important;
  background: rgba(0,191,255,0.1);
  transform: scale(1.05);
}
.wad58-nav-active { border-top: 2px solid var(--wad58-primary); }

/* ===== Promo Text Link ===== */
.wad58-text-link {
  color: var(--wad58-primary); font-weight: 600;
  cursor: pointer; transition: color 0.2s;
}
.wad58-text-link:hover { color: var(--wad58-gold); }

/* ===== Testimonial ===== */
.wad58-testimonial {
  background: rgba(0,191,255,0.06); border-left: 3px solid var(--wad58-primary);
  padding: 0.8rem 1rem; margin-bottom: 0.8rem; border-radius: 0 var(--wad58-radius) var(--wad58-radius) 0;
}
.wad58-testimonial strong { color: var(--wad58-gold); font-size: 1.2rem; }
.wad58-testimonial p { font-size: 1.1rem; color: var(--wad58-text-light); margin-top: 0.3rem; }

/* ===== Winner Showcase ===== */
.wad58-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(0,191,255,0.08);
  font-size: 1.1rem;
}
.wad58-winner-name { color: var(--wad58-text-light); }
.wad58-winner-game { color: var(--wad58-primary); font-weight: 600; }
.wad58-winner-amount { color: var(--wad58-gold); font-weight: 700; }

/* ===== Responsive ===== */
@media (min-width: 431px) {
  .wad58-section { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 769px) {
  .wad58-bottom-nav { display: none; }
  .wad58-main { padding-bottom: 2rem; }
  .wad58-header { padding: 0.8rem 2rem; }
  .wad58-section { max-width: 430px; }
}
@media (max-width: 768px) {
  .wad58-main { padding-bottom: 72px; }
}
