/**
 * PH33 Info - Core Stylesheet
 * All classes use prefix w993e- for namespace isolation
 * Color palette: #0C0C0C | #C0C0C0 | #FFFACD | #FFCC33 | #BDC3C7
 * @version 1.0.0
 */

/* CSS Variables */
:root {
  --w993e-bg-dark: #0C0C0C;
  --w993e-bg-card: #1a1a1a;
  --w993e-bg-card-alt: #141414;
  --w993e-text-silver: #C0C0C0;
  --w993e-text-light: #FFFACD;
  --w993e-accent-gold: #FFCC33;
  --w993e-accent-muted: #BDC3C7;
  --w993e-border-subtle: #2a2a2a;
  --w993e-gradient-gold: linear-gradient(135deg, #FFCC33 0%, #e6a800 100%);
  --w993e-gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
  --w993e-shadow-glow: 0 0 20px rgba(255, 204, 51, 0.15);
  --w993e-radius-sm: 0.6rem;
  --w993e-radius-md: 1rem;
  --w993e-radius-lg: 1.4rem;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--w993e-bg-dark);
  color: var(--w993e-text-silver);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--w993e-accent-gold); text-decoration: none; }
a:hover { color: var(--w993e-text-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ==================== HEADER ==================== */
.w993e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w993e-border-subtle);
  padding: 0 1.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.w993e-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w993e-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
}
.w993e-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w993e-accent-gold);
  letter-spacing: 0.05rem;
}
.w993e-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w993e-btn-register {
  background: var(--w993e-gradient-gold);
  color: var(--w993e-bg-dark);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--w993e-radius-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.w993e-btn-register:hover {
  transform: scale(1.05);
  box-shadow: var(--w993e-shadow-glow);
}
.w993e-btn-login {
  background: transparent;
  color: var(--w993e-accent-gold);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--w993e-accent-gold);
  border-radius: var(--w993e-radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.w993e-btn-login:hover {
  background: rgba(255, 204, 51, 0.1);
}
.w993e-menu-toggle {
  background: none;
  border: none;
  color: var(--w993e-text-silver);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== MOBILE MENU ==================== */
.w993e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.w993e-overlay-active {
  opacity: 1;
  visibility: visible;
}
.w993e-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: var(--w993e-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.w993e-menu-active {
  right: 0;
}
.w993e-mobile-menu .w993e-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--w993e-text-silver);
  font-size: 2.2rem;
  cursor: pointer;
}
.w993e-mobile-menu h3 {
  color: var(--w993e-accent-gold);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.w993e-menu-link {
  display: block;
  color: var(--w993e-text-silver);
  font-size: 1.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--w993e-border-subtle);
  transition: color 0.2s, padding-left 0.2s;
}
.w993e-menu-link:hover {
  color: var(--w993e-accent-gold);
  padding-left: 0.5rem;
}

/* ==================== MAIN CONTENT ==================== */
.w993e-main {
  padding-top: 5.2rem;
  min-height: 100vh;
}

/* ==================== CAROUSEL ==================== */
.w993e-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 430/200;
}
.w993e-slide {
  display: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.w993e-slide-active {
  display: block;
  animation: w993e-fadeIn 0.5s ease;
}
.w993e-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w993e-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.w993e-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.w993e-dot-active {
  background: var(--w993e-accent-gold);
}
@keyframes w993e-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================== SECTIONS ==================== */
.w993e-section {
  padding: 2rem 1.4rem;
}
.w993e-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w993e-accent-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w993e-section-title .w993e-title-bar {
  width: 0.4rem;
  height: 2rem;
  background: var(--w993e-gradient-gold);
  border-radius: 0.2rem;
}
.w993e-section-text {
  font-size: 1.4rem;
  line-height: 2.2rem;
  color: var(--w993e-text-silver);
  margin-bottom: 1rem;
}

/* ==================== GAME GRID ==================== */
.w993e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.w993e-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.w993e-game-item:hover {
  transform: translateY(-3px);
}
.w993e-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--w993e-radius-sm);
  margin-bottom: 0.4rem;
  border: 1px solid var(--w993e-border-subtle);
}
.w993e-game-item span {
  font-size: 1.1rem;
  color: var(--w993e-text-silver);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================== CATEGORY HEADER ==================== */
.w993e-cat-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--w993e-text-light);
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w993e-accent-gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==================== PROMO CTA ==================== */
.w993e-cta-box {
  background: var(--w993e-gradient-dark);
  border: 1px solid var(--w993e-accent-gold);
  border-radius: var(--w993e-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--w993e-shadow-glow);
}
.w993e-cta-box h2 {
  color: var(--w993e-accent-gold);
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.w993e-cta-box p {
  color: var(--w993e-text-silver);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  line-height: 2rem;
}
.w993e-cta-btn {
  display: inline-block;
  background: var(--w993e-gradient-gold);
  color: var(--w993e-bg-dark);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  border-radius: var(--w993e-radius-sm);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.w993e-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--w993e-shadow-glow);
}

/* ==================== TEXT LINKS ==================== */
.w993e-text-link {
  color: var(--w993e-accent-gold);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.w993e-text-link:hover {
  color: var(--w993e-text-light);
}

/* ==================== INFO CARD ==================== */
.w993e-info-card {
  background: var(--w993e-bg-card);
  border: 1px solid var(--w993e-border-subtle);
  border-radius: var(--w993e-radius-md);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}
.w993e-info-card h3 {
  color: var(--w993e-accent-gold);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* ==================== STATS ROW ==================== */
.w993e-stats-row {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin: 1.5rem 0;
}
.w993e-stat-item {
  text-align: center;
  flex: 1;
}
.w993e-stat-item .w993e-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w993e-accent-gold);
}
.w993e-stat-item .w993e-stat-label {
  font-size: 1.1rem;
  color: var(--w993e-accent-muted);
  margin-top: 0.3rem;
}

/* ==================== TESTIMONIAL ==================== */
.w993e-testimonial {
  background: var(--w993e-bg-card);
  border-left: 3px solid var(--w993e-accent-gold);
  border-radius: 0 var(--w993e-radius-sm) var(--w993e-radius-sm) 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}
.w993e-testimonial p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--w993e-text-silver);
  line-height: 2rem;
}
.w993e-testimonial .w993e-author {
  font-size: 1.2rem;
  color: var(--w993e-accent-muted);
  margin-top: 0.5rem;
  font-style: normal;
}

/* ==================== FOOTER ==================== */
.w993e-footer {
  background: var(--w993e-bg-card);
  border-top: 1px solid var(--w993e-border-subtle);
  padding: 2rem 1.4rem;
  text-align: center;
}
.w993e-footer-brand {
  color: var(--w993e-accent-gold);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.w993e-footer-desc {
  font-size: 1.2rem;
  color: var(--w993e-accent-muted);
  line-height: 1.8rem;
  margin-bottom: 1.5rem;
}
.w993e-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.w993e-footer-links a {
  background: var(--w993e-bg-card-alt);
  border: 1px solid var(--w993e-border-subtle);
  color: var(--w993e-text-silver);
  padding: 0.5rem 1rem;
  border-radius: var(--w993e-radius-sm);
  font-size: 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}
.w993e-footer-links a:hover {
  border-color: var(--w993e-accent-gold);
  color: var(--w993e-accent-gold);
}
.w993e-footer-copy {
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

/* ==================== BOTTOM NAV ==================== */
.w993e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--w993e-border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.3rem;
}
.w993e-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--w993e-accent-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  gap: 0.2rem;
}
.w993e-bottom-nav-btn:active {
  transform: scale(0.92);
}
.w993e-bottom-nav-btn .w993e-nav-icon {
  font-size: 22px;
  line-height: 1;
}
.w993e-bottom-nav-btn .w993e-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}
.w993e-nav-active {
  color: var(--w993e-accent-gold) !important;
}
.w993e-bottom-nav-btn.w993e-nav-active .w993e-nav-icon,
.w993e-bottom-nav-btn.w993e-nav-active .w993e-nav-label {
  color: var(--w993e-accent-gold);
}

/* ==================== HOMEPAGE HERO ==================== */
.w993e-hero-section {
  padding: 2rem 1.4rem 1rem;
  text-align: center;
}
.w993e-hero-section h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--w993e-accent-gold);
  line-height: 2.8rem;
  margin-bottom: 1rem;
}
.w993e-hero-section p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--w993e-text-silver);
  margin-bottom: 1.5rem;
}

/* ==================== WINNER SHOWCASE ==================== */
.w993e-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.w993e-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--w993e-bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: var(--w993e-radius-sm);
  font-size: 1.2rem;
}
.w993e-winner-item .w993e-winner-game {
  color: var(--w993e-text-light);
  font-weight: 600;
}
.w993e-winner-item .w993e-winner-amount {
  color: var(--w993e-accent-gold);
  font-weight: 700;
}

/* ==================== PAYMENT METHODS ==================== */
.w993e-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.w993e-payment-item {
  background: var(--w993e-bg-card);
  border: 1px solid var(--w993e-border-subtle);
  border-radius: var(--w993e-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--w993e-text-silver);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==================== FEATURES LIST ==================== */
.w993e-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.w993e-feature-item {
  background: var(--w993e-bg-card);
  border: 1px solid var(--w993e-border-subtle);
  border-radius: var(--w993e-radius-sm);
  padding: 1.2rem;
  text-align: center;
}
.w993e-feature-item .w993e-feature-icon {
  font-size: 2.4rem;
  color: var(--w993e-accent-gold);
  margin-bottom: 0.5rem;
}
.w993e-feature-item h4 {
  color: var(--w993e-text-light);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.w993e-feature-item p {
  font-size: 1.1rem;
  color: var(--w993e-accent-muted);
  line-height: 1.6rem;
}

/* ==================== FAQ SECTION ==================== */
.w993e-faq-item {
  background: var(--w993e-bg-card);
  border: 1px solid var(--w993e-border-subtle);
  border-radius: var(--w993e-radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
}
.w993e-faq-item h4 {
  color: var(--w993e-accent-gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.w993e-faq-item p {
  font-size: 1.2rem;
  color: var(--w993e-text-silver);
  line-height: 1.8rem;
}

/* ==================== APP DOWNLOAD CTA ==================== */
.w993e-app-cta {
  background: var(--w993e-bg-card);
  border: 2px solid var(--w993e-accent-gold);
  border-radius: var(--w993e-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}
.w993e-app-cta h3 {
  color: var(--w993e-accent-gold);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.w993e-app-cta p {
  font-size: 1.3rem;
  color: var(--w993e-text-silver);
  margin-bottom: 1.2rem;
  line-height: 2rem;
}

/* ==================== MOBILE PADDING ==================== */
@media (max-width: 768px) {
  .w993e-main {
    padding-bottom: 80px;
  }
  .w993e-footer {
    padding-bottom: 70px;
  }
}

/* ==================== DESKTOP: HIDE BOTTOM NAV ==================== */
@media (min-width: 769px) {
  .w993e-bottom-nav {
    display: none;
  }
}
