/**
 * jilitt.cfd - Main Stylesheet
 * Prefix: s084-
 * Color Palette: #DDA0DD | #1E1E1E | #8470FF | #FAFAFA | #F5DEB3 | #FFEFD5
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --s084-primary: #8470FF;
  --s084-secondary: #DDA0DD;
  --s084-bg: #1E1E1E;
  --s084-bg-light: #2A2A2A;
  --s084-text: #FAFAFA;
  --s084-accent: #F5DEB3;
  --s084-highlight: #FFEFD5;
  --s084-card-bg: #252525;
  --s084-border: #3A3A3A;
  --s084-gradient: linear-gradient(135deg, #8470FF 0%, #DDA0DD 100%);
  --s084-shadow: 0 4px 15px rgba(132, 112, 255, 0.25);
  --s084-radius: 12px;
  --s084-radius-sm: 8px;
  --s084-radius-lg: 20px;
  --s084-transition: all 0.3s ease;
  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, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--s084-bg);
  color: var(--s084-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--s084-primary);
  text-decoration: none;
  transition: var(--s084-transition);
}

a:hover {
  color: var(--s084-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.s084-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--s084-bg);
  border-bottom: 1px solid var(--s084-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s084-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s084-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s084-header-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s084-primary);
  letter-spacing: 0.5px;
}

.s084-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s084-btn-register {
  background: var(--s084-gradient);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--s084-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s084-transition);
  white-space: nowrap;
}

.s084-btn-register:hover {
  transform: scale(1.05);
  box-shadow: var(--s084-shadow);
}

.s084-btn-login {
  background: transparent;
  color: var(--s084-primary);
  border: 1.5px solid var(--s084-primary);
  padding: 0.55rem 1.2rem;
  border-radius: var(--s084-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s084-transition);
  white-space: nowrap;
}

.s084-btn-login:hover {
  background: rgba(132, 112, 255, 0.1);
}

.s084-menu-toggle {
  background: none;
  border: none;
  color: var(--s084-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.s084-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--s084-bg-light);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.s084-menu-active {
  right: 0;
}

.s084-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.s084-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.s084-menu-close {
  background: none;
  border: none;
  color: var(--s084-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.s084-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s084-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--s084-border);
}

.s084-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.s084-menu-links li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--s084-radius-sm);
  color: var(--s084-text);
  font-size: 1.4rem;
  transition: var(--s084-transition);
}

.s084-menu-links li a:hover {
  background: rgba(132, 112, 255, 0.15);
  color: var(--s084-primary);
}

/* Main Content Area */
.s084-main {
  padding-top: 60px;
}

@media (max-width: 768px) {
  .s084-main {
    padding-bottom: 80px;
  }
}

.s084-container {
  width: 100%;
  padding: 0 1rem;
  max-width: 430px;
  margin: 0 auto;
}

/* Carousel */
.s084-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s084-radius);
  margin: 1rem 0;
}

.s084-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.s084-slide {
  min-width: 100%;
  cursor: pointer;
}

.s084-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--s084-radius);
}

.s084-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.s084-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--s084-transition);
}

.s084-dot-active {
  background: var(--s084-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.s084-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s084-text);
  margin: 1.8rem 0 1rem;
  padding-left: 1rem;
  position: relative;
}

.s084-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--s084-gradient);
  border-radius: 2px;
}

.s084-section-title span {
  color: var(--s084-primary);
}

/* Category Header */
.s084-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.8rem 0 1rem;
}

.s084-cat-icon {
  width: 32px;
  height: 32px;
  background: var(--s084-gradient);
  border-radius: var(--s084-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}

.s084-cat-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s084-accent);
}

/* Game Grid */
.s084-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.s084-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--s084-transition);
  border-radius: var(--s084-radius-sm);
  padding: 0.5rem 0.2rem;
}

.s084-game-item:hover {
  background: rgba(132, 112, 255, 0.1);
  transform: translateY(-2px);
}

.s084-game-img {
  width: 60px;
  height: 60px;
  border-radius: var(--s084-radius-sm);
  object-fit: cover;
  margin-bottom: 0.3rem;
  border: 2px solid var(--s084-border);
  transition: var(--s084-transition);
}

.s084-game-item:hover .s084-game-img {
  border-color: var(--s084-primary);
}

.s084-game-name {
  font-size: 1rem;
  color: var(--s084-text);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Cards */
.s084-card {
  background: var(--s084-card-bg);
  border-radius: var(--s084-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--s084-border);
}

.s084-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s084-accent);
  margin-bottom: 0.8rem;
}

.s084-card-text {
  font-size: 1.3rem;
  color: var(--s084-text);
  line-height: 1.6;
  opacity: 0.9;
}

/* Promo Button */
.s084-promo-btn {
  display: inline-block;
  background: var(--s084-gradient);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--s084-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--s084-transition);
  border: none;
  text-align: center;
}

.s084-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--s084-shadow);
}

.s084-promo-link {
  color: var(--s084-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.s084-promo-link:hover {
  color: var(--s084-secondary);
}

/* Winner Showcase */
.s084-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.s084-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--s084-bg-light);
  padding: 0.7rem 1rem;
  border-radius: var(--s084-radius-sm);
}

.s084-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--s084-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.s084-winner-info {
  flex: 1;
}

.s084-winner-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--s084-accent);
}

.s084-winner-detail {
  font-size: 1rem;
  color: var(--s084-text);
  opacity: 0.8;
}

.s084-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4CAF50;
}

/* Footer */
.s084-footer {
  background: var(--s084-bg-light);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--s084-border);
}

.s084-footer-brand {
  font-size: 1.3rem;
  color: var(--s084-text);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.s084-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.s084-footer-links a {
  background: rgba(132, 112, 255, 0.15);
  color: var(--s084-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--s084-radius-sm);
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--s084-transition);
}

.s084-footer-links a:hover {
  background: var(--s084-gradient);
  color: #fff;
}

.s084-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.s084-footer-partners img {
  height: 24px;
  opacity: 0.6;
  transition: var(--s084-transition);
}

.s084-footer-partners img:hover {
  opacity: 1;
}

.s084-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--s084-text);
  opacity: 0.5;
  padding-top: 1rem;
  border-top: 1px solid var(--s084-border);
}

/* Bottom Navigation */
.s084-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--s084-bg-light);
  border-top: 1px solid var(--s084-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

@media (min-width: 769px) {
  .s084-bnav {
    display: none;
  }
}

.s084-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--s084-text);
  opacity: 0.6;
  cursor: pointer;
  transition: var(--s084-transition);
  padding: 0.3rem;
  border-radius: var(--s084-radius-sm);
  text-decoration: none;
}

.s084-bnav-btn:hover,
.s084-bnav-active {
  opacity: 1;
  color: var(--s084-primary);
  transform: scale(1.1);
}

.s084-bnav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.s084-bnav-label {
  font-size: 1rem;
  line-height: 1.2;
}

/* H1 heading */
.s084-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--s084-text);
  text-align: center;
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}

.s084-h1 span {
  color: var(--s084-primary);
}

/* Content Sections */
.s084-content-block {
  padding: 0 1rem;
  margin: 1.5rem 0;
}

.s084-content-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s084-accent);
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  border-left: 3px solid var(--s084-primary);
}

.s084-content-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s084-secondary);
  margin: 1rem 0 0.5rem;
}

.s084-content-block p {
  font-size: 1.3rem;
  color: var(--s084-text);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

/* Payment Methods */
.s084-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.s084-payment-item {
  background: var(--s084-bg-light);
  border: 1px solid var(--s084-border);
  border-radius: var(--s084-radius-sm);
  padding: 0.8rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--s084-text);
  transition: var(--s084-transition);
}

.s084-payment-item:hover {
  border-color: var(--s084-primary);
}

.s084-payment-item i {
  display: block;
  font-size: 2rem;
  color: var(--s084-primary);
  margin-bottom: 0.3rem;
}

/* Testimonials */
.s084-testimonial {
  background: var(--s084-bg-light);
  border-radius: var(--s084-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--s084-primary);
}

.s084-testimonial-text {
  font-size: 1.2rem;
  color: var(--s084-text);
  opacity: 0.9;
  line-height: 1.5;
  font-style: italic;
}

.s084-testimonial-author {
  font-size: 1.1rem;
  color: var(--s084-accent);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Security badges */
.s084-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}

.s084-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(132, 112, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  color: var(--s084-primary);
  border: 1px solid rgba(132, 112, 255, 0.2);
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .s084-main {
    padding-bottom: 0;
  }
}
