/* 8555 Layout Styles - Prefix: w85b1- */
/* Color palette: #0A0A0A #228B22 #00FF7F #8FBC8F #FF8C00 */

:root {
  --w85b1-primary: #00FF7F;
  --w85b1-secondary: #228B22;
  --w85b1-accent: #FF8C00;
  --w85b1-bg: #0A0A0A;
  --w85b1-bg2: #111111;
  --w85b1-bg3: #1a1a1a;
  --w85b1-text: #e0e0e0;
  --w85b1-text-light: #ffffff;
  --w85b1-muted: #8FBC8F;
  --w85b1-border: #2a2a2a;
  --w85b1-card-bg: #141414;
  --w85b1-gold: #FF8C00;
  --w85b1-green: #00FF7F;
  --w85b1-dark-green: #228B22;
}

html { font-size: 62.5%; scroll-behavior: smooth; }

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w85b1-bg);
  color: var(--w85b1-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--w85b1-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--w85b1-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.w85b1-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w85b1-wrapper { width: 100%; position: relative; }

/* ===== HEADER ===== */
.w85b1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0d1a0d 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--w85b1-border);
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.w85b1-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.w85b1-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.w85b1-logo-area span { color: var(--w85b1-primary); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.5px; }

.w85b1-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.w85b1-btn-register, .w85b1-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.3s;
}
.w85b1-btn-register {
  background: linear-gradient(135deg, var(--w85b1-green), var(--w85b1-dark-green));
  color: #000;
}
.w85b1-btn-register:hover { background: linear-gradient(135deg, #33ff99, #2da04a); transform: scale(1.05); }
.w85b1-btn-login {
  background: transparent; color: var(--w85b1-primary);
  border: 1px solid var(--w85b1-green);
}
.w85b1-btn-login:hover { background: rgba(0,255,127,0.1); }

.w85b1-menu-toggle {
  background: none; border: none; color: var(--w85b1-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* ===== MOBILE MENU ===== */
.w85b1-mobile-menu {
  display: none; position: fixed; top: 52px; left: 0; right: 0;
  background: #111; z-index: 9999; border-bottom: 2px solid var(--w85b1-dark-green);
  max-height: 70vh; overflow-y: auto;
}
.w85b1-mobile-menu.w85b1-menu-open { display: block; animation: w85b1slide 0.3s ease; }

@keyframes w85b1slide {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.w85b1-mobile-menu a {
  display: block; padding: 1rem 1.5rem; color: var(--w85b1-text);
  border-bottom: 1px solid var(--w85b1-border); font-size: 1.4rem;
  transition: all 0.2s;
}
.w85b1-mobile-menu a:hover { background: var(--w85b1-bg3); color: var(--w85b1-primary); }

/* ===== BOTTOM NAV ===== */
.w85b1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  border-top: 1px solid var(--w85b1-border);
  height: 60px; display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.w85b1-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; cursor: pointer; border: none;
  background: transparent; color: var(--w85b1-muted); font-size: 1rem;
  transition: all 0.3s; gap: 2px; padding: 0.4rem 0;
  text-decoration: none;
}
.w85b1-bottom-nav-item:hover { color: var(--w85b1-primary); transform: scale(1.1); }
.w85b1-bottom-nav-item.w85b1-nav-active { color: var(--w85b1-primary); }
.w85b1-bottom-nav-item .material-icons, .w85b1-bottom-nav-item .w85b1-icon {
  font-size: 22px; transition: all 0.3s;
}
.w85b1-bottom-nav-item span { font-size: 1rem; white-space: nowrap; }

/* ===== MAIN CONTENT ===== */
.w85b1-main { padding-top: 52px; min-height: 100vh; }

/* ===== CAROUSEL ===== */
.w85b1-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 12px 12px; margin-bottom: 1.5rem;
}
.w85b1-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.w85b1-slide.w85b1-active { display: block; }
.w85b1-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.w85b1-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.w85b1-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: all 0.3s;
}
.w85b1-carousel-dot.w85b1-active { background: var(--w85b1-primary); width: 20px; border-radius: 4px; }

/* ===== SECTION STYLES ===== */
.w85b1-section { padding: 1.5rem 0; }
.w85b1-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--w85b1-primary);
  margin-bottom: 1rem; padding-left: 0.5rem;
  border-left: 3px solid var(--w85b1-accent);
  line-height: 1.3;
}

.w85b1-card {
  background: var(--w85b1-card-bg); border-radius: 10px;
  border: 1px solid var(--w85b1-border); padding: 1.2rem;
  margin-bottom: 1rem; transition: all 0.3s;
}
.w85b1-card:hover { border-color: var(--w85b1-dark-green); box-shadow: 0 0 12px rgba(0,255,127,0.1); }

/* ===== GAME GRID ===== */
.w85b1-cat-title {
  font-size: 1.5rem; font-weight: 600; color: var(--w85b1-accent);
  margin: 1.2rem 0 0.8rem; padding: 0.6rem 0.8rem;
  background: rgba(0,255,127,0.05); border-radius: 6px;
  border-left: 3px solid var(--w85b1-accent);
}

.w85b1-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}

.w85b1-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: all 0.3s; text-align: center;
  padding: 0.4rem; border-radius: 8px;
}
.w85b1-game-item:hover { transform: translateY(-2px); background: rgba(0,255,127,0.05); }
.w85b1-game-item img {
  width: 64px; height: 64px; border-radius: 10px;
  object-fit: cover; margin-bottom: 0.4rem;
  border: 1px solid var(--w85b1-border);
  transition: all 0.3s;
}
.w85b1-game-item:hover img { border-color: var(--w85b1-primary); box-shadow: 0 0 8px rgba(0,255,127,0.2); }
.w85b1-game-item span {
  font-size: 1.1rem; color: var(--w85b1-text);
  line-height: 1.2; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; max-width: 80px;
}

/* ===== PROMO BUTTONS ===== */
.w85b1-promo-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--w85b1-green), var(--w85b1-dark-green));
  color: #000; font-weight: 700; font-size: 1.4rem;
  border-radius: 8px; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.w85b1-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(0,255,127,0.3); }

.w85b1-promo-btn-outline {
  display: inline-block; padding: 0.6rem 1.5rem;
  border: 1px solid var(--w85b1-accent); color: var(--w85b1-accent);
  font-weight: 600; font-size: 1.3rem; border-radius: 6px;
  cursor: pointer; background: transparent; transition: all 0.3s;
}
.w85b1-promo-btn-outline:hover { background: rgba(255,140,0,0.1); }

/* ===== FEATURES GRID ===== */
.w85b1-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.w85b1-feature-item {
  background: var(--w85b1-card-bg); border-radius: 10px;
  padding: 1.2rem; text-align: center;
  border: 1px solid var(--w85b1-border); transition: all 0.3s;
}
.w85b1-feature-item:hover { border-color: var(--w85b1-primary); }
.w85b1-feature-item .material-icons { font-size: 28px; color: var(--w85b1-primary); margin-bottom: 0.5rem; }
.w85b1-feature-item h3 { font-size: 1.3rem; color: var(--w85b1-text-light); margin-bottom: 0.3rem; }
.w85b1-feature-item p { font-size: 1.1rem; color: var(--w85b1-muted); line-height: 1.4; }

/* ===== TESTIMONIAL ===== */
.w85b1-testimonial {
  background: var(--w85b1-card-bg); border-radius: 10px;
  padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--w85b1-accent);
}
.w85b1-testimonial-name { font-weight: 600; color: var(--w85b1-primary); font-size: 1.3rem; }
.w85b1-testimonial-text { color: var(--w85b1-text); font-size: 1.2rem; margin-top: 0.3rem; line-height: 1.5; }

/* ===== FOOTER ===== */
.w85b1-footer {
  background: #0a0a0a; border-top: 1px solid var(--w85b1-border);
  padding: 2rem 0 8rem; text-align: center;
}
.w85b1-footer-desc {
  color: var(--w85b1-muted); font-size: 1.2rem; line-height: 1.6;
  margin-bottom: 1.5rem; padding: 0 1rem;
}
.w85b1-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.2rem; padding: 0 0.5rem; }
.w85b1-footer-links a {
  padding: 0.4rem 1rem; background: var(--w85b1-bg3); border-radius: 4px;
  font-size: 1.1rem; color: var(--w85b1-text); border: 1px solid var(--w85b1-border);
  transition: all 0.3s;
}
.w85b1-footer-links a:hover { border-color: var(--w85b1-primary); color: var(--w85b1-primary); }
.w85b1-footer-copy { color: #555; font-size: 1rem; margin-top: 1rem; }

/* ===== CONTENT HELPERS ===== */
.w85b1-text-center { text-align: center; }
.w85b1-text-accent { color: var(--w85b1-accent); }
.w85b1-text-green { color: var(--w85b1-primary); }
.w85b1-text-muted { color: var(--w85b1-muted); }
.w85b1-mt-1 { margin-top: 1rem; }
.w85b1-mb-1 { margin-bottom: 1rem; }
.w85b1-p-1 { padding: 1rem; }

.w85b1-badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: var(--w85b1-accent); color: #000;
  font-size: 1rem; font-weight: 600; border-radius: 3px;
}

.w85b1-divider {
  height: 1px; background: var(--w85b1-border);
  margin: 1.5rem 0; border: none;
}

/* ===== WINNERS LIST ===== */
.w85b1-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--w85b1-border);
  font-size: 1.2rem;
}
.w85b1-winner-name { color: var(--w85b1-primary); font-weight: 600; }
.w85b1-winner-amount { color: var(--w85b1-accent); font-weight: 700; }

/* ===== PAYMENT ICONS ===== */
.w85b1-payment-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem; padding: 1rem 0;
}
.w85b1-payment-item {
  background: var(--w85b1-bg3); padding: 0.6rem 1.2rem;
  border-radius: 6px; font-size: 1.2rem; color: var(--w85b1-muted);
  border: 1px solid var(--w85b1-border);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .w85b1-bottom-nav { display: none; }
  .w85b1-container { max-width: 600px; }
}

@media (max-width: 768px) {
  .w85b1-main { padding-bottom: 75px; }
  .w85b1-footer { padding-bottom: 8rem; }
}

@media (max-width: 360px) {
  .w85b1-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .w85b1-game-item img { width: 56px; height: 56px; }
  .w85b1-game-item span { font-size: 1rem; }
}
