/* BigWin Link - Main Stylesheet */
/* All classes use s61e- prefix for namespace isolation */

/* === CSS Variables === */
:root {
  --s61e-bg-dark: #2C2C2C;
  --s61e-purple: #8A2BE2;
  --s61e-violet: #9400D3;
  --s61e-plum: #DDA0DD;
  --s61e-light: #E9ECEF;
  --s61e-white: #FFFFFF;
  --s61e-gold: #FFD700;
  --s61e-dark-surface: #1A1A2E;
  --s61e-card-bg: #3A3A4A;
  --s61e-text-muted: #B0B0C0;
  --s61e-primary: #8A2BE2;
  --s61e-secondary: #9400D3;
  --s61e-accent: #DDA0DD;
  --s61e-bg: #2C2C2C;
  --s61e-text: #E9ECEF;
  --s61e-gradient: linear-gradient(135deg, #8A2BE2 0%, #9400D3 50%, #DDA0DD 100%);
  --s61e-radius: 1rem;
  --s61e-radius-sm: 0.6rem;
  --s61e-shadow: 0 0.4rem 1.2rem rgba(138, 43, 226, 0.3);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--s61e-bg-dark);
  color: var(--s61e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Header === */
.s61e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(180deg, #1A1A2E 0%, #2C2C2C 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 0.1rem solid rgba(138, 43, 226, 0.4);
}
.s61e-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.s61e-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.s61e-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--s61e-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s61e-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.s61e-btn-register, .s61e-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.s61e-btn-register {
  background: var(--s61e-gradient);
  color: var(--s61e-white);
}
.s61e-btn-register:hover { transform: scale(1.05); box-shadow: var(--s61e-shadow); }
.s61e-btn-login {
  background: transparent;
  color: var(--s61e-plum);
  border: 0.15rem solid var(--s61e-purple);
}
.s61e-btn-login:hover { background: rgba(138, 43, 226, 0.15); }
.s61e-menu-toggle {
  background: none;
  border: none;
  color: var(--s61e-plum);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* === Mobile Menu === */
.s61e-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.s61e-overlay-active { display: block; opacity: 1; }
.s61e-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px; height: 100%;
  background: var(--s61e-dark-surface);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}
.s61e-menu-active { right: 0; }
.s61e-menu-close {
  background: none;
  border: none;
  color: var(--s61e-plum);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem; right: 1rem;
}
.s61e-mobile-menu nav { margin-top: 3rem; }
.s61e-mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  color: var(--s61e-light);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 0.1rem solid rgba(138, 43, 226, 0.2);
  transition: color 0.2s ease;
}
.s61e-mobile-menu nav a:hover { color: var(--s61e-plum); }

/* === Main Content === */
.s61e-main { padding-top: 5.6rem; }
@media (max-width: 768px) {
  .s61e-main { padding-bottom: 7rem; }
}

/* === Carousel === */
.s61e-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}
.s61e-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.s61e-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.s61e-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.s61e-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.s61e-dot-active { background: var(--s61e-gold); }

/* === Sections === */
.s61e-section {
  padding: 2rem 1.2rem;
}
.s61e-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--s61e-white);
  position: relative;
  padding-left: 1.2rem;
}
.s61e-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.4rem;
  height: 1.8rem;
  background: var(--s61e-gradient);
  border-radius: 0.2rem;
}
.s61e-section-subtitle {
  font-size: 1.4rem;
  color: var(--s61e-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

/* === Game Grid === */
.s61e-game-category { margin-bottom: 2rem; }
.s61e-cat-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(148, 0, 211, 0.2));
  border: 0.1rem solid rgba(138, 43, 226, 0.4);
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--s61e-plum);
  margin-bottom: 0.8rem;
}
.s61e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.s61e-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.s61e-game-item:hover { transform: translateY(-0.2rem); }
.s61e-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--s61e-radius-sm);
  border: 0.15rem solid rgba(138, 43, 226, 0.3);
  object-fit: cover;
}
.s61e-game-name {
  font-size: 1.1rem;
  color: var(--s61e-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Promo Buttons === */
.s61e-promo-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: var(--s61e-gradient);
  color: var(--s61e-white);
  border: none;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}
.s61e-promo-btn:hover { transform: scale(1.05); box-shadow: var(--s61e-shadow); }
.s61e-promo-text {
  color: var(--s61e-gold);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.s61e-promo-text:hover { color: var(--s61e-plum); }

/* === Cards === */
.s61e-card {
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 0.1rem solid rgba(138, 43, 226, 0.2);
}
.s61e-card h3 {
  font-size: 1.5rem;
  color: var(--s61e-white);
  margin-bottom: 0.8rem;
}
.s61e-card p {
  color: var(--s61e-text-muted);
  line-height: 1.6rem;
  font-size: 1.3rem;
}

/* === FAQ === */
.s61e-faq-item {
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--s61e-purple);
}
.s61e-faq-item h4 { font-size: 1.4rem; color: var(--s61e-plum); margin-bottom: 0.5rem; }
.s61e-faq-item p { font-size: 1.2rem; color: var(--s61e-text-muted); line-height: 1.5rem; }

/* === Features Grid === */
.s61e-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.s61e-feature-item {
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  padding: 1.2rem;
  text-align: center;
  border: 0.1rem solid rgba(138, 43, 226, 0.2);
  transition: border-color 0.3s ease;
}
.s61e-feature-item:hover { border-color: var(--s61e-purple); }
.s61e-feature-icon { font-size: 2.4rem; margin-bottom: 0.6rem; color: var(--s61e-purple); }
.s61e-feature-item h4 { font-size: 1.3rem; color: var(--s61e-white); margin-bottom: 0.3rem; }
.s61e-feature-item p { font-size: 1.1rem; color: var(--s61e-text-muted); }

/* === Testimonials === */
.s61e-testimonial {
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border: 0.1rem solid rgba(221, 160, 221, 0.2);
}
.s61e-testimonial-name { font-size: 1.3rem; color: var(--s61e-plum); font-weight: 600; }
.s61e-testimonial-stars { color: var(--s61e-gold); font-size: 1.2rem; margin: 0.3rem 0; }
.s61e-testimonial-text { font-size: 1.2rem; color: var(--s61e-text-muted); line-height: 1.5rem; }

/* === Winners === */
.s61e-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  margin-bottom: 0.6rem;
}
.s61e-winner-name { font-size: 1.2rem; color: var(--s61e-plum); font-weight: 600; }
.s61e-winner-game { font-size: 1.1rem; color: var(--s61e-text-muted); }
.s61e-winner-amount { font-size: 1.3rem; color: var(--s61e-gold); font-weight: 700; }

/* === Payment Methods === */
.s61e-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.s61e-payment-item {
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--s61e-text-muted);
  border: 0.1rem solid rgba(138, 43, 226, 0.2);
}

/* === App Download === */
.s61e-app-section {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(148, 0, 211, 0.15));
  border-radius: var(--s61e-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  border: 0.1rem solid rgba(138, 43, 226, 0.3);
}
.s61e-app-section h3 { font-size: 1.6rem; color: var(--s61e-white); margin-bottom: 0.8rem; }
.s61e-app-section p { font-size: 1.3rem; color: var(--s61e-text-muted); margin-bottom: 1.2rem; }

/* === Footer === */
.s61e-footer {
  background: var(--s61e-dark-surface);
  padding: 2rem 1.2rem 8rem;
  border-top: 0.1rem solid rgba(138, 43, 226, 0.3);
}
.s61e-footer-brand {
  font-size: 1.2rem;
  color: var(--s61e-text-muted);
  line-height: 1.6rem;
  margin-bottom: 1.2rem;
}
.s61e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.s61e-footer-links a {
  color: var(--s61e-plum);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.3rem 0.8rem;
  background: rgba(138, 43, 226, 0.1);
  border-radius: 1.5rem;
  transition: background 0.2s ease;
}
.s61e-footer-links a:hover { background: rgba(138, 43, 226, 0.25); }
.s61e-footer-copy {
  font-size: 1.1rem;
  color: var(--s61e-text-muted);
  text-align: center;
  opacity: 0.7;
}

/* === Bottom Navigation === */
.s61e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #1A1A2E 0%, #0D0D1A 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 0.1rem solid rgba(138, 43, 226, 0.4);
  padding: 0 0.4rem;
}
.s61e-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--s61e-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0.4rem;
}
.s61e-bottom-btn:hover { color: var(--s61e-purple); transform: scale(1.1); }
.s61e-bottom-btn.active { color: var(--s61e-gold); }
.s61e-bottom-btn .material-icons,
.s61e-bottom-btn .s61e-bnav-icon { font-size: 2.4rem; }
.s61e-bottom-btn span:last-child { font-size: 1rem; margin-top: 0.2rem; }

/* === Desktop: hide bottom nav === */
@media (min-width: 769px) {
  .s61e-bottom-nav { display: none; }
  .s61e-main { padding-bottom: 0; }
  .s61e-footer { padding-bottom: 2rem; }
}

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

/* === Divider === */
.s61e-divider {
  height: 0.1rem;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  margin: 1.5rem 0;
}

/* === RTP Table === */
.s61e-rtp-table { width: 100%; border-collapse: collapse; }
.s61e-rtp-table th {
  background: rgba(138, 43, 226, 0.2);
  color: var(--s61e-plum);
  padding: 0.8rem;
  font-size: 1.2rem;
  text-align: left;
}
.s61e-rtp-table td {
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
  color: var(--s61e-text-muted);
  border-bottom: 0.1rem solid rgba(138, 43, 226, 0.1);
}
.s61e-rtp-high { color: #4CAF50; font-weight: 600; }

/* === Achievements === */
.s61e-achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--s61e-card-bg);
  border-radius: var(--s61e-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.s61e-achievement-icon { font-size: 2.2rem; color: var(--s61e-gold); }
.s61e-achievement-info h4 { font-size: 1.3rem; color: var(--s61e-white); }
.s61e-achievement-info p { font-size: 1.1rem; color: var(--s61e-text-muted); }

/* === CTA Banner === */
.s61e-cta-banner {
  background: var(--s61e-gradient);
  border-radius: var(--s61e-radius);
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.s61e-cta-banner h3 {
  font-size: 1.8rem;
  color: var(--s61e-white);
  margin-bottom: 0.6rem;
}
.s61e-cta-banner p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
}
