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

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  background: #000;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-content {
  width: 100%;
}

.logo-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.logo-container img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  display: block;
}

.login-status {
  color: #4A9EFF;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
}

.login-status a {
  color: #4A9EFF;
  text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: #333;
  border-radius: 5px;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 2000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #4A9EFF;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #1a1a1a;
  transition: 0.3s;
  z-index: 1500;
  overflow-y: auto;
  padding-top: 60px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.nav-menu.active {
  right: 0;
}

.nav-menu a {
  display: block;
  padding: 15px 25px;
  color: #4A9EFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  transition: 0.3s;
}

.nav-menu a:hover {
  background: #333;
  padding-left: 35px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

/* Search Form */
.search-container {
  padding: 20px;
  text-align: center;
}

.search-container input[type="text"] {
  padding: 10px;
  width: 70%;
  max-width: 300px;
  border: 2px solid #333;
  background: #1a1a1a;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
}

.search-container input[type="submit"] {
  padding: 10px 20px;
  background: #4A9EFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .search-container {
    padding: 15px;
  }
  
  .search-container input[type="text"] {
    width: calc(100% - 100px);
    max-width: none;
    padding: 8px;
    font-size: 13px;
  }
  
  .search-container input[type="submit"] {
    padding: 8px 15px;
    margin-left: 5px;
    font-size: 13px;
  }
}

/* Content */
.content {
  width: 100%;
  margin: 0;
  padding: 7px;
}

.news-item {
  background: #1a1a1a;
  margin-bottom: 7px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.news-content {
  display: flex;
  gap: 10px;
  padding: 7px;
  align-items: flex-start;
}

.news-image {
  flex-shrink: 0;
  width: 125px;
}

.news-image img {
  width: 125px;
  height: 125px;
  border-radius: 5px;
  display: block;
  object-fit: cover;
}

.news-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.news-text a {
  color: #4A9EFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.news-date {
  color: #888;
  font-size: 11px;
  margin: 5px 0;
}

.news-body {
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
}

/* Scores Section */
.scores-section {
  background: #1a1a1a;
  padding: 7px;
  border-radius: 2px;
  margin: 7px 0;
}

.scores-title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #4A9EFF;
  margin-bottom: 7px;
}

.scores-subtitle {
  text-align: center;
  font-size: 11px;
  color: #888;
  margin-bottom: 7px;
}

.score-item {
  display: flex;
  gap: 10px;
  margin-bottom: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid #333;
  align-items: flex-start;
}

.score-item:last-child {
  border-bottom: none;
}

.score-image {
  flex-shrink: 0;
  width: 125px;
}

.score-image img {
  width: 125px;
  height: 125px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
}

.score-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.score-name {
  color: #4A9EFF;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.score-date, .score-comments {
  color: #888;
  font-size: 11px;
  line-height: 1.4;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: #888;
  font-size: 12px;
  border-top: 1px solid #333;
  margin-top: 30px;
}

.footer a {
  color: #4A9EFF;
  text-decoration: none;
  margin: 0 5px;
}

.ad-banner {
  text-align: center;
  margin: 20px 0;
}

.ad-banner img {
  max-width: 100%;
  height: auto;
}

/* Standings Page Styles */
.standings-header {
  text-align: center;
  padding: 20px 7px;
  background: #1a1a1a;
  margin-bottom: 7px;
  border-radius: 2px;
}

.standings-header h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.standings-info {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ccc;
}

.year-link {
  margin-top: 10px;
}

.year-link a {
  color: #4A9EFF;
  text-decoration: none;
  font-size: 12px;
}

.search-label {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ccc;
}

.search-hint {
  font-size: 11px;
  color: #888;
  margin-top: 5px;
}

.search-results {
  font-size: 13px;
  color: #4A9EFF;
  margin-top: 10px;
}

.filter-toggle {
  text-align: center;
  padding: 10px 7px;
  background: #1a1a1a;
  margin-bottom: 7px;
  border-radius: 2px;
}

.filter-toggle a {
  color: #4A9EFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.entry-count {
  text-align: center;
  font-size: 13px;
  color: #ccc;
  padding: 7px;
}

.no-results {
  text-align: center;
  padding: 20px;
  background: #1a1a1a;
  color: #FFFF00;
  border-radius: 2px;
  margin: 10px 0;
}

.standings-section {
  background: #1a1a1a;
  padding: 7px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.section-header {
  display: flex;
  gap: 10px;
  padding: 10px 7px;
  border-bottom: 2px solid #333;
  margin-bottom: 7px;
  font-weight: bold;
  color: #4A9EFF;
  font-size: 14px;
}

.col-avatar {
  width: 125px;
  flex-shrink: 0;
}

.col-name {
  flex: 1;
}

.col-name a {
  color: #4A9EFF;
  text-decoration: none;
}

.col-score {
  width: 50px;
  text-align: center;
  flex-shrink: 0;
}

.col-score a {
  color: #4A9EFF;
  text-decoration: none;
}

.player-item {
  display: flex;
  gap: 10px;
  padding: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid #333;
  align-items: flex-start;
}

.player-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.favorite-item {
  background: #252525;
}

.player-avatar {
  width: 125px;
  flex-shrink: 0;
}

.player-avatar img {
  width: 125px;
  height: 125px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
}

.player-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.player-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.4;
}

.player-name a {
  color: #4A9EFF;
  text-decoration: none;
}

.star-icon {
  width: 15px;
  height: 14px;
  margin-left: 5px;
  vertical-align: middle;
}

.pick-match {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: #888;
  margin-left: 10px;
  margin-top: 3px;
}

.player-comments {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
  margin-top: 5px;
}

.player-score {
  width: 50px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .logo-container img {
    max-height: 100px;
  }
  
  .search-container input[type="text"] {
    width: calc(100% - 80px);
    padding: 8px;
    font-size: 12px;
  }
  
  .search-container input[type="submit"] {
    padding: 8px 12px;
    margin-left: 5px;
    font-size: 12px;
  }
  
  .content {
    padding: 7px;
  }
  
  .news-content, .score-item {
    gap: 8px;
  }
  
  .standings-header h1 {
    font-size: 22px;
  }
  
  .player-avatar {
    width: 100px;
  }
  
  .player-avatar img {
    width: 100px;
    height: 100px;
  }
  
  .col-avatar {
    width: 100px;
  }
  
  .player-score {
    width: 45px;
    font-size: 14px;
  }
  
  .col-score {
    width: 45px;
  }
}