﻿@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 163, 255, 0.4);
    }

    25% {
        transform: scale(1.15);
        opacity: 0.9;
        box-shadow: 0 0 25px rgba(0, 163, 255, 0.6);
    }

    50% {
        transform: scale(0.95);
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 163, 255, 0.5);
    }

    75% {
        transform: scale(1.1);
        opacity: 0.95;
        box-shadow: 0 0 30px rgba(0, 163, 255, 0.7);
    }
}




.container {
    width: 100%;
    position: relative;
    background: linear-gradient(to bottom, #0a0f2c, #000000);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
    color: #FFFFFF;
    z-index: 0;
    overflow: hidden;
}

#starsCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.image-slider {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    border-radius: 16px;
    overflow: hidden;
    z-index: 0;
}


    .image-slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
    }


        .image-slider img.active {
            opacity: 1;
        }


.charity {
    width: 50px;
    height: 50px;
    background: radial-gradient(50% 50% at 50% 50%, #FFFFF7 72.6%, rgba(0, 163, 255, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: heartbeat 1.8s ease-in-out infinite;
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

    .charity img {
        width: 50%;
    }

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: rgba(0, 40, 80, 0.5);
    border: 1px solid rgba(173, 216, 230, 0.4);
    border-radius: 20px;
    color: white;
    padding: 40px 50px;
    text-align: center;
    max-width: 289px;
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

    .popup.active {
        opacity: 1;
    }

.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    opacity: 0.8;
}

    .close-popup:hover {
        opacity: 1;
    }

.popup h3 {
    margin-bottom: 40px;
    text-align: center;
    padding-top: 28px;
}

.popup ul li {
    position: relative;
}

.popup input {
    width: 100%;
    height: 45px;
    background-color: transparent;
    outline: none;
    border: none;
    position: relative;
    line-height: 30px;
    text-align: right;
    transition: 200ms;
    z-index: 2;
    color: #FFFFFF;
    border-bottom: 2px solid rgba(0, 163, 255, 0.4);
    text-align: center;
}

.popup .input-placeholder {
    font-size: 14px;
    position: absolute;
    right: 15px;
    top: 12px;
    transition: 0.3s ease;
    text-align: right;
    padding: 0 5px;
    z-index: 1;
    color: #BFBFBF;
    left: 15px;
    text-align: center;
}

.popup input:focus {
    border-bottom-color: #00a3ff;
}


    .popup input:focus ~ .input-placeholder,
    .popup input:not(:placeholder-shown) ~ .input-placeholder {
        top: 20%;
        transform: translateY(-100%);
        font-size: 13px;
        color: #00A3FF;
        z-index: 3;
        text-align: center;
    }

.popup a {
    background: linear-gradient(90deg, #009dff, #00cfff);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.5);
    margin-top: 40px;
    text-align: center;
    line-height: 25px;
    display: block;
}

    .popup a:hover {
        background: linear-gradient(90deg, #00cfff, #009dff);
        box-shadow: 0 0 25px rgba(0, 163, 255, 0.8);
        transform: translateY(-2px);
    }







.glass-box {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 30px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

    .glass-box::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        border-radius: 16px;
        background: linear-gradient(270deg, #93D3F6, #BADEFD, #01133A, #93D3F6);
        background-size: 600% 600%;
        animation: borderMove 5s linear infinite;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
    }

.back-button {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50px;
    top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1) inset, 0 0 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .back-button img {
        width: 50%;
    }

    .back-button:hover {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 25px rgba(255, 255, 255, 0.15) inset, 0 0 25px rgba(0, 0, 0, 0.6);
    }

.participate {
    width: 50%;
    height: 200px;
    z-index: 2;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 100px;
    cursor: pointer;
}


.gradient-text {
    background: linear-gradient(180deg, #0079BD 7.29%, #BADEFD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.participate-button {
    font-size: 14px;
    color: #A5DEFF;
    border: 1px solid #00A3FF;
    width: 150px;
    height: 40px;
    margin: 30px auto;
    border-radius: 18px;
    line-height: 38px;
    position: relative;
    padding-right: 15px;
}

    .participate-button::after {
        content: "";
        width: 22px;
        height: 19px;
        background: url("/icons/heart.png") center center/cover no-repeat;
        display: block;
        position: absolute;
        left: 28px;
        top: 50%;
        transform: translateY(-50%) scale(0.8);
    }

    .participate-button::before {
        content: "";
        width: 40px;
        height: 40px;
        background: url("/icons/bird.png") center center/cover no-repeat;
        display: block;
        position: absolute;
        left: -20px;
        top: 0;
        transform: translateY(-50%);
    }

.dustdar-triple {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 100px;
}

    .dustdar-triple .box {
        width: 30%;
        height: 150px;
        padding: 30px 0;
        font-size: 18px;
        font-weight: 500;
        border: 1px solid #3A4D76;
    }

    .dustdar-triple .glass-box.box::before {
        display: none;
    }

    .dustdar-triple .box span {
        max-width: 50%;
        display: block;
        margin: 0 auto 30px auto;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        padding: 2px 12px;
        font-size: 18px;
        font-weight: 500;
        text-align: center;
    }

.orbit-system {
    position: relative;
    width: 60vw;
    height: 50vh;
    margin: 0 auto;
}

.orbit-line {
    position: absolute;
    top: 0;
    left: 0;
}

.planet {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #68B7FF 0%, rgba(104, 183, 255, 0) 99.99%);
    color: #4682BA;
    text-align: center;
    line-height: 120px;
    font-weight: 700;
    font-size: 16px;
    transform: translate(-50%, -50%);
    user-select: none;
    white-space: nowrap;
    user-select: none;
    border: 1px dashed #FFFFFF;
}

    .planet::before {
        content: "";
        width: 80%;
        height: 80%;
        background: #ffffff;
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 26%, rgba(255, 255, 255, 1) 50%, rgba(104, 183, 255, 1) 74%, rgba(104, 183, 255, 0) 100%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        border-radius: 50%;
        z-index: -1;
        box-shadow: 0 0 15px rgba(104, 183, 255, 0.9), 0 0 35px rgba(104, 183, 255, 0.6), 0 0 70px rgba(104, 183, 255, 0.4), 0 0 120px rgba(104, 183, 255, 0.2);
    }

    .planet::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px;
        height: 80px;
        border: 1px dashed rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(20deg);
        pointer-events: none;
    }

.orbit-label {
    position: absolute;
    padding: 6px 16px;
    border-radius: 16px;
    background: rgba(0, 90, 140, 0.4);
    border: 1px dashed #FFFFFF;
    color: #FFFFFF;
    font-size: 14px;
    transform: translate(-50%, -50%);
    user-select: none;
    white-space: nowrap;
}

.attached-label {
    position: absolute;
    padding: 6px 16px;
    border-radius: 16px;
    background: rgba(0, 90, 140, 0.4);
    border: 1px dashed #FFFFFF;
    color: #FFFFFF;
    font-size: 14px;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.tabsLink {
    display: flex;
    font-size: 17px;
    color: #ccc9c9;
    height: auto;
    margin-top: 150px;
}

    .tabsLink li.active {
        background: linear-gradient(180deg, rgba(0, 73, 233, 0.3) 0%, rgba(27, 27, 27, 0) 100%);
        border: 1px solid #00A3FF;
        transform: scale(1.1);
        color: #00A3FF;
    }

    .tabsLink li {
        cursor: pointer;
        border-radius: 7px 7px 0 0;
        padding: 5px 10px;
        transition: 200ms;
        border: 1px solid #303030;
        border-radius: 16px;
        margin-left: 20px;
        color: #B3B3B3;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.1);
    }

.tabsContent {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: right;
    transition: all 500ms ease;
    transform: translateX(0);
}

.tab {
    width: 100%;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    display: none;
}

    .tab.active {
        display: flex;
    }

.neon-glass-box {
    position: relative;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    background: rgba(20, 60, 120, 0.25);
    border-radius: 16px;
    padding: 20px 30px;
    color: #E9F4FF;
    text-align: center;
    border: 1px solid rgba(180, 220, 255, 0.25);
    box-shadow: inset 0 0 20px rgba(180, 220, 255, 0.05), 0 0 20px rgba(0, 100, 200, 0.15);
}

    .neon-glass-box::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 16px;
        padding: 1px;
        background: linear-gradient(145deg, rgba(100,180,255,0.6), rgba(0,50,150,0.3));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

.tab::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient( circle at center, rgba(120, 180, 255, 0.25) 0%, rgba(90, 140, 220, 0.15) 60%, rgba(20, 40, 90, 0.05) 70%, rgba(0, 0, 0, 0) 100% );
    filter: blur(45px);
    z-index: 0;
}

.how-it-works-boxes {
    width: 50%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.how-box {
    width: 48%;
    margin-bottom: 20px;
    height: 160px;
    text-align: right;
    position: relative;
}

    .how-box h3 {
        margin-top: 30px;
    }

    .how-box span {
        color: #D3D3D3;
    }

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.faq-boxes {
    width: 50%;
    margin-top: 30px;
}

.faq-box {
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s linear;
}

    .faq-box.active {
        background: rgba(30, 60, 120, 0.5);
        box-shadow: 0 0 30px rgba(100, 180, 255, 0.2);
    }

.faq-question {
    position: relative;
    font-weight: 500;
    cursor: pointer;
    text-align: right;
}

    .faq-question::before {
        content: "";
        position: absolute;
        left: 25px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg) scale(0.9);
        width: 16px;
        height: 10px;
        background: url('/icons/arrow.png') center center/contain no-repeat;
        transition: transform 0.3s linear;
        opacity: 0.9;
    }

.faq-box.active .faq-question::before {
    transform: translateY(-50%) rotate(180deg) scale(0.9);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 15px;
    text-align: right;
    color: #D3D3D3;
    line-height: 1.8;
    transition: all 0.4s linear;
}

.faq-box.active .faq-answer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    max-height: 400px;
    padding-top: 30px;
}



@media only screen and (max-width : 1000px) {
    .participate {
        width: 90%;
    }

    .back-button {
        top: 10px;
    }

    .charity {
        top: 10px;
    }

    .dustdar-triple {
        width: 90%;
    }

        .dustdar-triple .box span {
            max-width: 60%;
        }

    .how-it-works-boxes {
        width: 90%;
    }

    .faq-boxes {
        width: 90%;
    }
}

@media only screen and (max-width : 650px) {
    .tab {
        padding: 0;
    }

    .dustdar-triple {
        flex-direction: column;
    }

        .dustdar-triple .box {
            width: 100%;
            margin-bottom: 20px;
        }

    .how-box {
        width: 100%;
    }
}

@media only screen and (max-width : 480px) {
    .participate {
        height: 300px;
    }

    .popup {
        min-width: 90%;
    }
}
