:root {
  --primary: #6d4c41;
  --secondary: #f5f5f5;
  --accent: #ffd54f;
  --white: #ffffff;
  --black: #333333;
  --gray-light: #e0e0e0;
  --gray-medium: #9e9e9e;
  --gray-dark: #616161;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

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

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.modal-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.age-buttons .btn-primary,
.age-buttons .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  min-width: 160px;
}

.age-buttons .btn-primary {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.age-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  background: linear-gradient(135deg, #45a049, #3d8b40);
}

.age-buttons .btn-secondary {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.age-buttons .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

.age-buttons .btn-primary:active,
.age-buttons .btn-secondary:active {
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: var(--transition);
}

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

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-buttons .btn-accent {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #ffc107);
  color: var(--black);
  box-shadow: 0 4px 15px rgba(255, 213, 79, 0.3);
  text-decoration: none;
}

.cookie-buttons .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 213, 79, 0.4);
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: var(--black);
}

.cookie-buttons a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition);
}

.cookie-buttons a:hover {
  color: var(--white);
  text-decoration: none;
}

.header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 0;
  object-fit: contain;
}

.nav-brand h1 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: var(--transition);
}

.hero {
  background: linear-gradient(135deg, var(--secondary), var(--white));
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow);
}

.casinos-section {
  padding: 4rem 0;
  background: var(--secondary);
}

.casinos-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.casino-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.casino-placeholder p {
  font-size: 1.2rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.casino-placeholder p:last-child {
  margin-bottom: 0;
}

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

.casino-card {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  position: relative;
  border: 1px solid #34495e;
  color: var(--white);
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-dark);
}

.casino-card.featured {
  border: 2px solid var(--accent);
}

.casino-card.featured::before {
  content: "RECOMENDADO";
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.casino-logo {
  flex: 1;
}

.casino-logo .logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0.9);
  transition: var(--transition);
  border-radius: 0;
}

.casino-card:hover .casino-logo .logo-img {
  filter: brightness(1);
  transform: scale(1.05);
}

.casino-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  color: var(--accent);
  font-size: 1.2rem;
}

.rating-number {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 700;
}

.casino-info p {
  margin-bottom: 0.5rem;
}

.casino-country {
  color: #bdc3c7;
  font-weight: 600;
}

.casino-license {
  color: #27ae60;
  font-size: 0.9rem;
  font-weight: 500;
}

.casino-description {
  color: #ecf0f1;
  line-height: 1.5;
  margin: 1rem 0;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.casino-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5d4037);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(109, 76, 65, 0.3);
  min-width: 200px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 76, 65, 0.4);
  background: linear-gradient(135deg, #5d4037, #4e342e);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--black);
}

.btn-accent {
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.features-section {
  padding: 4rem 0;
  background: var(--white);
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--secondary);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-dark);
  line-height: 1.6;
}

.bonuses-section {
  padding: 4rem 0;
  background: var(--secondary);
}

.bonuses-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

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

.bonus-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.bonus-card:hover {
  transform: translateY(-5px);
}

.bonus-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.bonus-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.bonus-card li {
  padding: 0.5rem 0;
  color: var(--gray-dark);
}

.bonus-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  margin-right: 0.5rem;
}

.bonus-terms {
  font-size: 0.9rem;
  color: var(--gray-medium);
  font-style: italic;
}

.trust-section {
  padding: 4rem 0;
  background: var(--white);
}

.trust-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.trust-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.trust-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.trust-info ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.trust-info li {
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.responsible-gaming {
  background: var(--secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.responsible-gaming h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.rg-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.rg-logo {
  height: 60px;
  width: auto;
  transition: var(--transition);
  max-width: 100%;
}

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

.contact-section {
  padding: 4rem 0;
  background: var(--secondary);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--gray-dark);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-item address {
  color: var(--gray-dark);
  font-style: normal;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--black);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid var(--gray-dark);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover .checkmark {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition);
}

.checkbox-label a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

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

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

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

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-rg-logos {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-rg-logo {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.footer-rg-logo:hover {
  transform: scale(1.1);
}

.age-warning {
  background: var(--warning);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-top: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }

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

  .hero-stats {
    justify-content: center;
  }

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

  .trust-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .age-buttons {
    flex-direction: column;
  }

  .container {
    padding: 0 15px;
  }

  .navbar {
    padding: 1rem;
  }

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

  .checkbox-label {
    font-size: 0.9rem;
  }

  .checkmark {
    width: 18px;
    height: 18px;
  }

  .rg-logos {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .rg-logo {
    height: 50px;
  }

  .casino-logo .logo-img {
    height: 35px;
    max-width: 120px;
  }

  .casino-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .casino-rating {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .wheel-container {
    transform: scale(0.8);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rg-logos {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .rg-logo {
    height: 45px;
  }

  .casino-logo .logo-img {
    height: 30px;
    max-width: 100px;
  }
}
