#main {
  width: 100%;
  padding: 0;
  border: none;
  margin-top: 87px;
}
.belowtopnavcontainer {
  max-width: 100% !important;
}

#main a {
  text-decoration: none;
}
#mypagediv2,
#user-profile-bottom-wrapper {
  height: 0px;
  overflow: hidden;
  display: block;
}

#footer {
  padding: 0;
}

/* Base styles */
.leaderboard-container {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #333;
}

.leaderboard-container h1,
.leaderboard-container h2,
.leaderboard-container h3,
.leaderboard-container h4,
.leaderboard-container h5,
.leaderboard-container h6 {
  font-family: "Source Sans Pro", sans-serif;
  margin: 0;
  padding: 0;
}

.leaderboard-container p {
  font-family: "Source Sans Pro Topnav", sans-serif;
}

/* Header Section */
.leaderboard-header {
  background: white;
  color: #333;
  padding: 48px 24px;
  text-align: center;
}

.leaderboard-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.leaderboard-subtitle {
  font-family: "Source Sans Pro Topnav", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.leaderboard-header-content h2 {
  margin-bottom: 8px;
}

.leaderboard-header-content h1 {
  margin-bottom: 16px;
}

.leaderboard-title {
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1;
  color: #333;
}

.leaderboard-description {
  font-family: "Source Sans Pro Topnav", sans-serif;
  font-size: 16px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0;
  color: #6a6a6a;
  text-align: center;
}

.leaderboard-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-join-plus {
  background-color: rgba(139, 89, 234, 1);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-join-plus:hover {
  background-color: rgba(139, 89, 234, 0.9);
  color: white;
}

.btn-join-free {
  background-color: rgba(4, 170, 109, 1);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-join-free:hover {
  background-color: rgba(4, 170, 109, 0.9);
  color: white;
}

/* Separator */
.leaderboard-separator {
  height: 2px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 0 auto;
  max-width: 800px;
  opacity: 0.6;
}

/* How It Works Section */
.how-it-works {
  padding: 48px 24px;
  background-color: #fafafa;
}

.how-it-works-container {
  max-width: 955px;
  margin: 0 auto;
}

.how-it-works-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 64px;
  color: #333;
  position: relative;
}

/* .how-it-works-title::before {
  content: "🚀";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -40px;
  font-size: 24px;
} */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* gap: 48px; */
}

.how-it-works-feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 4px;
  border-radius: 16px;
}

.how-it-works-feature-item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.how-it-works-feature-item:nth-child(even) .feature-content {
  order: 2;
}

.how-it-works-feature-item:nth-child(even) .feature-image {
  order: 1;
}

.feature-content {
  padding: 16px;
}

.feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* XP Display - Placeholder for image */
.xp-display {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xp-display img {
  max-width: 100%;
  height: auto;
}

/* Leaderboard Display - Placeholder for image */
.leaderboard-display {
  /* background: white; */
  border-radius: 12px;
  padding: 24px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaderboard-display img {
  max-width: 100%;
  height: auto;
}

/* Rewards Display - Placeholder for image */
.rewards-display {
  border-radius: 12px;
  padding: 24px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rewards-display img {
  max-width: 100%;
  height: auto;
}

/* Top 500 Section */
.top-500-section {
  padding: 48px 24px;
  background: white;
}

.top-500-container {
  max-width: 1200px;
  margin: 0 auto;
}

.top-500-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.top-500-description {
  text-align: center;
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.6;
  max-width: 600px;
  margin-top: 16px;
}

.top-500-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 48px;
  padding-bottom: 0px;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.top-500-badge {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-500-badge img {
  max-width: 100%;
  height: auto;
}

.top-500-card-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.top-500-card-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Top 500 Image */
.top-500-image {
  margin-top: 32px;
  text-align: center;
}

.top-500-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Benefits Section */
.benefits-section {
  padding: 48px 24px;
  /* background: #f8f9fa; */
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 64px;
  color: #333;
  position: relative;
}

/* .benefits-title::before {
  content: "💡";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -40px;
  font-size: 24px;
} */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.benefit-card {
  background: #fafafa;
  padding: 32px;
  border-radius: 16px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.benefit-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.benefit-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Subscription Section */
.subscription-section {
  padding: 48px 24px;
  background: #fafafa;
}

.subscription-container {
  max-width: 640px;
  margin: 0 auto;
}

.subscription-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  padding-bottom: 16px;
}

.subscription-badge {
  background: #ece0fd;
  color: #4e1bb0;
  padding: 12px 0;
  border-radius: 16px 16px 0 0;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lightning-left,
.lightning-right {
  width: 24px;
  height: 24px;
}

.price-toggle-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: #000;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-label {
  font-family: "Source Sans Pro Topnav", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.toggle-label:first-child {
  color: #718096;
  font-weight: 400;
}

.toggle-label:last-child {
  color: #000000;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #04aa6d;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.subscription-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 0 24px;
}

.subscription-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  padding: 16px 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Source Sans Pro Topnav", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

.feature-item.center {
  grid-column: 1 / -1;
  justify-self: center;
}

.feature-check {
  width: 20px;
  height: 20px;
  background: #9157ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.subscription-button {
  background: #8b59ea;
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: max-content;
  margin: 0 auto 24px;
  display: block;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscription-button:hover {
  background: #7a4dd3;
  transform: translateY(-2px);
  color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .leaderboard-title {
    font-size: 40px;
  }

  .leaderboard-subtitle {
    font-size: 20px;
  }

  .leaderboard-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-join-plus,
  .btn-join-free {
    width: 100%;
    max-width: 300px;
  }

  .how-it-works-feature-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-it-works-feature-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .how-it-works-feature-item:nth-child(even) .feature-content {
    order: 1;
  }

  .how-it-works-feature-item:nth-child(even) .feature-image {
    order: 2;
  }

  .top-500-title {
    font-size: 36px;
  }

  .top-500-card {
    padding: 32px 24px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .subscription-container {
    max-width: 100%;
    margin: 0 16px;
  }

  .subscription-features {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 24px;
  }

  .price-toggle-section {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .leaderboard-header {
    padding: 60px 16px;
  }

  .leaderboard-title {
    font-size: 32px;
  }

  .leaderboard-subtitle {
    font-size: 16px;
  }

  .how-it-works {
    padding: 60px 16px;
  }

  .how-it-works-title {
    font-size: 28px;
  }

  .feature-item {
    padding: 8px;
  }

  .feature-title {
    font-size: 20px;
  }

  .top-500-section {
    padding: 60px 16px;
  }

  .top-500-title {
    font-size: 28px;
  }

  .top-500-card {
    padding: 24px 16px;
  }

  .benefits-section {
    padding: 60px 16px;
  }

  .benefits-title {
    font-size: 28px;
  }

  .benefit-card {
    padding: 24px 16px;
  }

  .subscription-section {
    padding: 48px 16px;
  }

  .subscription-container {
    margin: 0 8px;
  }

  .price-toggle-section {
    padding: 32px 24px 12px 24px;
  }

  .billing-toggle {
    gap: 12px;
  }

  .subscription-features {
    grid-template-columns: 1fr;
    gap: 0px;
    padding: 8px 16px;
  }

  .feature-item {
    font-size: 14px;
  }
}
