/**
 * Jilli - Core Stylesheet
 * File: css/layout-2bf6.css
 * All classes use v62d- prefix for namespace isolation
 * Color palette: #00FFFF | #80CBC4 | #1A1A1A | #FFD700 | #FFBF00
 */

:root {
  --v62d-primary: #00FFFF;
  --v62d-secondary: #80CBC4;
  --v62d-bg: #1A1A1A;
  --v62d-bg-dark: #111111;
  --v62d-bg-card: #222222;
  --v62d-bg-card-hover: #2a2a2a;
  --v62d-gold: #FFD700;
  --v62d-gold-warm: #FFBF00;
  --v62d-text: #FFFFFF;
  --v62d-text-muted: #AAAAAA;
  --v62d-text-dim: #777777;
  --v62d-accent: #00FFFF;
  --v62d-success: #4CAF50;
  --v62d-danger: #FF5252;
  --v62d-radius: 8px;
  --v62d-radius-lg: 12px;
  --v62d-radius-xl: 16px;
  --v62d-shadow: 0 2px 12px rgba(0, 255, 255, 0.15);
  --v62d-shadow-gold: 0 2px 12px rgba(255, 215, 0, 0.2);
  --v62d-transition: all 0.3s ease;
  --v62d-max-width: 430px;
  --v62d-header-h: 56px;
  --v62d-bottom-h: 60px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--v62d-bg);
  color: var(--v62d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--v62d-primary); text-decoration: none; transition: var(--v62d-transition); }
a:hover { color: var(--v62d-gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Body Lock for Menu === */
.v62d-body-noscroll { overflow: hidden; }

/* === Container === */
.v62d-container {
  width: 100%;
  max-width: var(--v62d-max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}
.v62d-wrapper {
  width: 100%;
  min-height: 100vh;
  padding-top: var(--v62d-header-h);
}
@media (max-width: 768px) {
  .v62d-wrapper { padding-bottom: 80px; }
}

/* === Header === */
.v62d-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--v62d-header-h);
  background: var(--v62d-bg-dark);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v62d-header-inner {
  width: 100%;
  max-width: var(--v62d-max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  height: 100%;
}
.v62d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v62d-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.v62d-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v62d-primary);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.v62d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v62d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--v62d-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--v62d-transition);
  text-decoration: none;
  min-height: 36px;
}
.v62d-btn-register {
  background: linear-gradient(135deg, var(--v62d-gold), var(--v62d-gold-warm));
  color: var(--v62d-bg);
}
.v62d-btn-register:hover { transform: scale(1.05); box-shadow: var(--v62d-shadow-gold); }
.v62d-btn-login {
  background: transparent;
  color: var(--v62d-primary);
  border: 1px solid var(--v62d-primary);
}
.v62d-btn-login:hover { background: rgba(0, 255, 255, 0.1); }
.v62d-menu-toggle {
  background: none;
  border: none;
  color: var(--v62d-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
#v62d-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
#v62d-mobile-menu.v62d-active {
  opacity: 1;
  visibility: visible;
}
.v62d-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--v62d-text);
  font-size: 2.8rem;
  cursor: pointer;
}
.v62d-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  text-align: center;
}
.v62d-menu-links a {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--v62d-text);
  padding: 0.8rem 2rem;
  border-radius: var(--v62d-radius);
  transition: var(--v62d-transition);
}
.v62d-menu-links a:hover {
  color: var(--v62d-primary);
  background: rgba(0, 255, 255, 0.1);
}

/* === Carousel === */
.v62d-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--v62d-radius-lg);
  margin-bottom: 2rem;
  cursor: pointer;
}
.v62d-carousel-slide {
  display: none;
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.v62d-carousel-slide.v62d-slide-active { display: block; }
.v62d-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.v62d-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--v62d-transition);
}
.v62d-carousel-dot.v62d-dot-active {
  background: var(--v62d-primary);
  width: 24px;
  border-radius: 4px;
}

/* === Section Titles === */
.v62d-section { margin-bottom: 2.4rem; }
.v62d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v62d-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v62d-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v62d-section-title .material-icons {
  font-size: 2rem;
  color: var(--v62d-gold);
}

/* === Game Grid === */
.v62d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.v62d-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--v62d-transition);
  border-radius: var(--v62d-radius);
  padding: 0.6rem 0.3rem;
}
.v62d-game-item:hover {
  background: var(--v62d-bg-card-hover);
  transform: translateY(-2px);
}
.v62d-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--v62d-radius);
  border: 1px solid rgba(0, 255, 255, 0.1);
  margin-bottom: 0.4rem;
}
.v62d-game-item span {
  font-size: 1.1rem;
  color: var(--v62d-text-muted);
  text-align: center;
  line-height: 1.3rem;
  max-height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === Cards === */
.v62d-card {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(0, 255, 255, 0.08);
}
.v62d-card h3 {
  font-size: 1.6rem;
  color: var(--v62d-primary);
  margin-bottom: 1rem;
}
.v62d-card p {
  color: var(--v62d-text-muted);
  line-height: 2.2rem;
  font-size: 1.3rem;
}

/* === Promo Buttons === */
.v62d-promo-btn {
  display: block;
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: var(--v62d-radius-lg);
  background: linear-gradient(135deg, var(--v62d-gold), var(--v62d-gold-warm));
  color: var(--v62d-bg);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--v62d-transition);
  margin: 1.2rem 0;
}
.v62d-promo-btn:hover { transform: scale(1.02); box-shadow: var(--v62d-shadow-gold); }
.v62d-promo-link {
  color: var(--v62d-gold);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--v62d-gold);
}
.v62d-promo-link:hover { color: var(--v62d-primary); }

/* === Footer === */
.v62d-footer {
  background: var(--v62d-bg-dark);
  padding: 2.4rem 0 1.2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.15);
  margin-top: 2rem;
}
.v62d-footer-brand p {
  color: var(--v62d-text-muted);
  font-size: 1.2rem;
  line-height: 2rem;
  margin-bottom: 1.2rem;
}
.v62d-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.v62d-footer-btns .v62d-btn {
  flex: 1;
  min-width: calc(50% - 0.4rem);
  font-size: 1.2rem;
  padding: 0.8rem;
}
.v62d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-bottom: 1.6rem;
}
.v62d-footer-links a {
  font-size: 1.2rem;
  color: var(--v62d-text-muted);
}
.v62d-footer-links a:hover { color: var(--v62d-primary); }
.v62d-copyright {
  text-align: center;
  color: var(--v62d-text-dim);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Bottom Navigation === */
.v62d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--v62d-bottom-h);
  background: var(--v62d-bg-dark);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}
.v62d-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--v62d-text-muted);
  cursor: pointer;
  transition: var(--v62d-transition);
  padding: 0.3rem;
  border-radius: var(--v62d-radius);
  position: relative;
}
.v62d-bottom-nav-btn .v62d-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  transition: var(--v62d-transition);
}
.v62d-bottom-nav-btn .v62d-nav-label {
  font-size: 1rem;
  white-space: nowrap;
}
.v62d-bottom-nav-btn:hover,
.v62d-bottom-nav-btn.v62d-btn-active {
  color: var(--v62d-primary);
}
.v62d-bottom-nav-btn.v62d-btn-active .v62d-nav-icon {
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}
.v62d-btn-tap {
  transform: scale(0.92);
}
@media (min-width: 769px) {
  .v62d-bottom-nav { display: none; }
}

/* === Content Helpers === */
.v62d-text-center { text-align: center; }
.v62d-text-gold { color: var(--v62d-gold); }
.v62d-text-cyan { color: var(--v62d-primary); }
.v62d-text-muted { color: var(--v62d-text-muted); }
.v62d-mt-1 { margin-top: 1rem; }
.v62d-mt-2 { margin-top: 2rem; }
.v62d-mb-1 { margin-bottom: 1rem; }
.v62d-mb-2 { margin-bottom: 2rem; }

/* === H1 Main Title === */
.v62d-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v62d-text);
  margin-bottom: 1.6rem;
  line-height: 2.8rem;
}
.v62d-main-title span { color: var(--v62d-primary); }

/* === Feature List === */
.v62d-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.v62d-feature-item {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.08);
}
.v62d-feature-item .v62d-feature-icon {
  font-size: 2.4rem;
  color: var(--v62d-gold);
  margin-bottom: 0.6rem;
}
.v62d-feature-item h4 {
  font-size: 1.3rem;
  color: var(--v62d-primary);
  margin-bottom: 0.4rem;
}
.v62d-feature-item p {
  font-size: 1.1rem;
  color: var(--v62d-text-muted);
  line-height: 1.6rem;
}

/* === Payment Icons === */
.v62d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.v62d-payment-item {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius);
  padding: 0.8rem 1.4rem;
  font-size: 1.2rem;
  color: var(--v62d-text-muted);
  border: 1px solid rgba(0, 255, 255, 0.08);
}

/* === Testimonials === */
.v62d-testimonial {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius-lg);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--v62d-gold);
}
.v62d-testimonial p {
  font-size: 1.2rem;
  color: var(--v62d-text-muted);
  line-height: 2rem;
  font-style: italic;
  margin-bottom: 0.6rem;
}
.v62d-testimonial cite {
  font-size: 1.1rem;
  color: var(--v62d-primary);
  font-style: normal;
}

/* === Winners Showcase === */
.v62d-winners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v62d-winner-item {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
.v62d-winner-name { font-size: 1.2rem; color: var(--v62d-text); }
.v62d-winner-amount { font-size: 1.2rem; color: var(--v62d-gold); font-weight: 700; }

/* === FAQ Accordion === */
.v62d-faq-item {
  background: var(--v62d-bg-card);
  border-radius: var(--v62d-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.08);
}
.v62d-faq-q {
  padding: 1.2rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v62d-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.v62d-faq-a {
  padding: 0 1.4rem 1.2rem;
  font-size: 1.3rem;
  color: var(--v62d-text-muted);
  line-height: 2.2rem;
  display: none;
}
.v62d-faq-item.open .v62d-faq-a { display: block; }
.v62d-faq-item.open .v62d-faq-toggle { transform: rotate(180deg); }
.v62d-faq-toggle {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: var(--v62d-primary);
}

/* === Steps === */
.v62d-steps { counter-reset: step-counter; }
.v62d-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}
.v62d-step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v62d-primary), var(--v62d-secondary));
  color: var(--v62d-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.v62d-step-content h4 {
  font-size: 1.4rem;
  color: var(--v62d-text);
  margin-bottom: 0.3rem;
}
.v62d-step-content p {
  font-size: 1.2rem;
  color: var(--v62d-text-muted);
  line-height: 2rem;
}

/* === Desktop adjustments === */
@media (min-width: 769px) {
  .v62d-container { padding: 0 2rem; }
  .v62d-game-grid { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
}
