/* 2223.click Main Stylesheet - wef53- prefix */
:root {
  --wef53-primary: #FFA500;
  --wef53-secondary: #FFBF00;
  --wef53-accent: #FF9800;
  --wef53-bg: #2D2D2D;
  --wef53-bg-dark: #1A1A1A;
  --wef53-bg-card: #353535;
  --wef53-text: #ADB5BD;
  --wef53-text-light: #E0E0E0;
  --wef53-text-bright: #FFFFFF;
  --wef53-gold: #FFBF00;
  --wef53-orange: #FFA500;
  --wef53-deep-orange: #FF9800;
  --wef53-border: #444444;
  --wef53-shadow: rgba(0, 0, 0, 0.3);
  --wef53-radius: 8px;
  --wef53-header-h: 56px;
  --wef53-bottom-nav-h: 60px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--wef53-bg);
  color: var(--wef53-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wef53-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--wef53-gold); }

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

/* ============ HEADER ============ */
.wef53-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--wef53-header-h);
  background: var(--wef53-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 2px solid var(--wef53-accent);
  box-shadow: 0 2px 8px var(--wef53-shadow);
}

.wef53-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wef53-logo-area img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}
.wef53-logo-area span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wef53-gold);
  letter-spacing: 1px;
}

.wef53-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wef53-btn-reg,
.wef53-btn-login {
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  min-width: 70px;
}
.wef53-btn-reg {
  background: linear-gradient(135deg, var(--wef53-primary), var(--wef53-deep-orange));
  color: #fff;
}
.wef53-btn-reg:hover {
  background: linear-gradient(135deg, var(--wef53-gold), var(--wef53-primary));
  transform: scale(1.05);
}
.wef53-btn-login {
  background: transparent;
  color: var(--wef53-primary);
  border: 2px solid var(--wef53-primary);
}
.wef53-btn-login:hover {
  background: var(--wef53-primary);
  color: #fff;
}

.wef53-menu-toggle {
  background: none;
  border: none;
  color: var(--wef53-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ MOBILE MENU ============ */
.wef53-mobile-menu {
  position: fixed;
  top: var(--wef53-header-h);
  left: 0;
  width: 100%;
  background: var(--wef53-bg-dark);
  border-bottom: 2px solid var(--wef53-accent);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  z-index: 9999;
}
.wef53-menu-active {
  max-height: 500px;
  padding: 12px 0;
}
.wef53-mobile-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--wef53-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--wef53-border);
  transition: background 0.2s ease;
}
.wef53-mobile-menu a:hover {
  background: var(--wef53-bg-card);
  color: var(--wef53-gold);
}

/* ============ MAIN CONTENT ============ */
.wef53-main {
  margin-top: var(--wef53-header-h);
  padding: 0 0 20px 0;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CAROUSEL ============ */
.wef53-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--wef53-radius) var(--wef53-radius);
}
.wef53-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.wef53-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.wef53-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.wef53-carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 16px;
  color: var(--wef53-text-bright);
}
.wef53-carousel-overlay h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.wef53-carousel-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}
.wef53-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.wef53-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}
.wef53-dot-active {
  background: var(--wef53-gold);
  width: 20px;
  border-radius: 4px;
}

/* ============ SECTIONS ============ */
.wef53-section {
  padding: 16px 12px;
}
.wef53-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wef53-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wef53-section-title i {
  font-size: 2rem;
  color: var(--wef53-primary);
}

/* ============ GAME GRID ============ */
.wef53-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.wef53-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: var(--wef53-radius);
  padding: 6px;
  background: var(--wef53-bg-card);
}
.wef53-game-item:hover {
  transform: scale(1.05);
  background: var(--wef53-border);
}
.wef53-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}
.wef53-game-item span {
  font-size: 1rem;
  color: var(--wef53-text-light);
  display: block;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ CONTENT MODULES ============ */
.wef53-module {
  background: var(--wef53-bg-card);
  border-radius: var(--wef53-radius);
  padding: 16px;
  margin: 12px;
  border: 1px solid var(--wef53-border);
}
.wef53-module h3 {
  font-size: 1.6rem;
  color: var(--wef53-gold);
  margin-bottom: 10px;
  font-weight: 700;
}
.wef53-module p {
  font-size: 1.3rem;
  color: var(--wef53-text);
  line-height: 1.7;
  margin-bottom: 8px;
}
.wef53-module ul {
  list-style: none;
  padding: 0;
}
.wef53-module ul li {
  font-size: 1.3rem;
  color: var(--wef53-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--wef53-border);
  padding-left: 16px;
  position: relative;
}
.wef53-module ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wef53-primary);
}

/* ============ PROMO CTA BUTTON ============ */
.wef53-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--wef53-primary), var(--wef53-deep-orange));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 44px;
}
.wef53-cta:hover {
  background: linear-gradient(135deg, var(--wef53-gold), var(--wef53-primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

/* ============ FOOTER ============ */
.wef53-footer {
  background: var(--wef53-bg-dark);
  padding: 20px 12px 16px;
  border-top: 2px solid var(--wef53-accent);
}
.wef53-footer-desc {
  font-size: 1.2rem;
  color: var(--wef53-text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.wef53-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.wef53-footer-links a {
  font-size: 1.1rem;
  color: var(--wef53-text);
  padding: 4px 10px;
  background: var(--wef53-bg-card);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.wef53-footer-links a:hover {
  color: var(--wef53-gold);
  background: var(--wef53-border);
}
.wef53-footer-copy {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-top: 10px;
}

/* ============ BOTTOM NAVIGATION ============ */
.wef53-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--wef53-bottom-nav-h);
  background: var(--wef53-bg-dark);
  border-top: 2px solid var(--wef53-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--wef53-shadow);
}
.wef53-bottom-nav a,
.wef53-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--wef53-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 2px;
}
.wef53-bottom-nav a i,
.wef53-bottom-nav button i,
.wef53-bottom-nav a .material-icons,
.wef53-bottom-nav button .material-icons,
.wef53-bottom-nav a ion-icon,
.wef53-bottom-nav button ion-icon {
  font-size: 22px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.wef53-bottom-nav a:hover,
.wef53-bottom-nav button:hover {
  color: var(--wef53-gold);
}
.wef53-bottom-nav a:hover i,
.wef53-bottom-nav button:hover i,
.wef53-bottom-nav a:hover .material-icons,
.wef53-bottom-nav button:hover .material-icons,
.wef53-bottom-nav a:hover ion-icon,
.wef53-bottom-nav button:hover ion-icon {
  transform: scale(1.15);
  color: var(--wef53-gold);
}
.wef53-bottom-nav span {
  font-size: 1rem;
}

/* ============ INTERNAL LINKS ============ */
.wef53-internal-links {
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wef53-internal-links a {
  font-size: 1.1rem;
  color: var(--wef53-primary);
  padding: 3px 8px;
  background: rgba(255,165,0,0.1);
  border-radius: 4px;
}

/* ============ HELP PAGE CONTENT ============ */
.wef53-help-content {
  padding: 16px 12px;
}
.wef53-help-content h1 {
  font-size: 2rem;
  color: var(--wef53-gold);
  margin-bottom: 12px;
  font-weight: 700;
}
.wef53-help-content h2 {
  font-size: 1.7rem;
  color: var(--wef53-primary);
  margin: 16px 0 8px;
  font-weight: 700;
}
.wef53-help-content h3 {
  font-size: 1.5rem;
  color: var(--wef53-secondary);
  margin: 12px 0 6px;
}
.wef53-help-content p {
  font-size: 1.3rem;
  color: var(--wef53-text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.wef53-help-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.wef53-help-content ul li {
  font-size: 1.3rem;
  color: var(--wef53-text);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.6;
}
.wef53-help-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--wef53-primary);
  font-size: 1rem;
}
.wef53-faq-item {
  background: var(--wef53-bg-card);
  border-radius: var(--wef53-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--wef53-primary);
}
.wef53-faq-item strong {
  color: var(--wef53-gold);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}
.wef53-faq-item p {
  color: var(--wef53-text);
  font-size: 1.3rem;
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .wef53-main {
    padding-bottom: 80px;
  }
}
@media (min-width: 769px) {
  .wef53-bottom-nav {
    display: none;
  }
  .wef53-menu-toggle {
    display: none;
  }
}
