/*
 * 1xbit Theme CSS - theme-0e57.css
 * All classes use s0e5- prefix for namespace isolation
 * Color palette: #191970 | #9400D3 | #212F3D | #CC99FF | #4169E1
 */

/* CSS Variables */
:root {
  --s0e5-primary: #4169E1;
  --s0e5-secondary: #9400D3;
  --s0e5-bg-dark: #191970;
  --s0e5-bg-darker: #212F3D;
  --s0e5-text-light: #CC99FF;
  --s0e5-text-white: #f0f0ff;
  --s0e5-accent: #4169E1;
  --s0e5-gold: #FFD700;
  --s0e5-success: #2ecc71;
  --s0e5-danger: #e74c3c;
  --s0e5-card-bg: rgba(25, 25, 112, 0.6);
  --s0e5-border: rgba(204, 153, 255, 0.2);
  --s0e5-radius: 1.2rem;
  --s0e5-shadow: 0 4px 20px rgba(0, 0, 0, 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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--s0e5-bg-darker);
  color: var(--s0e5-text-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--s0e5-text-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--s0e5-gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.s0e5-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--s0e5-bg-dark), var(--s0e5-bg-darker));
  border-bottom: 1px solid var(--s0e5-border);
  padding: 0 1.2rem; height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  transition: box-shadow 0.3s;
}
.s0e5-header-scrolled { box-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.s0e5-header-left { display: flex; align-items: center; gap: 0.8rem; }
.s0e5-logo { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.s0e5-brand { font-size: 1.8rem; font-weight: 700; color: var(--s0e5-text-light); letter-spacing: 0.5px; }
.s0e5-header-right { display: flex; align-items: center; gap: 0.6rem; }
.s0e5-btn-reg {
  background: linear-gradient(135deg, var(--s0e5-secondary), #b44ddb);
  color: #fff; border: none; padding: 0.6rem 1.4rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.s0e5-btn-reg:hover { transform: scale(1.05); box-shadow: 0 3px 12px rgba(148,0,211,0.4); }
.s0e5-btn-login {
  background: transparent; color: var(--s0e5-text-light);
  border: 1px solid var(--s0e5-text-light); padding: 0.5rem 1.2rem;
  border-radius: 2rem; font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.s0e5-btn-login:hover { background: var(--s0e5-text-light); color: var(--s0e5-bg-dark); }
.s0e5-menu-toggle {
  background: none; border: none; color: var(--s0e5-text-light);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.s0e5-menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; transition: opacity 0.3s;
}
.s0e5-overlay-active { display: block; }
.s0e5-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: linear-gradient(180deg, var(--s0e5-bg-dark), var(--s0e5-bg-darker));
  z-index: 9999; transition: right 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.s0e5-menu-active { right: 0; }
.s0e5-menu-close { background: none; border: none; color: var(--s0e5-text-light); font-size: 2.4rem; cursor: pointer; position: absolute; top: 1rem; right: 1.2rem; }
.s0e5-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--s0e5-text-light); margin-bottom: 2rem; padding-top: 0.5rem; }
.s0e5-menu-list { display: flex; flex-direction: column; gap: 0; }
.s0e5-menu-link {
  display: block; padding: 1.2rem 0; font-size: 1.4rem; color: var(--s0e5-text-white);
  border-bottom: 1px solid var(--s0e5-border); transition: color 0.2s, padding-left 0.2s;
}
.s0e5-menu-link:hover { color: var(--s0e5-text-light); padding-left: 0.8rem; }

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

/* Carousel */
.s0e5-carousel { position: relative; overflow: hidden; border-radius: 0 0 1.2rem 1.2rem; }
.s0e5-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.s0e5-slide-active { display: block; }
.s0e5-slide img { width: 100%; height: auto; min-height: 18rem; object-fit: cover; }
.s0e5-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 2rem 1.5rem 1.5rem;
}
.s0e5-slide-title { font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.s0e5-slide-desc { font-size: 1.2rem; color: rgba(255,255,255,0.85); }

/* Sections */
.s0e5-section { padding: 2rem 1.2rem; }
.s0e5-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s0e5-text-light);
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--s0e5-secondary);
}
.s0e5-section-title i { margin-right: 0.6rem; }

/* Game Grid */
.s0e5-category-title {
  font-size: 1.5rem; font-weight: 700; color: var(--s0e5-text-light);
  margin: 1.8rem 0 1rem; padding-left: 0.8rem;
  border-left: 3px solid var(--s0e5-accent);
}
.s0e5-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.s0e5-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  background: var(--s0e5-card-bg); border-radius: var(--s0e5-radius);
  padding: 0.6rem 0.4rem; border: 1px solid var(--s0e5-border);
}
.s0e5-game-item:hover { transform: translateY(-3px); }
.s0e5-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 0.8rem;
  margin-bottom: 0.3rem; object-fit: cover;
}
.s0e5-game-name {
  font-size: 1rem; color: var(--s0e5-text-white); line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Cards */
.s0e5-card {
  background: var(--s0e5-card-bg); border: 1px solid var(--s0e5-border);
  border-radius: var(--s0e5-radius); padding: 1.5rem; margin-bottom: 1.2rem;
  box-shadow: var(--s0e5-shadow);
}
.s0e5-card-title { font-size: 1.5rem; font-weight: 700; color: var(--s0e5-text-light); margin-bottom: 0.8rem; }
.s0e5-card-text { font-size: 1.3rem; line-height: 1.6; color: rgba(240,240,255,0.85); }

/* Buttons */
.s0e5-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--s0e5-accent), var(--s0e5-secondary));
  color: #fff; padding: 1rem 2.5rem; border-radius: 3rem; font-size: 1.4rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s; text-align: center;
}
.s0e5-promo-btn:hover {
  transform: scale(1.05); box-shadow: 0 4px 20px rgba(65,105,225,0.4); color: #fff;
}
.s0e5-promo-btn-sm {
  padding: 0.6rem 1.6rem; font-size: 1.2rem; border-radius: 2rem;
}
.s0e5-text-link {
  color: var(--s0e5-text-light); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.s0e5-text-link:hover { color: var(--s0e5-gold); }

/* Footer */
.s0e5-footer {
  background: linear-gradient(180deg, var(--s0e5-bg-darker), #0d1520);
  padding: 2rem 1.2rem 1rem; border-top: 1px solid var(--s0e5-border);
}
.s0e5-footer-brand { font-size: 1.4rem; color: var(--s0e5-text-light); margin-bottom: 1rem; line-height: 1.6; }
.s0e5-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.2rem; }
.s0e5-footer-links a {
  font-size: 1.2rem; color: rgba(240,240,255,0.7); padding: 0.4rem 0.8rem;
  background: rgba(65,105,225,0.15); border-radius: 1.5rem; transition: all 0.2s;
}
.s0e5-footer-links a:hover { background: rgba(65,105,225,0.3); color: #fff; }
.s0e5-footer-copy { font-size: 1.1rem; color: rgba(240,240,255,0.4); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(204,153,255,0.1); }

/* Bottom Navigation */
.s0e5-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; height: 6rem;
  background: linear-gradient(135deg, #0d1520, var(--s0e5-bg-dark));
  border-top: 1px solid var(--s0e5-border);
  justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
}
@media (max-width: 768px) { .s0e5-bottom-nav { display: flex; } }
.s0e5-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; color: rgba(240,240,255,0.5);
  cursor: pointer; transition: all 0.2s; padding: 0.4rem;
  font-size: 1rem; gap: 0.2rem;
}
.s0e5-bottom-btn i, .s0e5-bottom-btn .material-icons-outlined {
  font-size: 2.2rem; transition: transform 0.2s, color 0.2s;
}
.s0e5-bottom-btn span { font-size: 1rem; }
.s0e5-bottom-btn:hover, .s0e5-bottom-active {
  color: var(--s0e5-text-light);
}
.s0e5-bottom-btn:hover i, .s0e5-bottom-active i,
.s0e5-bottom-btn:hover .material-icons-outlined, .s0e5-bottom-active .material-icons-outlined {
  transform: scale(1.15); color: var(--s0e5-text-light);
}

/* Utilities */
.s0e5-reveal { opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.s0e5-revealed { opacity: 1; transform: translateY(0); }
.s0e5-flex-center { display: flex; align-items: center; justify-content: center; }
.s0e5-text-center { text-align: center; }
.s0e5-mb-1 { margin-bottom: 0.8rem; }
.s0e5-mb-2 { margin-bottom: 1.6rem; }
.s0e5-mt-1 { margin-top: 0.8rem; }
.s0e5-gap-1 { gap: 0.8rem; }

/* Content Modules */
.s0e5-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.s0e5-feature-item {
  background: var(--s0e5-card-bg); border: 1px solid var(--s0e5-border);
  border-radius: var(--s0e5-radius); padding: 1.2rem; text-align: center;
}
.s0e5-feature-item i { font-size: 2.4rem; color: var(--s0e5-text-light); margin-bottom: 0.6rem; display: block; }
.s0e5-feature-item h3 { font-size: 1.3rem; color: var(--s0e5-text-light); margin-bottom: 0.4rem; }
.s0e5-feature-item p { font-size: 1.1rem; color: rgba(240,240,255,0.7); }

.s0e5-rtp-bar {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem;
}
.s0e5-rtp-name { font-size: 1.2rem; color: var(--s0e5-text-white); min-width: 8rem; }
.s0e5-rtp-track { flex: 1; height: 0.8rem; background: rgba(255,255,255,0.1); border-radius: 1rem; overflow: hidden; }
.s0e5-rtp-fill { height: 100%; border-radius: 1rem; background: linear-gradient(90deg, var(--s0e5-accent), var(--s0e5-text-light)); }
.s0e5-rtp-val { font-size: 1.2rem; color: var(--s0e5-text-light); font-weight: 700; min-width: 4rem; text-align: right; }

.s0e5-testimonial {
  background: var(--s0e5-card-bg); border-left: 3px solid var(--s0e5-text-light);
  padding: 1.2rem; border-radius: 0 var(--s0e5-radius) var(--s0e5-radius) 0;
  margin-bottom: 1rem;
}
.s0e5-testimonial-text { font-size: 1.2rem; color: rgba(240,240,255,0.85); font-style: italic; margin-bottom: 0.5rem; }
.s0e5-testimonial-author { font-size: 1.1rem; color: var(--s0e5-text-light); font-weight: 600; }

.s0e5-winner-row {
  display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0;
  border-bottom: 1px solid var(--s0e5-border);
}
.s0e5-winner-row img { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.s0e5-winner-info { flex: 1; }
.s0e5-winner-name { font-size: 1.2rem; color: var(--s0e5-text-white); font-weight: 600; }
.s0e5-winner-game { font-size: 1rem; color: rgba(240,240,255,0.6); }
.s0e5-winner-amount { font-size: 1.4rem; color: var(--s0e5-gold); font-weight: 700; }

/* Help page styles */
.s0e5-help-section { padding: 2rem 1.2rem; }
.s0e5-help-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--s0e5-text-light); margin-bottom: 1rem; }
.s0e5-help-section p { font-size: 1.3rem; line-height: 1.6; color: rgba(240,240,255,0.85); margin-bottom: 1rem; }
.s0e5-step-list { counter-reset: step; }
.s0e5-step-item {
  counter-increment: step; position: relative; padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}
.s0e5-step-item::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--s0e5-accent), var(--s0e5-secondary));
  color: #fff; font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.s0e5-faq-item { margin-bottom: 1.2rem; border-bottom: 1px solid var(--s0e5-border); padding-bottom: 1.2rem; }
.s0e5-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--s0e5-text-light); margin-bottom: 0.5rem; }
.s0e5-faq-a { font-size: 1.3rem; color: rgba(240,240,255,0.8); line-height: 1.6; }

/* Desktop adjustments */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .s0e5-header { max-width: 430px; }
  .s0e5-bottom-nav { display: none; }
}
