/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('/assets/images/background/web_background_desktop.png') no-repeat center center
    fixed;
  background-size: cover;
  color: white;
}

/* News Slider */
.news-slider {
  width: 100%;
  height: 600px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 20px;
}

.news-content {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-align: center;
}

.slider-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.slider-buttons button {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slider-buttons button.active {
  background: #ff4081;
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .news-slider {
    height: auto;
  }

  .news-content {
    font-size: 1.5rem;
  }
}

.player-profile-playerranking,
.club-logo-playerranking {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.rank-logo-playerranking {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.styled-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px;
  margin-top: 1px;
  margin-bottom: 1px;
  position: relative;
}

.styled-heading {
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  color: #ffd700;
  -webkit-text-stroke: 3px #ff4500;
  text-shadow:
    0 0 15px #ff4500,
    0 0 30px #ff6347,
    0 0 45px #ff4500;
  background-color: rgba(0, 140, 255, 0.308);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
}

#filter-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

#filter-container .form-label {
  font-weight: bold;
  margin-right: 10px;
}

#filter-container .form-select,
#filter-container .form-control {
  max-width: 300px;
  flex-grow: 1;
}

@media (max-width: 768px) {
  #filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #filter-container .form-select,
  #filter-container .form-control {
    max-width: 100%;
  }

  #filter-container label {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .styled-heading {
    font-size: 2.5rem;
    padding: 10px 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }

  .styled-header-container {
    margin-top: 10px;
  }
}

/* ปุ่ม View Profile */
.view-profile-button {
  display: inline-block;
  padding: 1px 5px;
  font-size: 0.6rem;
  color: white;
  background-color: #00a2ffc5;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view-profile-button:hover {
  background-color: #0056b3;
}
