/* #region FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');

@font-face {
    font-family: "GTAArtDecoRegular";
    src: url("../fonts/GTAArtDecoRegular.ttf");
    font-display: swap
}

@font-face {
    font-family: "GTAArtDecoMedium";
    src: url("../fonts/GTAArtDecoMedium.ttf");
    font-display: swap
}

/* #endregion */

/* #region GENERAL */

* {
    margin: 0;
    padding: 0;
}

:root {
    interpolate-size: allow-keywords;
    --main-header-gradient: #8d75efd1;
    --secondary-header-gradient: #b475efce;
    --main-word-color: #4d9eff;
}

.hidden {
    opacity: 0;
    display: none;
    pointer-events: none;
}

body {
    font-family: "GTAArtDecoRegular";
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;

    &::-webkit-scrollbar {
        width: 6px;
    }

    &::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, #7f63ec, #b475ef, #7f63ec);
        border-radius: 10px;
    }

    &::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.881);
    }

    &.index {
        &::before {
            background-image: url("../images/main/background.webp");
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-attachment: fixed;
            transform: scale(1.1);
            z-index: 10;
        }

        ::selection {
            background-color: var(--main-header-gradient);
            color: #e7e9ea;
        }

        & #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #000000ec;
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            transition: opacity 1.2s ease-out, visibility 1.2s ease-out;

            &.hidden {
                opacity: 0;
                visibility: hidden;
            }

            & svg {
                & g {
                    & path {
                        fill: none;
                        stroke: #ffffff;
                        stroke-width: 1;
                        stroke-linecap: round;
                        stroke-linejoin: round;

                        animation: neon-flicker 5.2s infinite;
                        filter:
                            drop-shadow(0 0 4px #50e0fa) drop-shadow(0 0 10px #50e0fa) drop-shadow(0 0 22px #50e0fa);
                    }

                }
            }
        }

        & #rightContent {
            flex-direction: column;
            max-width: 7%;
        }

        & .block {
            background: linear-gradient(180deg,
                    rgba(141, 117, 239, 0.664),
                    rgba(85, 150, 229, 0.664),
                    rgba(141, 117, 239, 0.664));
            color: #000000;
            box-shadow: 0px -60px 500px 100px #00cc9c71;
            position: relative;
            z-index: 1000;

            &::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: 30px;
                padding: 12px;
                background: linear-gradient(180deg, #8d75ef, #5596e5, #8d75ef);
                mask:
                    linear-gradient(#000 0 0) content-box,
                    linear-gradient(#000 0 0);
                mask-composite: exclude;
                z-index: 100;
                pointer-events: none;
            }
        }

        & main {
            margin-top: 4em;
        }

        & details {
            font-size: 22px;
            color: #000000;
            transition: color 0.2s ease-in-out;
            margin: 4%;

            & summary {
                cursor: pointer;
            }

            & p {
                max-width: 120ch;
                margin: 0.2em 3em 2em 3em;
                color: #000000b8;
            }

            & h3 {
                margin-top: 1em;
                font-size: 35px;
                width: max-content;
                color: #252258;
                border-bottom: 3px solid;
                border-image: linear-gradient(to right, #455eec, #d049ee);
                border-image-slice: 1;
                text-align: left;
            }

            & h4 {
                font-weight: 800;
                margin: 0.5em 2em;
                color: #000;
            }

            & a {
                color: #083d7e;
                text-decoration: none;
                transition: all 0.15s ease-out;
                display: inline-block;

                &:hover {
                    cursor: pointer;
                    color: #1571e2;
                }

                &:active {
                    color: #663c7d;
                }
            }

            &[open] summary {
                color: #8e0fd2;
            }
        }
    }

    & .block {
        margin: 6em 9em;
        border-radius: 30px;
        transition: scale 0.4s ease-out;
        overflow-y: hidden;
        position: relative;
        z-index: 1000;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        & .text-container {
            & h2 {
                margin-top: 1em;
                font-size: clamp(1.5rem, 5vw, 2.3rem);
                line-height: 1.2;
                text-align: center;
            }

            & p {
                font-size: 1.5rem;
                margin: 1.2em 3em;
            }
        }
    }
}


header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 3.4em;
    background: linear-gradient(to right, var(--main-header-gradient), var(--secondary-header-gradient), var(--main-header-gradient));
    backdrop-filter: blur(10px);
    padding: 0.6em 0;
    position: fixed;
    top: 0;
    right: 0;
    border-bottom: 3px solid #833fc3d9;
    align-items: center;
    z-index: 10000;
    overflow: hidden;

    & .logo-container {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: start;
        gap: 25px;

        & a {
            margin: 0;
            padding: 0;
            line-height: 0;
            transition: transform 0.2s ease filter 0.1s ease;

            &:active {
                transform: scale(0.9);
            }

            &:hover {
                filter: brightness(0.9);
            }
        }

        & img {
            width: 4em;
            margin-left: 30px;
            filter: drop-shadow(1px 1px 20px #e399bc);
        }

        & h1 {
            font-family: "Alfa Slab One";
            font-size: 2.1em;
            text-align: center;
            -webkit-text-stroke: 1px #000000ad;
            background-color: var(--main-word-color);
            background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: all 0.2s ease;

            &:hover {
                filter: brightness(1.2);
                -webkit-text-stroke: 1px #0e315892;
                cursor: default;
                transform: scaleX(1.04);
            }

            &:active {
                transform: translateY(-2px)
            }
        }
    }

    & button {
        border-radius: 10px;
        border: 3px solid #417db5da;
        padding: 0.3em;
        background-color: #76b1e8;
        cursor: pointer;
        filter: drop-shadow(1px 1px 20px #75e1e1);
        transition: background-color, transform 0.3s ease;
        margin-right: 30px;

        &:hover {
            background-color: #448ed4;
            transform: scale(1.1);
        }

        &:active {
            background-color: #25649fc9
        }

        &.active {
            background-color: #3486d394;
            border-color: #3951c05b;

            & .line {
                transition: all 0.1s ease-out;

                &:nth-child(1) {
                    transform: rotate(45deg) translate(5px, 5px);
                }

                &:nth-child(2) {
                    opacity: 0;
                }

                &:nth-child(3) {
                    transform: rotate(-45deg) translate(5px, -5px);
                }
            }
        }
    }

    & .line {
        display: block;
        width: 1.6em;
        height: 0.23em;
        margin: 0.3em;
        background-color: #e1faff;
        transition: all 0.1s ease-out;
    }
}

#rightContent {
    padding-inline-start: 20px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    top: 75px;
    right: -35vw;
    width: 25%;
    height: 85vh;
    background: #0b011fcc;
    transition: all 0.5s ease-in-out;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    backdrop-filter: blur(25px);
    z-index: 10000;

    &::before {
        border-top-left-radius: 35px;
        border-bottom-left-radius: 35px;
        content: "";
        position: absolute;
        z-index: 10000;
        inset: 0;
        padding: 7px;
        padding-right: 0;
        mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        mask-composite: exclude;
        background: linear-gradient(90deg, #b475efd9, #2081c7);
        pointer-events: none;
    }

    &.show {
        right: 0;
    }

    & a {
        margin: 0;
    }

    & img {
        width: 80px;
        padding: 4px 20px;
        transition: all 0.2s ease-in-out;

        &:hover {
            transform: scale(1.3);
        }

        &:active {
            filter: drop-shadow(0 0 10px rgba(218, 144, 203, 0.627));
        }
    }

    & .right-content-logos {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 95%;

        & a {
            & .right-content-img {
                filter: grayscale(100%)
            }
        }
    }

    & .right-content-nav {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-top-left-radius: 40px;
        border-bottom-left-radius: 40px;

        & ul {
            list-style: none;

            & li {
                text-align: left;
                padding: 8px 0 8px 5px;
                line-height: 0.9;

                &:first-child {
                    margin-bottom: 15px;

                    & a {
                        font-size: 35px;
                    }
                }

                & a {
                    text-decoration: none;
                    font-weight: bold;

                    &.inactive {
                        transition: color 0.4s;
                    }
                }
            }
        }
    }
}

.welcome-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5em;
    align-items: baseline;
    grid-template-areas:
        "title  fotd"
        "text   fotd";

    & .welcome-title {
        grid-area: title;
        text-align: center;
        grid-column: 1 / -1;
        font-family: "Alfa Slab One";
        line-height: 0.9;
        font-size: 2.9em;
        width: 100%;
        margin: 1.5em auto 0 auto;
        -webkit-text-stroke: 2px #00000082;
        background: linear-gradient(to right, #0e72ed, #ff8bae);
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    & .welcome-text {
        grid-column: 1;
        grid-area: "text";
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;

        & .index-text {
            font-size: 1.5em;
            text-align: left;
            margin: 1em 0 0 3em;
            color: #2a2a2a;
            background-image: linear-gradient(45deg, #000000, #292222 50%, #000000 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;

            & span {
                font-weight: bold;
            }
        }
    }

    & .fotd-container {
        grid-area: text;
        background-image: linear-gradient(-225deg, #5271C4 0%, #B19FFF 48%, #ECA1FE 100%);
        margin: 0 1.5em;
        padding: 30px 25px;
        border: 1px solid #00000030;
        box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
        border-radius: 25px;
        max-width: 300px;
        grid-column: 2;

        & .fotd-title h2 {
            text-align: center;
            font-family: "Alfa Slab One";
            font-size: 1.7em;
            color: var(--main-word-color);
            -webkit-text-stroke: 1px #3b3939;
            border-radius: 20px;
            background-color: #f9f9f92d;
            padding: 12px 20px;
        }

        & .fotd-image img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
            display: block;
            margin: 20px auto;
            object-fit: cover;
            border: 4px solid rgba(255, 255, 255, 0.8);
        }

        & .fotd-description {
            position: relative;

            & p {
                font-family: "GTAArtDecoRegular";
                font-size: 18px;
                text-align: center;
                margin: 4px 0;
                text-wrap: balance;
                line-height: 1.5;
                background-color: #f9f9f92d;
                padding: 20px;
                border-radius: 15px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            }
        }

    }
}

.countdown-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
    margin: 0 auto 2em auto;
    gap: 0.4em;
    position: relative;
    border-radius: 120px;
    color: #fff;
    width: 85%;
    height: 100%;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to bottom, #037aa23c, #000000d7), url('../images/main/VI_countdown.webp');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        z-index: 0;
        border-radius: 50px;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50px;
        padding: 5px;
        background: linear-gradient(135deg, #E39986, #f483f8, #544eff, #E39986);
        mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        mask-composite: exclude;
        pointer-events: none;
    }

    & h2 {
        font-size: 2em;
        margin: 0.3em auto;
        z-index: 10;
        text-shadow: 0 2px #000000;
    }

    & img {
        display: block;
        margin: 0.3em auto 0 auto;
        width: 130px;
        z-index: 10;
        transform: translateX(-10px);
    }

    & #countdown {
        margin: 1em auto;
        font-size: 1.2em;
        text-shadow: 0 2px #000000;
        z-index: 10;
    }
}

.news {
    position: relative;
    background-image: linear-gradient(-225deg, #5270c461 0%, #b19fff61 48%, #ECA1FE61 100%);
    margin: 12em 0 3em 0;
    padding: 15px 20px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 50px 30px rgba(0, 0, 0, 0.15);

    & h2 {
        position: relative;
        font-family: "Alfa Slab One";
        margin: 15px auto 30px auto;
        line-height: 1.1;
        font-size: 2.3em !important;
        text-align: center;
        z-index: 10;
        font-weight: bold;
        color: var(--main-word-color);
        -webkit-text-stroke: 1px #000000ad;
        opacity: 0.85;
    }

    & .news-article {
        background: #ffffff5e;
        border-radius: 15px;
        padding: 35px 20px;
        margin: 0 1em 85px 1em;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.2s ease;

        &:nth-child(odd) {
            background: #fafbfb61;
        }

        & .news-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 35px;
            padding-bottom: 25px;
            border-bottom: 2px solid rgba(141, 117, 239, 0.2);

            & h3 {
                font-size: 2.3em;
                font-family: "GTAArtDecoMedium";
                text-align: left;
            }

            & h4 {
                margin: 0;
                text-align: right;
                font-style: italic;
                color: #6b7db8;
                font-family: "GTAArtDecoRegular";
                font-size: 1.1rem;
                font-weight: 500;
                display: flex;
                align-items: center;
                gap: 8px;
                flex-shrink: 0;
            }
        }

        & .news-content {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            text-align: left;

            & p {
                margin: 1.8em auto;
                line-height: 1.7;
                font-size: 1.3em;
                color: #2a2a2a;
                width: 100%;
                text-align: center;
                text-wrap: balance;
            }

            & b {
                color: #030027;
                font-weight: 600;
            }

            & i {
                display: block;
                background: #ffffff43;
                border-left: 4px solid #8d75ef;
                padding: 20px 25px;
                margin: 50px auto 15px auto;
                width: 70%;
                font-style: italic;
                border-radius: 9px;
                font-size: 0.9em;
                line-height: 1.6;
            }

            & img {
                width: 85%;
                max-height: 420px;
                object-fit: cover;
                margin: 0 auto;
                border-radius: 15px;
                object-position: top;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
                display: block;
                transition: all 0.3s ease;
                border: 3px solid rgba(91, 50, 255, 0.6);
            }

            & a {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 5px;
                width: fit-content;
                padding: 15px 30px;
                margin: 30px auto;
                text-align: center;
                text-decoration: none;
                background: linear-gradient(90deg, #03ade5, #bd1bbd);
                border-radius: 20px;
                color: #ffffff;
                font-family: "GTAArtDecoMedium";
                text-transform: uppercase;
                transition: background 0.2s ease-out, scale 0.2s ease-out;

                & .material-symbols-rounded {
                    font-size: 1.3rem;
                    color: #ffffffea;
                    transition: scale 0.2s ease-out;
                }

                &:hover {
                    background: linear-gradient(90deg, #02759c, #811081);
                    scale: 1.05;

                    & .material-symbols-rounded {
                        scale: 1.2;
                    }
                }
            }
        }
    }

    & button {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 1.5em;
        width: 30%;
        height: 60px;
        padding: 15px 10px;
        margin: 30px auto;
        text-align: center;
        text-decoration: none;
        background: #4E7EBB;
        border-radius: 15px;
        border: 3px solid #0000003b;
        color: #f3f3f3ea;
        font-family: "GTAArtDecoMedium";
        text-transform: uppercase;
        transition: background 0.2s ease-out, scale 0.2s ease-out;
        cursor: pointer;

        & .material-symbols-rounded {
            font-size: 1.3em;
            color: #f3f3f3ea;
            transition: scale 0.2s ease-out;
        }

        &:hover {
            background: #3875c4;
            scale: 1.02;

            & .material-symbols-rounded {
                scale: 1.4;
            }
        }

        &:active {
            background: #173861;
            scale: 0.95;

        }
    }
}

details::details-content {
    block-size: 0;
    transition: all 0.2s ease-in-out;
    transition-behavior: allow-discrete;
    overflow: hidden;
}

details[open]::details-content {
    block-size: auto;
}


#imageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000b3;
    backdrop-filter: blur(8px) brightness(0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;

    &.open {
        opacity: 1;
        pointer-events: all;

        & #overlayImg {
            transform: scale(1);
            opacity: 1;
        }
    }

    & img {
        max-width: 95%;
        max-height: 95%;
        box-shadow: 0 0 20px #000000;
        border-radius: 10px;
        transform: scale(0.5);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    & span {
        position: absolute;
        top: 50px;
        right: 30px;
        font-size: 4rem !important;
        color: #e8baf6;
        text-shadow: 0px 0px 20px #e2b5f6;
        cursor: pointer;
        z-index: 100000;
        transition: transform 0.1s ease-out, filter 0.05s ease-out;

        &:active {
            transform: scale(0.9);
            filter: brightness(0.8);
        }
    }
}

.timeline-image,
.news-image {
    transition: filter 0.15s ease-in;
}

.timeline-image:active,
.news-image:active {
    filter: brightness(40%);
}

.timeline-image:hover,
.news-image:hover {
    cursor: pointer;
    filter: brightness(0.9);
}

.wip {
    top: 7vh;
    width: 100%;
    z-index: 10000;
    position: fixed;
    text-align: center;
    background-color: rgba(238, 255, 50, 0.7);

    & p {
        font-weight: 900;
        font-size: 2em;
    }
}

/* #endregion */

/* #region FICHA TÉCNICA */

.ficha-tecnica {
    border: 3px solid;
    border-radius: 0 25px 25px 0;
    width: 100%;
    max-width: 500px;

    & table {
        max-width: 500px;
        font-size: 15px;
        border-spacing: 0;
        border-collapse: collapse;
        margin: 0 auto;

        & tr {
            border: 1px solid;

            &:last-of-type {
                border: none;
            }
        }

        & img {
            border-radius: 10px;
            filter: drop-shadow(0 10px 5px #0000004d);
            margin: 0 auto 10px;
        }

        & ul {
            list-style: none;
        }

        & td {
            font-size: 17px;
            padding: 1em;

            & .table-platforms {
                text-align: center;
            }

            & span {
                font-size: 21px;
                font-weight: bold;
            }
        }

        & th {
            font-size: 19px;
            text-align: center;

            & img {
                width: 80%;
                height: auto;
                display: block;
            }
        }

    }
}

/* #endregion */

/* #region 100% CHECKLIST */

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 24px;
    flex-wrap: wrap;

    & .progress-label {
        display: flex;
        flex-direction: column;
        min-width: 80px;

        & .progress-text {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.6;
        }

        & .progress-count {
            font-size: 0.85rem;
            font-weight: 600;
            opacity: 0.85;
        }
    }

    & .progress-bar-bg {
        flex: 1;
        min-width: 120px;
        height: 8px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
        overflow: hidden;

        & .progress-bar-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
    }

    & .progress-pct {
        font-size: 0.9rem;
        font-weight: 700;
        min-width: 38px;
        text-align: right;
        opacity: 0.9;
    }
}

.checklist-container {
    display: flex;
    flex-direction: column;
    gap: 0.4em;

    & article {
        & .section-header {
            font-size: 1.3em;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            padding: 10px 14px;
            margin: 0;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            user-select: none;
            text-align: left;
            transition: background 0.2s;

            &:hover {
                background: rgba(255, 255, 255, 0.09);
            }

            & .section-controls {
                display: flex;
                align-items: center;
                gap: 10px;
                margin-left: auto;
                padding-left: 12px;

                & .section-badge {
                    font-size: 0.82rem;
                    opacity: 0.6;
                    font-weight: 400;
                    white-space: nowrap;
                }

                & .section-check-all {
                    background: none;
                    border: none;
                    cursor: pointer;
                    padding: 2px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    opacity: 0.8;
                    color: inherit;
                    transition: opacity 0.2s;

                    &:hover {
                        opacity: 1;
                    }



                    & svg {
                        width: 20px;
                        height: 20px;
                    }
                }

                & .section-arrow {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: transform 0.3s ease;

                    &.open {
                        transform: rotate(180deg);
                    }

                    & svg {
                        width: 16px;
                        height: 16px;
                        display: block;
                    }
                }
            }
        }

        & .checklist-list-wrapper {
            position: relative;
            overflow: hidden;

            &.section-collapsed {
                & ul {
                    transform: scaleY(0.95);
                    opacity: 0;
                    pointer-events: none
                }

            }

            & ul {
                list-style: none;
                padding: 0;
                margin: 4px 0 4px;
                display: flex;
                flex-direction: column;
                gap: 6px;
                min-height: 0;
                transform-origin: top;
                transition: transform 0.22s ease, opacity 0.2s ease;
                will-change: transform, opacity;


                & li {
                    background: rgba(255, 255, 255, 0.04);
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    border-radius: 8px;
                    overflow: hidden;
                    transition: background 0.2s, border-color 0.2s;

                    &:hover {
                        background: rgba(255, 255, 255, 0.07);
                        border-color: rgba(255, 255, 255, 0.15);
                    }

                    &.completed {

                        & .checklist-title {
                            opacity: 0.5;
                            text-decoration: line-through;
                        }
                    }

                    & .checklist-row {
                        display: flex;
                        align-items: center;
                        gap: 12px;
                        padding: 12px 14px;
                        cursor: default;
                        user-select: none;

                        & label {
                            display: flex;
                            align-items: center;
                            flex-shrink: 0;
                            cursor: pointer;

                            & input {
                                display: none;

                                &:checked {
                                    &+span {

                                        &::after {
                                            content: "";
                                            display: block;
                                            width: 5px;
                                            height: 9px;
                                            border: 2px solid #111;
                                            border-top: none;
                                            border-left: none;
                                            transform: rotate(45deg) translate(-1px, -1px);
                                        }
                                    }
                                }
                            }

                            & span {
                                width: 20px;
                                height: 20px;
                                border: 2px solid rgba(255, 255, 255, 0.35);
                                border-radius: 4px;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                transition: background 0.2s, border-color 0.2s;
                                flex-shrink: 0;
                            }
                        }

                        & .checklist-info {
                            flex: 1;
                            min-width: 0;
                            cursor: pointer;
                            display: flex;
                            flex-direction: column;
                            align-items: start;
                            gap: 2px;

                            & span {
                                font-size: 1em;
                                text-align: start;
                                font-weight: 300;
                                transition: opacity 0.2s;
                            }
                        }
                    }
                }
            }
        }
    }

    .checklist-icon {
        width: 25px;
        height: 25px;
        margin-right: 8px;
        vertical-align: middle;
        object-fit: contain;
    }
}

/* #endregion */

/* #region HERRAMIENTAS Y MODS */

.mod-title {
    margin: 1.8em auto;
    font-size: clamp(20px, 25px, 45px);
}

.mods-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    gap: 1.5em;
    margin: 0 auto 2em 0;

    & details {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        color: #fff;
        border-radius: 25px;
        padding: 1.2em;
        width: 600px;
        min-height: 120px;
        contain: layout paint;


        & summary {
            display: grid;
            grid-template-columns: 90px 1fr;
            align-items: center;
            position: relative;

            & img {
                width: 100px;
                height: 100px;
                object-fit: contain;
                transition: width 0.3s ease-out height 0.3s ease-out;
                display: block;
            }

            & .material-symbols-rounded.arrow {
                position: absolute;
                top: 1%;
                right: 2%;
                color: #ffffff;
                transition: all 0.15s ease-in-out;
                opacity: 0;
            }

            & .mod-text {

                & h4 {
                    font-size: 1.6em;
                    text-align: center;
                    transition: all 0.3s ease-out;
                }

                & p {
                    color: #d4d4d4;
                    font-size: 1em;
                    text-align: center;
                    transition: all 0.3s ease-out;
                    margin: 0.4em 1.3em;
                }
            }

            & .mod-actions {
                margin: 1em auto;
                display: none;
                align-items: center;
                justify-content: center;
                gap: 1em;
                grid-column: 2;
                grid-row: 3;

                & a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 0.5em;
                    color: #f0f0f0;
                    text-decoration: none;
                    border-radius: 15px;
                    border: 1px solid #ffffff43;
                    padding: 0.2em 1em;
                    transition: all 0.2s ease-out;
                }
            }
        }

        &[open] {
            cursor: default;
            padding: 2em;

            & summary {
                grid-template-columns: 150px 1fr;
                grid-template-rows: auto auto auto;
                justify-items: center;

                & img {
                    display: block;
                    grid-column: 1;
                    grid-row: 1 / -1;
                    width: 120px;
                    height: 120px;
                }

                & .material-symbols-rounded.arrow {
                    transform: rotate(180deg);
                    cursor: pointer;
                    opacity: 1;
                }

                & .mod-text {
                    display: contents;

                    & h4 {
                        font-size: 2em;
                        grid-column: 2;
                        grid-row: 1;

                        & p {
                            grid-column: 2;
                            grid-row: 2;
                        }
                    }
                }

                & .mod-actions {
                    display: flex;
                    margin-bottom: 1.5em;
                }
            }
        }

        & .mod-expanded {
            width: 100%;
            will-change: transform, opacity;

            & .mod-features .tab-content {
                display: none;
            }

            & .mod-features {
                padding-top: 1.5em;
                width: 100%;

                & .tab-content {
                    width: 100%;
                    max-width: 500px;

                    &.active {
                        display: block;
                        margin: 0 auto;
                    }

                    & h5 {
                        font-size: 1.4em;
                        margin-bottom: 1em;
                        text-align: center;
                        font-weight: 500;
                    }

                    &[data-content="info"] ul {
                        display: flex;
                        flex-direction: column;
                        flex-wrap: wrap;
                        list-style: none;
                        gap: 0.7em;

                        & li {
                            position: relative;
                            padding-left: 1.5em;

                            &::before {
                                position: absolute;
                                left: 0;
                                top: 0;
                                content: "✓";
                                font-size: 1.3em;
                            }
                        }
                    }

                    &[data-content="download"] ol {
                        display: flex;
                        flex-direction: column;
                        gap: 0.4em;
                        justify-content: center;
                        padding: 1em;
                    }

                    & a {
                        width: max-content;
                        margin: 2em auto 0 auto;
                        display: flex;
                        align-items: center;
                        gap: 15px;
                        color: #ffffff;
                        text-decoration: none;
                        border-radius: 25px;
                        padding: 0.6em 3em;
                        text-align: center;
                        transition: all 0.2s ease-out;

                        & .material-symbols-rounded {
                            font-size: 1.2em;
                        }
                    }

                    & .mod-author p {
                        text-align: center;
                        margin: 2em auto 0.3em auto;
                        font-size: 1em;
                        font-style: italic;
                        opacity: 0.7;
                    }
                }
            }
        }
    }
}

details.mod:hover summary>.material-symbols-rounded.arrow {
    opacity: 1;
}


/* #endregion */

/* #region LOGROS */
.achievement-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1em auto 1.6em auto;
    gap: 0.5em;

    & button {
        font-family: "GTAArtDecoMedium";
        padding: 0.6em 0.8em;
        opacity: 0.2;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5em;
        border-radius: 6px;
        border: none;
        transition: scale 0.2s ease-in;
        text-transform: uppercase;

        &.active {
            opacity: 1;
            transition: opacity 0.15s;
        }

        &:active {
            scale: 0.9;
        }
    }

    & img {
        width: 25px;
        pointer-events: none;
    }
}

.achievement-disclaimer {
    display: flex;
    flex-direction: column;
    justify-content: center;

    & p {
        font-family: "GTAArtDecoRegular" !important;
        font-size: 1em !important;
        text-align: center !important;
        color: rgb(230, 136, 136);
        max-width: 160ch !important;
    }

    & h3 {
        text-align: center;
    }
}

.achievement-content {
    contain-intrinsic-size: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    & .achievement-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-bottom: 20px;
        width: 100%;
        margin: 30px auto 0 auto;
        width: 800px;

        & .achievement-card {
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            overflow: hidden;
            transition: border-color 0.2s ease;
            contain: layout paint;

            &:hover {
                border-color: rgba(255, 255, 255, 0.4);
            }

            & .achievement-card-header {
                display: flex;
                align-items: center;
                gap: 16px;
                padding: 16px;

                & .achievement-img {
                    width: 64px;
                    height: 64px;
                    object-fit: contain;
                    flex-shrink: 0;
                }

                & .achievement-card-info {
                    display: flex;
                    flex-direction: column;
                    align-items: start;

                    & .achievement-name {
                        margin: 0 0 4px 0;
                        font-size: 1.1rem;
                        color: #fff;
                    }

                    & .achievement-description {
                        margin: 0;
                        text-align: left;
                        font-size: 0.9rem;
                        color: rgba(255, 255, 255, 0.6);
                    }

                    & .achievement-tag-container {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 6px;
                        margin-top: 12px;
                        margin-bottom: 4px;

                        & .achievement-tag {
                            font-size: 0.75rem;
                            padding: 0.4em 1.2em;
                            border-radius: 12px;
                            font-family: "GTAArtDecoMedium";
                        }
                    }
                }
            }
        }
    }
}

.achievement-card-guide {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    & .achievement-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
        text-align: left;

        &:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        & .achievement-toggle-icon {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }
    }

    & .achievement-guide-text {
        max-width: max-content !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden !important;
        padding: 0 16px !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        transition: max-height 0.25s ease, opacity 0.3s ease, padding 0.2s ease !important;
    }
}

.achievement-toggle[aria-expanded="true"] .achievement-toggle-icon {
    transform: rotate(45deg) !important;
}

.achievement-toggle[aria-expanded="true"]+.achievement-guide-text {
    padding: 12px 16px 16px !important;
}

/* #endregion */

/* #region MAPA */
.map-container {
    margin: 3em;
    display: flex;
    justify-content: start;
    align-items: start;
    width: 60%;
    height: auto;

    & img {
        width: 100%;
        height: 100%;
        border-radius: 25px;
        border: 2px solid #ffffffb2;
    }
}

/* #endregion */

/* #region RADIO */
.radio-drag {
    display: flex;
    width: fit-content;
    ;
    /* TODO: darle ancho específico a cada página */
    flex-direction: row;
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
}

.radio-drag p {
    font-size: 3rem !important;
    text-align: center;
    text-wrap: nowrap;
    transition: transform 0.4s ease, opacity 0.4s ease;
    margin: 0 !important;
    white-space: nowrap;
}

.radio-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#previousRadio,
#nextRadio {
    font-size: 4rem;
    text-shadow: 0 0 10px rgb(123, 150, 239);
}

#previousRadio:hover,
#nextRadio:hover {
    cursor: pointer;
}

body:not(.gta-5) .radio-container img:nth-of-type(1) {
    transform: rotate(90deg);
}

body:not(.gta-5) .radio-container img:nth-of-type(2) {
    transform: rotate(270deg);
}

footer {
    display: none;
    justify-content: space-between;
    padding: 10px;
    font-size: 14px;
    background: linear-gradient(to right, #8d75efd1 10%, #b475efce 50%, #8d75efd1 90%);
    border-top: 3px solid #833fc3d9;
    backdrop-filter: blur(12px);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-album img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 3px solid #98dbee;
    background-color: rgba(148, 228, 246, 0.762);
    flex-shrink: 0;
}

.footer-text {
    text-align: left;
    flex: 0 0 auto;
    min-width: 250px;
    margin: 0 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 0 3px #000000;
}

.footer-text p {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    font-family: "GTAArtDecoRegular";
}

.footer-container {
    display: flex;
    place-items: center;
    flex-direction: column;
    align-items: center;
    margin-left: -15%;
    flex: 1;
}

.footer-controls {
    display: flex;
    gap: 15px;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    justify-content: center;
}

.footer-controls span {
    font-size: 50px;
    color: #d8fefa;
    text-shadow: 0 0 10px #000000c3;
    transition: all 0.2s ease-in-out;
}

.footer-controls span:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.footer-controls span:active {
    transform: scale(0.99);
    color: #e7c1fe;
}

.footer-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 250px;
    color: rgb(222, 221, 221);
    font-family: "GTAArtDecoMedium";
}

#currentTime,
#totalTime {
    text-shadow: 0 0 5px #000000c4;
}

#bar {
    flex: 1;
    height: 6px;
    background: rgba(192, 192, 192, 0.484);
    box-shadow: 0 0 1px #000000;
    border-radius: 3px;
    overflow: hidden;
}

#bar:hover {
    cursor: pointer;
}

#currentBar {
    width: 15%;
    height: 100%;
    background: rgba(244, 225, 246, 0.818);
    transition: all 0.3s ease-out;
}

#currentBar:hover {
    filter: brightness(0.9);
}

#radioInfo {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    grid-template-columns: 150px 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    align-items: center;
    margin: 15px 160px 0px 160px;
    padding: 15px;
    color: #fff;
    border-radius: 30px;
    z-index: 3;
    transition: transform 0.5s ease, opacity 0.3s linear, scale 0.4s ease-out;
}

#radioInfo:hover {
    scale: 1.003;
}

#radioInfo.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: grid;
}

#radioImage {
    width: 140px;
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    height: auto;
}

#radioTitle {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    font-size: 1.8rem;
    margin: 0;
}

#radioDJ {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    margin: 0;
}

#radioGenre {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    margin: 0;
}

#radioList {
    grid-row: 4 / 5;
    grid-column: 1 / 4;
    margin: 0;
    padding-left: 10vw;
}

#radioList li {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#radioList li.active {
    opacity: 1;
    font-weight: bold;
}

#radioList li:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* #endregion */

/* #region ANIMACIONES */
@keyframes neon-flicker {
    0% {
        opacity: 1;
        filter:
            drop-shadow(0 0 4px #c150fa) drop-shadow(0 0 10px #c150fa) drop-shadow(0 0 12px #c150fa);
    }

    2% {
        opacity: 0.3;
        filter: none;
    }

    5% {
        opacity: 1;
        filter:
            drop-shadow(0 0 6px #c150fa) drop-shadow(0 0 14px #c150fa) drop-shadow(0 0 12px #c150fa);
    }

    9% {
        opacity: 0.5;
        filter:
            drop-shadow(0 0 3px #c150fa);
    }

    14% {
        opacity: 1;
        filter:
            drop-shadow(0 0 8px #c150fa) drop-shadow(0 0 18px #c150fa) drop-shadow(0 0 12px #c150fa);
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(50%) translateY(10px);
    }

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

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(50%) translateY(-5px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

/* #endregion */

/* #region MEDIA QUERIES */

@media (max-width: 1350px) {

    /* #region GENERAL */
    header {
        justify-content: center;
        gap: 25px;
        height: 3.5em;

        & .logo-container {
            gap: 25px;
            flex: none;

            & img {
                margin-left: 0;
                width: 60px;
            }

            & h1 {
                font-size: 2.3em;
            }
        }

        & button {
            margin-right: 0;
        }
    }

    body {
        & .block {
            flex-direction: column !important;
            padding: 15px;
            margin: 75px 5px 20px 5px;
            text-align: center;

            & .text-container {
                display: flex;
                flex-direction: column;
                align-items: center;

                & p {
                    line-height: 1.8;
                    text-align: left;
                    max-width: 30ch;
                    opacity: 0.9;
                    margin: 1.6em 0;
                    font-size: 1.2em;
                }

                & h2 {
                    line-height: 1.5;
                }
            }
        }

        &.index {
            & .block {
                box-shadow: 0px -60px 10px #00cc9c71;
                backdrop-filter: blur(9px);
                -webkit-backdrop-filter: blur(9px);
                background: linear-gradient(180deg,
                        rgba(141, 117, 239, 0.8),
                        rgba(85, 150, 229, 0.8),
                        rgba(141, 117, 239, 0.8));
            }

            & #rightContent {
                max-width: 20%;

                & img {
                    width: 70px;
                }
            }

            details {
                font-size: 1.3em;

                & h3 {
                    margin: 20px auto 40px auto;
                }

                & h4 {
                    text-wrap: balance;
                    max-width: 18ch;
                    margin: 15px auto 20px auto;
                    font-size: 1.2em;
                }

                & p {
                    font-size: 0.85em;
                    text-wrap: balance;
                    margin: 10px auto 25px auto;
                    line-height: 1.7;
                    max-width: 55ch;
                }
            }
        }

        & #rightContent {
            width: 90%;
            right: -100dvw;
            height: 90dvh;

            & li {
                padding: 5px;
            }
        }
    }

    /* #endregion */

    /* #region INDEX */
    .welcome-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4em;

        & .welcome-title {
            text-wrap: balance;
            margin: 0.7em auto 0 auto;
            text-align: center;
            line-height: 1.3;
        }

        & .welcome-text {
            & .index-text {
                margin: 0 15px 3em 15px;
                text-align: left;
                font-size: 1.3em;
                max-width: 50ch;
                line-height: 1.45;
            }
        }

        & .fotd-container {
            margin: 5px;
            max-width: 100%;

            & .fotd-image {
                width: 50%;
                margin: 0 auto;
            }
        }
    }


    .countdown-wrapper {
        width: 100%;
        margin: 2em 0;

        & h2 {
            font-size: 1.3em !important;
            max-width: 22ch;
        }
    }

    .news {
        margin: 3em auto;

        & h2 {
            font-size: 2.3em;
            line-height: 1.2;
        }

        & .news-article {
            margin: 2em 0;


            & .news-header {
                flex-direction: column;

                & h3 {
                    font-size: 2em;
                    text-align: center;
                    text-wrap: balance;
                    margin-bottom: 1em;
                }

                & h4 {
                    text-align: center;
                }
            }

            & .news-content {
                & p {
                    font-size: 1.3em;
                    text-align: left;
                    line-height: 1.9;
                    max-width: 30ch;
                }

                & i {
                    margin-inline: auto;
                    max-width: 18ch;
                    text-align: center;
                    line-height: 1.8;
                    font-size: 0.8em;
                }
            }
        }

        & button {
            width: auto;
        }
    }

    /* #endregion */

    /* #region INICIO */

    /* #endregion */

    /* #region FICHA TÉCNICA */

    .ficha-tecnica {
        margin: 0 auto;
        display: flex;
        border-radius: 25px;
        justify-content: center;
        width: 100%;
        max-width: 400px;

        & table {
            & th {
                font-size: 1em;
            }

            & td {
                padding: 0.8em;
                text-align: left;
                font-size: 1em;

                & .table-platforms {
                    font-size: 1.2em;
                }
            }
        }
    }

    /* #endregion */

    /* #region 100% CHECKLIST */
    .checklist-percentage {
        margin: 1em 0 2em 0;
        width: 100%;
    }

    .checklist-container {
        gap: 0.9em;
    }

    /* #endregion */

    /* #region HERRAMIENTAS Y MODS */
    .mods-container {
        gap: 3em;

        & details {
            padding: 1em 0.5em;
            max-width: 75vw;


            & summary {
                grid-template-columns: 1fr;
                text-align: center;
                justify-items: center;
                gap: 1em;
                position: relative;
                width: 100%;

                & .material-symbols-rounded.arrow {
                    opacity: 1;
                    right: 5px !important;
                    top: 5px !important;
                }

                & img {
                    width: 70px;
                    height: 70px;
                    margin: 0 auto;
                }
            }

            & .mod-expanded {
                opacity: 0;
                transform: translateY(-6px);

            }

            &[open] {
                display: flex;
                flex-direction: column;
                align-items: center;
                max-width: 75vw;

                & summary {
                    display: flex;
                    flex-direction: column;
                    justify-items: center;
                    text-align: center;
                    gap: 0;

                    & img {
                        width: 100px;
                        height: auto;
                        grid-row: 1;
                        grid-column: 1 / -1;
                    }


                    & .mod-text {

                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        & h4 {
                            grid-row: 2;
                            grid-column: 1 / -1;
                            text-align: center;
                            transition: none;
                        }

                        & p {
                            grid-row: 3;
                            grid-column: 1 / -1;
                            transition: none;
                        }
                    }

                    & .mod-actions {
                        flex-direction: column;
                        grid-row: 4;
                        grid-column: 1 / -1;
                        width: 100%;

                        & a {
                            width: 100%;
                            height: 40px;
                            padding: 0 1em;
                        }
                    }
                }


            }

            & .mod-expanded {
                opacity: 1;
                transform: translateY(0);
                transition: opacity 0.2s ease, transform 0.2s ease;

                & .tab-content[data-content="info"] ul {
                    line-height: 2;
                    gap: 2em;
                }
            }
        }
    }

    /* #endregion */

    /* #region LOGROS */
    .achievement-selector {
        margin: 2em 0;
        flex-direction: column;
        gap: 1em;

        & button {
            height: 3em;
            width: 100%;
            justify-content: center;
        }
    }

    .achievement-content {
        contain-intrinsic-size: 90vw;

        & .achievement-list {
            width: 90vw;
            gap: 3.5em;
            margin: 2em auto 15px auto;
        }
    }

    /* #endregion */

    /* #region RADIO */
    #radioInfo {
        margin: 15px 10px 0px 10px;
    }

    .footer-text {
        opacity: 0;
        visibility: hidden;
        width: 0;
        display: none;
    }

    .v-radio-wheel .radio-image {
        width: 37px !important;
        height: 37px !important;
        transform: rotate(calc(var(--i) * 14.4deg)) translate(160px) rotate(calc(var(--i) * -14.4deg)) !important;
    }

    .v-radio-center p {
        font-size: 17px !important;
        left: 50%;
    }

    /* #endregion */


}

/* #endregion */