/**
 * 29jl ph - Main Stylesheet
 * All classes use wcf09- prefix for namespace isolation
 * Color palette: #333333 | #EEE8AA | #BF360C | #FF8C00 | #999999 | #FFCC33
 */

/* CSS Variables */
:root {
  --wcf09-primary: #FFCC33;
  --wcf09-bg: #333333;
  --wcf09-bg-light: #3d3d3d;
  --wcf09-bg-card: #2a2a2a;
  --wcf09-text: #EEE8AA;
  --wcf09-text-light: #ccccaa;
  --wcf09-accent: #FF8C00;
  --wcf09-accent-dark: #BF360C;
  --wcf09-muted: #999999;
  --wcf09-border: #4a4a4a;
  --wcf09-white: #ffffff;
  --wcf09-radius: 8px;
  --wcf09-radius-lg: 12px;
  --wcf09-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--wcf09-font);
  background: var(--wcf09-bg);
  color: var(--wcf09-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.wcf09-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-bottom: 2px solid var(--wcf09-primary);
  z-index: 1000;
  padding: 0 1rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wcf09-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.wcf09-logo img { height: 3rem; width: 3rem; border-radius: 0.5rem; }
.wcf09-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wcf09-primary);
  letter-spacing: 0.5px;
}
.wcf09-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.wcf09-btn-register {
  background: linear-gradient(135deg, var(--wcf09-accent), var(--wcf09-accent-dark));
  color: var(--wcf09-white);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: var(--wcf09-radius);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wcf09-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(255,140,0,0.4); }
.wcf09-btn-login {
  background: transparent;
  color: var(--wcf09-primary);
  border: 1.5px solid var(--wcf09-primary);
  padding: 0.6rem 1.3rem;
  border-radius: var(--wcf09-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wcf09-btn-login:hover { background: rgba(238,232,170,0.1); }
.wcf09-menu-toggle {
  background: none;
  border: none;
  color: var(--wcf09-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Overlay */
.wcf09-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.wcf09-overlay-active { opacity: 1; visibility: visible; }

/* Mobile Slide Menu */
.wcf09-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #1a1a1a;
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
.wcf09-menu-active { right: 0; }
.wcf09-menu-close {
  background: none;
  border: none;
  color: var(--wcf09-muted);
  font-size: 2.8rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.wcf09-menu-nav { margin-top: 3rem; }
.wcf09-menu-nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--wcf09-text);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--wcf09-border);
  transition: color 0.2s;
}
.wcf09-menu-nav a:hover { color: var(--wcf09-primary); }

/* Main Content */
.wcf09-main { padding-top: 5.6rem; }
@media (max-width: 768px) {
  .wcf09-main { padding-bottom: 8rem; }
}

/* Carousel */
.wcf09-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 430/200;
  background: #1a1a1a;
}
.wcf09-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.wcf09-slide-active { opacity: 1; }
.wcf09-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.wcf09-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.wcf09-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.wcf09-dot-active { background: var(--wcf09-primary); transform: scale(1.2); }

/* Section */
.wcf09-section {
  padding: 2rem 1.2rem;
}
.wcf09-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wcf09-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--wcf09-accent-dark);
}
.wcf09-h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--wcf09-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Game Grid */
.wcf09-category-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--wcf09-accent);
  margin: 1.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--wcf09-primary);
}
.wcf09-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.wcf09-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--wcf09-radius);
  padding: 0.5rem;
}
.wcf09-game-item:hover { transform: scale(1.05); }
.wcf09-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--wcf09-radius);
  border: 2px solid var(--wcf09-border);
  object-fit: cover;
}
.wcf09-game-name {
  font-size: 1.1rem;
  color: var(--wcf09-text-light);
  margin-top: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.wcf09-card {
  background: var(--wcf09-bg-card);
  border-radius: var(--wcf09-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--wcf09-border);
}
.wcf09-card h2 {
  font-size: 1.8rem;
  color: var(--wcf09-primary);
  margin-bottom: 1rem;
}
.wcf09-card h3 {
  font-size: 1.5rem;
  color: var(--wcf09-accent);
  margin: 1rem 0 0.6rem;
}
.wcf09-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--wcf09-text-light);
  margin-bottom: 0.8rem;
}

/* Promo Buttons */
.wcf09-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--wcf09-accent), var(--wcf09-accent-dark));
  color: var(--wcf09-white);
  padding: 1rem 2rem;
  border-radius: var(--wcf09-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}
.wcf09-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,140,0,0.4); }
.wcf09-promo-text {
  color: var(--wcf09-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.wcf09-promo-text:hover { color: var(--wcf09-accent); }

/* Internal Links */
.wcf09-internal-link {
  color: var(--wcf09-accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--wcf09-accent);
  transition: all 0.2s;
}
.wcf09-internal-link:hover { color: var(--wcf09-primary); border-bottom-style: solid; }

/* Footer */
.wcf09-footer {
  background: #1a1a1a;
  padding: 2.5rem 1.2rem 2rem;
  border-top: 2px solid var(--wcf09-accent-dark);
}
.wcf09-footer-brand {
  font-size: 1.3rem;
  color: var(--wcf09-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.wcf09-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.wcf09-footer-links a {
  color: var(--wcf09-text);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--wcf09-border);
  border-radius: var(--wcf09-radius);
  transition: all 0.2s;
}
.wcf09-footer-links a:hover { border-color: var(--wcf09-primary); color: var(--wcf09-primary); }
.wcf09-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: var(--wcf09-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--wcf09-border);
}

/* Bottom Navigation */
.wcf09-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border-top: 2px solid var(--wcf09-accent-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.5rem;
}
.wcf09-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.6rem;
  background: none;
  border: none;
  color: var(--wcf09-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--wcf09-radius);
  padding: 0.3rem;
}
.wcf09-bottom-btn:hover { color: var(--wcf09-primary); transform: scale(1.1); }
.wcf09-bottom-btn-active { color: var(--wcf09-primary); }
.wcf09-bottom-btn .wcf09-nav-icon { font-size: 2.4rem; line-height: 1; }
.wcf09-bottom-btn .wcf09-nav-label { font-size: 1rem; margin-top: 0.2rem; font-weight: 600; }

/* Utility */
.wcf09-text-center { text-align: center; }
.wcf09-mt-1 { margin-top: 1rem; }
.wcf09-mb-1 { margin-bottom: 1rem; }
.wcf09-mb-2 { margin-bottom: 2rem; }
.wcf09-hidden { display: none; }

/* Winners list */
.wcf09-winners-list { list-style: none; }
.wcf09-winners-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--wcf09-border);
  font-size: 1.3rem;
}
.wcf09-winner-name { color: var(--wcf09-primary); font-weight: 600; }
.wcf09-winner-amount { color: var(--wcf09-accent); font-weight: 700; }

/* Payment row */
.wcf09-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.wcf09-payment-item {
  background: var(--wcf09-bg-light);
  padding: 0.8rem 1.5rem;
  border-radius: var(--wcf09-radius);
  font-size: 1.3rem;
  color: var(--wcf09-text);
  border: 1px solid var(--wcf09-border);
}

/* Testimonial */
.wcf09-testimonial {
  background: var(--wcf09-bg-light);
  border-radius: var(--wcf09-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--wcf09-accent);
}
.wcf09-testimonial p { font-size: 1.3rem; margin-bottom: 0.4rem; }
.wcf09-testimonial cite { color: var(--wcf09-muted); font-size: 1.2rem; font-style: normal; }

/* Responsive */
@media (min-width: 769px) {
  .wcf09-bottom-nav { display: none; }
  .wcf09-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  .wcf09-main { padding-bottom: 8rem; }
}
