* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

:focus {
    outline: none !important;
    box-shadow: none !important;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #000;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../img/gradient.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 10px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

body.no-scroll {
    overflow: hidden !important;
    touch-action: none;
}

.layer-blur {
    position: absolute;
    top: 20%;
    right: 0;
    width: 30rem;
    height: 0;
    box-shadow: 0 0 700px 15px white;
    transform: rotate(-30deg);
    z-index: -1;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5rem;
    z-index: 2000;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

.logo {
    font-weight: 400;
    background: linear-gradient(to right, #89a8f5, #e67d7d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: pointer;
    opacity: 0;
    animation: fadeDown 1.5s ease forwards;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: fadeDown 1.5s ease forwards;
}

nav a:nth-child(1) {
    animation-delay: 0.2s;
}

nav a:nth-child(2) {
    animation-delay: 0.4s;
}

nav a:nth-child(3) {
    animation-delay: 0.6s;
}

nav a:nth-child(4) {
    animation-delay: 0.8s;
}

nav a:nth-child(5) {
    animation-delay: 1s;
}

nav a:hover {
    color: #e7e7e7d6;
}

.home-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    margin-top: 6%;
    z-index: 999;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #5300a0;
}

.content h1 {
    font-size: 3.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    cursor: default;
    background: linear-gradient(to bottom, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    max-width: 36rem;
    background: linear-gradient(to right, #a78afe, #ffc978);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: default;
}

.button {
    display: flex;
}

.btn-get-download {
    text-decoration: none;
    background: linear-gradient(to right, #d3d9fb, #f5d3d3);
    color: #000;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: inline-block;
    transform-origin: center center;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-get-download:hover {
    background: linear-gradient(to right, #c1c9fa, #f2c1c1);
    animation: stretchSquash 0.5s 1 ease-in-out;
}

@keyframes stretchSquash {
    0% {
        transform: scale(1, 1);
    }

    30% {
        transform: scale(1.1, 0.9);
    }

    60% {
        transform: scale(0.9, 1.1);
    }

    100% {
        transform: scale(1, 1);
    }
}

.robot-3d {
    position: absolute;
    top: 0;
    right: -25%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: fadeZoomIn 3s ease 0.3s forwards;
}

@keyframes fadeZoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

#logo {
    position: relative;
}

.hamburger {
    display: none;
}

#cookie-banner {

    position: fixed;

    bottom: 25px;
    left: 25px;
    right: 25px;

    z-index: 99999;

    animation: cookieSlideUp .6s ease;

}

.cookie-content {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    padding: 1.5rem 2rem;

    border-radius: 20px;

    background:
        rgba(15, 15, 20, .92);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .4);

}

.cookie-text h3 {

    margin-bottom: .5rem;

    font-size: 1.2rem;

    color: #fff;

}

.cookie-text p {

    color: #bdbdbd;

    max-width: 700px;

    font-size: .95rem;

}

.cookie-actions {

    flex-shrink: 0;

}

#cookie-decline {

    border: 1px solid rgba(255, 255, 255, .15);

    background: transparent;

    color: white;

    padding: .8rem 1.4rem;

    border-radius: 12px;

    cursor: pointer;

    transition: .3s ease;

}

#cookie-decline:hover {

    background:
        rgba(255, 255, 255, .08);

}

#cookie-accept {

    border: none;

    background:
        linear-gradient(to right,
            #89a8f5,
            #e67d7d);

    color: #000;

    font-weight: 700;

    padding: .8rem 1.6rem;

    border-radius: 12px;

    cursor: pointer;

    transition: .3s ease;

}

#cookie-accept:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(137, 168, 245, .35);

}

@keyframes cookieSlideUp {

    from {

        opacity: 0;

        transform:
            translateY(40px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}

/* Update the existing Tablet Query (Fixed typo: max-width) */
@media (max-width: 1250px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 1rem 2rem;
    }

    .content {
        margin-left: 5%;
        margin-top: 10%;
    }

    .robot-3d {
        position: absolute;
        top: 60px;
        right: -25%;
        width: 100%;
        height: 400px;
        margin-top: 2rem;
        opacity: 0;
        animation: fadeZoomInLarge 3s ease 0.3s forwards;
    }

    @keyframes fadeZoomInLarge {
        from {
            opacity: 0;
            transform: scale(1);
        }

        to {
            opacity: 1;
            transform: scale(1.7);
        }
    }

    .content h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .description {
        max-width: 30rem;
        font-size: 1rem;
    }
}

/* Mobile & Small Tablet Adjustments */
@media (max-width: 768px) {

    body {
        background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    }

    body::before {
        background-size: 140%;
        background-position: top right;
    }

    .layer-blur {
        display: none;
    }

    #sparkle-canvas {
        display: block !important;
    }

    /* Hide Robot */
    .robot-3d {
        display: none;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .hamburger {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001;
    }

    nav {
        position: absolute;
        top: 7rem;
        right: 20px;

        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;

        background: transparent;
    }

    @keyframes drawerIn {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    nav a {
        position: relative;
        width: 180px;

        text-decoration: none;
        color: white;

        padding: 12px 20px;
        border-radius: 12px;

        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        text-align: center;
        font-weight: 500;
        letter-spacing: .05rem;

        box-shadow:
            0 0 15px rgba(127, 66, 167, .2);

        transition:
            transform .3s ease,
            background .3s ease,
            box-shadow .3s ease;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        animation: none;
    }

    nav a:hover {
        background: rgba(127, 66, 167, .15);

        border-color: rgba(127, 66, 167, .5);

        box-shadow:
            0 0 25px rgba(127, 66, 167, .4);

        transform: translateX(-8px);
    }

    nav a::before {
        content: "";

        position: absolute;
        left: 0;
        top: 50%;

        width: 3px;
        height: 0;

        background: #7f42a7;

        transform: translateY(-50%);
        transition: .3s ease;
    }

    nav a:hover::before {
        height: 70%;
    }

    nav.active a {
        visibility: visible;
        pointer-events: auto;
        animation: drawerIn .5s ease forwards;
    }

    nav.active a:nth-child(1) {
        animation-delay: .1s;
    }

    nav.active a:nth-child(2) {
        animation-delay: .2s;
    }

    nav.active a:nth-child(3) {
        animation-delay: .3s;
    }

    nav.active a:nth-child(4) {
        animation-delay: .4s;
    }

    nav.active a:nth-child(5) {
        animation-delay: .5s;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, .6);
        backdrop-filter: blur(5px);

        opacity: 0;
        visibility: hidden;

        transition: .4s ease;

        z-index: 1000;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    nav {
        z-index: 1001;
    }

    .home-main {
        align-items: center;
    }

    .content {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        text-align: center;
        align-items: center;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .button{
        flex-direction: column;
    }

    .cookie-content {

        flex-direction: column;

        text-align: center;

    }

    .cookie-actions {

        width: 100%;

    }

    #cookie-decline,
    #cookie-accept {

        flex: 1;

    }

}

.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #a78afe;
}

.footer p img{
    height: 25px;
    width: 25px;
}

.footer p {
    display: flex;
    flex-direction: row;
    color: #888;
    font-size: 0.9rem;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 480px) {
    .footer-links {
        gap: 1rem;
    }
}