/* Reset y Base */
* {margin: 0; padding: 0; box-sizing: border-box;}
html {scroll-behavior: smooth; font-size: 16px;}
body {font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.8; color: #2c3e50; background: #f4f7fa;}

/* Variables - Nueva Paleta */
:root {
  --primary: #1a5f3f;
  --secondary: #c9a961;
  --accent: #e74c3c;
  --dark: #0d1b2a;
  --light: #f4f7fa;
  --white: #ffffff;
  --gray: #7f8c8d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --gradient-primary: linear-gradient(135deg, #1a5f3f 0%, #0d3d28 100%);
  --gradient-gold: linear-gradient(135deg, #c9a961 0%, #a88a4d 100%);
}

/* Header - Nuevo Diseño */
header {
  background: var(--gradient-primary);
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1000;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

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

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-btn {
  background: var(--gradient-gold);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201,169,97,0.3);
  border: 2px solid transparent;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,169,97,0.4);
  border-color: var(--secondary);
}

/* Hero - Nuevo Diseño */
.hero {
  background: linear-gradient(rgba(13,27,42,0.75), rgba(26,95,63,0.65)), url('../images/hero-casino-mexico.webp') center/cover;
  padding: 120px 24px;
  text-align: center;
  color: var(--white);
  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(201,169,97,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  line-height: 1.6;
}

/* Sections - Nuevo Estilo */
section {
  padding: 80px 24px;
}

h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

h3 {
  font-size: 2rem;
  color: var(--primary);
  margin: 2.5rem 0 1.2rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: #34495e;
}

/* Game Cards - Nuevo Diseño */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.game-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.game-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover img {
  transform: scale(1.08);
}

.game-card-content {
  padding: 24px;
}

.game-card h3 {
  font-size: 1.6rem;
  margin: 0 0 12px 0;
  color: var(--dark);
}

.game-card p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* Reviews - Nuevo Diseño */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

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

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

.review-rating {
  color: var(--secondary);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.review-location {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-style: italic;
}

.review-text {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.review-date {
  color: #999;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: right;
}

/* FAQ - Nuevo Diseño */
.faq-item {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: '❓';
  font-size: 1.4rem;
}

.faq-answer {
  color: #555;
  line-height: 1.8;
  padding-left: 34px;
}

/* Footer - Nuevo Diseño */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 24px 24px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 45px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  padding-left: 0;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 35px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #95a5a6;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {font-size: 2.2rem;}
  .hero p {font-size: 1.1rem;}
  h2 {font-size: 2rem;}
  h3 {font-size: 1.5rem;}
  .nav-links {flex-direction: column; gap: 1rem; width: 100%;}
  nav {flex-direction: column;}
  .games-grid {grid-template-columns: 1fr;}
}

/* Animaciones */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

.game-card, .review-card, .faq-item {
  animation: fadeInUp 0.6s ease-out;
}
