/* Main CSS file for JLJL55 website */
/* Mobile-first responsive design with casino theme */

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #273746 0%, #1a252f 100%);
  color: #AFEEEE;
  line-height: 1.5rem;
  min-height: 100vh;
  font-size: 1.4rem;
}

/* Color Variables */
:root {
  --primary-color: #FF91A4;
  --secondary-color: #AFEEEE;
  --accent-color: #ADD8E6;
  --neutral-color: #CED4DA;
  --dark-bg: #273746;
  --darker-bg: #1a252f;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

/* Typography */
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(39, 55, 70, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--secondary-color);
}

.logo-section img {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 1rem;
  border-radius: 0.5rem;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary-color), #e47e91);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 145, 164, 0.4);
}

.nav-toggle {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle.active {
  background: var(--secondary-color);
  color: var(--dark-bg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 7rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(39, 55, 70, 0.98);
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  padding: 2rem;
  display: none;
  z-index: 999;
  backdrop-filter: blur(15px);
}

.mobile-nav-item {
  display: block;
  padding: 1.2rem 0;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(175, 238, 238, 0.2);
  transition: color 0.3s ease;
}

.mobile-nav-item:hover {
  color: var(--primary-color);
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

/* Main Content */
.main-content {
  padding-top: 8rem;
  padding-bottom: 8rem;
  max-width: 430px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Styles */
.section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  border: 1px solid rgba(175, 238, 238, 0.2);
  backdrop-filter: blur(10px);
}

/* Carousel Styles */
.carousel-container {
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-slide {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-slide img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(39, 55, 70, 0.9);
}

.carousel-indicator {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(175, 238, 238, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Game Grid Styles */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.game-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 44px;
}

.game-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 145, 164, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(255, 145, 164, 0.3);
}

.game-item img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  object-fit: cover;
}

.game-item-name {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

/* Category Headers */
.category-header {
  background: linear-gradient(135deg, var(--primary-color), #e47e91);
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  margin: 2rem 0 1.5rem 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  box-shadow: 0 4px 15px rgba(255, 145, 164, 0.4);
}

/* Promotional Links and Buttons */
.promo-btn {
  background: linear-gradient(135deg, var(--primary-color), #e47e91);
  color: white;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 145, 164, 0.3);
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 145, 164, 0.5);
}

.promo-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 0.2rem 0;
}

.promo-link:hover {
  border-bottom-color: var(--primary-color);
  color: #ff7a8e;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a252f 0%, #273746 100%);
  border-top: 2px solid var(--primary-color);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.8rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: rgba(255, 145, 164, 0.2);
  color: var(--primary-color);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.partner-logo {
  width: 100%;
  height: 4rem;
  object-fit: contain;
  border-radius: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  color: var(--neutral-color);
  font-size: 1.2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(175, 238, 238, 0.2);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(39, 55, 70, 0.95);
  backdrop-filter: blur(15px);
  border-top: 2px solid var(--primary-color);
  z-index: 1000;
}

.bottom-nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 0.5rem;
}

.bottom-nav-item {
  flex: 1;
  text-align: center;
}

.bottom-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.8rem;
  min-height: 44px;
  min-width: 44px;
}

.bottom-nav-item a:hover,
.bottom-nav-item.active a {
  color: var(--primary-color);
  background: rgba(255, 145, 164, 0.2);
}

.bottom-nav-item i {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (min-width: 375px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .game-item img {
    width: 4.5rem;
    height: 4.5rem;
  }
}

@media (max-width: 320px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-bold { font-weight: 600; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 145, 164, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 145, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 145, 164, 0); }
} 