/**
 * ph1xbet.css - Core Stylesheet
 * All classes use s6ea- prefix for namespace isolation
 * Color palette: #008000 | #00FF7F | #2C3E50 | #ADB5BD | #DAA520
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --s6ea-primary: #008000;
  --s6ea-accent: #00FF7F;
  --s6ea-dark: #2C3E50;
  --s6ea-gray: #ADB5BD;
  --s6ea-gold: #DAA520;
  --s6ea-bg: #0d1a0d;
  --s6ea-card-bg: #1a2e1a;
  --s6ea-text: #e8f5e8;
  --s6ea-text-muted: #8ca08c;
  --s6ea-border: #2a4a2a;
  --s6ea-radius: 10px;
  --s6ea-shadow: 0 4px 15px rgba(0, 128, 0, 0.15);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s6ea-bg);
  color: var(--s6ea-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--s6ea-accent); text-decoration: none; }
a:hover { color: var(--s6ea-gold); }

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

/* Header */
.s6ea-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 56px;
  background: linear-gradient(135deg, var(--s6ea-dark), #1a3a1a);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000;
  border-bottom: 2px solid var(--s6ea-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.s6ea-header-left { display: flex; align-items: center; gap: 0.6rem; }
.s6ea-logo { width: 28px; height: 28px; border-radius: 6px; }
.s6ea-site-name { font-size: 1.6rem; font-weight: 700; color: var(--s6ea-gold); white-space: nowrap; }
.s6ea-header-right { display: flex; align-items: center; gap: 0.5rem; }
.s6ea-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  min-height: 36px;
}
.s6ea-btn-register {
  background: var(--s6ea-primary); color: #fff;
}
.s6ea-btn-register:hover { background: #009900; }
.s6ea-btn-login {
  background: transparent; color: var(--s6ea-gold);
  border: 1.5px solid var(--s6ea-gold);
}
.s6ea-btn-login:hover { background: var(--s6ea-gold); color: var(--s6ea-dark); }
.s6ea-menu-btn {
  background: none; border: none; color: var(--s6ea-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; line-height: 1;
}

/* Mobile Menu */
.s6ea-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.s6ea-overlay-active { opacity: 1; visibility: visible; }
.s6ea-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--s6ea-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.s6ea-menu-active { right: 0; }
.s6ea-mobile-menu h3 { color: var(--s6ea-gold); font-size: 1.6rem; margin-bottom: 1.5rem; }
.s6ea-mobile-menu ul { list-style: none; }
.s6ea-mobile-menu li { margin-bottom: 0.3rem; }
.s6ea-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--s6ea-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--s6ea-border);
  transition: color 0.2s;
}
.s6ea-mobile-menu a:hover { color: var(--s6ea-accent); }
.s6ea-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--s6ea-text);
  font-size: 2rem; cursor: pointer;
}

/* Carousel */
.s6ea-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--s6ea-radius); margin-top: 56px; }
.s6ea-carousel-inner { position: relative; width: 100%; aspect-ratio: 16/8; }
.s6ea-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease;
}
.s6ea-slide-active { opacity: 1; }
.s6ea-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s6ea-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.s6ea-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: background 0.3s;
}
.s6ea-dot-active { background: var(--s6ea-gold); }

/* Main Content */
.s6ea-main { padding: 1.2rem; padding-bottom: 80px; }

/* Section */
.s6ea-section { margin-bottom: 2.5rem; }
.s6ea-section-title {
  font-size: 2rem; font-weight: 700; color: var(--s6ea-gold);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s6ea-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.s6ea-section-title i { font-size: 2.2rem; }
.s6ea-section-subtitle {
  font-size: 1.6rem; font-weight: 600; color: var(--s6ea-accent);
  margin-bottom: 0.8rem;
}

/* Game Grid */
.s6ea-game-category { margin-bottom: 2rem; }
.s6ea-game-category-title {
  font-size: 1.6rem; font-weight: 600; color: var(--s6ea-accent);
  margin-bottom: 1rem; padding-left: 0.5rem;
  border-left: 3px solid var(--s6ea-gold);
}
.s6ea-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.s6ea-game-item { text-align: center; cursor: pointer; }
.s6ea-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 8px;
  border: 2px solid var(--s6ea-border); transition: all 0.2s;
  background: var(--s6ea-card-bg);
}
.s6ea-game-item:hover img { border-color: var(--s6ea-gold); transform: scale(1.05); }
.s6ea-game-name {
  font-size: 1.1rem; color: var(--s6ea-text-muted);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.s6ea-card {
  background: var(--s6ea-card-bg); border-radius: var(--s6ea-radius);
  padding: 1.5rem; margin-bottom: 1.2rem; border: 1px solid var(--s6ea-border);
}
.s6ea-card-title {
  font-size: 1.6rem; font-weight: 600; color: var(--s6ea-gold);
  margin-bottom: 0.8rem;
}

/* Promo Link */
.s6ea-promo-link {
  color: var(--s6ea-accent); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.s6ea-promo-link:hover { color: var(--s6ea-gold); }

/* Promo Button */
.s6ea-promo-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--s6ea-primary), #00b300);
  color: #fff; font-size: 1.5rem; font-weight: 700; border-radius: 8px;
  border: none; cursor: pointer; text-align: center;
  transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,128,0,0.3);
}
.s6ea-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,128,0,0.4); }

/* Footer */
.s6ea-footer {
  background: var(--s6ea-dark); padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--s6ea-primary);
}
.s6ea-footer-brand { color: var(--s6ea-text-muted); font-size: 1.3rem; margin-bottom: 1.2rem; line-height: 1.6; }
.s6ea-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.s6ea-footer-link {
  display: inline-block; padding: 0.5rem 1rem; font-size: 1.2rem;
  background: var(--s6ea-card-bg); border: 1px solid var(--s6ea-border);
  border-radius: 6px; color: var(--s6ea-text); cursor: pointer;
  transition: all 0.2s;
}
.s6ea-footer-link:hover { border-color: var(--s6ea-accent); color: var(--s6ea-accent); }
.s6ea-footer-partners { margin-bottom: 1.5rem; }
.s6ea-footer-partners-title { color: var(--s6ea-text-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.s6ea-footer-partner-logos { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.s6ea-footer-partner-logos img { height: 24px; opacity: 0.6; transition: opacity 0.2s; }
.s6ea-footer-partner-logos img:hover { opacity: 1; }
.s6ea-copyright { text-align: center; color: var(--s6ea-text-muted); font-size: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--s6ea-border); }

/* Bottom Navigation */
.s6ea-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px;
  background: linear-gradient(180deg, #1a3a1a, var(--s6ea-dark));
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; border-top: 2px solid var(--s6ea-primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.s6ea-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; color: var(--s6ea-text-muted);
  cursor: pointer; transition: all 0.2s; gap: 2px;
  position: relative;
}
.s6ea-bottom-nav-btn i, .s6ea-bottom-nav-btn .material-icons { font-size: 22px; }
.s6ea-bottom-nav-btn span { font-size: 1rem; }
.s6ea-bottom-nav-btn:hover, .s6ea-nav-active {
  color: var(--s6ea-gold);
}
.s6ea-bottom-nav-btn:hover::after, .s6ea-nav-active::after {
  content: ''; position: absolute; top: -2px; left: 20%; right: 20%;
  height: 2px; background: var(--s6ea-gold); border-radius: 2px;
}

/* Responsive: hide bottom nav on desktop */
@media (min-width: 769px) {
  .s6ea-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .s6ea-main { padding-bottom: 80px; }
}

/* Utility classes */
.s6ea-text-gold { color: var(--s6ea-gold); }
.s6ea-text-accent { color: var(--s6ea-accent); }
.s6ea-text-center { text-align: center; }
.s6ea-mt-1 { margin-top: 0.8rem; }
.s6ea-mt-2 { margin-top: 1.6rem; }
.s6ea-mb-1 { margin-bottom: 0.8rem; }
.s6ea-mb-2 { margin-bottom: 1.6rem; }
.s6ea-flex { display: flex; }
.s6ea-flex-wrap { flex-wrap: wrap; }
.s6ea-gap-1 { gap: 0.8rem; }
.s6ea-hidden { display: none; }

/* Testimonials */
.s6ea-testimonial {
  background: var(--s6ea-card-bg); border-radius: var(--s6ea-radius);
  padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--s6ea-gold);
}
.s6ea-testimonial-name { font-weight: 600; color: var(--s6ea-gold); font-size: 1.3rem; }
.s6ea-testimonial-text { color: var(--s6ea-text-muted); font-size: 1.3rem; margin-top: 0.5rem; }

/* Winner list */
.s6ea-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem; border-bottom: 1px solid var(--s6ea-border);
  font-size: 1.3rem;
}
.s6ea-winner-name { color: var(--s6ea-accent); font-weight: 600; }
.s6ea-winner-amount { color: var(--s6ea-gold); font-weight: 700; }

/* Payment icons */
.s6ea-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.s6ea-payment-item {
  background: var(--s6ea-card-bg); padding: 0.6rem 1rem;
  border-radius: 6px; font-size: 1.2rem; color: var(--s6ea-text-muted);
  border: 1px solid var(--s6ea-border);
}

/* FAQ */
.s6ea-faq-item { margin-bottom: 1rem; }
.s6ea-faq-q {
  font-weight: 600; color: var(--s6ea-gold); font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.s6ea-faq-a { color: var(--s6ea-text-muted); font-size: 1.3rem; line-height: 1.6; }

/* Inner link style */
.s6ea-inner-link {
  color: var(--s6ea-accent); text-decoration: underline;
  transition: color 0.2s;
}
.s6ea-inner-link:hover { color: var(--s6ea-gold); }

/* Featured card with image */
.s6ea-feature-card {
  display: flex; gap: 1rem; align-items: center;
  background: var(--s6ea-card-bg); border-radius: var(--s6ea-radius);
  padding: 1rem; margin-bottom: 0.8rem;
}
.s6ea-feature-card img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }
.s6ea-feature-info { flex: 1; }
.s6ea-feature-title { font-weight: 600; color: var(--s6ea-gold); font-size: 1.3rem; margin-bottom: 0.3rem; }
.s6ea-feature-desc { color: var(--s6ea-text-muted); font-size: 1.2rem; }

/* Badge */
.s6ea-badge {
  display: inline-block; padding: 0.2rem 0.6rem; font-size: 1rem;
  border-radius: 4px; font-weight: 600;
}
.s6ea-badge-hot { background: #cc0000; color: #fff; }
.s6ea-badge-new { background: var(--s6ea-primary); color: #fff; }

/* Steps */
.s6ea-step {
  display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start;
}
.s6ea-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--s6ea-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; flex-shrink: 0;
}
.s6ea-step-content { flex: 1; }
.s6ea-step-title { font-weight: 600; color: var(--s6ea-text); font-size: 1.4rem; }
.s6ea-step-desc { color: var(--s6ea-text-muted); font-size: 1.2rem; margin-top: 0.3rem; }
