/**
 * 399bdt - Main Stylesheet
 * All classes use prefix "w975a-" for namespace isolation
 * Color palette: #006400 | #B8860B | #3A3A3A | #8FBC8F | #2E8B57
 */

:root {
  --w975a-primary: #006400;
  --w975a-secondary: #2E8B57;
  --w975a-accent: #B8860B;
  --w975a-dark: #3A3A3A;
  --w975a-light: #8FBC8F;
  --w975a-bg: #1a1a2e;
  --w975a-bg-card: #16213e;
  --w975a-bg-dark: #0f3460;
  --w975a-text: #e8e8e8;
  --w975a-text-muted: #a0a0b0;
  --w975a-gold: #ffd700;
  --w975a-white: #ffffff;
  --w975a-border: rgba(184, 134, 11, 0.3);
  --w975a-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 62.5%;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w975a-bg);
  color: var(--w975a-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a { color: var(--w975a-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.w975a-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #006400, #004d00);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.w975a-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w975a-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.w975a-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w975a-gold);
  letter-spacing: 0.5px;
}

.w975a-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w975a-btn-register {
  background: linear-gradient(135deg, #B8860B, #daa520);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.w975a-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(184,134,11,0.5); }

.w975a-btn-login {
  background: transparent;
  color: var(--w975a-gold);
  border: 1px solid var(--w975a-gold);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.w975a-btn-login:hover { background: rgba(184,134,11,0.15); }

.w975a-menu-btn {
  background: none;
  border: none;
  color: var(--w975a-gold);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

/* ===== MOBILE MENU ===== */
.w975a-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.w975a-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #004d00, #003300);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.w975a-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w975a-border);
}

.w975a-mobile-menu-title {
  font-size: 1.8rem;
  color: var(--w975a-gold);
  font-weight: 700;
}

.w975a-close-btn {
  background: none;
  border: none;
  color: var(--w975a-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.w975a-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--w975a-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.w975a-mobile-menu a:hover {
  color: var(--w975a-gold);
  text-decoration: none;
}

/* ===== MAIN CONTENT ===== */
.w975a-main {
  margin-top: 52px;
  padding-bottom: 80px;
}

/* ===== CAROUSEL ===== */
.w975a-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.w975a-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.w975a-slide-active { opacity: 1; }

.w975a-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w975a-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.w975a-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.w975a-dot-active { background: var(--w975a-gold); }

/* ===== SECTION ===== */
.w975a-section {
  padding: 1.5rem 1rem;
}

.w975a-section-title {
  font-size: 1.8rem;
  color: var(--w975a-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w975a-accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* ===== CATEGORY TITLE ===== */
.w975a-cat-title {
  font-size: 1.6rem;
  color: var(--w975a-light);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w975a-accent);
}

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

.w975a-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.w975a-game-item:hover { transform: translateY(-3px); }

.w975a-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  background: var(--w975a-bg-card);
}

.w975a-game-item:hover img { border-color: var(--w975a-accent); }

.w975a-game-name {
  font-size: 1.05rem;
  color: var(--w975a-text);
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CARDS ===== */
.w975a-card {
  background: var(--w975a-bg-card);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w975a-border);
}

.w975a-card-title {
  font-size: 1.5rem;
  color: var(--w975a-gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.w975a-card p {
  font-size: 1.3rem;
  color: var(--w975a-text-muted);
  line-height: 1.6;
}

/* ===== CTA BUTTON ===== */
.w975a-cta {
  display: inline-block;
  background: linear-gradient(135deg, #B8860B, #daa520);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(184,134,11,0.4);
}

.w975a-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,0.6); text-decoration: none; color: #fff; }

.w975a-cta-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.2rem;
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* ===== TEXT LINK ===== */
.w975a-promo-text {
  color: var(--w975a-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.3rem;
}

/* ===== FOOTER ===== */
.w975a-footer {
  background: linear-gradient(180deg, #0a0a1a, #050510);
  padding: 2rem 1rem 1rem;
  border-top: 1px solid var(--w975a-border);
}

.w975a-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w975a-footer-brand p {
  font-size: 1.2rem;
  color: var(--w975a-text-muted);
  line-height: 1.6;
}

.w975a-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.w975a-footer-link {
  background: var(--w975a-bg-card);
  color: var(--w975a-gold);
  padding: 0.5rem 0.8rem;
  border-radius: 15px;
  font-size: 1.1rem;
  border: 1px solid var(--w975a-border);
  transition: all 0.2s;
}

.w975a-footer-link:hover { background: var(--w975a-accent); color: #fff; text-decoration: none; }

.w975a-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--w975a-text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== BOTTOM NAV ===== */
.w975a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #004d00, #003300);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  border-top: 1px solid var(--w975a-border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}

.w975a-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--w975a-text-muted);
  background: none;
  border: none;
  font-family: inherit;
}

.w975a-nav-item:hover, .w975a-nav-item.w975a-nav-active {
  color: var(--w975a-gold);
  transform: scale(1.08);
}

.w975a-nav-item i,
.w975a-nav-item .material-icons,
.w975a-nav-item ion-icon,
.w975a-nav-item bi {
  font-size: 22px;
}

.w975a-nav-item span {
  font-size: 1rem;
  margin-top: 2px;
}

/* ===== WINNERS TABLE ===== */
.w975a-winners {
  background: var(--w975a-bg-card);
  border-radius: 10px;
  overflow: hidden;
}

.w975a-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.2rem;
}

.w975a-winner-row:nth-child(even) { background: rgba(255,255,255,0.02); }
.w975a-winner-name { color: var(--w975a-gold); }
.w975a-winner-amount { color: var(--w975a-secondary); font-weight: 600; }

/* ===== PAYMENT GRID ===== */
.w975a-payment-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.w975a-payment-item {
  background: var(--w975a-bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--w975a-text);
  border: 1px solid var(--w975a-border);
}

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

.w975a-features-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.3rem;
  color: var(--w975a-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.w975a-features-list li i { color: var(--w975a-accent); margin-top: 0.3rem; }

/* ===== FAQ ===== */
.w975a-faq-item {
  margin-bottom: 0.8rem;
}

.w975a-faq-q {
  font-size: 1.3rem;
  color: var(--w975a-gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.w975a-faq-a {
  font-size: 1.2rem;
  color: var(--w975a-text-muted);
  padding-left: 1rem;
  border-left: 2px solid var(--w975a-secondary);
}

/* ===== TESTIMONIALS ===== */
.w975a-testimonial {
  background: var(--w975a-bg-card);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w975a-accent);
}

.w975a-testimonial-text {
  font-size: 1.2rem;
  color: var(--w975a-text-muted);
  font-style: italic;
}

.w975a-testimonial-author {
  font-size: 1.1rem;
  color: var(--w975a-gold);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ===== DESKTOP RESPONSIVE ===== */
@media (min-width: 769px) {
  .w975a-bottom-nav { display: none; }
  .w975a-main { padding-bottom: 0; }
}

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

/* ===== UTILITY ===== */
.w975a-text-center { text-align: center; }
.w975a-mt-1 { margin-top: 0.5rem; }
.w975a-mt-2 { margin-top: 1rem; }
.w975a-mb-1 { margin-bottom: 0.5rem; }
.w975a-mb-2 { margin-bottom: 1rem; }
.w975a-hidden { display: none; }
