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

body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.header {
  position: relative;
  width: 100%;
  background-color: #0a0a0a;
}

.navbar {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

main {
  width: 100%;
  min-height: 100vh;
  background-color: #0a0a0a;
  padding-top: 0;
}

/* Home page hero background */
body.home-page {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

html.home-page {
  overflow: hidden;
  height: 100vh;
}

body.home-page .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
}

.home-page main {
  height: 100vh;
  width: 100vw;
  padding-top: 0;
  overflow: hidden;
  position: relative;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Standings page styles */
.standings-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Picks page styles */
.picks-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
  text-align: left;
}

.coming-soon {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.6;
  max-width: 800px;
  text-align: left;
}

.coming-soon h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #fff;
}

.coming-soon h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: #fff;
}

.coming-soon p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
}

.coming-soon ul {
  margin: 0 0 1.5rem 0;
  padding-left: 2rem;
  list-style-type: disc;
}

.coming-soon li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.standings-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  font-family: 'Manrope', sans-serif;
  background-color: transparent;
  margin: 0 auto;
}

.standings-table thead {
  border-bottom: 1px solid #333;
}

.standings-table th {
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.standings-table th:first-child {
  width: 80px;
}

.standings-table th:nth-child(2) {
  width: auto;
}

.standings-table th:nth-child(3) {
  width: 100px;
  text-align: center;
}

.standings-table tbody tr {
  border-bottom: 1px solid #1a1a1a;
  transition: background-color 0.2s ease;
}

.standings-table tbody tr:hover {
  background-color: #151515;
}

.standings-table td {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 400;
}

.standings-table td:first-child {
  font-weight: 600;
  color: #ccc;
}

.standings-table td:nth-child(3) {
  text-align: center;
}

/* Detailed scores section */
.detailed-scores-section {
  margin-top: 4rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  position: relative;
  background-color: #0a0a0a;
}

.detailed-scores-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 100%;
  background-color: #0a0a0a;
  z-index: 21;
  pointer-events: none;
}

.detailed-scores-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 2rem;
}

.detailed-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 0;
  padding: 0 2rem;
  position: relative;
}

/* Custom scrollbar styling for dark mode */
.detailed-table-wrapper::-webkit-scrollbar {
  height: 12px;
}

.detailed-table-wrapper::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 6px;
}

.detailed-table-wrapper::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 6px;
  border: 2px solid #1a1a1a;
}

.detailed-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox scrollbar styling */
.detailed-table-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #444 #1a1a1a;
}

.detailed-table-wrapper::before {
  content: '';
  position: sticky;
  left: -2rem;
  top: 0;
  width: 2rem;
  height: 100%;
  background-color: #0a0a0a;
  z-index: 20;
  pointer-events: none;
  display: block;
}

.detailed-scores-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  font-family: 'Manrope', sans-serif;
  background-color: transparent;
  font-size: 0.7rem;
}

.detailed-scores-table thead {
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  background-color: #0a0a0a;
  z-index: 10;
}

.detailed-scores-table th {
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.detailed-scores-table th:first-child {
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: sticky;
  left: 0;
  background-color: #0a0a0a;
  z-index: 11;
  min-width: 60px;
  width: 60px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.detailed-scores-table th:nth-child(2) {
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: sticky;
  left: 60px;
  background-color: #0a0a0a;
  z-index: 11;
  min-width: 120px;
  width: 120px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.detailed-scores-table tbody tr {
  border-bottom: 1px solid #1a1a1a;
  transition: background-color 0.2s ease;
}

.detailed-scores-table tbody tr:hover {
  background-color: #151515;
}

.detailed-scores-table td {
  padding: 0.5rem 0.25rem;
  text-align: center;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
}

.detailed-scores-table td:first-child {
  font-weight: 600;
  color: #ccc;
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: sticky;
  left: 0;
  background-color: #0a0a0a;
  z-index: 10;
  min-width: 60px;
  width: 60px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.detailed-scores-table td:nth-child(2) {
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: sticky;
  left: 60px;
  background-color: #0a0a0a;
  z-index: 10;
  min-width: 120px;
  width: 120px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.detailed-scores-table tbody tr:hover td:first-child,
.detailed-scores-table tbody tr:hover td:nth-child(2) {
  background-color: #151515;
}

.detailed-scores-table thead th:first-child,
.detailed-scores-table thead th:nth-child(2) {
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

/* Picks table - Name column is wider since it's the only sticky column */
.picks-table th:first-child {
  min-width: 120px;
  width: 120px;
}

.picks-table td:first-child {
  min-width: 120px;
  width: 120px;
}

/* Remove sticky behavior from second column in picks table */
.picks-table th:nth-child(2),
.picks-table td:nth-child(2) {
  position: static;
  left: auto;
  background-color: transparent;
  box-shadow: none;
  z-index: auto;
}

/* Mobile styles - full screen hero image */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #0a0a0a;
  }
  
  /* Make hero image full screen on mobile - covers entire viewport */
  .home-page {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }

  .home-page main {
    height: 100vh;
    width: 100vw;
    min-height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
  }

  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .header {
    position: relative;
    width: 100%;
    background-color: #0a0a0a;
  }

  body.home-page .header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
  }
  
  .navbar {
    padding: 1rem 1.5rem;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  /* Remove padding-top on mobile for all pages */
  main {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  /* Ensure containers don't create extra space */
  .standings-container,
  .picks-container {
    padding-bottom: 2rem;
    margin-bottom: 0;
  }
  
  /* Remove any white space at bottom */
  body > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
