/**
 * jili77games.cfd - Main Stylesheet
 * Prefix: w60d7-
 * Color palette: #880E4F | #AD1457 | #BAE1FF | #1C2833
 */

/* CSS Custom Properties */
:root {
  --w60d7-primary: #880E4F;
  --w60d7-secondary: #AD1457;
  --w60d7-accent: #BAE1FF;
  --w60d7-dark: #1C2833;
  --w60d7-bg: #1C2833;
  --w60d7-text: #BAE1FF;
  --w60d7-text-light: #f0f4f8;
  --w60d7-card-bg: #2a3a4a;
  --w60d7-card-border: #3a4f63;
  --w60d7-gradient: linear-gradient(135deg, #880E4F 0%, #AD1457 100%);
  --w60d7-radius: 8px;
  --w60d7-radius-lg: 12px;
  --w60d7-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --w60d7-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w60d7-bg);
  color: var(--w60d7-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--w60d7-accent); text-decoration: none; transition: var(--w60d7-transition); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w60d7-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--w60d7-dark);
  border-bottom: 2px solid var(--w60d7-primary);
  max-width: 430px;
  margin: 0 auto;
  transition: var(--w60d7-transition);
}
.w60d7-header-scrolled { box-shadow: 0 4px 20px rgba(136,14,79,0.4); }
.w60d7-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 5.6rem;
}
.w60d7-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w60d7-logo img { width: 28px; height: 28px; border-radius: 4px; }
.w60d7-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w60d7-accent);
  white-space: nowrap;
}
.w60d7-header-btns {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.w60d7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--w60d7-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--w60d7-transition);
  min-height: 3.6rem;
  min-width: 4.4rem;
}
.w60d7-btn-register {
  background: var(--w60d7-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(136,14,79,0.4);
}
.w60d7-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(136,14,79,0.6); }
.w60d7-btn-login {
  background: transparent;
  color: var(--w60d7-accent);
  border: 1.5px solid var(--w60d7-primary);
}
.w60d7-btn-login:hover { background: var(--w60d7-primary); color: #fff; }
.w60d7-menu-toggle {
  background: none;
  border: none;
  color: var(--w60d7-accent);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.w60d7-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.w60d7-overlay-active { opacity: 1; pointer-events: all; }
.w60d7-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w60d7-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  border-left: 2px solid var(--w60d7-primary);
}
.w60d7-menu-active { right: 0; }
.w60d7-menu-close {
  background: none;
  border: none;
  color: var(--w60d7-accent);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.w60d7-menu-list {
  list-style: none;
  margin-top: 3rem;
}
.w60d7-menu-list li { margin-bottom: 0.5rem; }
.w60d7-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--w60d7-text);
  font-size: 1.5rem;
  border-radius: var(--w60d7-radius);
  transition: var(--w60d7-transition);
}
.w60d7-menu-list a:hover { background: var(--w60d7-primary); color: #fff; }

/* Main Content */
main {
  padding-top: 6rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
}

/* Slider / Carousel */
.w60d7-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--w60d7-radius) var(--w60d7-radius);
}
.w60d7-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.w60d7-slide img { width: 100%; height: auto; }
.w60d7-slide-active { display: block; }

/* Container */
.w60d7-container { padding: 1.5rem 1rem; }
.w60d7-section { margin-bottom: 2.5rem; }
.w60d7-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w60d7-accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w60d7-primary);
}
.w60d7-section-title .material-icons,
.w60d7-section-title .fas,
.w60d7-section-title .far {
  font-size: 2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Game Grid */
.w60d7-game-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--w60d7-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w60d7-primary);
}
.w60d7-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w60d7-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border-radius: var(--w60d7-radius);
  padding: 0.5rem 0.2rem;
  background: var(--w60d7-card-bg);
  border: 1px solid var(--w60d7-card-border);
  transition: var(--w60d7-transition);
}
.w60d7-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(136,14,79,0.3);
  border-color: var(--w60d7-primary);
}
.w60d7-game-item img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}
.w60d7-game-item span {
  font-size: 1.1rem;
  color: var(--w60d7-text);
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cards */
.w60d7-card {
  background: var(--w60d7-card-bg);
  border: 1px solid var(--w60d7-card-border);
  border-radius: var(--w60d7-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--w60d7-transition);
}
.w60d7-card:hover { border-color: var(--w60d7-primary); }
.w60d7-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--w60d7-accent);
  margin-bottom: 0.8rem;
}
.w60d7-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--w60d7-text-light);
  margin-bottom: 0.6rem;
}

/* Promo CTA */
.w60d7-cta {
  background: var(--w60d7-gradient);
  border-radius: var(--w60d7-radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(136,14,79,0.4);
}
.w60d7-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}
.w60d7-cta p {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.w60d7-cta .w60d7-btn {
  background: #fff;
  color: var(--w60d7-primary);
  font-size: 1.5rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
}
.w60d7-cta .w60d7-btn:hover { transform: scale(1.08); }

/* Promo link text style */
.w60d7-promo-text {
  color: var(--w60d7-accent);
  font-weight: 700;
  cursor: pointer;
  transition: var(--w60d7-transition);
  border-bottom: 1px dashed var(--w60d7-secondary);
}
.w60d7-promo-text:hover { color: #fff; }

/* Winner List */
.w60d7-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--w60d7-card-bg);
  border-radius: var(--w60d7-radius);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--w60d7-primary);
}
.w60d7-winner-item span:first-child {
  font-weight: 600;
  color: #FFD700;
  font-size: 1.3rem;
}

/* Testimonial */
.w60d7-testimonial {
  background: var(--w60d7-card-bg);
  border-radius: var(--w60d7-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w60d7-card-border);
}
.w60d7-testimonial-name {
  font-weight: 700;
  color: var(--w60d7-accent);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.w60d7-testimonial-text {
  font-size: 1.3rem;
  color: var(--w60d7-text-light);
  font-style: italic;
}

/* FAQ */
.w60d7-faq-item {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--w60d7-card-bg);
  border-radius: var(--w60d7-radius);
  border-left: 3px solid var(--w60d7-primary);
}
.w60d7-faq-q {
  font-weight: 700;
  color: var(--w60d7-accent);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.w60d7-faq-a {
  font-size: 1.3rem;
  color: var(--w60d7-text-light);
  line-height: 1.5;
}

/* Feature List */
.w60d7-feature-list {
  list-style: none;
}
.w60d7-feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--w60d7-card-border);
  font-size: 1.4rem;
  color: var(--w60d7-text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.w60d7-feature-list li:last-child { border-bottom: none; }
.w60d7-feature-list .fas,
.w60d7-feature-list .far,
.w60d7-feature-list .material-icons {
  color: var(--w60d7-secondary);
  font-size: 1.6rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Payment icons row */
.w60d7-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1rem 0;
}
.w60d7-payment-item {
  background: var(--w60d7-card-bg);
  border: 1px solid var(--w60d7-card-border);
  border-radius: var(--w60d7-radius);
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--w60d7-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Footer */
.w60d7-footer {
  background: #151e28;
  padding: 2rem 1rem 3rem;
  border-top: 2px solid var(--w60d7-primary);
}
.w60d7-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.w60d7-footer-brand p {
  font-size: 1.3rem;
  color: rgba(186,225,255,0.7);
  line-height: 1.5;
  max-width: 350px;
  margin: 0 auto;
}
.w60d7-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.w60d7-footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--w60d7-card-bg);
  border: 1px solid var(--w60d7-card-border);
  border-radius: var(--w60d7-radius);
  font-size: 1.2rem;
  color: var(--w60d7-text);
  transition: var(--w60d7-transition);
}
.w60d7-footer-links a:hover { background: var(--w60d7-primary); color: #fff; border-color: var(--w60d7-primary); }
.w60d7-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(186,225,255,0.5);
  margin-top: 1rem;
}
.w60d7-footer-site-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.w60d7-footer-site-links a {
  font-size: 1.2rem;
  color: rgba(186,225,255,0.6);
  padding: 0.3rem 0.6rem;
}

/* Bottom Navigation */
.w60d7-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #151e28;
  border-top: 2px solid var(--w60d7-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}
.w60d7-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(186,225,255,0.6);
  transition: var(--w60d7-transition);
  padding: 0.3rem;
}
.w60d7-bottom-btn:hover,
.w60d7-bottom-btn:focus {
  color: var(--w60d7-accent);
  transform: scale(1.1);
}
.w60d7-bottom-btn .fas,
.w60d7-bottom-btn .far,
.w60d7-bottom-btn .fad,
.w60d7-bottom-btn .material-icons,
.w60d7-bottom-btn ion-icon,
.w60d7-bottom-btn .bi {
  font-size: 22px;
  margin-bottom: 0.1rem;
}
.w60d7-bottom-btn span {
  font-size: 1rem;
  white-space: nowrap;
}
.w60d7-bottom-btn.w60d7-active {
  color: var(--w60d7-accent);
}
.w60d7-bottom-btn.w60d7-active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--w60d7-accent);
  margin-top: 0.1rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w60d7-bottom-nav { display: none; }
}

/* Desktop navigation visible */
.w60d7-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .w60d7-desktop-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .w60d7-desktop-nav a {
    font-size: 1.3rem;
    color: var(--w60d7-text);
    padding: 0.4rem 0.8rem;
    border-radius: var(--w60d7-radius);
  }
  .w60d7-desktop-nav a:hover { background: var(--w60d7-primary); color: #fff; }
}

/* Utility */
.w60d7-text-center { text-align: center; }
.w60d7-text-accent { color: var(--w60d7-accent); }
.w60d7-mt-1 { margin-top: 1rem; }
.w60d7-mb-1 { margin-bottom: 1rem; }
.w60d7-flex { display: flex; }
.w60d7-flex-wrap { flex-wrap: wrap; }
.w60d7-gap-1 { gap: 1rem; }

/* Achievement badge */
.w60d7-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--w60d7-gradient);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* RTP bar */
.w60d7-rtp-bar {
  background: var(--w60d7-card-bg);
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
  margin: 0.4rem 0;
}
.w60d7-rtp-fill {
  height: 100%;
  background: var(--w60d7-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

/* Tricks/Strategy item */
.w60d7-trick-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--w60d7-card-bg);
  border-radius: var(--w60d7-radius);
  margin-bottom: 0.6rem;
}
.w60d7-trick-num {
  background: var(--w60d7-gradient);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.w60d7-trick-text {
  font-size: 1.3rem;
  color: var(--w60d7-text-light);
  line-height: 1.4;
}

/* Mobile App CTA */
.w60d7-app-cta {
  background: linear-gradient(135deg, var(--w60d7-dark) 0%, #2a3a4a 100%);
  border: 1px solid var(--w60d7-primary);
  border-radius: var(--w60d7-radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.w60d7-app-cta h3 {
  color: var(--w60d7-accent);
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}
.w60d7-app-cta p {
  font-size: 1.3rem;
  color: var(--w60d7-text);
  margin-bottom: 1rem;
}
