/* style/leaderboard-all-time-high.css */
.page-leaderboard-all-time-high {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #000080; /* Deep blue background */
  line-height: 1.6;
}

.page-leaderboard-all-time-high__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-leaderboard-all-time-high__section {
  padding: 60px 0;
  text-align: center;
}

.page-leaderboard-all-time-high__section:nth-of-type(even) {
  background-color: #000066; /* Slightly lighter deep blue for contrast */
}

.page-leaderboard-all-time-high h1,
.page-leaderboard-all-time-high h2 {
  color: #FFD700; /* Gold for main headings */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-leaderboard-all-time-high h1 {
  font-size: 2.8em;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high h1 {
    font-size: 2em;
  }
}

.page-leaderboard-all-time-high h2 {
  font-size: 2.2em;
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high h2 {
    font-size: 1.8em;
  }
}

.page-leaderboard-all-time-high h3 {
  color: #FFD700; /* Gold for subheadings */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-leaderboard-all-time-high p {
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-leaderboard-all-time-high ul,
.page-leaderboard-all-time-high ol {
  list-style-position: inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

.page-leaderboard-all-time-high ul li,
.page-leaderboard-all-time-high ol li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.page-leaderboard-all-time-high ol li strong {
  color: #FFD700;
}

.page-leaderboard-all-time-high a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
}

.page-leaderboard-all-time-high a:hover {
  text-decoration: underline;
  color: #FFFACD; /* Lighter gold on hover */
}

.page-leaderboard-all-time-high__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  text-align: center;
}

.page-leaderboard-all-time-high__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Deep blue text */
}

.page-leaderboard-all-time-high__btn--primary:hover {
  background-color: #b39700; /* Darker gold on hover */
  color: #FFFFFF;
}

.page-leaderboard-all-time-high__btn--secondary {
  background-color: transparent;
  border: 2px solid #FFD700; /* Gold border */
  color: #FFD700; /* Gold text */
}

.page-leaderboard-all-time-high__btn--secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Deep blue text on gold hover */
}

/* Hero Section */
.page-leaderboard-all-time-high__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000080 0%, #00004d 100%); /* Deep blue gradient */
  padding: 80px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-leaderboard-all-time-high__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-leaderboard-all-time-high__hero-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-leaderboard-all-time-high__hero-content p {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-leaderboard-all-time-high__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-leaderboard-all-time-high__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high__hero {
    padding: 60px 15px;
  }
  .page-leaderboard-all-time-high__hero-content h1 {
    font-size: 2.5em;
  }
  .page-leaderboard-all-time-high__hero-content p {
    font-size: 1em;
  }
}

/* Top Players Grid */
.page-leaderboard-all-time-high__player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-leaderboard-all-time-high__player-card {
  background-color: #000066; /* Slightly lighter deep blue */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-leaderboard-all-time-high__player-card:hover {
  transform: translateY(-10px);
}

.page-leaderboard-all-time-high__player-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFD700;
  margin-bottom: 20px;
}

.page-leaderboard-all-time-high__player-card h3 {
  color: #FFD700;
  margin-bottom: 10px;
}

.page-leaderboard-all-time-high__player-score span,
.page-leaderboard-all-time-high__player-jackpot span {
  color: #FFD700;
  font-weight: bold;
  font-size: 1.1em;
}

/* How to Join Section */
.page-leaderboard-all-time-high__how-to-join ol {
  counter-reset: item;
  padding-left: 0;
}

.page-leaderboard-all-time-high__how-to-join ol li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #E0E0E0;
  position: relative;
  padding-left: 40px; /* Space for custom counter */
}

.page-leaderboard-all-time-high__how-to-join ol li:before {
  content: counter(item);
  counter-increment: item;
  background-color: #FFD700;
  color: #000080;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

.page-leaderboard-all-time-high__how-to-join ol li strong {
  color: #FFD700;
}

.page-leaderboard-all-time-high__image-full-width {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Why Leaderboard Section */
.page-leaderboard-all-time-high__why-leaderboard ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-leaderboard-all-time-high__why-leaderboard ul li {
  background-color: #000066;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #E0E0E0;
}

.page-leaderboard-all-time-high__why-leaderboard ul li:before {
  content: '⚡'; /* Lightning bolt icon */
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.5em;
  color: #FFD700;
}

.page-leaderboard-all-time-high__why-leaderboard ul li:nth-child(2):before {
  content: '✅'; /* Checkmark icon */
}
.page-leaderboard-all-time-high__why-leaderboard ul li:nth-child(3):before {
  content: '🤝'; /* Handshake icon */
}
.page-leaderboard-all-time-high__why-leaderboard ul li:nth-child(4):before {
  content: '🏆'; /* Trophy icon */
}
.page-leaderboard-all-time-high__why-leaderboard ul li:nth-child(5):before {
  content: '📊'; /* Chart icon */
}

.page-leaderboard-all-time-high__why-leaderboard ul li strong {
  display: block;
  margin-left: 30px;
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.page-leaderboard-all-time-high__why-leaderboard ul li p {
  margin-left: 30px;
  margin-bottom: 0;
}

/* Call to Action Section */
.page-leaderboard-all-time-high__cta {
  background: linear-gradient(45deg, #FFD700, #b39700); /* Gold gradient */
  color: #000080; /* Deep blue text */
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-leaderboard-all-time-high__cta-content {
  z-index: 1;
  max-width: 800px;
}

.page-leaderboard-all-time-high__cta h2 {
  color: #000080;
  font-size: 2.5em;
}

.page-leaderboard-all-time-high__cta p {
  color: #000080;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-leaderboard-all-time-high__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.page-leaderboard-all-time-high__cta-buttons .page-leaderboard-all-time-high__btn--primary {
  background-color: #000080;
  color: #FFD700;
}

.page-leaderboard-all-time-high__cta-buttons .page-leaderboard-all-time-high__btn--primary:hover {
  background-color: #000066;
  color: #FFFFFF;
}

.page-leaderboard-all-time-high__cta-buttons .page-leaderboard-all-time-high__btn--secondary {
  border-color: #000080;
  color: #000080;
}

.page-leaderboard-all-time-high__cta-buttons .page-leaderboard-all-time-high__btn--secondary:hover {
  background-color: #000080;
  color: #FFD700;
}

.page-leaderboard-all-time-high__cta-image {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 300px;
  height: auto;
  opacity: 0.2;
  filter: grayscale(100%);
  z-index: 0;
  transform: rotate(15deg);
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-leaderboard-all-time-high__cta-image {
    width: 200px;
    bottom: -10px;
    right: -10px;
  }
}

/* FAQ Section */
.page-leaderboard-all-time-high__faq-item {
  background-color: #000066;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-leaderboard-all-time-high__faq-item h3 {
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4em;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-leaderboard-all-time-high__faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-leaderboard-all-time-high__faq-item.active h3::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-leaderboard-all-time-high__faq-item p {
  color: #E0E0E0;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-leaderboard-all-time-high__faq-item.active p {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-leaderboard-all-time-high__container {
    padding: 0 15px;
  }
  .page-leaderboard-all-time-high__hero-content h1 {
    font-size: 3em;
  }
  .page-leaderboard-all-time-high h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high__section {
    padding: 40px 0;
  }
  .page-leaderboard-all-time-high__hero-content h1 {
    font-size: 2.2em;
  }
  .page-leaderboard-all-time-high h2 {
    font-size: 1.7em;
  }
  .page-leaderboard-all-time-high h3 {
    font-size: 1.3em;
  }
  .page-leaderboard-all-time-high__player-grid {
    grid-template-columns: 1fr;
  }
  .page-leaderboard-all-time-high__btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-leaderboard-all-time-high__how-to-join ol li {
    font-size: 1em;
  }
  .page-leaderboard-all-time-high__why-leaderboard ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-leaderboard-all-time-high__hero-content h1 {
    font-size: 1.8em;
  }
  .page-leaderboard-all-time-high h2 {
    font-size: 1.5em;
  }
  .page-leaderboard-all-time-high__btn {
    width: 100%;
    margin: 5px 0;
  }
}