* {
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

body {
    padding-top: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    font-family: "Pusab", sans-serif;
    color: white;
    -webkit-text-stroke: 1px black;
    font-size: 30px;
}

.italic-text {
    font-style: italic;
    color: rgb(0, 195, 255);
}


/* HALLOWEEN TIME */

.hallowenPumpkin {
    width: 130px;
    height: 130px;
    position: fixed;
    bottom: 60px;
    left: 60px;
    z-index: 15;
    padding: 0;
    border: 0;
    border-image: none;
    border-radius: 0;
    background: none;
}

.hallowenPumpkin img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hallowenPumpkin:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}

body.halloween-mode .background-track {
    filter: sepia(0.9) saturate(6.5) hue-rotate(-12deg) brightness(0.62);
}

body.halloween-mode .titleDiv,
body.halloween-mode .card-slot {
    animation: halloween-wave 2.4s ease-in-out infinite;
}

body.halloween-mode .card-slot:nth-child(2) {
    animation-delay: -0.6s;
}

body.halloween-mode .card-slot:nth-child(3) {
    animation-delay: -1.2s;
}

body.halloween-mode .card-slot:nth-child(4) {
    animation-delay: -1.8s;
}

body.halloween-mode .card-slot:nth-child(5) {
    animation-delay: -2.3s;
}

body.halloween-mode .card-slot:nth-child(5) {
    animation-delay: -3s;
}

@keyframes halloween-wave {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.halloween-transition {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: black;
    opacity: 0;
    pointer-events: none;
}

.halloween-transition.is-active {
    animation: halloween-blackout 1.8s ease-in-out both;
}

@keyframes halloween-blackout {
    0% { opacity: 0; }
    33%,
    66% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 560px) {
    .hallowenPumpkin {
        left: 20px;
        top: 150px;
        height: 100px;
    }
}




/* END OF HALLOWEEN */







p {
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

/* info contact ds stuff */

.infoButtonContactDS {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 80px !important;
    height: 80px !important;
    padding: 0 0;
    border-image: none;
}

.infoButtonContactDS .infoButtonContactDSimgFB {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.infoContactDS {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    height: 100vh;
    width: 100vw;
    position: absolute;
    left: 0px;
    top: 0px;
}

.infoContactDS .centerMenu .centerMenuInter {
    gap: 0px;
}

.cdsTitle {
    font-size: 40px;
    margin-bottom: 0px;
    text-align: center;
}

.CDSsocialMediaCard {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 70px;
    width: 90%;
    gap: 15px;
    margin-bottom: 20px;
}

.CDSsocialMediaCard img {
    height: 100%;
}

.CDSsocialMediaCard p a {
    font-size: 30px;
}

.cdsMdescText {
    font-size: 24px;
    color: rgb(238, 238, 238);
    text-align: center;
}

.infoContactDS img {
    height: 100%;
}

.infoContactDS p {
    height: 30px;
    -webkit-text-stroke: 2.5px solid black !important;
}

@media (max-width: 560px) {
    .cdsTitle {
        font-size: 36px;
    }

    .cdsMdescText {
        font-size: 20px;
        margin-top: 60px;
    }

    .infoButtonContactDS {
        position: fixed;
        top: 10px;
        left: 10px;
    }

    .CDSsocialMediaCard {
        width: 100%;
    }

    .CDSsocialMediaCard img {
        width: 60px;
        height: 60px;
    }

    .CDSsocialMediaCard p {
        font-size: 25px;
        text-align: center;
        white-space: nowrap;
    }

    .CDSsocialMediaCard a {
        font-size: 25px !important;
        text-align: center;
        white-space: nowrap;
    }

    .infoContactDS p { text-align: center; }

}

@media (width < 560px) {
    .cdsSocialSuffix {
        display: none;
    }
}

/* end of info contact ds stuff :( */






/* changelogs stuff :) */

.changeLogsMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    height: 100vh;
    width: 100vw;
    position: absolute;
    left: 0px;
    top: 0px;
}

.changeLogsMenu[hidden] {
    display: none;
}

.blackBG {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: black;
    opacity: 0.4;
}

.centerMenu {
    width: 620px;
    height: 700px;
    max-height: calc(100vh - 40px);
    max-width: 94vw;
    box-sizing: border-box;
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0 4px 20px);
    margin: 40px 10px;
    position: relative;
    z-index: 2;
    isolation: isolate;
        transform-origin: center;
        animation: change-logs-popup 200ms ease both;
}

    @keyframes change-logs-popup {
        0% { transform: scale(0); }
        75% { transform: scale(1.075); }
        100% { transform: scale(1); }
    }

.centerMenu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    box-sizing: border-box;
    border: 12px solid transparent;
    border-image: url("https://geometrydash.com/assets/GJ_square01.png") 25 fill / 17px;
    transform-origin: center;
    pointer-events: none;
}

.centerMenuInter {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 15px;
    gap: 58px;
    overflow-y: auto;
    overscroll-behavior: contain;
    height: 96%;
}

.newsCard {
    width: 90%;
    padding: 5px;
    padding-top: 20px;
}

.currentUpd {
    font-size: 15px;
    color: rgb(47, 255, 99);
    -webkit-text-stroke: 0.7px black;
    margin: 0px;
    margin-bottom: 10px;
}




.clTitlePart {
    font-size: 36px;
    -webkit-text-stroke: 2px #111;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 40px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.clMdesc {
    margin-top: 0px;
    color: rgb(226, 226, 226);
    font-size: 20px;
    width: 100%;
}

.clDate {
    margin-left: 20px;
    color: rgb(226, 226, 226);
    font-size: 16px;
    -webkit-text-stroke: 1px black;
}

.clDesc {
    margin-top: 0px;
    padding-top: 0px;
    font-size: 27px;
        overflow-wrap: anywhere;
        user-select: none;
}

.changelog-highlight {
    color: #00ff1a;
}

.closeButton {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 70px;
    height: 70px;
    padding: 0;
    border: 0;
    border-image: none;
    background: none !important;

}

.closeButton img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.changeLogsImage {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.clImagePreview {
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgb(255, 255, 255);
    user-select: none;
}

.scrollDownMain {
    position: sticky;
    font-size: 30px;
    bottom: 0;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 4px;
    text-align: center;
}


/* end of changelog stuff :( */




.section {
    margin-top: 150px;
    text-align: left;
    width: 78vw;
    text-align: center;
}


.soonDivFix {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 20px;
}

.soonText {
    margin-top: 200px;
    font-size: 20px;
    color: rgb(187, 187, 187);
}

.changeLogsButton {
    position: fixed;
    z-index: 400;
    right: 60px;
    bottom: 70px;
    width: 150px;
    height: 150px;
    padding: 0 !important;
    background: none !important;
    border-image: none !important;
}

.changeLogsImage {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}
.titleDiv {
    z-index: 5;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.titleImage {
    width: 800px;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.titleImage:hover {
    transform: scale(1.07);
    cursor: pointer;
}

.titleImage.easterEgg {
    animation: easterEgg 0.3s ease;
}

@keyframes easterEgg {
    0% {
        transform: rotate(1deg) scale(1.1);
    }
    100% {
        transform: scale(1.07);
    }
}




/* tool card stuff */
.toolName {
    font-size: 34px;
    margin: 0 0 0 64px;
    transition: all 0.15s ease-in-out;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 500px));
    justify-content: center;
    gap: 40px 24px;
    width: calc(100% - 32px);
}

.card-slot {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 150px;
}

.comingSoonText {
    position: absolute;
    font-size: 36px;
    left: 30%;
    z-index: 200;
}

.comingSoonOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 17px;
}

.toolIcon {
    position: absolute;
    left: 20px;
    top: 50%;
    width: 80px;
    transform: translateY(-50%);
}

.card-heading {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 12px 20px;
}

.desc {
    color: #dfdfdf;
    font-size: 20px;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

.card {
    position: absolute;
    inset: 0 auto auto 0;
    height: 150px;
    width: 100%;
    gap: 26px;
    padding: 12px 44px;
    box-sizing: border-box;
    border-image: url("https://geometrydash.com/assets/GJ_square01.png") 25 fill / 14px;
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0 4px 20px);
    z-index: 2;
    overflow: hidden;
    transition: all 350ms ease;
}

.card:hover,
.card:focus-visible {
    height: 180px;
    transform: scale(1.05);
    cursor: pointer;
}

.card:hover .desc,
.card:focus-visible .desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

@media (max-width: 850px) {
    .card-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
    .card {
        height: 140px;
        padding: 8px 16px;
        gap: 14px;
    }

    .toolName {
        font-size: 30px;
    }

    .card:hover,
    .card:focus-visible {
        height: 120px;
    }  

    .titleImage {
        width: 100%;
        max-width: 720px;
        margin-bottom: 30px;
    }
}

@media (max-width: 560px) {
    body {
        margin-top: 0px !important;
        padding-top: 110px !important;
    }

    .corner {
        width: 100px !important;
        height: 100px !important;
    }

    .soonDivFix {
        width: 90vw;
    }

    .soonText {
        text-align: center;
        margin-bottom: 100px;
    }

    .titleImage {
        width: 100%;
        max-width: 320px;
        margin-bottom: 30px;
        margin-top: 0px !important;
        transform: scale(1.06);
    }

    .titleImage:hover {
        transform: scale(1.06);
    }

    .changeLogsButton {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }

    .card-grid {
        display: flex;
        align-items: center;
        flex-direction: column;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 10px;
    }

    .card-slot { height: 90px; }

    .card-heading { height: 90px; }

    .card {
        height: 90px;
        width: 98vw;
        padding: 8px 16px;
        gap: 14px;
        border-image: url("https://geometrydash.com/assets/GJ_square01.png") 25 fill / 12px;
    }

    .card:hover,
    .card:focus-visible {
        transform: none;
        height: 90px;
    }

    .toolIcon {
        width: 54px;
        left: 10px;
    }

    .toolName {
        font-size: 28px;
        margin-left: 42px;
    }

    .desc {
        font-size: 14px;
        left: 12px;
        right: 12px;
        bottom: 8px;
        display: none;
    }

    .clDesc {
        font-size: 25px;
    }

    .newsCard {
        padding-bottom: 70px;
    }
}

/* end of tool card stuff :( */







.background-track {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: -1;
    display: flex;
    width: max-content;
    height: 100vh;
    animation: scroll-background 60s linear infinite;
    filter: hue-rotate(var(--background-hue, 0deg)) saturate(var(--background-saturation, 1.2));
    transition: filter 300ms ease;
    pointer-events: none;
}

.color-toast {
    position: fixed;
    left: 50%;
    bottom: 100px;
    z-index: 10;
    max-width: calc(100vw - 32px);
    padding: 10px 18px;
    border-image: url("https://geometrydash.com/assets/GJ_square01.png") 25 fill /8px;
    border-radius: 6px;
    background: rgba(24, 29, 39, 0.96);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
    color: white;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    -webkit-text-stroke: 1px #111;
    opacity: 1;
    visibility: hidden;
    transform: translate(-50%, 130px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
}

.color-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.restore-color {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    padding: 0 !important;
    margin: 0;
    border: 0;
    background: none;
}

.restoreClrImage {
    display: block;
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    transition: all 0.2s ease;
}

.restoreClrImage:hover {
    transform: scale(1.1);
}

.cardTag {
    font-size: 20px;
    position: absolute;
    top: 0px;
    right: 15px;
    color: #cccccc;
}

.restore-color[hidden] {
    display: none;
}

.background-track img {
    display: block;
    width: auto;
    min-width: 100vw;
    height: 100%;
    margin-right: -3px;
    object-fit: cover;
}
.background-track img:nth-child(odd) {
    position: relative;
    z-index: 1;
}

.background-track img:nth-child(even) {
    position: relative;
    z-index: 0;
    transform: scaleX(-1);
}

@keyframes scroll-background {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .background-track { animation: none; transition: none; }
    .color-toast { transition: none; }
        .centerMenu { animation: none; }
    body.halloween-mode .titleDiv,
    body.halloween-mode .card-slot { animation: none; }
    .card,
    .desc { transition: none; }
}



h1 {
    margin: 0;
    font-family: "Pusab", sans-serif;
    font-size: 64px;
    text-align: center;
    -webkit-text-stroke: 3px #111;
    margin-bottom: 60px;
}



input[type="text"] {
    flex: 1;
    height: 60px;
    box-sizing: border-box;
    background-color: transparent;
    border: 12px solid transparent;
    border-radius: 20px;
    border-image: url("https://i.ibb.co/WN397RZs/227162-2-removebg-preview.png") 25 fill / 12px;
    color: rgb(255, 255, 255);
    font-family: "Pusab", sans-serif;
    font-size: 22px;
    text-align: center;
    outline: none;
    -webkit-text-stroke: 1.2px rgb(0, 0, 0);
}


button {
    position: relative;
    isolation: isolate;
    height: 60px;
    padding: 0 30px;
    border: 12px solid transparent;
    border-radius: 20px;
    border-image: url("https://i.ibb.co/KxHjKSgp/227162-1-removebg-preview.png") 25 fill / 12px;
    color: white;
    font-family: "Pusab", sans-serif;
    font-size: 22px;
    cursor: pointer;
    -webkit-text-stroke: 1px #111;
    background: transparent;
}

button:active {
    animation: buttonActive 0.3s linear;
    transform: scale(1.2);
}



@keyframes buttonActive {
    0% { transform: scale(1); }
    30% { transform: scale(1.22); }
    40% { transform: scale(1.1);}
    50% { transform: scale(1.2); }
    70% { transform: scale(1.18); }
    100% { transform: scale(1.2); }

}

dialog {
    width: min(440px, calc(100vw - 32px));
    padding: 28px;
    border: 12px solid transparent;
    border-image: url("https://geometrydash.com/assets/GJ_square01.png") 25 fill / 12px;
    background: rgba(24, 29, 39, 0.98);
    color: white;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    transform-origin: center;
    -webkit-text-stroke: 0.5px #111;
}

dialog h2 {
    margin: 0 0 12px;
    font-size: 30px;
    -webkit-text-stroke: 1px #111;
}
.dialog-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 22px;
}
.dialog-actions button {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 23px;
}


.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}



a {
    color: #4ca3ff;
    font-family: "Pusab", sans-serif;
    font-size: 18px;
    text-decoration: none;
    -webkit-text-stroke: 1px #111;
}
a:hover { color: #a3d0ff; }

.corner {
    position: fixed;
    bottom: 0;
    height: 180px;
    pointer-events: none;
    z-index: 1;
}
.corner-left { left: 0; }
.corner-right { right: 0; transform: scaleX(-1); }

.backButton {
    position: static;
    object-fit: contain;
    cursor: pointer;
}
