@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --border-primary: #2a2a2a;
  --border-hover: #3a3a3a;
  --text-primary: #fff;
  --text-secondary: #c0c0c0;
  --text-muted: #a0a0a0;
  --accent-green: #00ff88;
  --accent-blue: #00ccff;
  --warning: #ffaa00;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

.header {
  background-color: #000;
  border-bottom: 1px solid var(--border-primary);
  padding: 5px 0;
}

.header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 200px;
}

.main-content {
  min-height: calc(100vh - 200px);
}

.hero {
  text-align: center;
  margin-bottom: 80px;
  background: linear-gradient(135deg, #1a1a3e, #2d1b4e, #1a1a3e, #3e2357);
  background-size: 400% 400%;
  animation: heroGradient 8s ease-in-out infinite;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.features {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.features-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.features-item {
  font-size: 16px;
  color: var(--accent-green);
  font-weight: 500;
}

.features-warning {
  font-size: 14px;
  color: var(--warning);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casinos {
  margin-bottom: 80px;
}

.casino-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-hover);
}

.casino-card.codere {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.casino-card.codere::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ffd700,
    #ffed4e,
    #ffa500,
    #ff8c00,
    #ffd700,
    #ffed4e
  );
  background-size: 300% 300%;
  border-radius: 16px;
  z-index: -1;
  animation: goldenShimmer 3s ease-in-out infinite;
}

@keyframes goldenShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

.casino-logo img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

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

.stars {
  color: var(--accent-green);
  font-size: 20px;
  margin-bottom: 4px;
}

.evaluations {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bonus-section {
  text-align: center;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
}

.bonus-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bonus-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.bonus-amount .amount {
  color: var(--accent-green);
  font-size: 22px;
}

.score-section {
  text-align: center;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
}

.score-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.score {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-green);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
  text-align: center;
}

.review-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.factor-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

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

.factor-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.factor-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.tips-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.tip-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.tip-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.tip-icon {
  color: var(--accent-green);
  font-size: 20px;
  margin-top: 4px;
  flex-shrink: 0;
}

.tip-content {
  flex: 1;
}

.tip-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tip-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.conclusion {
  background-color: var(--bg-card);
  margin-bottom: 80px;
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.conclusion-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.conclusion-content {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.casino-reviews {
  margin-bottom: 80px;
}

.review-container {
  margin-bottom: 80px;
}

.review-container:target {
  scroll-margin-top: 100px;
}

.review-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 40px;
  margin-top: 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

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

.review-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.review-card-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-green);
}

.responsible-gaming {
  max-width: 800px;
  margin: 0 auto;
}

.responsible-gaming-main {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.responsible-gaming-warning {
  font-size: 12px;
  color: var(--warning);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-compliance {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.compliance-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.compliance-icon {
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.icon-badge {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.icon-badge:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.icon-text {
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.icon-badge.saber-jugar {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.icon-badge.autoexclusion {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.icon-badge.loteria-ba {
  background: linear-gradient(135deg, #059669, #10b981);
}

.icon-badge.linea-orientacion {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--text-primary);
}

.legal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 40px;
}

.legal-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  text-align: center;
}

.legal-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
}

.legal-section {
  margin-bottom: 40px;
  padding: 24px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border-left: 4px solid var(--accent-green);
}

.legal-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-section-content {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section-items {
  list-style: none;
  margin-left: 0;
}

.legal-section-items li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.legal-section-items li:before {
  content: "•";
  color: var(--accent-green);
  position: absolute;
  left: 0;
}

.legal-subsection {
  margin-top: 20px;
  padding-left: 16px;
}

.legal-subsection-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-primary);
  text-align: center;
}

.legal-last-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-footer-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.contact-icon {
  font-size: 64px;
  color: var(--accent-green);
  margin-bottom: 32px;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-button {
  display: inline-block;
  padding: 20px 40px;
  background-color: var(--accent-green);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.contact-footer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mobile styles */
@media (max-width: 768px) {
  .casino-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

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

@media (min-width: 769px) {
  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .features-list {
    gap: 60px;
  }

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

  .review-factors {
    grid-template-columns: 1fr 1fr;
  }

  .tips-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-links {
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .hero {
    margin-bottom: 120px;
  }

  .section {
    margin-bottom: 120px;
  }
}
