/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 15px 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  font-size: 14px;
}

.cookie-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.btn-accept {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.btn-accept:hover {
  background: #2563eb;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Updated logo styling for text instead of image */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  display: inline-block;
}

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

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #4b5563;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #f8fafc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Featured Casino */
.featured-casino {
  padding: 80px 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
}

.casino-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.casino-card.featured {
  border: 3px solid #fbbf24;
  position: relative;
}

.casino-card.featured::before {
  content: "RECOMENDADO";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #1f2937;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

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

/* Updated casino logo styling for text instead of image */
.casino-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Added styling for large casino logo text */
.casino-logo-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.casino-rating {
  text-align: right;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.rating-text {
  color: #6b7280;
  font-weight: 500;
}

.casino-info {
  margin-bottom: 2rem;
}

.casino-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.detail-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1f2937;
}

.detail-value.highlight {
  color: #059669;
  font-size: 1.3rem;
}

.casino-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.casino-features li {
  color: #059669;
  font-weight: 500;
}

.casino-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  padding: 15px 30px;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
}

/* Content Section */
.content-section {
  padding: 80px 0;
  background: #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.content-main h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.content-main h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 2rem 0 1rem;
}

.content-main p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content-main ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-main li {
  color: #4b5563;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trust-badges,
.newsletter-signup {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
}

.trust-badges h4,
.newsletter-signup h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
}

.trust-badge {
  width: 100%;
  height: auto;
  max-width: 80px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #3b82f6;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 60px 0 0;
}

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

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
}

/* Updated footer logo styling for text instead of image */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-column h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Updated security badge styling to handle both text and images */
.security-badge {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.security-badge:not(img) {
  background: #374151;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  height: auto;
  filter: none;
}

.age-verification {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.age-icon {
  height: 30px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 2rem 0;
}

.disclaimer p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Added styling for widget logo text */
.widget-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

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

.back-to-top:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .casino-details {
    grid-template-columns: 1fr;
  }

  .casino-features {
    grid-template-columns: 1fr;
  }

  .casino-actions {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Added responsive styling for text logos */
  .logo {
    font-size: 1.25rem;
  }

  .casino-logo {
    font-size: 1.5rem;
  }

  .casino-logo-large {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .casino-card {
    padding: 1.5rem;
  }

  .casino-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Added mobile responsive styling for text logos */
  .logo {
    font-size: 1.1rem;
  }

  .casino-logo {
    font-size: 1.3rem;
  }

  .casino-logo-large {
    font-size: 1.8rem;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .cookie-banner {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
