/* Custom CSS for LusoPlay Casino - Light Theme */

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --light-bg: #ffffff;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #64748b;
  --dark-text: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  background: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-text);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-weight: 800;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--dark-text) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Cards */
.card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-gray) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Casino Logos */
.casino-logo {
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.casino-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.casino-card-logo {
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.casino-card-logo:hover {
  transform: scale(1.1);
}

/* Casino Cards */
.casino-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--light-bg);
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.casino-card:hover::before {
  left: 100%;
}

/* Rating */
.rating {
  color: var(--accent-color);
}

/* Bonus Badge */
.bonus-badge {
  background: linear-gradient(135deg, var(--accent-color), #fbbf24);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Payment Methods */
.payment-method {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.payment-method:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonial-card {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: white;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  background: var(--secondary-color);
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--medium-gray);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modals */
.modal-content {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
}

/* Forms */
.form-control {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  color: var(--dark-text);
  border-radius: 8px;
  padding: 12px 16px;
}

.form-control:focus {
  background: var(--light-bg);
  border-color: var(--primary-color);
  color: var(--dark-text);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Progress Bars */
.progress-bar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Animations */
.floating-animation {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Background Sections */
.bg-light-section {
  background: var(--light-gray);
}

/* Badges */
.badge.bg-accent {
  background: var(--accent-color) !important;
}

.badge.bg-light {
  background: var(--light-gray) !important;
  color: var(--dark-text) !important;
  border: 1px solid var(--border-color) !important;
}

/* Accordion */
.accordion-button {
  background: var(--light-bg);
  color: var(--dark-text);
  border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .casino-logo {
    max-height: 60px;
  }
  
  .casino-card-logo {
    max-height: 50px;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-to-top,
  .loading-spinner {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-muted: #000000;
  }
  
  .card {
    border: 2px solid var(--border-color);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-color);
  }
} 