/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease;
  min-height: 70px;
}

.header.hide {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  transition: opacity 0.3s ease;
}

.brand-link:hover {
  opacity: 0.8;
}

.logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  max-width: 400px;
  justify-content: flex-end;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffd700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), url('../images/horse-racing-hero-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 6rem 0 4rem 0;
  text-align: center;
  margin-top: 0;
  padding-top: calc(80px + 6rem);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #333;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
}

.btn-outline {
  background: transparent;
  color: #333;
  border-color: #333;
}

.btn-outline:hover {
  background: #333;
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #1e3c72;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Platforms */
.featured-platforms {
  padding: 4rem 0;
  background: white;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.platform-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.platform-card.featured {
  border: 2px solid #ffd700;
}

.platform-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.platform-logo {
  height: 50px;
  width: auto;
}

.platform-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge.editor-choice {
  background: #ffd700;
  color: #333;
}

.badge.rating {
  background: #28a745;
  color: white;
}

.platform-content {
  padding: 1.5rem;
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e3c72;
}

.platform-description {
  color: #666;
  margin-bottom: 1rem;
}

.platform-bonus {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.bonus-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.bonus-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #333;
}

.platform-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.platform-features li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.platform-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.platform-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Platform Comparison */
.platform-comparison {
  padding: 4rem 0;
  background: #f8f9fa;
}

.comparison-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  background: #1e3c72;
  color: white;
  font-weight: 600;
}

.table-cell {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #e9ecef;
}

.table-row:hover {
  background: #f8f9fa;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.table-logo {
  height: 40px;
  width: auto;
}

.platform-name-small {
  font-weight: 600;
  color: #1e3c72;
}

.platform-license {
  font-size: 0.875rem;
  color: #666;
}

.rating-badge {
  background: #28a745;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.feature-yes {
  color: #28a745;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Editorial Independence */
.editorial-independence {
  padding: 4rem 0;
  background: white;
}

.editorial-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.editorial-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e3c72;
}

.editorial-content p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #1e3c72;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: #b0b8c1;
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #b0b8c1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid #2a5298;
  padding-top: 2rem;
}

.responsible-gaming {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.rg-icon {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: contain;
}

.rg-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-disclaimer {
  color: #b0b8c1;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-disclaimer p {
  margin-bottom: 0.5rem;
}

/* Platform Review Pages */
.platform-review {
  padding: 4rem 0;
  background: white;
}

.review-header {
  text-align: center;
  margin-bottom: 3rem;
}

.platform-info-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.platform-logo-large {
  height: 80px;
  width: auto;
}

.platform-details h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rating-score {
  background: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.125rem;
}

.rating-label {
  background: #ffd700;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

.platform-bonus-large {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
}

.bonus-amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #333;
}

.bonus-text {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.review-content {
  max-width: 800px;
  margin: 0 auto;
}

.review-section {
  margin-bottom: 3rem;
}

.review-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.review-section p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin: 1rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.bonus-highlight {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.bonus-highlight h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.bonus-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.pros h4,
.cons h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pros h4 {
  color: #28a745;
}

.cons h4 {
  color: #dc3545;
}

.pros ul,
.cons ul {
  list-style: none;
}

.pros ul li,
.cons ul li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.pros ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.cons ul li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: bold;
}

.cta-section {
  text-align: center;
  margin-top: 2rem;
}

/* Main Content */
.main-content {
  margin-top: 80px;
}

/* Policy Pages */
.policy-section {
  padding: 4rem 0;
  background: white;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content .policy-section {
  margin-bottom: 3rem;
}

.policy-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e3c72;
  margin: 1.5rem 0 0.5rem 0;
}

.policy-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.policy-content ul li {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.policy-content a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: 600;
}

.policy-content a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .nav-menu {
    max-width: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .table-cell {
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
  }
  
  .table-cell[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .responsible-gaming {
    justify-content: center;
  }
  
  .platform-info-large {
    flex-direction: column;
    gap: 1rem;
  }
  
  .platform-details h2 {
    font-size: 2rem;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .platform-actions {
    flex-direction: column;
  }
  
  .platform-logo-large {
    height: 60px;
  }
  
  .platform-details h2 {
    font-size: 1.75rem;
  }
}
