/* style/leaderboard-all-time-high.css */
.page-leaderboard-all-time-high {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-leaderboard-all-time-high__hero {
  position: relative;
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-leaderboard-all-time-high__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-leaderboard-all-time-high__hero .page-leaderboard-all-time-high__container {
  position: relative;
  z-index: 1;
}

.page-leaderboard-all-time-high__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffc107; /* High contrast with blue background */
}

.page-leaderboard-all-time-high__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-leaderboard-all-time-high__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA */
  color: #000; /* Dark text for high contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-leaderboard-all-time-high__hero-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-leaderboard-all-time-high__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-leaderboard-all-time-high__section:last-of-type {
  border-bottom: none;
}

.page-leaderboard-all-time-high__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-leaderboard-all-time-high__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-leaderboard-all-time-high__sub-title {
  font-size: 1.8em;
  color: #0056b3; /* Darker shade of primary for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-leaderboard-all-time-high__introduction p, 
.page-leaderboard-all-time-high__why-leaderboard p, 
.page-leaderboard-all-time-high__records p, 
.page-leaderboard-all-time-high__tips p,
.page-leaderboard-all-time-high__about-vn68 p,
.page-leaderboard-all-time-high__faq-answer {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444;
}

.page-leaderboard-all-time-high__why-leaderboard ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444;
}

.page-leaderboard-all-time-high__why-leaderboard li {
  margin-bottom: 10px;
}

.page-leaderboard-all-time-high__leaderboard-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-leaderboard-all-time-high__leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px; /* Ensure table is wide enough for content */
}

.page-leaderboard-all-time-high__leaderboard-table th, 
.page-leaderboard-all-time-high__leaderboard-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.page-leaderboard-all-time-high__leaderboard-table th {
  background-color: #007bff; /* Primary color for table header */
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.page-leaderboard-all-time-high__leaderboard-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.page-leaderboard-all-time-high__leaderboard-table tr:hover {
  background-color: #e9ecef;
}

.page-leaderboard-all-time-high__note {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 20px;
}

.page-leaderboard-all-time-high__image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-leaderboard-all-time-high__image-center {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-leaderboard-all-time-high__image-right {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-leaderboard-all-time-high__image-left {
  float: left;
  margin: 0 30px 20px 0;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-leaderboard-all-time-high__image-bottom {
  display: block;
  margin: 40px auto 0;
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-leaderboard-all-time-high__cta {
  text-align: center;
  background-color: #007bff; /* Primary color background */
  color: #fff;
  padding: 80px 0;
}

.page-leaderboard-all-time-high__cta .page-leaderboard-all-time-high__section-title {
  color: #ffc107; /* Auxiliary color for contrast */
}

.page-leaderboard-all-time-high__cta .page-leaderboard-all-time-high__section-title::after {
  background-color: #fff;
}

.page-leaderboard-all-time-high__cta p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-leaderboard-all-time-high__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.page-leaderboard-all-time-high__cta-button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #000;
}

.page-leaderboard-all-time-high__cta-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-leaderboard-all-time-high__cta-button--secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.page-leaderboard-all-time-high__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-leaderboard-all-time-high__button-secondary {
  display: inline-block;
  background-color: #0056b3; /* Darker primary for secondary actions */
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-leaderboard-all-time-high__button-secondary:hover {
  background-color: #003f80;
}

.page-leaderboard-all-time-high__faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-leaderboard-all-time-high__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-leaderboard-all-time-high__faq-answer {
  color: #555;
  margin-bottom: 0;
}

.page-leaderboard-all-time-high__about-vn68 p a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-leaderboard-all-time-high__about-vn68 p a:hover {
  text-decoration: underline;
}

.page-leaderboard-all-time-high .highlight {
  color: #0056b3; /* Darker blue for text highlight */
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-leaderboard-all-time-high__hero-title {
    font-size: 2.8em;
  }

  .page-leaderboard-all-time-high__hero-subtitle {
    font-size: 1.2em;
  }

  .page-leaderboard-all-time-high__section-title {
    font-size: 2em;
  }

  .page-leaderboard-all-time-high__sub-title {
    font-size: 1.5em;
  }

  .page-leaderboard-all-time-high__image-right,
  .page-leaderboard-all-time-high__image-left {
    float: none;
    margin: 30px auto;
    max-width: 80%;
    display: block;
  }
}

@media (max-width: 768px) {
  .page-leaderboard-all-time-high__hero {
    padding: 80px 0;
  }

  .page-leaderboard-all-time-high__hero-title {
    font-size: 2.2em;
  }

  .page-leaderboard-all-time-high__hero-subtitle {
    font-size: 1em;
  }

  .page-leaderboard-all-time-high__section {
    padding: 40px 0;
  }

  .page-leaderboard-all-time-high__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-leaderboard-all-time-high__cta p {
    font-size: 1em;
  }

  .page-leaderboard-all-time-high__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-leaderboard-all-time-high__cta-button {
    width: 80%;
    max-width: 300px;
  }

  .page-leaderboard-all-time-high__leaderboard-table th, 
  .page-leaderboard-all-time-high__leaderboard-table td {
    padding: 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-leaderboard-all-time-high__hero-title {
    font-size: 1.8em;
  }

  .page-leaderboard-all-time-high__hero-subtitle {
    font-size: 0.9em;
  }

  .page-leaderboard-all-time-high__section-title {
    font-size: 1.5em;
  }

  .page-leaderboard-all-time-high__hero-button,
  .page-leaderboard-all-time-high__cta-button {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-leaderboard-all-time-high__leaderboard-table-wrapper {
    min-width: unset;
  }

  .page-leaderboard-all-time-high__leaderboard-table {
    font-size: 0.8em;
  }
}