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

:root {
  --primary-color: #033954;
  --accent-color: #00dd99;
  --bg-color: #ffffff;
  --bg-secondary: #f6f7f7;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

.header {
  background-color: var(--primary-color);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}

.logo h1 {
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin: 0;
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

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

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

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

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

.btn-primary,
.btn-secondary,
.btn-claim {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

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

.btn-primary:hover {
  background-color: #00c785;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 221, 153, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

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

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #055a7d 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
}

.betting-houses-section {
  padding: 60px 0;
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
}

.betting-houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.betting-house-card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.betting-house-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.bookmaker-logo {
  display: flex;
  align-items: center;
}

.bookmaker-img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.bookmaker-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stars {
  color: #ffa500;
  font-size: 14px;
  letter-spacing: 2px;
}

.rating-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.card-body {
  flex: 1;
  margin-bottom: 20px;
}

.bonus-info {
  background-color: var(--bg-secondary);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.bonus-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bonus-amount {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-color);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid var(--bg-secondary);
}

.features-list li:last-child {
  border-bottom: none;
}

.card-footer {
  margin-top: auto;
}

.btn-claim {
  width: 100%;
  background-color: var(--accent-color);
  color: white;
  padding: 14px;
  font-size: 16px;
}

.btn-claim:hover {
  background-color: #00c785;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 221, 153, 0.3);
}

.comparison-section {
  padding: 60px 0;
  background-color: white;
}

.comparison-table {
  overflow-x: auto;
  margin-top: 32px;
  box-shadow: var(--card-shadow);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

thead {
  background-color: var(--primary-color);
  color: white;
}

th {
  padding: 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}

th.event-column {
  min-width: 250px;
}

tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: var(--bg-secondary);
}

td {
  padding: 16px;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-info strong {
  font-weight: 700;
  color: var(--text-primary);
}

.event-time {
  font-size: 12px;
  color: var(--text-secondary);
}

.odds-cell {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.odds-cell:hover {
  background-color: var(--accent-color);
  color: white;
}

.best-odds {
  background-color: #e8f9f3;
  color: var(--accent-color);
  position: relative;
}

.best-odds::after {
  content: '🏆';
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 12px;
}

.info-section {
  padding: 60px 0;
  background-color: var(--bg-secondary);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.info-card {
  background-color: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.info-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.info-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-section {
  padding: 60px 0;
  background-color: white;
}

.faq-list {
  max-width: 800px;
  margin: 32px auto 0;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--card-shadow);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  background-color: white;
  border-left: 4px solid var(--accent-color);
}

.faq-question h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 24px 20px;
  background-color: white;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 48px 0 24px;
}

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

.footer-column h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

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

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
  }

  .main-nav {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .betting-houses-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 12px;
  }

  th,
  td {
    padding: 8px;
  }

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

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

@media (min-width: 769px) and (max-width: 1024px) {
  .betting-houses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Estilo para la ventana emergente */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden; /* Invisible por defecto */
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.popup button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.popup button:hover {
    background-color: #45a049;
}

.popup .close {
    background-color: #f44336;
}

/* Estilo para ocultar la ventana si la cookie está presente */
.hidden {
    visibility: hidden;
}
