/* Main Styles */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f97316;
  --accent-color: #22c55e;
  --dark-color: #111827;
  --light-color: #f3f4f6;
  --text-color: #374151;
  --white: #ffffff;
  --nfl-color: #013369;
  --nba-color: #006bb6;
  --mlb-color: #bf0d3e;
  --nhl-color: #000000;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-image: url('https://public.youware.com/users-website-assets/prod/cc05d890-c1d2-4d32-b408-c7a6bbcabcb1/g19b53b33f4499ffd7761a8fd57d8228cecd9e6c5b769b334e7b82302e64fed122be70f81a9eb9bca9774e7462e3cea18ffccaacc48ad12c76f8b30ed3ff49e42_640.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e86408;
}

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

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

.section-title span {
  color: var(--secondary-color);
}

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

.pick-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header .league {
  font-weight: 600;
}

.card-header .date {
  font-size: 0.9rem;
  opacity: 0.9;
}

.card-content {
  padding: 1.5rem;
}

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

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team img {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

.vs {
  font-weight: 700;
}

.prediction {
  background-color: var(--light-color);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.prediction p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.prediction .pick {
  color: var(--primary-color);
}

.stats {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  font-size: 0.9rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Sports Sections */
.sports-section {
  background-color: var(--white);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.sport-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

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

.sport-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

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

.sport-card p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.nfl {
  background-color: rgba(1, 51, 105, 0.1);
}

.nba {
  background-color: rgba(0, 107, 182, 0.1);
}

.mlb {
  background-color: rgba(191, 13, 62, 0.1);
}

.nhl {
  background-color: rgba(0, 0, 0, 0.05);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-about p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links h3, .footer-contact h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Sport-specific pages */
.sport-header {
  padding: 3rem 0;
  text-align: center;
  color: var(--white);
}

.nfl-header {
  background-color: var(--nfl-color);
}

.nba-header {
  background-color: var(--nba-color);
}

.mlb-header {
  background-color: var(--mlb-color);
}

.nhl-header {
  background-color: var(--nhl-color);
}

.sport-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sport-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* History Page */
.history-section {
  padding: 4rem 0;
}

.history-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.history-table th, .history-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.history-table th {
  background-color: var(--primary-color);
  color: var(--white);
}

.history-table tr:nth-child(even) {
  background-color: #f9fafb;
}

.history-table tr:hover {
  background-color: #f3f4f6;
}

.result-win {
  color: var(--accent-color);
  font-weight: 600;
}

.result-loss {
  color: #ef4444;
  font-weight: 600;
}

.result-push {
  color: #f59e0b;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-links {
    margin-top: 1rem;
  }
  
  .nav-links li {
    margin: 0 0.7rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .picks-container, .sports-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-info li {
    justify-content: center;
  }
  
  .history-filters {
    flex-wrap: wrap;
  }
  
  .filter-btn {
    margin-bottom: 0.5rem;
  }
  
  .history-table {
    font-size: 0.8rem;
  }
  
  .history-table th, .history-table td {
    padding: 0.7rem;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links.active li {
    margin: 0.5rem 0;
  }
  
  .matchup {
    flex-direction: column;
  }
  
  .vs {
    margin: 1rem 0;
  }
}