html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-behavior: smooth;

    background-image: url("images/background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {

    html,
    body {
        background-image: url("images/background-mobile.png");
    }
}

section {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

.page.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

button,
img,
a {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

body {
    background-color: #111;
    scroll-snap-type: y mandatory;
}

@font-face {
    font-family: 'Cosmic';
    src: url('./fonts/cosmic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('./fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand-bold';
    src: url('./fonts/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 720px;
    max-width: calc(100% - 32px);
    height: 45px;
    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border-radius: 999px;
    overflow: hidden;

    background: #9a9a9a15;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        inset 1px 0 0 rgba(255, 255, 255, 0.04),
        inset -1px 0 0 rgba(0, 0, 0, 0.22),
        0 8px 24px rgba(0, 0, 0, 0.28);
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 20%,
            rgba(255, 255, 255, 0.015) 42%,
            rgba(255, 255, 255, 0) 62%);
}

.indicator {
    position: absolute;
    top: 5px;
    left: 0;
    width: 0;
    height: calc(100% - 10px);

    border-radius: 999px;
    background: linear-gradient(180deg, #f4f4f4 0%, #dcdcdc 100%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.12);

    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), width 0.35s cubic-bezier(.22, 1, .36, 1);
    z-index: 1;
}

.navbar-btn {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    border-radius: 999px;

    font-family: 'Cosmic', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);

    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease;
}

.navbar-btn.active {
    color: #1c1c1c;
}

/*earth-page*/
.earth-page {
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    margin: 130px 0 10px 0;
    text-align: center;
    color: #f4f4f4;
    font-family: 'Cosmic', sans-serif;
    font-size: 65px;
    font-weight: 200;

    opacity: 0;
    transform: translateY(25px);
}

.title.element-show {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.7s ease, opacity 0.6s ease;
}

.paragraph {
    width: 770px;
    margin: 0;
    text-align: center;
    color: #f4f4f4cc;
    font-family: 'Quicksand', sans-serif;
    font-size: 25px;
    font-weight: 400;

    opacity: 0;
    transform: translateY(40px);
}

.paragraph.element-show {
    opacity: 1;
    transform: translateY(0);
    transition: transform 1s ease, opacity 0.8s ease;
}

.buttons {
    margin: 40px 0 5px 0;
    width: auto;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.rate-btn {
    width: 125px;
    height: 40px;
    z-index: 99999;

    appearance: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    border-radius: 100px;
    background: #f4f4f4;

    color: #111;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transform: translateY(35px);
}

.rate-btn.element-show {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}

.donate-btn {
    width: 125px;
    height: 40px;
    z-index: 99999;

    appearance: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    border-radius: 100px;
    background: #f4f4f4;

    color: #111;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s ease;

    opacity: 0;
    transform: translateY(30px);
}

.donate-btn.element-show {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.4s ease, box-shadow 0.3s ease;
}

.contact-btn {
    width: 125px;
    height: 40px;
    z-index: 99999;

    appearance: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    border-radius: 100px;
    background: #f4f4f4;

    color: #111;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transform: translateY(35px);
}

.contact-btn.element-show {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}

.rate-btn:hover,
.donate-btn:hover,
.contact-btn:hover {
    box-shadow: 0 0 40px #f4f4f450;
}

.rate-btn:active,
.donate-btn:active,
.contact-btn:active {
    box-shadow: 0 0 60px #f4f4f480;
    transform: scale(0.95);
}

.planet-container {
    margin-top: 50px;
    border-radius: 9999px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transform: translateY(80px);
}

.planet-container.element-show {
    transform: translateY(0px);
    transition: transform 0.8s ease;
}

.planet-container img {
    width: 1200px;
    z-index: 2;
}

.box-shadow {
    position: absolute;
    z-index: 1;
    width: 1120px;
    height: 1120px;
    border-radius: 9999px;
    box-shadow: 0 0 120px #7096ff;
}


.donate-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;

    background: #11111150;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.donate-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.donate-modal {
    position: relative;
    width: auto;
    height: auto;

    padding: 50px 40px 40px 40px;

    border-radius: 30px;
    background: #111;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    transform: scale(0.96);
    transition: 0.25s ease;
}

.donate-modal-backdrop.show .donate-modal {
    transform: scale(1);
}

.close-donate-modal {
    position: absolute;
    top: 16px;
    right: 16px;
}

.close-donate-modal img {
    width: 30px;
}

.card-conatiner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-wrap {
    position: relative;
    width: fit-content;
    max-width: 340px;
    margin-top: 20px;

    cursor: pointer;
}

.card-tipe {
    position: absolute;
    top: -12px;
    left: 20px;
    margin: 0;
    padding: 4px 10px;

    background-color: #111;
    border-radius: 8px;

    color: #f4f4f4;
    font-family: 'Quicksand-bold', sans-serif;
    z-index: 2;
}

.card-number {
    width: 280px;

    padding-top: 12px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 12px;

    margin: 0;

    border: 1px solid gray;
    border-radius: 10px;

    color: #f4f4f4;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    word-break: break-word;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-number img {
    width: 22px;
    height: 22px;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);

    padding: 10px 16px;
    border-radius: 10px;
    background: #1c1c1c;
    color: #f4f4f4;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 14px;

    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* From Uiverse.io by Praashoo7 */
.flip-card {
    background-color: transparent;
    width: 275px;
    height: 154px;
    transform: scale(1.02);
    perspective: 1000px;
    color: white;
    margin-bottom: 15px;
}

.heading_8264 {
    position: absolute;
    letter-spacing: .2em;
    font-size: 0.5em;
    top: 2em;
    left: 18.6em;
}

.credit-logo {
    position: absolute;
    top: 6.8em;
    left: 11.7em;
}

.chip {
    position: absolute;
    top: 2.3em;
    left: 1.5em;
}

.contactless {
    position: absolute;
    top: 3.5em;
    left: 12.4em;
}

.credit-number {
    position: absolute;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    font-size: .6em;
    top: 7.3em;
    left: 1.6em;
}

.valid_thru {
    position: absolute;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    top: 655.8em;
    font-size: .01em;
    left: 140.3em;
}

.date_8264 {
    position: absolute;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.5em;
    top: 13.6em;
    left: 3.2em;
}

.credit-name {
    position: absolute;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.5em;
    top: 16em;
    left: 2em;
}

.strip {
    position: absolute;
    background-color: black;
    width: 15em;
    height: 1.5em;
    top: 2.4em;
    background: repeating-linear-gradient(45deg,
            #303030,
            #303030 10px,
            #202020 10px,
            #202020 20px);
}

.mstrip {
    position: absolute;
    background-color: rgb(255, 255, 255);
    width: 8em;
    height: 0.8em;
    top: 5em;
    left: .8em;
    border-radius: 2.5px;
}

.sstrip {
    position: absolute;
    background-color: rgb(255, 255, 255);
    width: 4.1em;
    height: 0.8em;
    top: 5em;
    left: 10em;
    border-radius: 2.5px;
}

.code {
    font-weight: bold;
    text-align: center;
    margin: .2em;
    color: black;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1rem;
}

.flip-card-front {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
    background-color: #171717;
}

.flip-card-back {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
    background-color: #171717;
    transform: rotateY(180deg);
}



.donate-modal-content {
    max-width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.donate-title {
    margin: 0 0 12px 0;

    text-align: center;
    color: #f4f4f4;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 32px;
}

.donate-paragraph {
    width: 320px;
    margin: 0;
    text-align: center;
    color: #f4f4f4cc;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.donate-input {
    width: 320px;
    height: 40px;

    margin-top: 20px;
    padding: 0 14px;

    border: none;
    border-radius: 10px;
    outline: none;

    background: #1c1c1c;
    color: #f4f4f4;

    font-size: 14px;
    font-family: 'Quicksand-bold', sans-serif;
}

.donate-input::placeholder {
    color: #8a8a8a;
}

.donate-file-input {
    display: none;
}

.donate-file-label {
    width: 320px;
    height: 40px;
    margin-top: 12px;
    padding: 0 14px;

    display: flex;
    align-items: center;

    border-radius: 10px;
    background: #1c1c1c;
    color: #8a8a8a;
    font-size: 14px;
    font-family: 'Quicksand-bold', sans-serif;
    cursor: pointer;
    box-sizing: border-box;
}

.donate-file-input {
    display: none;
}

.donate-file-label {
    width: 320px;
    height: 44px;
    margin-top: 12px;
    padding: 0 10px 0 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 10px;
    background: #1c1c1c;
    color: #8a8a8a;
    font-size: 14px;
    font-family: 'Quicksand-bold', sans-serif;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.file-label-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.file-preview {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    display: none;
    flex-shrink: 0;
}

.donate-send-btn {
    width: 320px;
    height: 40px;

    margin-top: 20px;
    padding: 0 14px;

    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;

    background: #f4f4f4;
    color: #1c1c1c;

    font-size: 16px;
    font-family: 'Quicksand-bold', sans-serif;

    transition: background 0.2s ease, transform 0.2s ease;
}

.donate-send-btn:hover {
    background: #f4f4f4bc;
}

.donate-send-btn:active {
    transform: scale(0.97);
}


.rate-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;

    background: #11111150;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.rate-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rate-modal {
    position: relative;
    width: auto;
    height: auto;

    padding: 45px 35px 35px 35px;

    border-radius: 30px;
    background: #111;

    transform: scale(0.96);
    transition: 0.25s ease;
}

.rate-modal-backdrop.show .rate-modal {
    transform: scale(1);
}

.close-rate-modal {
    position: absolute;
    top: 16px;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.close-rate-modal img {
    width: 30px;
    display: block;
}

.rate-modal-content {
    width: 320px;
    max-width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.rate-modal-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 16px;
}

.rate-title {
    margin: 0 0 12px 0;

    text-align: center;
    color: #f4f4f4;
    font-family: 'Quicksand-bold', sans-serif;
    font-size: 32px;
}

.rate-paragraph {
    width: 320px;
    margin: 0;
    text-align: center;
    color: #f4f4f4cc;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.rate-input {
    width: 320px;
    height: 40px;

    margin-top: 20px;
    padding: 0 14px;

    border: none;
    border-radius: 10px;
    outline: none;

    background: #1c1c1c;
    color: #f4f4f4;

    font-size: 14px;
    font-family: 'Quicksand-bold', sans-serif;
}

.rate-input::placeholder {
    color: #8a8a8a;
}

.rate-stars {
    width: 320px;
    margin-top: 18px;
    padding: 12px 14px;

    border-radius: 14px;
    background: #1c1c1c;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-star {
    width: 48px;
    height: 48px;

    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 12px;

    font-size: 26px;
    line-height: 1;

    opacity: 0.35;
    transform: scale(1);
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.rate-star.active {
    opacity: 1;
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.06);
}

.rate-star:hover {
    opacity: 1;
}

.rate-selected-text {
    margin: 12px 0 0 0;
    min-height: 20px;

    color: #bdbdbd;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    text-align: center;
}

.rate-send-btn {
    width: 320px;
    height: 40px;

    margin-top: 18px;
    padding: 0 14px;

    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;

    background: #f4f4f4;
    color: #1c1c1c;

    font-size: 16px;
    font-family: 'Quicksand-bold', sans-serif;

    transition: background 0.2s ease, transform 0.2s ease;
}

.rate-send-btn:hover {
    background: #f4f4f4bc;
}

.rate-send-btn:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .rate-modal {
        padding: 40px 20px 30px 20px;
    }

    .rate-title {
        width: 320px;
        margin: 0 0 12px 0;
        font-size: 27px;
    }

    .rate-paragraph {
        width: 300px;
        font-size: 16px;
    }

    .rate-stars,
    .rate-input,
    .rate-send-btn {
        width: 300px;
    }

    .rate-star {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .rate-selected-text {
        width: 300px;
    }
}


.planet-about-page {
    width: 100%;
    margin-top: -140px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40%;

    transform: translateY(80px);
}

.planet-about-page.element-show {
    transform: translateY(0px);
    transition: transform 0.8s ease;
}

.planet-about-page img {
    width: 800px;
    z-index: 2;
}

.about-earth {
    margin-left: -50%;
}

.about-moon {
    margin-right: -50%;
}

.end-text {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    width: 100%;

    display: flex;
    justify-content: center;

    color: #f4f4f480;
    font-family: 'Cosmic', sans-serif;
    font-size: 17px;
    font-weight: 200;
}


.socials-wrap {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    width: auto;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.telegram,
.instagram,
.youtube {
    border-radius: 1000px;
    transition: box-shadow 0.4s ease;
}

.telegram:hover,
.instagram:hover,
.youtube:hover {
    box-shadow: 0 0 32px #fff;
}

.telegram img,
.instagram img,
.youtube img {
    width: 40px;
    margin-bottom: -4px;
    transition: transform 0.3s ease;
}

.telegram img:hover,
.instagram img:hover,
.youtube img:hover {
    transform: scale(1.1);
}

.telegram img:active,
.instagram img:active,
.youtube img:active {
    transform: scale(0.96);
}


/*mobile*/
@media (max-width: 768px) {
    .navbar {
        top: 15px;
        width: 350px;
        height: 45px;
        max-width: calc(100% - 20px);
        padding: 4px;
    }

    .indicator {
        top: 4px;
        height: calc(100% - 8px);
    }

    .navbar-btn {
        font-size: 15px;
    }

    .title {
        margin: 150px 0 15px 0;
        font-size: 34px;
    }

    .paragraph {
        width: 370px;
        font-size: 15px;
    }

    .buttons {
        margin: 60px 0 5px 0;
        gap: 17px;
    }

    .rate-btn {
        width: 145px;
        height: 45px;
    }

    .donate-btn {
        width: 145px;
        height: 45px;
    }

    .planet-container {
        margin-top: 120px;
    }

    .donate-modal {
        padding: 40px 20px 30px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .donate-title {
        width: 320px;
        margin: 0 0 12px 0;
        font-size: 27px;
    }

    .donate-paragraph {
        width: 300px;
        font-size: 16px;
    }

    .flip-card {
        display: none;
    }

    .about-earth {
        display: none;
    }

    .about-moon {
        margin-right: 0;
    }

    .planet-about-page {
        margin-top: 100px;
    }

    .end-text {
        color: #1c1c1c;
    }


    .socials-wrap {
        bottom: 270px;
    }
}