@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --sky: #050507;
    --accent-2: #d042e3;
}

html {
    background: var(--sky);
}

html, body {
    width: 100%;
    min-width: 100%;
    overflow-x: clip; 
}

body {
    background-color: var(--sky);
    font-family: 'Google Sans', 'Open Sans', 'Roboto', sans-serif;
    margin: 0;
    position: relative;
}

/* Vanity background 1-in-1 */
.bg {
    z-index: 0;
    pointer-events: none;
    background: var(--sky);
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.bg canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
}

.bg .grain {
    opacity: .35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    position: absolute;
    inset: 0;
}

.bg .vignette {
    background: radial-gradient(120% 90% at 50% 10%, #0000 25%, #050507e6 100%);
    position: absolute;
    inset: 0;
}

.navbar,
.container {
    position: relative;
    z-index: 1;
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left{
    display: flex;
    align-items: center;
    max-width: 20rem;
    transition: opacity 0.35s ease;
}

.logo{
    width: clamp(3.25rem, 4.5vw, 5.85rem);
    height: auto;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.logo:hover {
    transform: scale(1.06) rotate(-2deg);
}

.title{
    font-family: "SoDo Sans SemiBold", Arial, Helvetica, sans-serif;
    color: rgb(225, 225, 225);
    font-size: clamp(0.85rem, 2.5vw, 1.65rem);
    padding: 5px 10px 5px 10px;
    text-transform: uppercase;
}

.navbar-right{
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin-right: 1rem;
}

.links{
    display: flex;
    align-items: center;
    gap: 5px;
}

.links a {
    font-weight: 700;
    font-size: 1.35rem;
    text-decoration: none;
    color: rgb(225, 225, 225);
    background-color: rgb(34, 34, 39, 0.6);
    padding: 5px 15px;
    border: 1px solid rgb(59, 59, 59);
    z-index: 2;
    
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.channel-link {
    border-radius: 50px 16px 16px 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.channel-link::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(208, 66, 227, 0.95);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.channel-link:hover::before {
    width: 300px;
    height: 300px;
}

.profile-link{
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.profile-link span {
    position: relative;
    z-index: 2;
}

.profile-link::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath d='M0,15 C30,5 40,25 60,15 C80,5 90,25 120,15 L120,28 L0,28 Z' fill='rgba(208, 66, 227, 0.95)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 100px 100%;
    
    transform: translateY(100%);
    
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    animation: wave-scroll 2s linear infinite;
}

@keyframes wave-scroll {
    0% {
        background-position-x: 0;
    }
    100%{
        background-position-x: 100px;
    }
}

.profile-link:hover::before{
    transform: translateY(0);
}

.main-link {
    border-radius: 16px 50px 50px 16px;
    transition: background-color 0.4s ease-out, 
                border-radius 0.25s ease-out, 
                border-color 0.25s ease-out;
}

.main-link:hover {
    background-color: rgba(208, 66, 227, 0.877);
    border-radius: 50px;
    border-color: transparent;
}

.mobile{
    display: none !important;
}

/* burger */
.burger {
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.openbtn,
.closebtn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.openbtn {
    color: rgb(225, 225, 225);
    opacity: 1;
    pointer-events: auto;
    transform: rotate(0deg) scale(1);
}

.openbtn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: rotate(90deg) scale(0.7);
}

.closebtn {
    color: rgb(173, 173, 173);
    opacity: 0;
    pointer-events: none;
    transform: rotate(0deg) scale(0.7);
    z-index: 99999;
}

.closebtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(-90deg) scale(1);
}

.menu{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;


    transform: translateX(100vw);
    transition: transform 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
    visibility: hidden;
}

.menu.visible {
    display: flex;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}

.links-m{
    display: flex;
    flex-direction: column;
    margin-top: 20%;
}

.moblink{
    color: rgb(173, 173, 173);
    font-size: 1.5rem;
    text-align: left;
    text-decoration: none;
    padding: 20px 5% 20px 5%;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgb(73, 73, 73);
}

.moblink:first-child{
    border-top: 1px solid rgb(73, 73, 73);
}

.moblink:hover{
    color: rgba(219, 143, 255, 0.86);
}

body.menu-open .navbar {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.menu-open .navbar-left {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* desktop container */
.container{
    display: flex;
    position: relative;
    max-width: 82.85rem;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-title{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.title-h{
    color: rgb(225, 225, 225);
    font-size: clamp(1.3rem, 2.2vw, 2.5rem);
    text-align: center;
}

.title-h span{
    color: rgba(208, 66, 227);
}

.description{
    margin-bottom: 2rem;
    margin-top: -0.01rem;
    color: rgb(73, 73, 73);
    text-align: center;
    font-size: clamp(1.35rem, 1.8vw, 2.45rem);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container-imgs{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    
    gap: clamp(0.75rem, 1.5vw, 1.75rem);
    padding: clamp(0.85rem, 1.5vw, 1.5rem);
    margin: 0 auto 3rem auto;
    
    background-color: rgba(38, 38, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.carousel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.d-img{
    width: clamp(8.5rem, 15vw, 16.5rem);
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
    display: block;
    opacity: 1;
    transform: none;
    transition: filter 0.4s ease;
}

.carousel-item:hover .d-img,
.carousel-item.active-desc .d-img {
    filter: brightness(0.32);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 14px);
    padding: clamp(0.75rem, 1.5vw, 1.25rem);
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.carousel-item:hover .card-overlay,
.carousel-item.active-desc .card-overlay {
    opacity: 1;
}

.img-desc {
    width: 90%;
    max-width: 14.5rem;
    height: auto;
    object-fit: contain;
    border-radius: 32px;
    border: 5px solid rgba(255, 255, 255, 0.15);
    display: block;

    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}

.desc-text {
    color: rgb(240, 240, 240);
    font-size: clamp(0.85rem, 1.1vw, 1.1rem);
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0 6px;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);

    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 0.4s ease 0.05s;
}

.carousel-item:hover .img-desc,
.carousel-item:hover .desc-text,
.carousel-item.active-desc .img-desc,
.carousel-item.active-desc .desc-text {
    transform: translateY(0);
    opacity: 1;
}

/* carousel dots */
.carousel-dots {
    display: none;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgb(55, 55, 60);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.dot:hover {
    background-color: rgba(208, 66, 227, 0.6);
}

.dot.active {
    width: 26px;
    border-radius: 10px;
    background-color: rgb(208, 66, 227);
    box-shadow: 0 0 10px rgba(208, 66, 227, 0.45);
}

@media (max-width: 1024px) {
    .links.desktop {
        display: none !important;
    }
    .burger.mobile {
        display: flex !important;
    }
    .menu.mobile {
        display: flex;
    }
}

@media (max-width: 760px) {
    .desktop{
        display: none !important;
    }
    .mobile{
        display: flex !important;
    }
    .title{
        font-size: 1.2rem;
    }
    .navbar{
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
        padding-top: env(safe-area-inset-top, 0px);
        z-index: 10000;
        background-color: rgba(5, 5, 7, 0.6);

        transition: background-color 0.35s ease;
    }
    .container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 1rem;
    }
    .container-title{
        margin-top: 5.5rem;
        margin-bottom: 1.5rem;
    }
    .title-h {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
        line-height: 1.25;
        margin: 0 0 0.5rem 0;
    }
    .description {
        font-size: clamp(0.95rem, 3.8vw, 1.15rem);
        line-height: 1.45;
        margin: 0 0 1.5rem 0;
        color: rgb(140, 140, 140);
    }
    .carousel-wrapper {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        display: flex;
        justify-content: flex-start;
        overflow: hidden;
    }
    .container-imgs {
        --item-width: clamp(220px, 68vw, 270px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        background-color: transparent;
        border: none;
        border-radius: 0;
        margin: 0;

        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;

        -webkit-mask-image: none;
        mask-image: none;

        padding-top: 15px;
        padding-bottom: 25px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px;
    }
    .container-imgs::-webkit-scrollbar {
        display: none;
    }
    .carousel-item {
        scroll-snap-align: start;
        flex: 0 0 var(--item-width);
        width: var(--item-width);
        display: flex;
        justify-content: center;
    }
    .d-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: block;

        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                    filter 0.35s ease;
        will-change: opacity, transform;
    }
    .carousel-item.visible .d-img {
        opacity: 1;
        transform: translateY(0);
    }
    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .carousel-item {
        border-radius: 16px;
        overflow: hidden;
    }
    .card-overlay {
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.52);
        padding: 1.2rem 0.85rem;
    }
    .img-desc {
        border-width: 4px;
        border-radius: 24px;
        max-width: 13.5rem;
    }
    .desc-text {
        font-size: clamp(0.85rem, 3.6vw, 1.05rem);
    }
    .carousel-item:not(.active-desc):hover .d-img {
        filter: none;
    }
    .carousel-item:not(.active-desc):hover .card-overlay {
        opacity: 0;
    }
    .carousel-item:not(.active-desc):hover .img-desc,
    .carousel-item:not(.active-desc):hover .desc-text {
        transform: translateY(30px);
        opacity: 0;
    }
}