/* 
 * JLFF Casino - Main Theme Stylesheet
 * Version: 1.0.0
 * Mobile-first responsive design
 */

/* Base settings and variables */
:root {
  /* Base font size for rem calculations (62.5% of 16px = 10px) */
  font-size: 62.5%;
  
  /* Color palette */
  --ga03-primary: #FF6347;       /* Tomato */
  --ga03-primary-light: #FF8066;
  --ga03-primary-dark: #E54B31;
  --ga03-secondary: #E9967A;     /* Dark Salmon */
  --ga03-secondary-light: #FFAE94;
  --ga03-secondary-dark: #D27D61;
  --ga03-bg: #2C2C2C;           /* Dark Gray */
  --ga03-bg-light: #3A3A3A;
  --ga03-bg-dark: #1E1E1E;
  --ga03-text: #FFFFFF;
  --ga03-text-muted: #CCCCCC;
  --ga03-border: #444444;
  --ga03-success: #4CAF50;
  --ga03-warning: #FFC107;
  --ga03-danger: #F44336;
  --ga03-info: #2196F3;
  
  /* Spacing */
  --ga03-spacing-xs: 0.4rem;
  --ga03-spacing-sm: 0.8rem;
  --ga03-spacing-md: 1.6rem;
  --ga03-spacing-lg: 2.4rem;
  --ga03-spacing-xl: 3.2rem;
  
  /* Border radius */
  --ga03-radius-sm: 0.4rem;
  --ga03-radius-md: 0.8rem;
  --ga03-radius-lg: 1.6rem;
  --ga03-radius-round: 50%;
  
  /* Shadows */
  --ga03-shadow-sm: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
  --ga03-shadow-md: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
  --ga03-shadow-lg: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.3);
  
  /* Transitions */
  --ga03-transition-fast: 0.15s ease-in-out;
  --ga03-transition-normal: 0.3s ease-in-out;
  --ga03-transition-slow: 0.5s ease-in-out;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Arial', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--ga03-text);
  background-color: var(--ga03-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 6.4rem; /* Space for mobile nav */
}

a {
  color: var(--ga03-secondary);
  text-decoration: none;
  transition: color var(--ga03-transition-fast);
}

a:hover, a:focus {
  color: var(--ga03-secondary-light);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, .ga03-h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: var(--ga03-primary);
}

h2, .ga03-h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--ga03-secondary);
}

h3, .ga03-h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ga03-secondary);
}

h4, .ga03-h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

p, .ga03-text {
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

.ga03-text-sm {
  font-size: 1.4rem;
}

.ga03-text-xs {
  font-size: 1.2rem;
}

.ga03-text-center {
  text-align: center;
}

.ga03-text-right {
  text-align: right;
}

.ga03-text-primary {
  color: var(--ga03-primary);
}

.ga03-text-secondary {
  color: var(--ga03-secondary);
}

.ga03-text-muted {
  color: var(--ga03-text-muted);
}

.ga03-text-bold {
  font-weight: 700;
}

/* Layout containers */
.ga03-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.ga03-wrapper {
  padding: 2.4rem 0;
}

.ga03-section {
  margin-bottom: 3.2rem;
}

/* Grid system */
.ga03-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -0.8rem;
}

.ga03-grid-item {
  padding: 0.8rem;
}

.ga03-col-6 {
  width: 50%;
}

.ga03-col-4 {
  width: 33.333333%;
}

.ga03-col-3 {
  width: 25%;
}

.ga03-col-2 {
  width: 16.666667%;
}

/* Buttons */
.ga03-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--ga03-radius-md);
  cursor: pointer;
  transition: all var(--ga03-transition-fast);
  min-height: 4.4rem; /* Minimum touch target size */
}

.ga03-btn-primary {
  background-color: var(--ga03-primary);
  color: white;
}

.ga03-btn-primary:hover, .ga03-btn-primary:focus {
  background-color: var(--ga03-primary-dark);
  color: white;
  text-decoration: none;
}

.ga03-btn-secondary {
  background-color: var(--ga03-secondary);
  color: white;
}

.ga03-btn-secondary:hover, .ga03-btn-secondary:focus {
  background-color: var(--ga03-secondary-dark);
  color: white;
  text-decoration: none;
}

.ga03-btn-outline {
  background-color: transparent;
  border: 2px solid var(--ga03-primary);
  color: var(--ga03-primary);
}

.ga03-btn-outline:hover, .ga03-btn-outline:focus {
  background-color: var(--ga03-primary);
  color: white;
  text-decoration: none;
}

.ga03-btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  min-height: 3.6rem;
}

.ga03-btn-lg {
  padding: 1.2rem 2.4rem;
  font-size: 1.8rem;
  min-height: 5rem;
}

.ga03-btn-block {
  display: flex;
  width: 100%;
}

/* Header and Navigation */
.ga03-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--ga03-bg-dark);
  box-shadow: var(--ga03-shadow-md);
  height: 6rem;
}

.ga03-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ga03-logo {
  display: flex;
  align-items: center;
}

.ga03-logo-img {
  height: 3.2rem;
  width: auto;
  margin-right: 0.8rem;
}

.ga03-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ga03-primary);
}

.ga03-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ga03-text);
}

.ga03-nav-menu {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--ga03-bg-dark);
  transform: translateX(100%);
  transition: transform var(--ga03-transition-normal);
  z-index: 999;
  overflow-y: auto;
  padding: 2rem;
}

.ga03-nav-menu.ga03-active {
  transform: translateX(0);
}

.ga03-nav-list {
  list-style: none;
}

.ga03-nav-item {
  margin-bottom: 1.6rem;
}

.ga03-nav-link {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ga03-text);
  padding: 0.8rem 0;
}

.ga03-nav-link:hover, .ga03-nav-link:focus {
  color: var(--ga03-primary);
  text-decoration: none;
}

.ga03-nav-buttons {
  display: flex;
  gap: 1rem;
}

/* Main content area */
.ga03-main {
  margin-top: 6rem;
  padding-bottom: 2rem;
}

/* Carousel */
.ga03-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.4rem;
  border-radius: var(--ga03-radius-md);
}

.ga03-carousel-inner {
  display: flex;
  transition: transform var(--ga03-transition-normal);
}

.ga03-carousel-item {
  min-width: 100%;
  position: relative;
}

.ga03-carousel-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ga03-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  text-align: center;
}

.ga03-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.ga03-carousel-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.ga03-carousel-indicator.ga03-active {
  background-color: white;
}

/* Game grid */
.ga03-game-section {
  margin-bottom: 3.2rem;
}

.ga03-game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.ga03-game-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ga03-secondary);
}

.ga03-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

@media (min-width: 360px) {
  .ga03-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ga03-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ga03-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--ga03-radius-sm);
  margin-bottom: 0.6rem;
  transition: transform var(--ga03-transition-fast);
}

.ga03-game-img:hover {
  transform: scale(1.05);
}

.ga03-game-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ga03-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Cards and content blocks */
.ga03-card {
  background-color: var(--ga03-bg-light);
  border-radius: var(--ga03-radius-md);
  padding: 1.6rem;
  margin-bottom: 2rem;
  box-shadow: var(--ga03-shadow-sm);
}

.ga03-card-header {
  margin-bottom: 1.6rem;
}

.ga03-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ga03-secondary);
}

.ga03-card-body {
  color: var(--ga03-text);
}

/* Feature blocks */
.ga03-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.4rem;
}

.ga03-feature-icon {
  flex-shrink: 0;
  width: 4.8rem;
  height: 4.8rem;
  margin-right: 1.6rem;
  color: var(--ga03-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 99, 71, 0.1);
  border-radius: var(--ga03-radius-round);
}

.ga03-feature-content {
  flex-grow: 1;
}

.ga03-feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--ga03-secondary);
}

/* FAQ section */
.ga03-faq-item {
  margin-bottom: 1.6rem;
}

.ga03-faq-question {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--ga03-secondary);
}

.ga03-faq-answer {
  color: var(--ga03-text);
}

/* Footer */
.ga03-footer {
  background-color: var(--ga03-bg-dark);
  padding: 3.2rem 0;
}

.ga03-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.ga03-footer-link {
  color: var(--ga03-text-muted);
  font-size: 1.4rem;
}

.ga03-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  align-items: center;
}

.ga03-partner-img {
  height: 3.2rem;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--ga03-transition-fast);
}

.ga03-partner-img:hover {
  opacity: 1;
}

.ga03-copyright {
  font-size: 1.2rem;
  color: var(--ga03-text-muted);
  text-align: center;
}

/* Mobile bottom navigation */
.ga03-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--ga03-bg-dark);
  display: flex;
  height: 6.4rem;
  z-index: 900;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.ga03-mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ga03-text-muted);
  text-decoration: none;
  padding: 0.8rem 0;
  transition: color var(--ga03-transition-fast);
}

.ga03-mobile-nav-item:hover, .ga03-mobile-nav-item:focus, .ga03-mobile-nav-item.ga03-active {
  color: var(--ga03-primary);
  text-decoration: none;
}

.ga03-mobile-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.ga03-mobile-nav-text {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Utility classes */
.ga03-mt-1 { margin-top: 0.4rem; }
.ga03-mt-2 { margin-top: 0.8rem; }
.ga03-mt-3 { margin-top: 1.6rem; }
.ga03-mt-4 { margin-top: 2.4rem; }
.ga03-mt-5 { margin-top: 3.2rem; }

.ga03-mb-1 { margin-bottom: 0.4rem; }
.ga03-mb-2 { margin-bottom: 0.8rem; }
.ga03-mb-3 { margin-bottom: 1.6rem; }
.ga03-mb-4 { margin-bottom: 2.4rem; }
.ga03-mb-5 { margin-bottom: 3.2rem; }

.ga03-ml-1 { margin-left: 0.4rem; }
.ga03-ml-2 { margin-left: 0.8rem; }
.ga03-ml-3 { margin-left: 1.6rem; }

.ga03-mr-1 { margin-right: 0.4rem; }
.ga03-mr-2 { margin-right: 0.8rem; }
.ga03-mr-3 { margin-right: 1.6rem; }

.ga03-p-1 { padding: 0.4rem; }
.ga03-p-2 { padding: 0.8rem; }
.ga03-p-3 { padding: 1.6rem; }
.ga03-p-4 { padding: 2.4rem; }
.ga03-p-5 { padding: 3.2rem; }

.ga03-d-flex { display: flex; }
.ga03-flex-column { flex-direction: column; }
.ga03-justify-between { justify-content: space-between; }
.ga03-justify-center { justify-content: center; }
.ga03-align-center { align-items: center; }
.ga03-flex-wrap { flex-wrap: wrap; }
.ga03-gap-1 { gap: 0.4rem; }
.ga03-gap-2 { gap: 0.8rem; }
.ga03-gap-3 { gap: 1.6rem; }

.ga03-w-100 { width: 100%; }
.ga03-h-100 { height: 100%; }

.ga03-rounded { border-radius: var(--ga03-radius-md); }
.ga03-rounded-sm { border-radius: var(--ga03-radius-sm); }
.ga03-rounded-lg { border-radius: var(--ga03-radius-lg); }
.ga03-rounded-circle { border-radius: 50%; }

.ga03-shadow { box-shadow: var(--ga03-shadow-md); }
.ga03-shadow-sm { box-shadow: var(--ga03-shadow-sm); }
.ga03-shadow-lg { box-shadow: var(--ga03-shadow-lg); }

.ga03-bg-primary { background-color: var(--ga03-primary); }
.ga03-bg-secondary { background-color: var(--ga03-secondary); }
.ga03-bg-dark { background-color: var(--ga03-bg-dark); }
.ga03-bg-light { background-color: var(--ga03-bg-light); }

/* Animations */
@keyframes ga03-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.ga03-pulse {
  animation: ga03-pulse 2s infinite;
}

@keyframes ga03-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ga03-fade-in {
  animation: ga03-fade-in 0.5s ease-in-out;
}

/* Media queries for responsive design */
@media (min-width: 576px) {
  h1, .ga03-h1 { font-size: 3.2rem; }
  h2, .ga03-h2 { font-size: 2.8rem; }
  h3, .ga03-h3 { font-size: 2.4rem; }
  
  .ga03-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) {
  .ga03-game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
} 