/**
 * jl50 Theme Stylesheet - Dark Golden Gaming Aesthetic
 * All classes prefixed with s779- for namespace isolation
 * Color Palette: #CD853F | #FF5722 | #1E1E1E | #B8860B | #FFB347
 * Mobile-first design (max-width: 430px)
 */

:root {
  --s779-primary: #CD853F;
  --s779-secondary: #FF5722;
  --s779-bg: #1E1E1E;
  --s779-accent: #B8860B;
  --s779-text: #FFB347;
  --s779-bg-light: #2A2A2A;
  --s779-bg-card: #252525;
  --s779-border: #3A3A3A;
  --s779-white: #FFFFFF;
  --s779-gray: #AAAAAA;
  --s779-dark-gray: #666666;
  font-size: 62.5%;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--s779-bg);
  color: var(--s779-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--s779-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--s779-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === CONTAINER === */
.s779-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.s779-wrapper { width: 100%; overflow-x: hidden; }

/* === HEADER === */
.s779-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s779-border);
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  transition: all 0.3s ease;
}
.s779-header-scrolled {
  background: rgba(30, 30, 30, 0.98);
  box-shadow: 0 2px 12px rgba(184, 134, 11, 0.15);
}
.s779-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.s779-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.s779-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--s779-primary); letter-spacing: 0.5px; }
.s779-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s779-hamburger {
  background: none; border: none; color: var(--s779-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; line-height: 1;
}
.s779-hamburger:hover { color: var(--s779-primary); }

/* === BUTTONS === */
.s779-btn {
  display: inline-block; padding: 0.7rem 1.6rem; border-radius: 8px;
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; border: none; text-align: center;
  min-height: 44px; line-height: 2rem;
}
.s779-btn-primary {
  background: linear-gradient(135deg, var(--s779-primary), var(--s779-accent));
  color: var(--s779-bg); box-shadow: 0 2px 8px rgba(205, 133, 63, 0.3);
}
.s779-btn-primary:hover { box-shadow: 0 4px 16px rgba(205, 133, 63, 0.5); transform: translateY(-1px); }
.s779-btn-secondary {
  background: transparent; color: var(--s779-primary);
  border: 1.5px solid var(--s779-primary);
}
.s779-btn-secondary:hover { background: rgba(205, 133, 63, 0.1); }
.s779-btn-cta {
  background: linear-gradient(135deg, var(--s779-secondary), #E64A19);
  color: var(--s779-white); padding: 1rem 2.4rem; font-size: 1.5rem;
  border-radius: 10px; box-shadow: 0 3px 12px rgba(255, 87, 34, 0.4);
  width: 100%; max-width: 300px; margin: 0 auto; display: block;
}
.s779-btn-cta:hover { box-shadow: 0 5px 20px rgba(255, 87, 34, 0.6); transform: translateY(-2px); }

/* === HERO CAROUSEL === */
.s779-hero { position: relative; margin-top: 56px; overflow: hidden; }
.s779-carousel { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 0 0 12px 12px; }
.s779-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease; cursor: pointer;
}
.s779-slide img { width: 100%; height: 100%; object-fit: cover; }
.s779-slide-active { opacity: 1; z-index: 2; }
.s779-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.s779-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 179, 71, 0.4);
  cursor: pointer; transition: all 0.3s;
}
.s779-dot-active { background: var(--s779-primary); width: 20px; border-radius: 4px; }

/* === SECTIONS === */
.s779-section { padding: 2.5rem 0; }
.s779-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s779-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s779-accent); display: inline-block;
}
.s779-section-subtitle { font-size: 1.4rem; color: var(--s779-gray); margin-bottom: 1.5rem; }

/* === GAME CATEGORIES === */
.s779-cat-bar {
  display: flex; gap: 0.8rem; overflow-x: auto; padding: 0.8rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.s779-cat-bar::-webkit-scrollbar { display: none; }
.s779-cat-tab {
  flex-shrink: 0; padding: 0.5rem 1.2rem; border-radius: 20px;
  background: var(--s779-bg-light); color: var(--s779-gray);
  font-size: 1.2rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--s779-border); transition: all 0.3s;
  white-space: nowrap;
}
.s779-cat-tab:hover, .s779-cat-tab-active {
  background: linear-gradient(135deg, var(--s779-primary), var(--s779-accent));
  color: var(--s779-bg); border-color: var(--s779-primary);
}

/* === GAME GRID === */
.s779-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
  padding: 0.5rem 0;
}
.s779-game-item {
  text-align: center; cursor: pointer; transition: transform 0.3s;
  border-radius: 10px; padding: 0.5rem; background: var(--s779-bg-card);
}
.s779-game-item:hover { transform: scale(1.05); background: var(--s779-bg-light); }
.s779-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 8px;
  object-fit: cover; margin-bottom: 0.4rem;
}
.s779-game-item span {
  font-size: 1rem; color: var(--s779-gray); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* === CATEGORY HEADER === */
.s779-cat-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 2rem 0 1rem; padding: 0.6rem 0;
  border-bottom: 1px solid var(--s779-border);
}
.s779-cat-header i, .s779-cat-header .material-icons {
  font-size: 2rem; color: var(--s779-primary);
}
.s779-cat-header h2 {
  font-size: 1.5rem; font-weight: 600; color: var(--s779-white);
}

/* === FEATURE CARDS === */
.s779-card {
  background: var(--s779-bg-card); border-radius: 12px;
  padding: 1.5rem; border: 1px solid var(--s779-border);
  transition: all 0.3s;
}
.s779-card:hover { border-color: var(--s779-primary); box-shadow: 0 4px 12px rgba(205, 133, 63, 0.15); }
.s779-card-icon { font-size: 2.4rem; color: var(--s779-primary); margin-bottom: 0.8rem; }
.s779-card h3 { font-size: 1.4rem; color: var(--s779-white); margin-bottom: 0.5rem; }
.s779-card p { font-size: 1.2rem; color: var(--s779-gray); line-height: 1.6rem; }

/* === FEATURES GRID === */
.s779-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* === FAQ === */
.s779-faq-item {
  background: var(--s779-bg-card); border-radius: 10px;
  padding: 1.2rem 1.5rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--s779-primary);
}
.s779-faq-item h3 { font-size: 1.3rem; color: var(--s779-primary); margin-bottom: 0.4rem; }
.s779-faq-item p { font-size: 1.2rem; color: var(--s779-gray); line-height: 1.5rem; }

/* === WINNERS === */
.s779-winners-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0;
  scrollbar-width: none;
}
.s779-winners-scroll::-webkit-scrollbar { display: none; }
.s779-winner-card {
  flex-shrink: 0; width: 140px; background: var(--s779-bg-card);
  border-radius: 10px; padding: 1rem; text-align: center;
  border: 1px solid var(--s779-border);
}
.s779-winner-card .s779-winner-name { font-size: 1.1rem; color: var(--s779-primary); font-weight: 600; }
.s779-winner-card .s779-winner-game { font-size: 1rem; color: var(--s779-gray); margin: 0.3rem 0; }
.s779-winner-card .s779-winner-amount { font-size: 1.3rem; color: var(--s779-secondary); font-weight: 700; }

/* === PROMO BANNER === */
.s779-promo-banner {
  background: linear-gradient(135deg, var(--s779-accent), var(--s779-primary));
  border-radius: 12px; padding: 1.5rem; text-align: center;
  margin: 1.5rem 0; position: relative; overflow: hidden;
}
.s779-promo-banner::before {
  content: ''; position: absolute; top: -50%; right: -50%;
  width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.s779-promo-banner h3 { font-size: 1.6rem; color: var(--s779-bg); margin-bottom: 0.5rem; position: relative; }
.s779-promo-banner p { font-size: 1.2rem; color: rgba(30,30,30,0.8); margin-bottom: 1rem; position: relative; }

/* === CONTENT BLOCKS === */
.s779-content-block { padding: 1rem 0; }
.s779-content-block h2 {
  font-size: 1.6rem; color: var(--s779-primary); margin-bottom: 0.8rem;
}
.s779-content-block h3 {
  font-size: 1.4rem; color: var(--s779-white); margin: 1rem 0 0.5rem;
}
.s779-content-block p {
  font-size: 1.2rem; color: var(--s779-gray); line-height: 1.7rem;
  margin-bottom: 0.8rem;
}

/* === PAYMENT METHODS === */
.s779-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.s779-payment-item {
  background: var(--s779-bg-card); border-radius: 8px; padding: 0.8rem 1.2rem;
  border: 1px solid var(--s779-border); font-size: 1.1rem; color: var(--s779-gray);
  display: flex; align-items: center; gap: 0.5rem;
}
.s779-payment-item i { color: var(--s779-primary); font-size: 1.4rem; }

/* === TESTIMONIALS === */
.s779-testimonial {
  background: var(--s779-bg-card); border-radius: 10px;
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--s779-secondary);
}
.s779-testimonial p { font-size: 1.2rem; color: var(--s779-gray); font-style: italic; margin-bottom: 0.5rem; }
.s779-testimonial cite { font-size: 1.1rem; color: var(--s779-primary); font-style: normal; }

/* === FOOTER === */
.s779-footer {
  background: var(--s779-bg-light); padding: 2rem 0 8rem;
  border-top: 1px solid var(--s779-border);
}
.s779-footer-brand p { font-size: 1.1rem; color: var(--s779-gray); line-height: 1.6rem; margin-bottom: 1rem; }
.s779-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s779-footer-links a {
  font-size: 1.1rem; color: var(--s779-gray); padding: 0.3rem 0.6rem;
  background: var(--s779-bg); border-radius: 4px; border: 1px solid var(--s779-border);
}
.s779-footer-links a:hover { color: var(--s779-primary); border-color: var(--s779-primary); }
.s779-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s779-footer-promos a {
  display: inline-block; padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--s779-primary), var(--s779-accent));
  color: var(--s779-bg); border-radius: 6px; font-size: 1.1rem; font-weight: 600;
}
.s779-footer-promos a:hover { box-shadow: 0 2px 8px rgba(205, 133, 63, 0.4); }
.s779-footer-partners {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 1rem 0; padding: 1rem 0;
}
.s779-footer-partners img { height: 24px; opacity: 0.5; transition: opacity 0.3s; }
.s779-footer-partners img:hover { opacity: 0.8; }
.s779-copyright {
  text-align: center; font-size: 1rem; color: var(--s779-dark-gray);
  padding-top: 1rem; border-top: 1px solid var(--s779-border);
}

/* === BOTTOM NAVIGATION === */
.s779-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(30,30,30,0.98), rgba(20,20,20,1));
  border-top: 1px solid var(--s779-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.s779-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; cursor: pointer;
  color: var(--s779-gray); transition: all 0.3s ease;
  padding: 0.4rem; border-radius: 8px; position: relative;
}
.s779-bottom-nav-item i,
.s779-bottom-nav-item .material-icons,
.s779-bottom-nav-item ion-icon,
.s779-bottom-nav-item bi {
  font-size: 22px; margin-bottom: 2px; transition: all 0.3s;
}
.s779-bottom-nav-item span { font-size: 1rem; line-height: 1.2; }
.s779-bottom-nav-item:hover {
  color: var(--s779-primary);
}
.s779-bottom-nav-item:active { transform: scale(0.92); }
.s779-bottom-nav-active {
  color: var(--s779-primary) !important;
}
.s779-bottom-nav-active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--s779-primary); border-radius: 1px;
}

/* === MOBILE MENU === */
.s779-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--s779-bg); z-index: 9999;
  transition: right 0.35s ease; overflow-y: auto;
  border-left: 1px solid var(--s779-border);
  padding: 1.5rem 1rem;
}
.s779-menu-active { right: 0; }
.s779-mobile-menu-close {
  background: none; border: none; color: var(--s779-text);
  font-size: 2rem; cursor: pointer; float: right; padding: 0.4rem;
}
.s779-mobile-menu-nav { clear: both; padding-top: 1rem; }
.s779-mobile-menu-nav a {
  display: block; padding: 1rem 1.2rem; color: var(--s779-gray);
  font-size: 1.3rem; border-bottom: 1px solid var(--s779-border);
  transition: all 0.3s;
}
.s779-mobile-menu-nav a:hover { color: var(--s779-primary); padding-left: 1.6rem; }

/* === OVERLAY === */
.s779-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.35s;
}
.s779-overlay-active { opacity: 1; visibility: visible; }

/* === RESPONSIVE === */
@media (min-width: 769px) {
  .s779-bottom-nav { display: none; }
  .s779-hamburger { display: none; }
  .s779-container { max-width: 430px; }
  .s779-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
  .s779-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
}

/* === UTILITIES === */
.s779-text-center { text-align: center; }
.s779-mt-1 { margin-top: 1rem; }
.s779-mt-2 { margin-top: 2rem; }
.s779-mb-1 { margin-bottom: 1rem; }
.s779-mb-2 { margin-bottom: 2rem; }
.s779-hidden { display: none !important; }

/* === ANIMATIONS === */
@keyframes s779-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.s779-animate-in { animation: s779-fadeIn 0.5s ease forwards; }
