/**
 * 99 Game - Main Stylesheet
 * Site: 99game.click
 * Prefix: w0cd0-
 */

/* Root variables */
:root {
  --w0cd0-primary: #FFCC33;
  --w0cd0-secondary: #006400;
  --w0cd0-bg: #0A0A0A;
  --w0cd0-accent: #32CD32;
  --w0cd0-gold: #FFD700;
  --w0cd0-text: #FFFFFF;
  --w0cd0-text-dim: #B0B0B0;
  --w0cd0-card-bg: #1A1A1A;
  --w0cd0-border: #333333;
  --w0cd0-radius: 8px;
}

/* Reset & Base */
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(--w0cd0-bg);
  color: var(--w0cd0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--w0cd0-primary); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w0cd0-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  border-bottom: 2px solid var(--w0cd0-primary);
  max-width: 430px; margin: 0 auto;
}
.w0cd0-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; max-width: 430px; margin: 0 auto;
}
.w0cd0-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.w0cd0-logo img { width: 28px; height: 28px; border-radius: 4px; }
.w0cd0-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--w0cd0-primary); }
.w0cd0-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.w0cd0-btn-register {
  background: var(--w0cd0-primary); color: #0A0A0A; border: none;
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer;
}
.w0cd0-btn-login {
  background: transparent; color: var(--w0cd0-primary); border: 2px solid var(--w0cd0-primary);
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer;
}
.w0cd0-menu-toggle {
  background: none; border: none; color: var(--w0cd0-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile menu */
.w0cd0-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.w0cd0-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 75%; max-width: 300px;
  background: #111; z-index: 9999; transform: translateX(-100%);
  transition: transform 0.3s ease; padding: 2rem 1.5rem; overflow-y: auto;
}
.w0cd0-mobile-menu-open { transform: translateX(0); }
.w0cd0-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--w0cd0-border);
}
.w0cd0-menu-header span { font-size: 1.8rem; font-weight: 700; color: var(--w0cd0-primary); }
.w0cd0-menu-close {
  background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer;
}
.w0cd0-menu-nav { list-style: none; }
.w0cd0-menu-nav li { margin-bottom: 0.3rem; }
.w0cd0-menu-nav a {
  display: block; padding: 1rem 0.8rem; color: #fff; font-size: 1.4rem;
  border-radius: var(--w0cd0-radius); transition: background 0.2s;
}
.w0cd0-menu-nav a:hover { background: rgba(255,204,51,0.1); color: var(--w0cd0-primary); }

/* Main content */
.w0cd0-main { padding-top: 5.6rem; }

/* Carousel */
.w0cd0-carousel { position: relative; width: 100%; overflow: hidden; }
.w0cd0-slide {
  display: none; width: 100%; cursor: pointer;
}
.w0cd0-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.w0cd0-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.w0cd0-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
}
.w0cd0-dot-active { background: var(--w0cd0-primary); }

/* Section titles */
.w0cd0-section { padding: 1.5rem 1rem; }
.w0cd0-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--w0cd0-primary);
  margin-bottom: 1rem; padding-left: 0.5rem;
  border-left: 4px solid var(--w0cd0-accent);
}

/* Game grid */
.w0cd0-game-section { padding: 1rem; }
.w0cd0-game-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w0cd0-gold);
  margin-bottom: 0.8rem; padding: 0.5rem 0;
  border-bottom: 1px solid var(--w0cd0-border);
}
.w0cd0-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w0cd0-game-card {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
}
.w0cd0-game-card:hover { transform: scale(1.05); }
.w0cd0-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--w0cd0-radius); border: 1px solid var(--w0cd0-border);
}
.w0cd0-game-name {
  font-size: 1.05rem; text-align: center; margin-top: 0.3rem;
  color: var(--w0cd0-text); line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}

/* Promo buttons */
.w0cd0-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--w0cd0-primary), var(--w0cd0-gold));
  color: #0A0A0A; font-weight: 700; padding: 1rem 2rem;
  border-radius: 30px; font-size: 1.5rem; cursor: pointer;
  border: none; text-align: center; margin: 0.5rem 0;
}
.w0cd0-promo-btn-sm {
  display: inline-block; background: var(--w0cd0-accent);
  color: #fff; font-weight: 600; padding: 0.6rem 1.4rem;
  border-radius: 20px; font-size: 1.2rem; cursor: pointer;
  border: none; text-align: center;
}
.w0cd0-promo-link {
  color: var(--w0cd0-primary); font-weight: 600;
  border-bottom: 1px dashed var(--w0cd0-primary);
}

/* Content cards */
.w0cd0-card {
  background: var(--w0cd0-card-bg); border-radius: var(--w0cd0-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--w0cd0-border);
}
.w0cd0-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--w0cd0-primary);
  margin-bottom: 0.8rem;
}
.w0cd0-card p { color: var(--w0cd0-text-dim); margin-bottom: 0.6rem; line-height: 1.6rem; }

/* Testimonials */
.w0cd0-testimonial {
  background: var(--w0cd0-card-bg); border-radius: var(--w0cd0-radius);
  padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--w0cd0-accent);
}
.w0cd0-testimonial-name { color: var(--w0cd0-primary); font-weight: 600; font-size: 1.3rem; }
.w0cd0-testimonial-text { color: var(--w0cd0-text-dim); margin-top: 0.4rem; font-size: 1.2rem; }

/* Payment methods */
.w0cd0-payment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.w0cd0-payment-item {
  background: var(--w0cd0-card-bg); padding: 0.8rem; text-align: center;
  border-radius: var(--w0cd0-radius); border: 1px solid var(--w0cd0-border);
  font-size: 1.1rem; color: var(--w0cd0-text-dim);
}

/* Winners showcase */
.w0cd0-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--w0cd0-card-bg); padding: 0.8rem; margin-bottom: 0.5rem;
  border-radius: var(--w0cd0-radius);
}
.w0cd0-winner-amount { color: var(--w0cd0-accent); font-weight: 700; font-size: 1.3rem; }
.w0cd0-winner-game { color: var(--w0cd0-text-dim); font-size: 1.1rem; }

/* Footer */
.w0cd0-footer {
  background: #111; padding: 2rem 1rem 1rem; border-top: 2px solid var(--w0cd0-secondary);
}
.w0cd0-footer-desc { color: var(--w0cd0-text-dim); font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.6rem; }
.w0cd0-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.w0cd0-footer-link {
  display: inline-block; background: var(--w0cd0-card-bg);
  color: var(--w0cd0-primary); padding: 0.5rem 1rem; border-radius: 20px;
  font-size: 1.1rem; border: 1px solid var(--w0cd0-border); cursor: pointer;
}
.w0cd0-footer-site-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem;
  padding: 0.8rem 0; border-top: 1px solid var(--w0cd0-border);
  border-bottom: 1px solid var(--w0cd0-border);
}
.w0cd0-footer-site-link { color: var(--w0cd0-text-dim); font-size: 1.1rem; }
.w0cd0-footer-site-link:hover { color: var(--w0cd0-primary); }
.w0cd0-copyright {
  text-align: center; color: #555; font-size: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--w0cd0-border);
}

/* Bottom navigation */
.w0cd0-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A, #0A0A0A);
  border-top: 2px solid var(--w0cd0-secondary);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
}
.w0cd0-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 48px; background: none; border: none;
  color: var(--w0cd0-text-dim); cursor: pointer; transition: all 0.2s;
  padding: 0.3rem;
}
.w0cd0-bnav-btn:hover, .w0cd0-bnav-active {
  color: var(--w0cd0-primary); transform: scale(1.05);
}
.w0cd0-bnav-icon { font-size: 22px; line-height: 1; }
.w0cd0-bnav-label { font-size: 1rem; margin-top: 0.2rem; }

/* Scroll to top */
.w0cd0-scroll-top {
  position: fixed; bottom: 72px; right: 10px; z-index: 999;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--w0cd0-primary); color: #0A0A0A;
  display: none; align-items: center; justify-content: center;
  font-size: 1.6rem; cursor: pointer; border: none;
}

/* FAQ accordion */
.w0cd0-faq-item { margin-bottom: 0.6rem; }
.w0cd0-faq-q {
  background: var(--w0cd0-card-bg); color: var(--w0cd0-primary);
  padding: 1rem; border-radius: var(--w0cd0-radius); font-weight: 600;
  font-size: 1.3rem; cursor: pointer; border: 1px solid var(--w0cd0-border);
}
.w0cd0-faq-a {
  background: #141414; color: var(--w0cd0-text-dim);
  padding: 0.8rem 1rem; border-radius: 0 0 var(--w0cd0-radius) var(--w0cd0-radius);
  font-size: 1.2rem; line-height: 1.6rem; margin-top: 0.2rem;
}

/* Safety features */
.w0cd0-safety-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  background: var(--w0cd0-card-bg); padding: 1rem; margin-bottom: 0.6rem;
  border-radius: var(--w0cd0-radius); border: 1px solid var(--w0cd0-border);
}
.w0cd0-safety-icon { font-size: 2rem; color: var(--w0cd0-accent); flex-shrink: 0; }
.w0cd0-safety-title { color: var(--w0cd0-primary); font-weight: 600; font-size: 1.3rem; }
.w0cd0-safety-desc { color: var(--w0cd0-text-dim); font-size: 1.1rem; margin-top: 0.3rem; }

/* Responsive: Desktop */
@media (min-width: 769px) {
  .w0cd0-bnav { display: none; }
  .w0cd0-main { padding-bottom: 0; }
}
@media (max-width: 768px) {
  .w0cd0-main { padding-bottom: 80px; }
}
