body {
    background-color: #101625 !important;
    background-image: 
        radial-gradient(circle at top left, rgba(63, 255, 172, 0.5), transparent 1000px),
        radial-gradient(circle at bottom right, rgba(63, 255, 172, 0.256), transparent 800px);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Outfit', sans-serif !important;
}

.top-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.left-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

.right-buttons {
    display: flex;
    font-family: 'Outfit', sans-serif !important;
    gap: 16px;
}


.signup {
    color: #14213e !important;
    background-color: #ecca1d !important;
}

.signup:hover {
    color: #0f224d !important;
    background-color: #ffd500 !important;
}

.header .title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header2 {
    font-size: 16px;
    margin-bottom: 40px;
    margin-top: -20px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    z-index: 1;
    position: relative;
    font-weight: 200 !important;
    font-family: sans-serif;
}

.top-links .right-buttons a.btn {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400;
    text-transform: none;
}

.right-buttons .btn {
    display: inline-block;
    text-decoration: none;
    background: #141c3141;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid #2a2e42;
    line-height: 1.2;
    font-size: 1.2rem;
    font-weight: 600 !important;
    text-transform: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.08s ease;
    cursor: pointer;
}

.right-buttons .btn:hover {
    background-color: #5cf8c3;
    color: #000000;
}

.right-buttons .btn:active {
    transform: translateY(1px);
}

.right-buttons .btn:focus-visible {
    outline: 2px solid #5cf8c3;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .top-links {
        padding: 12px 14px;
        gap: 10px;
        justify-content: flex-end;
    }

    .right-buttons .btn {
        font-size: 0.95rem;
        padding: 9px 14px;
        border-radius: 12px;
    }
}

.header {
    text-align: center;
    margin-top: 50px;
    width: 100%;
    z-index: 1;
    position: relative;
}

.title {
    font-size: 3.5rem;
    color: #5cf8c3;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

/* ✅ Updated Container to Grid Layout */
.vip-milestones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.milestone-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 30px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 10px rgba(92, 248, 196, 0.05);
    transition: transform 0.2s ease;
    position: relative;
    min-height: 220px;
}
.milestone-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.milestone-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.milestone-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.claim-btn {
    background-color: #5cf8c3;
    color: rgb(29, 40, 70);
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.weeklyBtn{
    color: #ffffff !important;
    background: #20695161 !important;
}
.claim-btn:hover {
    background-color: #46c59b;
}

.milestone-description {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-style: italic;
}

.target-label {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.39);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.target-value {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(212, 203, 203);
    margin-bottom: 12px;
}

.reward-value {
    color: #5cf8c3 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    margin: 0 0 4px 0;
    font-size: 2rem !important;
  }
  
  .reward-label {
    color: rgba(255, 255, 255, 0.8);
    margin-top: -10px;
    font-size: 0.7rem !important;
    font-weight: normal;
  }

.prize-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.prize-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5cf8c3;
    margin-bottom: 4px;
}

.thrill-prizes-estimate {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    user-select: none;
}

.milestone-tier {
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: rgba(92, 248, 195, 0.1);
    color: #5cf8c3;
    padding: 4px 10px;
    border-radius: 12px;
}

.milestone-row.split-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px auto;
    gap: 20px;
}

.left-info {
    text-align: left;
    flex: 1;
}

.right-info {
    text-align: right;
    flex: 1;
}

.separator-line {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    height: 50px;
    align-self: center;
}

.left-info .target-label {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.left-info .target-value {
    font-size: 1.5rem;
    color: rgb(212, 203, 203);
    margin-bottom: 0;
}

.right-info .prize-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5cf8c3;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 0;
}

.prize-label-inline {
    font-size: 0.85rem;
    font-weight: 400;
    color: #5cf8c3;
    text-transform: uppercase;
    font-style: normal;
}

/* Modal */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(220, 219, 219, 0.185);
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif !important;

}

.modal-content {
    background-color: #101625;
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(92, 248, 196, 0.1);
}

.modal-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #5cf8c3;
}

.modal-content p,
.modal-content li {
    font-size: 1rem;
    color: #eee;
    margin-bottom: 10px;
}

.modal-content ul {
    margin-left: 20px;
}

.discord-btn {
    display: inline-block;
    background: #5cf8c3;
    color: #000;
    font-weight: bold;
    margin-top: 20px;
    padding: 12px 80px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.discord-btn:hover {
    background-color: #8cffe0;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 1.4rem;
    color: #ccc;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

/* Footer */
.footer {
    width: 100%;
    height: 50px;
    background-color: #ffffff07;
    color: #ffffffa9;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    line-height: 50px;
}

.footer a {
    color: #ffffffe1;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}



@media (max-width: 480px) {

    /* Reduce button size in header */
    .right-buttons .btn {
      font-size: 0.8rem;
      padding: 8px 12px;
      border-radius: 10px;
    }
  
    /* Title and subtitle */
    .left-title {
      font-size: 1.2rem;
    }
  
  
    .header .title {
        font-size: 2.8rem;
        margin-bottom: 30px;
      }
    
      .header2 {
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: normal;
      }
      .header3 {
        font-size: 0.75rem !important;
        margin-bottom: 30px;
        color: #ffffffb6;
        letter-spacing: normal;
      }
    .reward-value {
        color: #5cf8c3 !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        font-weight: bold !important;
        margin: 0 0 4px 0;
        font-size: 2.5rem !important;
      }
      
    /* Countdown */
    .countdown-wrapper {
      padding: 20px 20px;
      max-width: 90%;
    }
  
    .countdown-title {
      font-size: 0.75rem;
    }
  
    .countdown-square {
      width: 42px;
      height: 54px;
      padding: 4px;
    }
  
    .countdown-value {
      font-size: 16px;
    }
  
    .countdown-label {
      font-size: 10px;
    }
  
    .colon {
      font-size: 16px;
      margin: 0 2px;
    }
  
    /* Leaderboard layout */
    .leaderboard-container {
      width: 95%;
      padding: 20px;
    }
  
    .title-row,
    .user-row {
      grid-template-columns: 1fr 1.5fr 1.5fr 1.5fr;
      gap: 5px;
      padding: 6px 10px;
    }
  
    .user-row {
      margin: 8px 0;
      padding: 10px 12px;
    }
  
    .user-place,
    .user-username,
    .user-wagered,
    .user-prize {
      font-size: 0.85rem;
    }
  
    /* Modal adjustments */
    .modal-content {
      padding: 40px 20px;
      font-size: 14px;
    }
  
    .rules-list li {
      font-size: 13px;
    }
  
    .modal-btn {
      padding: 8px 20px;
      font-size: 14px;
    }
  
    /* Card sizes */
    .top-three {
      gap: 30px;
    }
  
    .card {
      width: 200px;
      height: 220px;
      padding: 12px;
      border-radius: 40px;
    }
  
    .card h3 {
      font-size: 1.2rem;
    }
  
    .card .username {
      font-size: 1.4rem;
    }
  
    .card .value {
      font-size: 1.4rem;
    }
  
    .card .prize-block .value {
      font-size: 1.3rem;
    }
  
    .card.first .prize-block .value {
      font-size: 1.5rem;
    }
  
    .medal-img {
      width: 90px;
      top: -45px;
    }
  
    .rank-badge {
      font-size: 1rem;
      padding: 4px 12px;
    }
  
    /* Buttons under leaderboard */
    .center-buttons .btn {
      font-size: 0.9rem;
      padding: 8px 14px;
      border-radius: 10px;
    }
  
    /* Footer */
    .footer {
      font-size: 12px;
      padding: 0 6px;
    }
    
  }
  /* Hide menu by default */
.right-buttons {
    display: flex;
    gap: 16px;
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
      background-color: #101625 !important;
      background-image:
        radial-gradient(circle at top left, rgba(63, 255, 172, 0.5), transparent 600px),
        radial-gradient(circle at bottom right, rgba(63, 255, 172, 0.256), transparent 1000px);
    }
  
    .top-links {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      position: relative;
      z-index: 100;
    }
  
    .hamburger {
      display: block;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      z-index: 101;
    }
  
    .right-buttons {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100vw;
      display: none;
      flex-direction: column;
      background: linear-gradient(to bottom, #196956, #050d1f);
      z-index: 1000;
      overflow-y: auto;
    }
  
    .right-buttons.show {
      display: flex;
    }
  
    /* Header */
    .right-buttons::before {
      content: "DKC x THRILL";
      font-family: 'Outfit', sans-serif !important;
      font-size: 1.2rem;
      color: #ffffff;
      letter-spacing: 1px;
      position: sticky;
      height: 60px;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.039);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      z-index: 1001;
    }
  
    .right-buttons::after {
      content: "✕";
      position: absolute;
      top: 18px;
      right: 24px;
      font-size: 1.5rem;
      color: white;
      cursor: pointer;
      z-index: 1002;
    }
  
    .right-buttons .btn {
        font-size: 1.05rem;
        font-weight: 500;
        padding: 14px 24px;
        border-radius: 10px;
        margin: 6px 20px;  /* 👈 Reduced vertical spacing */
        background-color: rgba(255, 255, 255, 0.05);
        color: white;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.06);
      }
      
  
    .right-buttons .btn:hover {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateX(4px);
    }
  
    .right-buttons .btn.signup {
      background-color: #f0c400;
      color: #000;
      font-weight: 600;
      text-align: center;
      justify-content: center;
    }
  
    .right-buttons .btn.active {
      background-color: #1f534b;
    }
  }
  
  
