@font-face {
    font-family: "Coolvetica";
    src: url(fonts/CoolveticaRg.otf);
    font-weight: 400;
}

@font-face {
    font-family: 'Instagram Sans Regular';
    font-style: normal;
    font-weight: normal;
    src: url(fonts/IgSans.woff);
}

@font-face {
    font-family: 'Instagram Sans Light';
    font-style: normal;
    font-weight: normal;
    src: local('Instagram Sans Light'), url('Instagram Sans Light.woff') format('woff');
}

@font-face {
    font-family: 'Instagram Sans Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Instagram Sans Medium'), url('Instagram Sans Medium.woff') format('woff');
}

@font-face {
    font-family: 'Instagram Sans Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Instagram Sans Bold'), url('Instagram Sans Bold.woff') format('woff');
}

@font-face {
    font-family: 'Instagram Sans Headline Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Instagram Sans Headline Regular'), url('Instagram Sans Headline.woff') format('woff');
}

.bloboutercontainer {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    inset: 0;
    margin: auto;
}

.blobinnercontainer {
    border-radius: 99999px;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100vw;
    height: 100vh;
    min-width: 1000px;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    transform: scale(200%);
}

@keyframes spinGrad {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideinup {
    from {
        transform: translateY(10%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-color-scheme: dark) {

    .blob {
        position: absolute;
        width: 100vw;
        height: 100vh;
        background: conic-gradient(from 90deg, #5c40eb, #f41a6a, #731fb3, #3e3854, #2e9cab, #6a1274, #ee5311);
        filter: blur(70px);
        animation: spinGrad 10s linear infinite;
    }

    .topgrad {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 75));
        z-index: -1;
    }

    h1 {
        color: white;
        font-family: 'Coolvetica';
        font-weight: 400;
    }

    .topnav {
        display: flex;

        align-items: center;
        justify-content: space-around;
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        position: static;
    }

    .sngtlogo {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .search {
        width: 30%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: hsla(0, 0%, 75%, 100%);
        color: hsla(0, 0%, 75%, 100%);
        background-color: hsla(0, 0%, 25%, 75%);

    }

    .premium {

        width: 140%;
        height: 40px;
        background-image: linear-gradient(90deg, #ffcf22, #ffe565, #ffcf22, #ffe565, #ffcf22, #ffe565);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(0, 0, 0);
        padding: 15% 15%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .premium .text {
        display: inline;
    }

    .profile {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
        text-align: center;
    }

    .cart {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
    }

    .login {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .login h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .login label {
        font-family: "Instagram Sans Regular", sans-serif;
        color: white;
        text-align: left;
    }

    .insert {
        width: 75%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: hsla(0, 0%, 75%, 100%);
        color: hsla(0, 0%, 75%, 100%);
        background-color: hsla(0, 0%, 25%, 75%);
        font-family: "Instagram Sans Regular", sans-serif;
        align-items: center;
    }

    .link {
        font-family: "Instagram Sans Regular", sans-serif;
        color: white;
    }

    .button {
        width: 33%;
        height: 100%;
        background-image: linear-gradient(45deg, #5c40eb, #f41a6a, #731fb3, #3e3854, #2e9cab, #6a1274, #ee5311);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(255, 255, 255);
        padding-top: 5%;
        padding-bottom: 5%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .register {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .register label {
        font-family: "Instagram Sans Regular", sans-serif;
        color: white;
        text-align: left;
    }

    .register h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .register .insert {
        width: 75%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: hsla(0, 0%, 75%, 100%);
        color: hsla(0, 0%, 75%, 100%);
        background-color: hsla(0, 0%, 25%, 75%);
        font-family: "Instagram Sans Regular", sans-serif;
        justify-items: space-around;

    }

    .dobbtn {
        width: 25%;
        min-width: 25%;
        height: 30px;
        border-color: hsla(0, 0%, 75%, 100%);
        color: hsla(0, 0%, 100%, 100%);
        background-color: hsla(0, 0%, 25%, 75%);
        padding-top: 5%;
        padding-bottom: 5%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
    }

    .dobbtn .dobtxt {
        display: inline;
    }

    .player {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 95%;
        height: 40%;
        min-width: 50%;
        margin: auto;
        margin-top: 20px;
        display: flex;
        align-items: left;

        position: static;
        text-align: left;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .player h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .player h2 {
        font-size: 200%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
        font-weight: normal;
    }

    .player p {
        font-size: 100%;
        color: white;
        font-family: "Instagram Sans Regular", sans-serif;
    }

    .info {
        text-align: left;

        margin-right: 3%;
    }


    .success {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .success h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .success p {
        font-size: 100%;
        color: white;
        font-family: "Instagram Sans Regular", sans-serif;
    }


    .guestbtn {

        width: 140%;
        height: 40px;
        background-image: linear-gradient(90deg, #e5d6ff, #ffdbe3, #d7ffde, #f1fdff, #fbd2ff, #ffffff);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(0, 0, 0);
        padding: 15% 15%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .guestbtn .text {
        display: inline;
    }

    .error {
        font-family: "Instagram Sans Regular", sans-serif;
        color: #ff4d4d;
        text-align: center;
        margin-top: 10px;
    }

    .passreq {
        color: white;
        font-family: "Instagram Sans Regular", sans-serif;
    }

    .upload {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: grid;
        align-items: center;
        justify-content: center;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .upload h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .upload p {
        font-size: 100%;
        color: white;
        font-family: "Instagram Sans Regular", sans-serif;
    }

    .infolabel {
        font-family: "Instagram Sans Regular", sans-serif;
        color: white;
        text-align: left;
    }

    .custom-upload {
        font-family: "Instagram Sans Regular", sans-serif;
        display: inline-block;
        padding: 10px 16px;
        background-image: linear-gradient(90deg, #e5d6ff, #ffdbe3, #d7ffde, #f1fdff, #fbd2ff, #ffffff);
        background-size: 1000% 1000%;
        color: rgb(0, 0, 0);
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        animation: gradientBG 60s ease infinite;
        transform: scale(133%);
    }


}


@media (prefers-color-scheme: light) {

    .blob {
        position: absolute;
        width: 100vw;
        height: 100vh;
        background: conic-gradient(from 90deg, #5c40eb, #f41a6a, #9000ff, #26e5de, rgb(255, 0, 93), #ee5311);
        filter: blur(70px);
        animation: spinGrad 10s linear infinite;
    }

    .topgrad {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(to top, rgba(255, 255, 255, 100%), rgba(255, 255, 255, 25%));
        z-index: -1;
    }

    h1 {
        color: rgb(39, 38, 44);
        font-family: 'Coolvetica';
        font-weight: 400;
    }

    .topnav {
        display: flex;
        position: fixed;
        align-items: center;
        justify-content: space-around;
        background-color: hsl(0, 0%, 100%);
        border-radius: 20px;
        position: static;
        opacity: 1;

    }

    .sngtlogo {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
        padding-top: 10px;
        padding-bottom: 10px;
        filter: invert();
    }

    .search {
        width: 30%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: rgb(29, 29, 29);
        color: rgb(0, 0, 0);
        background-color: hsl(0, 0%, 95%);

    }

    .premium {

        width: 140%;
        height: 40px;
        background-image: linear-gradient(90deg, #ffcf22, #ffe565, #ffcf22, #ffe565, #ffcf22, #ffe565);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(0, 0, 0);
        padding: 15% 15%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .premium .text {
        display: inline;
    }

    .profile {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
        text-align: center;
    }

    .cart {
        background-color: hsla(0, 0%, 0%, 0%);
        border: none;
        cursor: pointer;
        filter: invert();
    }

    .login {
        background-color: hsl(0, 0%, 100%);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;

        display: flex;

        align-items: center;
        justify-content: center;
        position: static;

        text-align: center;

        opacity: 0.8;

    }

    .login h1 {
        font-size: 400%;
        color: rgb(0, 0, 0);
        font-family: 'Coolvetica', sans-serif;
    }

    .login label {
        font-family: "Instagram Sans Regular", sans-serif;
        color: rgb(0, 0, 0);
        text-align: left;
    }

    .insert {
        width: 75%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: rgb(29, 29, 29);
        color: rgb(0, 0, 0);
        background-color: hsl(0, 0%, 95%);
        font-family: "Instagram Sans Regular", sans-serif;
        align-items: center;
    }


    .link {
        font-family: "Instagram Sans Regular", sans-serif;
        color: rgb(59, 3, 90);
    }

    .button {
        width: 33%;
        height: 100%;
        background-image: linear-gradient(45deg, #5c40eb, #f41a6a, #9000ff, #26e5de, rgb(255, 0, 93), #ee5311);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(255, 255, 255);
        padding-top: 5%;
        padding-bottom: 5%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .register {
        background-color: #ffffff;
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .register label {
        font-family: "Instagram Sans Regular", sans-serif;
        color: rgb(0, 0, 0);
        text-align: left;
    }

    .register h1 {
        font-size: 400%;
        color: rgb(0, 0, 0);
        font-family: 'Coolvetica', sans-serif;
    }

    .register .insert {
        width: 75%;
        min-width: 50%;
        height: 30px;
        border-radius: 10px;
        padding-left: 2%;
        font-size: 15px;
        border-color: rgb(29, 29, 29);
        color: rgb(0, 0, 0);
        background-color: hsl(0, 0%, 95%);
        font-family: "Instagram Sans Regular", sans-serif;
        justify-items: space-around;

    }

    .dobbtn {
        width: 25%;
        min-width: 25%;
        height: 30px;
        border-color: rgb(29, 29, 29);
        color: rgb(0, 0, 0);
        background-color: hsl(0, 0%, 95%);
        padding-top: 5%;
        padding-bottom: 5%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
    }

    .dobbtn .dobtxt {
        display: inline;
    }

    .player {
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 20px;
        padding: 20px;
        width: 95%;
        height: 40%;
        min-width: 50%;
        margin: auto;
        margin-top: 20px;
        display: flex;
        align-items: left;

        position: static;
        text-align: left;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .player h1 {
        font-size: 400%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
    }

    .player h2 {
        font-size: 200%;
        color: white;
        font-family: 'Coolvetica', sans-serif;
        font-weight: normal;
    }

    .player p {
        font-size: 100%;
        color: white;
        font-family: "Instagram Sans Regular", sans-serif;
    }

    .info {
        text-align: left;

        margin-right: 3%;
    }

    .success {
        background-color: hsl(0, 0%, 100%);
        border-radius: 20px;
        padding: 20px;
        width: 33%;
        min-width: 50%;
        margin: auto;
        margin-top: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        text-align: center;
        animation-duration: 1s;
        animation-name: slideinup;
        animation-timing-function: cubic-bezier(.28, .06, .24, .92);
    }

    .success h1 {
        font-size: 400%;
        color: rgb(0, 0, 0);
        font-family: 'Coolvetica', sans-serif;
    }

    .success p {
        font-size: 100%;
        color: rgb(0, 0, 0);
        font-family: "Instagram Sans Regular", sans-serif;
    }

    .guestbtn {

        width: 140%;
        height: 40px;
        background-image: linear-gradient(90deg, #c0b4ff, #ffa2c4, #d9a8ff, #bcfffd, rgb(255, 181, 208), #ffd1bd);
        background-size: 1000% 1000%;
        border: none;
        color: rgb(0, 0, 0);
        padding: 15% 15%;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        animation: gradientBG 60s ease infinite;
    }

    .guestbtn .text {
        display: inline;
    }

    .error {
        font-family: "Instagram Sans Regular", sans-serif;
        color: #ff4d4d;
        text-align: center;
        margin-top: 10px;
    }
}

/* ==== HAMBURGER TOGGLE SYSTEM ==== */

.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    /* hides the checkbox */
}



/* ---- MOBILE LAYOUT ---- */
@media (max-width: 960px) {

    .topnav {

        align-items: center;
        justify-content: space-around;
        padding: 10px 10px;
        height: 55px
    }

    .search {
        min-width: 45%;
    }

    /* Show hamburger */
    .hamburger {
        display: block;
        order: 2;
    }

    /* Hide ONLY the buttons (keep search visible) */
    .premium,
    .profile,
    .cart {
        display: none;
        width: 100%;
        margin-top: 10px;
    }

    /* Reveal the buttons when hamburger is toggled */
    .menu-toggle:checked~a {
        display: block;
    }

    /* Make dropdown buttons stretch nicely */
    a button {
        width: 100%;
    }
}