/**
 * jili58.cfd - Core Stylesheet
 * Prefix: wec7d-
 * All classes use wec7d- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --wec7d-primary: #FF1493;
  --wec7d-bg-dark: #1B263B;
  --wec7d-bg-charcoal: #2F2F2F;
  --wec7d-bg-gray: #3C3C3C;
  --wec7d-text-light: #C9C9FF;
  --wec7d-text-gray: #495057;
  --wec7d-font-size: 62.5%;
}

html {
  font-size: var(--wec7d-font-size);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background-color: var(--wec7d-bg-dark);
  color: var(--wec7d-text-light);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.wec7d-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ========== HEADER ========== */
.wec7d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--wec7d-bg-charcoal);
  border-bottom: 2px solid var(--wec7d-primary);
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 100%;
}

.wec7d-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wec7d-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.wec7d-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wec7d-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.wec7d-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wec7d-btn-register,
.wec7d-btn-login {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wec7d-btn-register {
  background: var(--wec7d-primary);
  color: #fff;
}

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

.wec7d-btn-login {
  background: transparent;
  color: var(--wec7d-text-light);
  border: 1px solid var(--wec7d-text-light);
}

.wec7d-btn-login:hover {
  background: rgba(201, 201, 255, 0.1);
  transform: scale(1.05);
}

.wec7d-menu-btn {
  background: none;
  border: none;
  color: var(--wec7d-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  transition: color 0.2s;
}

.wec7d-menu-btn:hover {
  color: var(--wec7d-primary);
}

.wec7d-btn-active {
  color: var(--wec7d-primary);
}

/* ========== MOBILE MENU ========== */
.wec7d-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

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

.wec7d-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--wec7d-bg-charcoal);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

.wec7d-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--wec7d-text-light);
  font-size: 2.4rem;
  cursor: pointer;
}

.wec7d-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wec7d-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wec7d-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--wec7d-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s, padding-left 0.2s;
}

.wec7d-menu-link:hover {
  color: var(--wec7d-primary);
  padding-left: 0.5rem;
}

/* ========== MAIN CONTENT ========== */
main {
  padding-top: 6rem;
}

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

/* ========== CAROUSEL ========== */
.wec7d-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.wec7d-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.wec7d-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.wec7d-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

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

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

/* ========== SECTIONS ========== */
.wec7d-section {
  margin-bottom: 2.5rem;
}

.wec7d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wec7d-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wec7d-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wec7d-section-title i,
.wec7d-section-title .material-icons {
  font-size: 2rem;
}

/* ========== H1 ========== */
.wec7d-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 1.5rem 0;
  line-height: 1.3;
}

/* ========== GAME GRID ========== */
.wec7d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.wec7d-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 0.8rem;
  padding: 0.5rem 0.3rem;
  background: rgba(255, 255, 255, 0.03);
}

.wec7d-game-item:hover {
  transform: scale(1.05);
  background: rgba(255, 20, 147, 0.1);
}

.wec7d-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  margin-bottom: 0.3rem;
  object-fit: cover;
}

.wec7d-game-name {
  font-size: 1rem;
  color: var(--wec7d-text-light);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* ========== CONTENT MODULES ========== */
.wec7d-card {
  background: var(--wec7d-bg-charcoal);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wec7d-card h2 {
  font-size: 1.6rem;
  color: var(--wec7d-primary);
  margin: 0 0 1rem 0;
}

.wec7d-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 1rem 0 0.6rem 0;
}

.wec7d-card p {
  font-size: 1.3rem;
  color: var(--wec7d-text-light);
  margin: 0 0 0.8rem 0;
  line-height: 1.6;
}

.wec7d-promo-text {
  color: var(--wec7d-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.wec7d-promo-text:hover {
  text-decoration: underline;
}

.wec7d-promo-btn {
  display: inline-block;
  background: var(--wec7d-primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.wec7d-promo-btn:hover {
  background: #e0127e;
  transform: scale(1.05);
}

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

/* ========== WINNERS TABLE ========== */
.wec7d-winners-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wec7d-winners-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.2rem;
}

.wec7d-winners-list li:last-child {
  border-bottom: none;
}

.wec7d-winner-name {
  color: #fff;
  font-weight: 600;
}

.wec7d-winner-game {
  color: var(--wec7d-text-gray);
}

.wec7d-winner-amount {
  color: var(--wec7d-primary);
  font-weight: 700;
}

/* ========== TESTIMONIALS ========== */
.wec7d-testimonial {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--wec7d-primary);
}

.wec7d-testimonial p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.wec7d-testimonial-author {
  color: var(--wec7d-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ========== PAYMENT ICONS ========== */
.wec7d-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.wec7d-payment-icon {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  color: var(--wec7d-text-light);
}

/* ========== STATS ========== */
.wec7d-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.wec7d-stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
}

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

.wec7d-stat-label {
  font-size: 1.1rem;
  color: var(--wec7d-text-gray);
  margin-top: 0.3rem;
}

/* ========== INTERNAL LINKS ========== */
.wec7d-internal-link {
  color: var(--wec7d-text-light);
  text-decoration: underline;
  text-decoration-color: var(--wec7d-primary);
  transition: color 0.2s;
}

.wec7d-internal-link:hover {
  color: var(--wec7d-primary);
}

/* ========== FAQ ========== */
.wec7d-faq-item {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wec7d-faq-item:last-child {
  border-bottom: none;
}

.wec7d-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.wec7d-faq-a {
  font-size: 1.3rem;
  color: var(--wec7d-text-light);
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.wec7d-footer {
  background: var(--wec7d-bg-charcoal);
  padding: 2rem 1.2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wec7d-footer-desc {
  font-size: 1.2rem;
  color: var(--wec7d-text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.wec7d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.wec7d-footer-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wec7d-text-light);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.wec7d-footer-link:hover {
  background: var(--wec7d-primary);
  color: #fff;
}

.wec7d-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--wec7d-text-gray);
  margin-top: 1rem;
}

/* ========== BOTTOM NAV ========== */
.wec7d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--wec7d-bg-charcoal);
  border-top: 2px solid var(--wec7d-primary);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.wec7d-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(--wec7d-text-gray);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  gap: 2px;
}

.wec7d-nav-btn i,
.wec7d-nav-btn .material-icons,
.wec7d-nav-btn .bi {
  font-size: 22px;
}

.wec7d-nav-btn span {
  font-size: 10px;
  font-weight: 500;
}

.wec7d-nav-btn:hover,
.wec7d-nav-btn.wec7d-nav-active {
  color: var(--wec7d-primary);
}

.wec7d-nav-btn:active {
  transform: scale(0.9);
}

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

/* Hide desktop nav on mobile */
.wec7d-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .wec7d-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .wec7d-desktop-nav a {
    color: var(--wec7d-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .wec7d-desktop-nav a:hover {
    color: var(--wec7d-primary);
  }
  main {
    padding-bottom: 2rem;
  }
}

/* ========== CATEGORY TAB ========== */
.wec7d-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 20, 147, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  color: var(--wec7d-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ========== CTA SECTION ========== */
.wec7d-cta-box {
  background: linear-gradient(135deg, var(--wec7d-primary), #c0107a);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.wec7d-cta-box h2 {
  color: #fff;
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
}

.wec7d-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin: 0 0 1.5rem 0;
}

.wec7d-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--wec7d-primary);
  padding: 1rem 3rem;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.wec7d-cta-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

/* ========== FEATURES LIST ========== */
.wec7d-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wec7d-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  font-size: 1.3rem;
  color: var(--wec7d-text-light);
}

.wec7d-features-list li i {
  color: var(--wec7d-primary);
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

/* ========== SECURITY BADGES ========== */
.wec7d-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.wec7d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 20, 147, 0.1);
  border: 1px solid rgba(255, 20, 147, 0.3);
  border-radius: 2rem;
  font-size: 1.1rem;
  color: var(--wec7d-text-light);
}

.wec7d-badge i {
  color: var(--wec7d-primary);
}

/* ========== RESPONSIVE HELPERS ========== */
.wec7d-text-center { text-align: center; }
.wec7d-mt-1 { margin-top: 1rem; }
.wec7d-mt-2 { margin-top: 2rem; }
.wec7d-mb-1 { margin-bottom: 1rem; }
.wec7d-mb-2 { margin-bottom: 2rem; }
.wec7d-p-1 { padding: 1rem; }
.wec7d-hidden { display: none; }
