/* Normalize CSS integration */
@import url('./normalize.css');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-bg: #0a0a0a;           /* Main background */
  --secondary-bg: #1a1a1a;        /* Card backgrounds */
  --tertiary-bg: #2a2a2a;         /* Section backgrounds */
  
  /* Accent Colors */
  --accent-orange: #ff6b35;        /* Primary CTA buttons */
  --accent-green: #10b981;         /* CTA JUGAR buttons */
  --accent-gold: #ffd700;          /* Star ratings */
  --accent-purple: #8b5cf6;        /* Secondary accents */
  --accent-blue: #3b82f6;          /* Links and highlights */
  
  /* Text Colors */
  --text-primary: #ffffff;         /* Main text */
  --text-secondary: #cccccc;       /* Secondary text */
  --text-muted: #888888;           /* Muted text */
  --text-accent: #ff6b35;          /* Accent text */
  
  /* UI Colors */
  --border-color: #333333;         /* Borders */
  --success-color: #10b981;        /* Success states */
  --warning-color: #f59e0b;        /* Warning states */
  --error-color: #ef4444;          /* Error states */
}

/* Base Typography and Layout */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary-bg) url('/public/images/backgrounds/bg-body.jpg') fixed center center / cover no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-weight: 400;
}

/* Layout Components */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: var(--primary-bg);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  opacity: 0.85;
}

.site-header h1 {
  margin: 0 0 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header h1 a {
  display: block;
  text-decoration: none;
}

.site-logo {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.site-header .header-title {
  font-size: 2em;
  color: var(--text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header .subtitle {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mexico-flag {
  font-size: 1.5em;
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

.header-date {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.9em;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.header-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9em;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.feature-item:hover {
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.feature-item i {
  color: var(--accent-orange);
  font-size: 1.1em;
  min-width: 16px;
}

/* Main Content */
.main-content {
  padding: 40px 0;
}

/* Casino List */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

/* Casino Card Components */
.casino-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  min-height: 100px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
}

.casino-logo {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tertiary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-logo-placeholder {
  color: var(--text-muted);
  font-size: 2em;
}

.casino-info {
  flex: 1;
  padding-left: 20px;
  padding-right: 20px;
}

.casino-info h3 {
  color: var(--text-primary);
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: 'Inter', sans-serif;
}

.casino-info .description {
  color: var(--text-secondary);
  font-size: 0.9em;
  margin: 0 0 8px 0;
}

.casino-info .bonus {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 1em;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.casino-rating {
  flex: 0 0 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rating-stars {
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-size: 1.2em;
  letter-spacing: 3px;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.rating-stars i {
  display: inline-block;
  margin-right: 2px;
}

.rating-stars i:last-child {
  margin-right: 0;
}

.rating-number {
  background: var(--accent-orange);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1em;
  min-width: 50px;
  font-family: 'Inter', sans-serif;
}

.casino-cta {
  flex: 0 0 120px;
  text-align: right;
}

/* Button Components */
.btn-primary {
  background: var(--accent-orange);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Green CTA Buttons for JUGAR */
.btn-jugar {
  background: var(--accent-green);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
}

.btn-jugar:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-jugar:active {
  transform: scale(0.98);
}

/* Detailed Reviews Section */
.detailed-reviews {
  margin-top: 60px;
}

.detailed-reviews h2 {
  color: var(--text-primary);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.review-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.review-header .casino-logo {
  margin-right: 20px;
}

.review-header h3 {
  color: var(--text-primary);
  font-size: 1.8em;
  margin: 0;
}

.review-content {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.review-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 30px;
}

.review-features li:before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Age Verification Modal */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.age-verification-modal {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  text-align: center;
}

.age-verification-modal h2 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.age-verification-modal p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.age-verification-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-success {
  background: var(--success-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: var(--error-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-danger:hover {
  background: #dc2626;
}

/* Footer */
.site-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 60px;
  opacity: 0.85;
}

.footer-content {
  margin-bottom: 30px;
}

.footer-main {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9em;
}

.footer-nav a:hover {
  color: var(--accent-orange);
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9em;
}

/* Hidden class for JavaScript */
.hidden {
  display: none !important;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: #e55a2b;
}

/* 3 Column Layout for Detailed Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.review-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-column .review-content {
  flex: 1;
}

.review-column .review-cta {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}

.review-column .review-cta .btn-primary,
.review-column .review-cta .btn-jugar {
  width: 100%;
  display: block;
  text-align: center;
  padding: 15px 24px;
  font-size: 1.1em;
  font-weight: bold;
}

/* Responsive adjustments for 3-column layout */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Ensure equal height cards */
.review-column .review-header {
  margin-bottom: 20px;
}

.review-column .review-header .casino-logo {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.review-column .review-header h3 {
  font-size: 1.3em;
  margin-bottom: 8px;
}

.review-column .review-content h4 {
  font-size: 1.1em;
  margin: 15px 0 10px 0;
}

.review-column .review-features {
  font-size: 0.9em;
  line-height: 1.5;
}

.review-column .review-features li {
  margin-bottom: 5px;
}

/* Casino Guide Section Styles */
.casino-guide {
  background: var(--secondary-bg);
  padding: 60px 0;
  margin-top: 40px;
}

.casino-guide h2 {
  text-align: center;
  color: var(--text-primary);
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.guide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-intro {
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-secondary);
  font-size: 1.1em;
  line-height: 1.8;
}

.guide-intro p {
  margin-bottom: 20px;
}

.guide-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.guide-card {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.guide-card h3 {
  color: var(--accent-orange);
  font-size: 1.4em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-card h3 i {
  font-size: 1.2em;
}

.guide-card-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

.guide-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.guide-features li {
  color: var(--text-primary);
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.guide-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.guide-features li:last-child {
  border-bottom: none;
}

.guide-tips {
  text-align: center;
}

.guide-tips h3 {
  color: var(--text-primary);
  font-size: 2em;
  margin-bottom: 40px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

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

.tip-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
}

.tip-icon {
  background: var(--accent-orange);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5em;
  color: white;
}

.tip-card h4 {
  color: var(--text-primary);
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.tip-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95em;
}

/* Responsive adjustments for guide section */
@media (max-width: 768px) {
  .casino-guide {
    padding: 40px 0;
  }
  
  .casino-guide h2 {
    font-size: 2em;
  }
  
  .guide-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .guide-card {
    padding: 20px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .guide-intro {
    font-size: 1em;
  }
  
  /* Footer responsive adjustments */
  .footer-nav {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-nav a {
    font-size: 0.85em;
    padding: 5px 0;
  }
  
  /* Header responsive adjustments */
  .site-logo {
    max-height: 60px;
  }
  
  .site-header .subtitle {
    font-size: 1em;
    gap: 8px;
  }
  
  .mexico-flag {
    font-size: 1.3em;
  }
  
  .header-date {
    font-size: 0.85em;
  }
  
  /* Header features responsive */
  .header-features {
    gap: 20px;
    margin-top: 20px;
  }
  
  .feature-item {
    font-size: 0.8em;
    gap: 6px;
  }
  
  .feature-item i {
    font-size: 1em;
  }
} 