body {
    font-family: "Titillium Web", sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column; 
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

.logo {
    margin-left: 30px; 
}

.logo img {
    height: 50px; 
    width: 50px; 
    height: auto;
    margin-right: 20px;
    vertical-align: middle; 
    border-radius: 50%; 
    object-fit: cover; 
}

nav {
    flex: 2;
    display: flex; 
    justify-content: center; 
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    justify-content: center; 
}

.nav-link {
    position: relative; 
    text-decoration: none;
    color: white; 
    margin: 10px; 
}

.nav-link::after {
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    height: 2px; 
    background-color: #ae102a; 
    transform: scaleX(0); 
    transform-origin: bottom left; 
    transition: transform 0.3s ease; 
}

.nav-link:hover::after {
    transform: scaleX(1); 
}

.nav-link.active::after {
    transform: scaleX(1); 
}

.join-button {
    background: linear-gradient(to right, #ae102a 0%, #0f0107 71%);
    color: white;
    padding: 10px 16px; 
    border-radius: 25px; 
    text-decoration: none;
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: none; 
    transition: background 0.3s, box-shadow 0.3s; 
    max-width: 200px; 
    margin: auto; 
}

.join-button:hover {
    background: linear-gradient(to right, #ae102a 0%, #0f0107 75%); 
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.5); 
}

.icon {
    margin-right: 8px; 
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 50px; 
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    max-width: 1200px; 
    width: 100%; 
}

.hero-text {
    flex: 1; 
    color: white;
    text-align: left; 
}

.hero-title {
    font-weight: 900; 
    font-size: 50px; 
    line-height: 1.05; 
    margin: 0;
}

.hero-subtitle {
    font-size: 18px; 
    position: relative; 
    font-weight: 200; 
}

.hero-subtitle::after {
    content: '';
    display: block;
    height: 2px; 
    width: 28%; 
    background-color: #ff0000;
    margin: 5px 0 15px; 
}

.red-text {
    color: #ff0000;
    font-weight: 900; 
}

.underline {
    height: 4px; 
    background-color: #ff0000; 
    width: 15%; 
    margin: 15px 0;
}

.hero-image {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.rounded-image {
    border-radius: 50%;
    max-width: 100%;
    height: auto;
    min-height: 400px;
}

.hero-buttons {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 10px; 
    text-decoration: none;
    color: white; 
    flex: 1;
}

.btn-leaderboards {
    background-color: #ae102a;
}

.btn-explore {
    background: none;
    color: white;
    border: 2px solid white;
    transition: background 0.3s ease;
}

.btn-explore:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Leaderboard Style on Index */
.leaderboards-section {
    text-align: center; 
    padding: 40px 10px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
}

.image-wrapper {
    margin: 20px 0; 
}

.site-image {
    width: 175px; 
    height: auto; 
    margin-bottom: -20px; 
}

.label {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.price-wrapper {
    display: flex; 
    align-items: center; 
    font-size: 20px; 
    margin-top: 15px; 
}

.coin-image-wrapper {
    margin-right: 5px; 
}

.coin {
    height: 25px; 
    width: 25px; 
    vertical-align: middle; 
}

footer {
    text-align: center;
    padding: 10px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    justify-content: center;  
    align-items: center;  
    margin-top: 0px;  
}

.social-icons a {
    display: flex;
    align-items: center;
}

.social-icons img {
    width: 30px;
    margin: 0 10px;
}

.socials {
    padding: 0px;
    text-align: center;
}

/* Leaderboard.html Style */
.logo-container img {
    width: 150px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.leaderboard-image {
    width: 500px;
    margin-top: 50px; 
}

.main-content {
    text-align: center;
    padding: 20px;
    position: relative;  
}

.main-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.main-content .under-main {
    font-size: 1rem;
    margin: 10px 0;
}

.main-content .code {
    font-size: 34px;
    background: transparent;
    border: 2px solid white;
    font-weight: 1000;
    display: block;
    width: fit-content;
    padding: 0px 50px;
    margin: 50px auto 0 auto;
    border-radius: 25px;
    z-index: 2;
}

.main-content .cta-button {
    font-size: 24px;
    background: #e67e22;
    color: white;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;
}

.main-content .how-to-participate {
    font-size: 18px;
    margin-top: 20px;   
    color: #ff1d24;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

.how-to {
    color: white;
}

.main-content .how-to-participate i {
    margin-right: 8px;
    z-index: 2;
}

.site-name {
    background: linear-gradient(to right, rgb(255, 29, 36), rgb(102, 11, 14));
    background-clip: text;
    -webkit-text-fill-color: transparent; 
}

.site-info {
    font-weight: 1000;
}

.bolded {
    background: linear-gradient(to right, rgb(255, 29, 36), rgb(102, 11, 14));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 1000;
    vertical-align: middle;
}

.color-font-weight {
    background: linear-gradient(to right, rgb(255, 29, 36), rgb(102, 11, 14));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 1000;
    vertical-align: middle;
}

.color {
    background: linear-gradient(to right, rgb(255, 29, 36), rgb(102, 11, 14));
    background-clip: text;
    -webkit-text-fill-color: transparent;  
}

.countdown { 
    text-align: center;
    width: 100%;
    margin-top: -70px;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; 
    margin-bottom: 10px;
}

.time-box {
    background: #09090982;
    border-radius: 5px;
    padding: 0px 15px;
    text-align: center;
}

.time-value {
    font-size: 30px;
    color: rgb(255, 29, 36);
    font-weight: bold;
    font-family: "Titillium Web", sans-serif;
}

.RainLB-image {
    width: 1000px;
    height: auto;
}

/* Rewards-Section */
body {
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    margin: 10px 0;
}

.reward-description {
    text-align: center;
    font-size: 16px;
    color: white;
    margin-top: -10px;
}

.content {
    max-width: 1200px; 
    width: 90%; 
    margin: 20px auto 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.bonus-section-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 20px;
}

.bonus-section {
    border: 1px solid #ccc;
    border-radius: 8px; 
    padding: 16px; 
    text-align: center; 
    transition: transform 0.3s; 
}

.bonus-section:hover {
    transform: scale(1.05); 
}

.bonus-info {
    cursor: pointer; 
}

.bonus-logo {
    max-width: 100%;
    height: auto;
}

.button-container {
    margin-top: auto;
    background-color: transparent;
}

button {
    width: 100%;
    background-color: red;
    border: 2px solid white;
    padding: 10px;
    color: white;
    appearance: none;
    border-radius: 10px;
}

/* Rain Buttons */
.claim-bonus-rain a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    background-color: red;
    border-radius: 5px;
    display: block;
    text-align: center;
}

.copy-code-rain {
    background: none;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    margin-top: 10px;
}

.copy-code-rain:hover {
    background-color: red;
    color: white;
}

.copy-logo {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Pop-Up Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    opacity: 0; 
    transform: translateY(-20px); 
    transition: opacity 0.3s ease, transform 0.3s ease; 
    background-color: #333;
}

.modal.show .modal-content {
    opacity: 1; 
    transform: translateY(0); 
}

.close-button {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        text-align: center;
    }

    .rounded-image {
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column; 
        align-items: flex-start; 
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin: 5px 0;
    }

    .leaderboards-section {
        padding: 20px 10px; 
    }

    .hero-section {
        padding: 15px;
    }

    .hero-image {
        margin-top: 20px;
    }
}

/* New styles for larger desktop views */
@media (min-width: 1029px) and (max-width: 1440px) {
    .hero-section {
        padding: 60px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .rounded-image {
        max-width: 400px;
        min-height: 400px; 
    }

    .hero-content {
        gap: 30px; 
    }
}

@media (min-width: 1441px) {
    .hero-section {
        padding: 80px; 
    }

    .hero-title {
        font-size: 70px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .rounded-image {
        max-width: 400px; 
        min-height: 400px; 
    }

    .hero-content {
        gap: 40px; 
    }
}