/* Mejores Casinos - Premium Royal Style CSS */
/* Deep Crimson Red (#8B0000) + Gold (#FFD700) Color Scheme */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #8B0000;
  --secondary-color: #FFD700;
  --dark-red: #5C0000;
  --light-gold: #FFF4CC;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --bg-light: #FFF8F0;
  --border-gold: #DAA520;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(139, 0, 0, 0.1);
}

h2 {
  font-size: 2rem;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-red);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-red) 100%);
  color: var(--text-light);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--border-gold) 50%, var(--secondary-color) 100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-light);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 80%;
}

nav a:hover {
  color: var(--secondary-color);
  background: rgba(255, 215, 0, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(139, 0, 0, 0.8), rgba(92, 0, 0, 0.9)), url('../images/hero-banner.webp') center/cover;
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  border: none;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--border-gold) 100%);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, var(--border-gold) 0%, var(--secondary-color) 100%);
  color: var(--dark-red);
}

/* Main Content */
main {
  padding: 3rem 0;
}

section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  border: 2px solid var(--light-gold);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid var(--light-gold);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.25);
  border-color: var(--secondary-color);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card-content {
  padding: 1.5rem;
}

.game-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.game-card p {
  color: #666;
  margin-bottom: 1rem;
}

.game-link {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.game-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
  border-radius: 15px;
  border: 2px solid var(--light-gold);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.15);
}

.feature img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Reviews */
.reviews {
  margin-top: 2rem;
}

.review {
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color);
}

.review-rating {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.review-text {
  color: #555;
  font-style: italic;
}

/* FAQ */
.faq-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 2px solid var(--light-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
}

.faq-question {
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 1rem;
  color: #555;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--border-gold) 50%, var(--secondary-color) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--light-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}

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

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.gold-text {
  color: var(--secondary-color);
}

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