/* 7games apk - Core Stylesheet */
/* All classes use w8eb7- prefix for namespace isolation */

/* CSS Variables */
:root {
  --w8eb7-bg-dark: #1A1A2E;
  --w8eb7-bg-card: #16213E;
  --w8eb7-purple: #8B008B;
  --w8eb7-lavender: #CC99FF;
  --w8eb7-light: #E6E6FA;
  --w8eb7-gray: #A9A9A9;
  --w8eb7-accent: #CC99FF;
  --w8eb7-text: #E6E6FA;
  --w8eb7-text-muted: #A9A9A9;
  --w8eb7-radius: 8px;
  --w8eb7-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--w8eb7-bg-dark);
  color: var(--w8eb7-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--w8eb7-lavender); text-decoration: none; }
a:hover { color: var(--w8eb7-light); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w8eb7-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w8eb7-bg-dark);
  border-bottom: 1px solid rgba(204,153,255,0.2);
  max-width: 430px; margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.w8eb7-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.w8eb7-logo { width: 28px; height: 28px; border-radius: 6px; }
.w8eb7-site-name {
  font-size: 1.5rem; font-weight: 700; color: var(--w8eb7-lavender);
  white-space: nowrap;
}
.w8eb7-header-right {
  display: flex; align-items: center; gap: 0.5rem;
}
.w8eb7-btn-register, .w8eb7-btn-login {
  padding: 0.5rem 1rem; border-radius: 20px; border: none;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.w8eb7-btn-register {
  background: linear-gradient(135deg, var(--w8eb7-purple), var(--w8eb7-lavender));
  color: #fff;
}
.w8eb7-btn-login {
  background: transparent; color: var(--w8eb7-lavender);
  border: 1px solid var(--w8eb7-lavender);
}
.w8eb7-btn-register:hover, .w8eb7-btn-login:hover {
  transform: scale(1.05); box-shadow: 0 0 8px rgba(204,153,255,0.4);
}
.w8eb7-menu-btn {
  background: none; border: none; color: var(--w8eb7-lavender);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.w8eb7-mobile-menu {
  display: none; opacity: 0; visibility: hidden;
  position: fixed; top: 52px; left: 0; right: 0; z-index: 9999;
  background: var(--w8eb7-bg-card);
  border-bottom: 2px solid var(--w8eb7-purple);
  max-width: 430px; margin: 0 auto;
  padding: 0.5rem 0;
  transition: opacity 0.3s;
}
.w8eb7-mobile-menu a {
  display: block; padding: 1rem 1.5rem;
  color: var(--w8eb7-text); font-size: 1.3rem;
  border-bottom: 1px solid rgba(169,169,169,0.15);
  transition: background 0.2s;
}
.w8eb7-mobile-menu a:hover {
  background: rgba(139,0,139,0.2); color: var(--w8eb7-lavender);
}

/* Main Content */
.w8eb7-main {
  margin-top: 52px; padding: 0 1rem 2rem;
}
@media (max-width: 768px) {
  .w8eb7-main { padding-bottom: 80px; }
}

/* Carousel */
.w8eb7-carousel {
  position: relative; margin: 1rem 0; border-radius: var(--w8eb7-radius);
  overflow: hidden; cursor: pointer;
}
.siteb71-slide { display: none; width: 100%; }
.siteb71-slide img { width: 100%; height: auto; border-radius: var(--w8eb7-radius); }
.w8eb7-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.siteb71-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.siteb71-dot-active { background: var(--w8eb7-lavender); }

/* Section Headings */
.w8eb7-section { margin: 1.5rem 0; }
.w8eb7-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w8eb7-lavender);
  margin-bottom: 0.8rem; padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--w8eb7-purple);
}
.w8eb7-section-title i, .w8eb7-section-title .material-icons {
  margin-right: 0.4rem; vertical-align: middle;
}

/* Game Grid */
.w8eb7-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin: 0.5rem 0;
}
.w8eb7-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.w8eb7-game-item:hover { transform: translateY(-2px); }
.w8eb7-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--w8eb7-radius);
  border: 2px solid rgba(204,153,255,0.15);
  transition: border-color 0.2s;
}
.w8eb7-game-item:hover img { border-color: var(--w8eb7-lavender); }
.w8eb7-game-name {
  font-size: 1rem; color: var(--w8eb7-text-muted);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.w8eb7-card {
  background: var(--w8eb7-bg-card); border-radius: var(--w8eb7-radius);
  padding: 1.2rem; margin: 1rem 0; box-shadow: var(--w8eb7-shadow);
  border: 1px solid rgba(139,0,139,0.2);
}
.w8eb7-card h3 {
  font-size: 1.4rem; color: var(--w8eb7-lavender); margin-bottom: 0.6rem;
}
.w8eb7-card p, .w8eb7-card li {
  color: var(--w8eb7-text-muted); font-size: 1.3rem; line-height: 1.6;
}
.w8eb7-card ul { padding-left: 1.5rem; }
.w8eb7-card li { margin-bottom: 0.4rem; }

/* Promo Button */
.w8eb7-promo-btn {
  display: inline-block; padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--w8eb7-purple), var(--w8eb7-lavender));
  color: #fff; font-size: 1.3rem; font-weight: 700;
  border-radius: 25px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center; margin: 0.5rem 0;
}
.w8eb7-promo-btn:hover {
  transform: scale(1.05); box-shadow: 0 0 12px rgba(204,153,255,0.5);
}
.w8eb7-promo-link {
  color: var(--w8eb7-lavender); font-weight: 600; cursor: pointer;
  text-decoration: underline;
}
.w8eb7-promo-link:hover { color: var(--w8eb7-light); }

/* Footer */
.w8eb7-footer {
  background: var(--w8eb7-bg-card); padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--w8eb7-purple);
  margin-top: 2rem;
}
.w8eb7-footer-desc {
  color: var(--w8eb7-text-muted); font-size: 1.2rem; line-height: 1.6;
  margin-bottom: 1rem;
}
.w8eb7-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.w8eb7-footer-links a {
  padding: 0.4rem 0.8rem; background: rgba(139,0,139,0.3);
  border-radius: 15px; font-size: 1.1rem; color: var(--w8eb7-lavender);
  transition: background 0.2s;
}
.w8eb7-footer-links a:hover { background: rgba(139,0,139,0.6); }
.w8eb7-footer-partners {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0;
  justify-content: center;
}
.w8eb7-footer-partners img {
  width: 40px; height: 40px; border-radius: 6px; opacity: 0.7;
  transition: opacity 0.2s;
}
.w8eb7-footer-partners img:hover { opacity: 1; }
.w8eb7-copyright {
  text-align: center; color: var(--w8eb7-gray); font-size: 1.1rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(169,169,169,0.2);
}

/* Bottom Navigation */
.w8eb7-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w8eb7-bg-card);
  border-top: 2px solid var(--w8eb7-purple);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.siteb71-bnav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  color: var(--w8eb7-gray); cursor: pointer; border: none;
  background: transparent; transition: color 0.2s, transform 0.2s;
  text-decoration: none; padding: 0;
}
.siteb71-bnav-item:hover, .siteb71-bnav-active {
  color: var(--w8eb7-lavender); transform: scale(1.1);
}
.siteb71-bnav-item i, .siteb71-bnav-item .material-icons,
.siteb71-bnav-item ion-icon, .siteb71-bnav-item bi {
  font-size: 22px; margin-bottom: 2px;
}
.siteb71-bnav-item span {
  font-size: 1rem; line-height: 1;
}
@media (min-width: 769px) {
  .w8eb7-bottom-nav { display: none; }
}

/* Utility Classes */
.w8eb7-text-center { text-align: center; }
.w8eb7-mt-1 { margin-top: 0.5rem; }
.w8eb7-mt-2 { margin-top: 1rem; }
.w8eb7-mb-1 { margin-bottom: 0.5rem; }
.w8eb7-mb-2 { margin-bottom: 1rem; }
.w8eb7-flex-center { display: flex; align-items: center; justify-content: center; }
.w8eb7-gap-1 { gap: 0.5rem; }

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

/* Winner Showcase */
.w8eb7-winner {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem; background: rgba(139,0,139,0.1);
  border-radius: var(--w8eb7-radius); margin: 0.4rem 0;
}
.w8eb7-winner img { width: 40px; height: 40px; border-radius: 50%; }
.w8eb7-winner-info { flex: 1; }
.w8eb7-winner-name { font-size: 1.1rem; color: var(--w8eb7-lavender); }
.w8eb7-winner-amount { font-size: 1.3rem; font-weight: 700; color: #FFD700; }

/* Payment Methods */
.w8eb7-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 0.5rem 0;
}
.w8eb7-payment-item {
  background: var(--w8eb7-bg-card); padding: 0.6rem 1rem;
  border-radius: var(--w8eb7-radius); font-size: 1.2rem;
  color: var(--w8eb7-text-muted); border: 1px solid rgba(139,0,139,0.2);
}

/* Features Grid */
.w8eb7-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.w8eb7-feature-item {
  background: var(--w8eb7-bg-card); padding: 1rem;
  border-radius: var(--w8eb7-radius); text-align: center;
  border: 1px solid rgba(139,0,139,0.15);
}
.w8eb7-feature-item i, .w8eb7-feature-item .material-icons {
  font-size: 2.4rem; color: var(--w8eb7-lavender); margin-bottom: 0.4rem;
}
.w8eb7-feature-item h4 {
  font-size: 1.2rem; color: var(--w8eb7-lavender); margin-bottom: 0.3rem;
}
.w8eb7-feature-item p {
  font-size: 1.1rem; color: var(--w8eb7-text-muted);
}

/* CTA Banner */
.w8eb7-cta-banner {
  background: linear-gradient(135deg, var(--w8eb7-purple), #2d1b69);
  border-radius: var(--w8eb7-radius); padding: 1.5rem;
  text-align: center; margin: 1.5rem 0;
}
.w8eb7-cta-banner h3 {
  font-size: 1.6rem; color: var(--w8eb7-lavender); margin-bottom: 0.5rem;
}
.w8eb7-cta-banner p {
  color: var(--w8eb7-light); font-size: 1.2rem; margin-bottom: 1rem;
}

/* Responsive */
@media (min-width: 769px) {
  body { max-width: 430px; }
}
