/* ThunderTrackHub - US Horse Betting Aggregator */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Custom Color Scheme - Racing Theme */
:root {
  --primary-color: #2c3e50; /* Deep blue-gray */
  --secondary-color: #e74c3c; /* Racing red */
  --accent-color: #f39c12; /* Gold */
  --success-color: #27ae60; /* Green */
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #ecf0f1;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--white);
}

#top-sites {
  padding-top: 32px;
}

#how-to-choose {
  padding-top: 64px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.age-warning {
  background: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  border: 2px solid var(--white);
}

/* Navigation */
.nav-container {
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 1rem 0 0 0;
  transition: all 0.3s ease;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(231, 76, 60, 0.8)),
    url("https://ugc.same-assets.com/6YQZWIql1BHZUumHfeNc8qACiuE7xPnH.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background: #e67e22;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styling */
section {
  padding: 4rem 0;
}

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

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Betting Sites Grid */
.betting-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.betting-site-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.betting-site-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
}

.betting-site-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.rank-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem;
  border-radius: 50%;
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  height: 45px;
  background-color: #81b6eb60;
  padding: 4px;
  border-radius: 4px;
}

.site-rating {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--success-color);
  margin: 1rem 0;
}

.site-bonus {
  background: var(--background-light);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  color: var(--primary-color);
  font-weight: bold;
}

.site-features {
  list-style: none;
  margin: 1rem 0;
  height: 202px;
}

.site-features li {
  padding: 0.3rem 0;
  color: var(--text-light);
}

.site-features li::before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.bet-button {
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.bet-button:hover {
  background: #c0392b;
  transform: scale(1.05);
}

/* Tips Section */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tip-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.tip-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Responsible Gaming */
.responsible-gaming {
  background: var(--background-light);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.warning-badge {
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

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

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

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

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: 1rem;
    text-align: center;
    position: relative;
  }

  .logo span {
    font-size: 18px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--shadow);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
  }

  nav ul.mobile-menu-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    max-height: 400px;
  }

  nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    padding: 1rem 0;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

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

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

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
  }

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

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

  .betting-site-card {
    padding: 1.5rem;
  }
}
