/* Rewards Section */
.rewards-section {
  background: #fff;
  padding: 60px 0 80px 0;
  text-align: center;
}

.rewards-header {
  margin-bottom: 40px;
}

.rewards-title {
  font-family: 'Forma DJR Display Medium', 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1.1;
  color: #0044E9;
  margin-bottom: 0;
}

.rewards-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 40px 0 32px 0;
}

.reward-card {
  flex: 1 1 0;
  padding: 70px 24px;
  background: #fff;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  cursor: default!important;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}
.reward-card:first-child {
  border-left: 1px solid #ccc;
} 

.reward-card.highlight {
  background: #005eff;
  color: #fff;
}

.reward-rank {
  font-family: 'Forma DJR Display Medium', 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #000;
}
.reward-rank span {
  color: #0044E9;
} 


.reward-number.blue {
  color: #0044E9;
  font-weight: 700;
  transition: color 0.3s;
}

.reward-number.orange {
  color: #ff4d00;
  font-weight: 700;
}

.reward-card.highlight .reward-number {
  color: #ff4d00;
}
/* Reward card hover effect with background image and overlay */
.reward-card {
  position: relative;
  overflow: hidden;
}

.reward-card::before {
  content: '';
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/*.reward-card:first-child:before{
  background: url('../images/top8.png') center center/cover no-repeat;
}
.reward-card:nth-child(2):before{
  background: url('../images/top40.png') center center/cover no-repeat;
}
.reward-card:nth-child(3):before{
  background: url('../images/top200.png') center center/cover no-repeat;
}
.reward-card:last-child:before{
  background: url('../images/top500.png') center center/cover no-repeat;
}*/
.reward-card::after {
  content: '';
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 2;
}
.reward-card:hover::before,
.reward-card:hover::after {
  display: block;
}
.reward-card:hover {
  color: #fff;
}
.reward-card:hover .reward-number{ color: #ff4d00;}
.reward-card:hover .reward-rank {
  color: #fff;
  position: relative;
  z-index: 3;
}
.reward-card:hover .reward-rank,
.reward-card:hover .reward-desc {
  position: relative;
  z-index: 3;
}

.reward-card.highlight .reward-rank,
.reward-card.highlight .reward-desc {
  color: #fff;
}

.reward-desc {
  font-family: 'Forma DJR Micro Regular', 'Inter', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.rewards-btn-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.rewards-btn {
  font-family: 'Forma DJR Micro Regular', 'Inter', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  background: #0044E9;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 48px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin: 0 auto;
  box-shadow: 0 2px 8px #0044E922;
}

.rewards-btn:hover {
  background: #005eff;
  color: #fff;
}

@media (max-width: 1024px) {
  .rewards-title {
    font-size: 48px;
    padding: 0 20px;
  }

  .reward-card {
    padding: 48px 20px;
  }

  .reward-rank {
    font-size: 28px;
  }

  .reward-desc {
    font-size: 18px;
  }

  .rewards-btn {
    font-size: 20px;
    padding: 14px 36px;
  }
}

@media (max-width: 768px) {
  .rewards-grid {
    flex-direction: column;
    border-top: none;
    border-bottom: none;
    margin: 24px 0;
  }

  .reward-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 32px 20px;
  }

  .reward-card:first-child {
    border-left: 1px solid #ccc;
  }

  .reward-card:last-child {
    margin-bottom: 0;
  }

  .reward-card::before,
  .reward-card::after {
    background-size: cover;
  }

  .rewards-title {
    font-size: 50px;
    line-height: 1.3;
  }

  .reward-rank {
    font-size: 24px;
  }

  .reward-desc {
    font-size: 16px;
  }

  .rewards-btn {
    font-size: 18px;
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .rewards-section {
    padding: 32px 0px 40px 0px;
    box-sizing: border-box;
    width: 100%;
  }
  .rewards-header {
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .rewards-title {
    font-size: 22px;
    line-height: 1.3;
    padding: 0 2px;
  }
  .rewards-grid {
    margin: 16px 0;
    gap: 0;
  }
  .reward-card {
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
    padding: 20px 8px;
    border-radius: 8px;
    font-size: 14px;
  }
  .reward-rank {
    font-size: 16px;
  }
  .reward-desc {
    font-size: 12px;
  }
  .rewards-btn-row {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .rewards-btn {
    font-size: 15px;
    padding: 8px 8px;
    width: 100%;
    max-width: 220px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .rewards-section {
    padding: 24px 12px 32px 12px;
    box-sizing: border-box;
  }

  .rewards-header {
    margin-bottom: 20px;
    padding: 0;
  }

  .rewards-title {
    font-size: 20px;
    line-height: 1.4;
    padding: 0;
  }

  .rewards-grid {
    flex-direction: column;
    margin: 16px 0;
    gap: 12px;
  }

  .reward-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 16px 12px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    min-width: unset;
    text-align: center;
  }

  .reward-rank {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .reward-desc {
    font-size: 13px;
    line-height: 1.4;
  }

  .rewards-btn-row {
    margin-top: 24px;
    width: 100%;
  }

  .rewards-btn {
    font-size: 15px;
    padding: 10px 16px;
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .rewards-section {
    padding: 32px 0px 40px;
    box-sizing: border-box;
  }

  .rewards-header {
    margin-bottom: 24px;
  }

  .rewards-title {
    font-size: 36px;
    line-height: 45px;
    padding: 0;
  }

  .rewards-grid {
    display: grid;
    flex-direction: column;
    margin: 16px 0;
    gap: 5px;
    border: none;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
  }

  .reward-card {
    width: 100%;
    margin-bottom: 5px;
    padding: 20px 16px;
    border: 1px solid #ccc;
    border-radius: 0px;
    box-sizing: border-box;
    min-width: unset;
    text-align: center;
  }

  .reward-card:last-child {
    margin-bottom: 0;
  }

  .reward-rank {
    font-size: 36px;
    margin-bottom: 8px;
  }


  .reward-desc {
    font-size: 18px;
    line-height: 1.4;
  }

  .rewards-btn-row {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .rewards-btn {
    font-size: 25px;
    padding: 18px 20px;
    width: 100%;
    max-width: 270px;
    border-radius: 8px;
    box-sizing: border-box;
  }
}
