/* jljl7799 Design System - Mobile First Responsive CSS */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  min-height: 100vh;
}

/* Color Variables */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1C2833;
  --accent-color: #FF6B6B;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --bg-dark: #1a1a2e;
  --bg-card: #2a2a3e;
  --border-color: #333;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --max-width: 430px;
}

/* Container */
.jl77-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography */
.jl77-h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.jl77-h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.jl77-h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.jl77-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.jl77-text-center {
  text-align: center;
}

/* Buttons */
.jl77-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.jl77-btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #FFA500);
  color: var(--secondary-color);
}

.jl77-btn-primary:hover {
  background: linear-gradient(45deg, #FFA500, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.jl77-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.jl77-btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.jl77-btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Header */
.jl77-header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.jl77-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.jl77-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.jl77-logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.jl77-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.jl77-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jl77-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

.jl77-mobile-menu {
  display: none;
  background: var(--bg-dark);
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.jl77-mobile-menu ul {
  list-style: none;
}

.jl77-mobile-menu li {
  margin-bottom: 12px;
}

.jl77-mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */
.jl77-hero {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
  text-align: center;
}

.jl77-hero-content {
  margin-bottom: 32px;
}

.jl77-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.jl77-hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.jl77-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.jl77-hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.jl77-feature-tag {
  background: rgba(255, 215, 0, 0.2);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.jl77-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Sections */
.jl77-section {
  padding: 40px 0;
}

.jl77-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 12px;
}

.jl77-section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

/* Features Grid */
.jl77-features-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.jl77-feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.jl77-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.jl77-feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.jl77-feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.jl77-feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Games Grid */
.jl77-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.jl77-game-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.jl77-game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.jl77-game-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.jl77-game-info {
  padding: 12px;
}

.jl77-game-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.jl77-game-rtp {
  font-size: 12px;
  color: var(--success-color);
  margin-bottom: 8px;
}

.jl77-game-tag {
  background: var(--accent-color);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

/* Promotions */
.jl77-promotions {
  background: rgba(255, 215, 0, 0.05);
}

.jl77-promotions-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.jl77-promo-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
}

.jl77-promo-featured {
  border: 2px solid var(--primary-color);
}

.jl77-promo-badge {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.jl77-promo-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.jl77-promo-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* App Download */
.jl77-app-download {
  background: var(--bg-card);
}

.jl77-app-content {
  text-align: center;
}

.jl77-app-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.jl77-app-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.jl77-app-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 14px;
}

.jl77-app-feature i {
  color: var(--primary-color);
}

.jl77-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jl77-app-image img {
  max-width: 100%;
  height: auto;
  margin-top: 24px;
}

/* Footer */
.jl77-footer {
  background: var(--secondary-color);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.jl77-footer-content {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.jl77-footer-brand {
  text-align: center;
}

.jl77-footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.jl77-footer-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.jl77-footer-links h4,
.jl77-footer-support h4,
.jl77-footer-contact h4 {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.jl77-footer-links ul,
.jl77-footer-support ul {
  list-style: none;
}

.jl77-footer-links li,
.jl77-footer-support li {
  margin-bottom: 8px;
}

.jl77-footer-links a,
.jl77-footer-support a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.jl77-footer-links a:hover,
.jl77-footer-support a:hover {
  color: var(--primary-color);
}

.jl77-footer-contact p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.jl77-footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
}

.jl77-footer-legal p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.jl77-footer-payments {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.jl77-payment-logo {
  height: 24px;
  opacity: 0.8;
}

/* Bottom Navigation */
.jl77-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
}

.jl77-bottom-nav-container {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
}

.jl77-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  cursor: pointer;
}

.jl77-bottom-nav-item:hover,
.jl77-bottom-nav-item.jl77-active {
  color: var(--primary-color);
}

.jl77-bottom-nav-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.jl77-bottom-nav-label {
  font-size: 10px;
  font-weight: 500;
}

/* Utility Classes */
.jl77-mt-1 { margin-top: 8px; }
.jl77-mt-2 { margin-top: 16px; }
.jl77-mt-3 { margin-top: 24px; }
.jl77-mb-1 { margin-bottom: 8px; }
.jl77-mb-2 { margin-bottom: 16px; }
.jl77-mb-3 { margin-bottom: 24px; }

/* Animations */
@keyframes jl77FadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.jl77-animate {
  animation: jl77FadeIn 0.6s ease-out;
}

/* Mobile Menu Toggle */
@media (max-width: 768px) {
  .jl77-nav-actions .jl77-btn {
    display: none;
  }
  
  .jl77-menu-toggle {
    display: block;
  }
  
  .jl77-mobile-menu.jl77-active {
    display: block;
  }
}

/* Larger Mobile Screens */
@media (min-width: 375px) {
  .jl77-hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .jl77-app-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .jl77-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  :root {
    --max-width: 768px;
  }
  
  .jl77-nav-actions .jl77-btn {
    display: inline-block;
  }
  
  .jl77-menu-toggle {
    display: none;
  }
  
  .jl77-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .jl77-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .jl77-promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .jl77-footer-content {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
  
  .jl77-footer-brand {
    text-align: left;
  }
  
  .jl77-bottom-nav {
    display: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .jl77-game-image,
  .jl77-footer-logo,
  .jl77-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}