/* #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 */

img,
a {
    -webkit-user-drag: none;
}

* {
    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";
    padding-bottom: 7vh;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;

    &::-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 {
        flex: 1;
        overflow: hidden;

        &::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;
            z-index: -1;
        }

        &::after {
            content: "";
            position: fixed;
            bottom: 0;
            width: 100%;
            height: 80px;
            background: linear-gradient(to bottom,
                    transparent,
                    color-mix(in srgb, var(--secondary-header-gradient) 85%, transparent));
            pointer-events: none;
        }

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

        & #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(135deg,
                    #0a0a12e7 0%,
                    #1a0033e7 30%,
                    #001a33e7 70%,
                    #05070ae7 100%);
            backdrop-filter: blur(12px);
            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 {
                filter: drop-shadow(0 0 25px #fd92d4e0) drop-shadow(0 0 20px #9992fde0) drop-shadow(0 0 25px #e396faab);

                & g {
                    & path {
                        stroke-width: 0.8;
                        fill: none;
                        stroke-linecap: round;
                        stroke-linejoin: round;
                        vector-effect: non-scaling-stroke;
                        animation: neon-flicker 5.2s infinite;
                    }
                }
            }
        }

        & #rightContent {
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
            height: 100svh;
            padding-block: 1em;
            border-left: 2px solid #ffffffc7;

            & a {
                border: none;
                background: none;
                transition: all 0.2s ease-out;

                &:hover {
                    outline: 1px solid #8e71d0cb;
                    background-color: #8e71d01e !important;
                    border-radius: 12px;
                }

                &:first-of-type {
                    margin-top: 0em;
                }

                & img {
                    width: 110px;
                    height: 110px;
                }

                & span {
                    position: absolute;
                    left: -999999px;
                }
            }
        }

        & .block {
            flex: 1;
            flex-direction: column;
            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 0 250px #6e77f962;
            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: 1.5em;
            color: #15011bb2;
            transition: color 0.2s ease-in-out;
            padding: 2em 3em;

            & summary {
                cursor: pointer;
                letter-spacing: 2px;
                font-size: 1.1em;
            }

            & .faq-section {
                display: flex;
                flex-direction: column;

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

                & .faq-question {
                    display: flex;
                    flex-direction: column;
                    align-items: start;
                    background: linear-gradient(135deg, #fdb6f959, #e974df83);
                    border: 1px solid #0000003b;
                    border-radius: 18px;
                    margin: 0.3em;
                    padding: 1em 2em 1em 1em;

                    & h4 {
                        font-family: "GTAArtDecoMedium";
                        color: #0c0c0c;
                        margin-bottom: 0.3em;
                    }

                    & p {
                        max-width: 120ch;
                        font-size: 0.75em;
                        line-height: 1.45;
                        margin-left: 1.4em;
                        color: #1b1b1b;
                    }

                    & a {
                        color: #1c0bb6;
                        transition: all 0.15s ease-out;
                        display: inline-block;

                        &:hover {
                            cursor: pointer;
                            color: #ffca44;
                        }
                    }
                }
            }

            &[open] summary {
                color: #070707;
            }
        }
    }

    & .support {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 3em 2em 1em;
        padding: 2em;
        border-top: 1px solid rgba(90, 63, 160, 0.3);

        & p {
            max-width: 60ch;
            font-size: 1.1em;
            line-height: 1.7;
            color: #1e0e40;
            margin-bottom: 0.5em;
        }

        & .support-buttons {
            display: flex;
            justify-content: center;
            gap: 1.5em;
            flex-wrap: wrap;
        }
    }

    & .block {
        display: grid;
        grid-template-columns: 1fr minmax(0, auto);
        justify-content: center;
        margin: 6em clamp(1rem, 6vw, 8rem) 1em;
        border-radius: 30px;
        position: relative;
        z-index: 1000;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        align-items: flex-start;
        overflow: hidden;

        & .text-container {
            min-width: 0 !important;
            overflow: hidden !important;

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

            & p {
                font-size: 1.45em;
                margin: 1.2em 3em;
                line-height: 1.5;
            }

            & .mod-paragraph {
                font-size: 1.3em;
                margin: 3em auto 1.5em auto;
                max-width: 80ch;
                text-wrap: balance;
                text-align: center;
                line-height: 1.8;
                color: color-mix(in srgb, var(--block-text) 85%, transparent);
            }
        }

        & .characters-container {
            margin-top: 7em;

            & .characters-header {
                display: flex;
                align-items: center;
                gap: 30px;
                text-align: center;
                margin-inline: 3em;

                &::before,
                &::after {
                    content: "";
                    flex: 1;
                    transform: translateY(13px);
                    height: 1px;
                    display: block;
                    background: linear-gradient(90deg,
                            transparent,
                            var(--title-color),
                            transparent);
                }

                & h2 {
                    font-size: 1.8em;
                    flex-shrink: 0;
                    white-space: nowrap;
                }
            }

            & .characters-list {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

                gap: 2.5em;
                margin: 4em 2em;

                & article {
                    display: flex;
                    flex-direction: column;
                    align-items: start;
                    justify-content: end;
                    width: min(250px, 100%);
                    height: 300px;
                    border: 1px solid color-mix(in srgb, var(--title-color) 40%, transparent);
                    border-radius: 10px;
                    position: relative;
                    overflow: hidden;
                    transition: all 0.2s;

                    & img {
                        position: absolute;
                        inset: 0;
                        z-index: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: center top;
                        display: block;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background: linear-gradient(to top,
                                rgba(0, 0, 0, 0.95) 0%,
                                rgba(0, 0, 0, 0.6) 40%,
                                transparent 70%);
                        z-index: 1;
                    }

                    &:hover {
                        box-shadow: 0 0 25px rgb(0, 0, 0);
                        outline: 2px solid;
                        transform: scale(1.02) translateY(-3px);
                        outline-color: var(--title-color);
                    }

                    & .character-text {
                        text-align: left;
                        padding: 1em;
                        z-index: 1;

                        & p {
                            margin: 0;
                            font-family: "GTAArtDecoMedium";
                        }

                        & span {
                            font-size: 0.85em;
                            color: color-mix(in srgb,
                                    var(--title-color) 70%,
                                    var(--block-text) 100%);
                        }
                    }
                }
            }
        }
    }

    & footer {
        margin: 0 auto;
        width: 100%;
        color: color-mix(in srgb, var(--accent-color) 25%, var(--block-text));
        opacity: 1;
        text-align: center;
        padding-block: 0.5em;
        text-shadow: 1px 1px 4px #000;
    }
}

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 {
            user-select: none;
            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 0.3s ease-in-out,
            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 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: start;
    position: fixed;
    top: 75px;
    right: -75vw;
    height: 100vh;
    min-width: 10vw;
    background: #0b011fcd;
    transition: all 0.35s ease-in-out;
    backdrop-filter: blur(25px);
    border-left: 2px solid #8b71cf;
    z-index: 10000;
    box-shadow: inset 0 -120px 60px rgba(248, 170, 255, 0.2);

    &.show {
        right: 0;
    }

    & .right-content-logos {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 0.9em;
        height: 100%;
        border-left: 1px solid #8c71cf29;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0 0.5em 0 1em;

        & a {
            margin: 0;
            width: 70px;
            height: 70px;
            border: 1px solid #8e71d0;
            background-color: #8e71d02e;
            border-radius: 12px;
            transition: all 0.15s ease-out;
            padding: 0.2em;

            &:hover {
                outline: 1px solid #8e71d0cb;
                background-color: #8e71d01e !important;
            }

            &:first-of-type {
                margin-top: 1em;
            }

            &:not(.active) {
                border: none;
                background: none;
            }

            & img {
                width: 70px;
                height: auto;
                aspect-ratio: 1 / 1;
                transition: all 0.15s ease-in-out;

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

                &:not(a.active > img) {
                    filter: grayscale(100%);
                }
            }
        }
    }

    & .right-content-nav {
        width: 100%;
        height: calc(100% - 75px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;

        & .right-content-links {
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: start;
            gap: 0;
            width: 100%;

            & a {
                display: flex;
                align-items: center;
                width: 100%;
                gap: 0.6em;
                text-decoration: none;
                font-weight: bold;
                border: none;
                line-height: 1.2;
                position: relative;
                padding: 0.9em 2em 0.9em 1.2em;
                font-size: 1.3em;
                border-radius: 0;
                transition: all 0.15s ease-in-out;
                font-family: var(--font-title);

                & span {
                    font-size: 1.2em;
                    white-space: normal;
                    word-break: break-word;
                }

                & p {
                    max-width: 25ch;
                }

                & span:is(a.active) {
                    font-size: 2em;
                    text-shadow: 0 0 15px var(--title-color);
                }

                &:first-of-type {
                    font-size: 1.7em;
                    justify-content: center;
                    padding: 0.9em 0;
                    border-bottom: 1px solid color-mix(in srgb, var(--accent-color) 25%, transparent);
                    width: 100%;
                }

                &:not(.active) {
                    background: none;
                    color: rgb(197, 197, 197);
                    opacity: 0.6;
                }

                &.active {
                    border-radius: 0;
                    color: var(--title-color);
                    background: color-mix(in srgb,
                            var(--title-color) 10%,
                            transparent 20%);
                    text-shadow: 0 0 30px var(--title-color);

                    &::before {
                        content: "";
                        height: 100%;
                        width: 6px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        background-color: var(--title-color);
                    }
                }

                &:hover {
                    background: color-mix(in srgb,
                            var(--title-color) 5%,
                            transparent 20%);
                }

                &:active {
                    opacity: 1;
                    background: color-mix(in srgb,
                            var(--title-color) 10%,
                            transparent 20%);

                    &::before {
                        content: "";
                        height: 100%;
                        width: 7px;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                }
            }
        }

        & .right-content-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            border-top: 1px solid rgba(225, 177, 255, 0.2);
            width: 100%;
            flex-direction: column;
            gap: 1.3em;
            padding-block: 1.5em 2em;
            box-shadow: 0 0 40px rgba(225, 177, 255, 0.05) inset;

            & .footer-settings {
                display: flex;
                justify-content: space-between;
                gap: 1em;
                align-items: center;

                & .settings-text {
                    display: flex;
                    align-items: center;
                    gap: 0.7em;

                    & span {
                        color: #fcfafa;
                    }

                    & p {
                        color: #d1d0d0;
                        font-size: 0.95em;
                    }
                }

                & label {
                    position: relative;
                    display: inline-block;
                    width: 60px;
                    height: 26px;
                    transition: opacity 0.2s;

                    &:hover {
                        opacity: 0.85;
                    }

                    & input {
                        opacity: 0;
                        width: 0;
                        height: 0;

                        &:checked+span {
                            background-color: #8c71d0;

                            &::before {
                                transform: translateX(34px);
                            }
                        }
                    }

                    & span {
                        position: absolute;
                        inset: 0;
                        background-color: #ccccccb7;
                        border-radius: 50px;
                        transition: all 0.3s;

                        &::before {
                            content: "";
                            position: absolute;
                            height: 20px;
                            width: 20px;
                            left: 3px;
                            top: 3px;
                            background-color: white;
                            border-radius: 50%;
                            transition: 0.3s;
                        }
                    }
                }

                & button {
                    font-size: 0.85em;
                    display: flex;
                    align-items: center;
                    gap: 0.3em;
                    padding: 0.4em 0.5em 0.4em 0.7em;
                    border-radius: 8px;
                    background: #8c71d0;
                    color: #f2f2f2;
                    font-weight: 700;
                    border: 2px solid #f2f2f286;
                    transition: opacity 0.2s;

                    &:hover {
                        opacity: 0.85;
                    }

                    &.open>.material-symbols-rounded {
                        transform: rotate(180deg);
                    }

                    & .material-symbols-rounded {
                        display: inline-block;
                        transition: transform 0.2s;
                    }

                    & .lang-btn-content {
                        display: flex;
                        align-items: center;
                        gap: 0.7em;
                    }
                }

                & .lang-menu {
                    display: none;
                    position: absolute;
                    bottom: calc(100% + 6px);
                    right: 0;
                    background: #fff;
                    border: 1px solid #e0e0e0;
                    border-radius: 8px;
                    min-width: 140px;
                    z-index: 100;

                    &.visible {
                        display: block;
                    }

                    .lang-option {
                        padding: 9px 14px;
                        cursor: pointer;
                        font-size: 13px;
                        display: flex;
                        gap: 8px;
                        align-items: center;

                        &:hover {
                            background: #f5f5f5;
                        }

                        &.selected {
                            font-weight: 500;
                            color: #1a73e8;

                            & .check {
                                opacity: 1;
                            }
                        }

                        & img {
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                            object-fit: cover;
                        }

                        & .check {
                            margin-left: auto;
                            opacity: 0;
                        }
                    }
                }
            }
        }
    }
}



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

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

    & .welcome-text {
        grid-column: 1;
        grid-area: text;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 4em;

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

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

    & .fotd-container {
        grid-area: fotd;
        align-self: start;
        background-image: linear-gradient(-225deg,
                #5271c4 0%,
                #b19fff 48%,
                #eca1fe 100%);
        margin: 1em 1.5em;
        padding: 20px 25px;
        border: 1px solid #0000005e;
        box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
        border-radius: 25px;
        max-width: 300px;

        & .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 30px;
        }

        & .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: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3em;
    margin: 0 auto 2em auto;
    border-radius: 35px;
    color: #f2f2f2;
    padding: 1em;
    width: 75%;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(210, 238, 255, 0.7);
    position: relative;
    z-index: 0;

    &::before {
        content: "";
        background:
            radial-gradient(circle at top left,
                rgba(209, 48, 249, 0.25),
                rgba(48, 82, 249, 0.25)),
            url("../images/main/countdown.webp");
        width: 100%;
        height: 100%;
        z-index: -1;
        position: absolute;
        inset: 0;
        background-size: cover;
        border-radius: 35px;
        background-position: 0 0;
    }

    & .countdown-header {
        & h2 {
            line-height: 1.6;
            font-size: 2.2em;
            font-weight: 100;
            background: linear-gradient(to right,
                    rgb(101, 111, 255),
                    rgb(255, 138, 232),
                    rgb(255, 154, 107));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke: #0000005c 2px;
        }
    }

    & #countdown {
        display: flex;
        gap: 40px;
        align-items: center;
        text-align: center;

        & .time-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-shadow: 0 0 20px #07a6e67b;
            position: relative;

            & span {
                font-size: 3em;
                font-weight: 700;
                color: #ffffff;
                text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
                transition: transform 0.2s ease;
                display: inline-block;
            }

            & .time-separator {
                position: absolute;
                left: 115%;
                top: 40%;
                transform: translateY(-40%);
                font-weight: 900;
                font-size: 2em;
                color: #edecec;
            }
        }
    }
}

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

    & 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: #506cc9;
                font-family: "GTAArtDecoMedium";
                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;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000000b3;
    backdrop-filter: blur(8px) brightness(0.5);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;

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

        & .image-wrapper {
            transform: scale(1);
            opacity: 1;
        }
    }

    & .image-wrapper {
        position: relative;
        display: inline-block;
        transform: scale(0.5);
        opacity: 0;
        transition:
            transform 0.4s ease,
            opacity 0.4s ease;

        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 30%;
            background: linear-gradient(to top, #000000, transparent);
            border-radius: 0 0 4px 4px;
            pointer-events: none;
        }

        & img {
            display: block;
            max-width: 85vw;
            max-height: 85vh;
            border-radius: 4px;
            box-shadow: 0 0 20px #060606;
        }

        & .overlay-footer {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 70px;
            z-index: 1000000;

            & p {
                color: #f2f2f269;
                text-align: center;
                text-wrap: balance;
                font-size: clamp(12px, 0.9em, 25px);
                font-style: italic;
                padding-bottom: 0.5em;
            }
        }
    }

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

        &:hover {
            color: #f7dbff;
        }

        &:active {
            transform: scale(0.9);
            color: #e8a6fd;
        }
    }
}

.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;
    }
}

.block,
#radioInfo {
    color: var(--block-text);
    box-shadow:
        inset 0 0 15px 5px color-mix(in srgb, var(--block-border) 40%, transparent),
        0 4px 24px 0 color-mix(in srgb, var(--block-border) 70%, transparent),
        0 1px 0 0 var(--block-border);
    border: 5px solid var(--block-border);
}

/* #endregion */

/* #region FICHA TÉCNICA */

.ficha-tecnica {
    box-sizing: border-box;
    border: 3px solid;
    border-radius: 0 25px 25px 0;
    max-width: 740px;
    width: 100%;
    border-color: color-mix(in srgb,
            var(--title-color) 10%,
            var(--accent-color) 90%);
    background-color: color-mix(in srgb, var(--title-color), transparent 60%);

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

        & tr {
            border: 1px solid;
            border-color: var(--accent-color);

            &: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;

            & span {
                text-align: center;
                font-family: var(--font-title);
                font-size: 21px;
                font-weight: bold;
                color: var(--title-color);
            }
        }

        & th {
            font-size: 19px;
            text-align: center;
            font-family: var(--font-title);

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

/* #endregion */

/* #region 100% CHECKLIST */

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 24px;
    padding: 0.5em 1.5em 0 1.5em;
    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);
            background: linear-gradient(90deg,
                    var(--title-color),
                    var(--accent-color));
        }
    }

    & .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.6em;
    padding: 0.5em 1.5em 2em 1.5em;

    & article {
        &:is(.section-complete) {
            background: color-mix(in srgb, var(--accent-color) 25%, transparent);
            border-color: color-mix(in srgb, var(--accent-color) 60%, transparent);
            border-radius: 8px;
            position: relative;
            overflow: hidden;

            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg,
                        transparent,
                        rgba(255, 255, 255, 0.1),
                        transparent);
                animation: checklist-shine 0.8s ease-in-out;
                pointer-events: none;
            }
        }

        & .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;
                    transition: opacity 0.2s;
                    color: #f2f2f2;

                    &.complete {
                        opacity: 0.3;
                    }

                    &:hover {
                        opacity: 1;
                    }

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

                & .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;

            &.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 {
                        background: color-mix(in srgb,
                                var(--accent-color) 10%,
                                transparent);
                        border-color: color-mix(in srgb,
                                var(--accent-color) 30%,
                                transparent);

                        & .checklist-title {
                            opacity: 0.3;
                            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 {
                                        background: var(--accent-color);
                                        border-color: color-mix(in srgb,
                                                var(--accent-color) 70%,
                                                transparent);

                                        &::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-header {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    margin-block: 3em 0;

    &::before,
    &::after {
        content: "";
        flex: 1;
        height: 2px;
        display: block;
        background: linear-gradient(90deg,
                transparent,
                color-mix(in srgb, var(--block-text) 20%, transparent),
                transparent);
        width: 400px;
    }

    & h3 {
        font-size: 1.5em;
        font-weight: 700;
        letter-spacing: 0.05em;
        flex-shrink: 0;
        white-space: nowrap;
        color: var(--text-color);
    }
}

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

    & details {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        border-radius: 25px;
        width: 100%;
        max-width: 700px;
        min-height: 120px;
        contain: layout paint;
        border: 1px solid color-mix(in srgb, var(--block-border) 45%, transparent);
        background: linear-gradient(135deg,
                color-mix(in srgb, var(--block-border) 20%, transparent) 50%,
                color-mix(in srgb, var(--accent-color) 15%, transparent) 95%);

        & summary {
            display: grid;
            grid-template-columns: 110px auto;
            align-items: center;
            position: relative;
            padding: 1.3em;

            & 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: 15px;
                right: 25px;
                color: #f3f3f3;
                transition: all 0.15s ease-in-out;
                opacity: 0.15;
            }

            & .mod-text {
                display: flex;
                flex-direction: column;
                align-items: start;
                gap: 0.5em;

                & h4 {
                    margin-left: 0.7em;
                    font-size: 1.6em;
                    font-family: var(--font-title);
                    text-align: left;
                    transition: all 0.3s ease-out;
                }

                & p {
                    color: color-mix(in srgb, var(--block-text) 70%, var(--block-border));
                    font-size: 1em;
                    text-align: left;
                    transition: all 0.3s ease-out;
                    margin: 0 1.3em;
                    line-height: 1.3;
                }
            }
        }

        & .mod-expanded {
            display: none;
        }

        &[open] {
            border: 2px solid color-mix(in srgb, var(--block-border) 85%, transparent);

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

            & summary {
                padding-bottom: 1.5em;
                border-bottom: 1px solid color-mix(in srgb, var(--block-border) 30%, transparent);
            }

            & .mod-expanded {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 1em;
                background: color-mix(in srgb, var(--block-color) 25%, transparent);

                & nav {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 1.4em;
                    padding-block: 1.3em 0.3em;

                    & a {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 0.7em;
                        text-decoration: none;
                        opacity: 0.5;
                        color: var(--block-text);
                        border-radius: 12px;
                        background: color-mix(in srgb,
                                var(--block-border) 20%,
                                transparent);
                        outline: 1px solid color-mix(in srgb, var(--block-border) 30%, transparent);
                        padding: 0.2em 0.7em;
                        transition:
                            background 0.15s ease-in,
                            outline 0.2s ease-in-out,
                            opacity 0.2s ease-in;

                        &:hover {
                            background: color-mix(in srgb,
                                    var(--block-border) 30%,
                                    transparent);
                            outline: 1px solid color-mix(in srgb, var(--block-border) 40%, transparent);
                            opacity: 0.75;
                        }

                        &.active {
                            background: color-mix(in srgb,
                                    var(--block-border) 90%,
                                    transparent);
                            border: 2px solid color-mix(in srgb, var(--block-border) 95%, transparent);
                            box-shadow: 0 0 20px 5px var(--block-shadow);
                            opacity: 1;
                        }

                        & span {
                            color: var(--accent-color);
                        }
                    }
                }

                & .mod-features {
                    width: 100%;

                    & .tab-content {
                        display: none;

                        &.active {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            flex-direction: column;

                            & h5 {
                                font-size: 1.3em;
                                margin-block: 0.1em 0.7em;
                            }

                            & ul,
                            & ol {
                                display: flex;
                                flex-wrap: wrap;
                                flex-direction: column;
                                max-width: 50ch;
                                gap: 1.2em;
                                color: color-mix(in srgb,
                                        var(--block-text) 80%,
                                        var(--block-border));
                                margin-inline: 3em;
                                list-style-type: none;

                                & li {
                                    line-height: 1.5;

                                    &::before {
                                        content: "✓";
                                        padding-right: 0.5em;
                                        color: var(--accent-color);
                                        text-shadow: var(--accent-color) 0 0 10px;
                                        font-size: 1.4em;
                                    }

                                    & code {
                                        background: color-mix(in srgb,
                                                var(--accent-color) 20%,
                                                transparent);
                                        padding: 0.3em 0.6em;
                                        border-radius: 8px;
                                    }
                                }
                            }

                            & ol {
                                counter-reset: step;

                                & li {
                                    counter-increment: step;

                                    &::before {
                                        content: counter(step) ".";
                                        padding-right: 0.5em;
                                        color: var(--accent-color);
                                        text-shadow: var(--accent-color) 0 0 10px;
                                        font-size: 1.2em;
                                    }
                                }
                            }

                            & .mod-author {
                                padding: 1em 0;
                                width: 90%;
                                border-top: 1px solid color-mix(in srgb, var(--block-border) 20%, transparent);
                                margin-top: 2em;
                                display: flex;
                                justify-content: space-between;
                                align-items: center;

                                & p {
                                    margin: 0;
                                    font-size: 1em;
                                    font-style: italic;
                                    opacity: 0.65;
                                }

                                & .btn-info,
                                & .btn-download {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.tab-content[data-content="info"].active .btn-info,
.tab-content[data-content="download"].active .btn-download {
    display: flex !important;
    align-items: center;
    gap: 0.7em;
    color: var(--block-text);
    border-radius: 15px;
    text-decoration: none;
    background: color-mix(in srgb, var(--block-border) 20%, transparent);
    outline: 1px solid color-mix(in srgb, var(--block-border) 70%, var(--block-text));
    padding: 0.5em 1em;
    background: color-mix(in srgb, var(--block-border) 80%, transparent);
    font-family: "GTAArtDecoMedium";
    transition: all 0.2s;

    &:hover {
        background: color-mix(in srgb, var(--block-border) 50%, transparent);
        outline: 1px solid color-mix(in srgb, var(--block-border) 60%, transparent);
    }

    & .material-symbols-rounded {
        color: color-mix(in srgb, var(--block-text) 70%, transparent);
    }
}

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

/* #endregion */

/* #region LOGROS */
.achievement-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto 1.6em auto;
    gap: 1em;
    background: rgba(250, 250, 250, 0.05);
    border: 1px solid rgba(250, 250, 250, 0.15);
    box-shadow: inset 0 0 20px rgba(250, 250, 250, 0.15);
    border-radius: 24px;
    padding: 1em 1.5em;
    max-width: 950px;

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

        &:hover {
            background: color-mix(in srgb, var(--block-border) 30%, transparent);
            outline: 1px solid color-mix(in srgb, var(--block-border) 20%, transparent);
            color: var(--block-text);

            & img {
                filter: invert(100%);
            }
        }

        &.active {
            background: color-mix(in srgb, var(--block-border) 60%, transparent);
            outline: 1px solid color-mix(in srgb, var(--block-border) 80%, transparent);
            color: var(--block-text);

            & img {
                filter: invert(100%);
            }
        }

        &:active {
            scale: 0.9;
        }
    }

    & img {
        width: 25px;
        pointer-events: none;
        transition: all 0.2s ease-in;
    }
}

.achievement-disclaimer {
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
    border: 1px solid rgba(250, 250, 250, 0.1);
    box-shadow: inset 0 0 10px rgba(250, 250, 250, 0.1);
    max-width: 950px;
    width: 100%;
    border-radius: 0 17px 17px 0;
    padding: 1em 1.5em;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    position: relative;
    gap: 0.2em;

    &::before {
        content: "";
        width: 3px;
        height: 100%;
        position: absolute;
        left: 0;
        background-color: color-mix(in srgb, var(--accent-color) 90%, transparent);
    }

    & h5 {
        text-align: start;
        font-size: 1.1em;
    }

    & p {
        font-family: "GTAArtDecoRegular";
        font-size: 1em !important;
        color: color-mix(in srgb, var(--block-text) 70%, transparent 70%);
        text-align: start;
        max-width: 160ch;
        margin: 0 !important;
    }

    & .achievement-warning {
        font-size: 0.9em;
        display: flex;
        align-items: center;
        gap: 0.7em;
        color: color-mix(in srgb, var(--accent-color) 85%, var(--block-text) 100%);
    }
}

.achievement-content {
    contain-intrinsic-size: 950px;
    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;
        max-width: 950px;

        & .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;
                        text-align: start;
                    }

                    & .achievement-description {
                        margin: 0;
                        text-align: start;
                        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-wrapper {
    user-select: none;
    display: grid;
    grid-template-columns: 280px auto;
    gap: 0;
    width: 90%;
    padding-right: 1.5em;
    margin-inline: auto;
    margin-top: 1em;

    border-radius: 40px;

    & aside {
        display: flex;
        flex-direction: column;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
        border-radius: 40px 0 0 40px;

        & #map-toolbar {
            height: 100%;
            overflow-y: auto;
            scrollbar-width: none;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            &::-webkit-scrollbar {
                display: none;
            }

            & .aside-header {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 20px 16px 16px;
                border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);

                & h3 {
                    font-size: 14px;
                    font-weight: 500;
                    color: rgba(255, 255, 255, 0.9);
                }

                & span {
                    font-size: 1.2em;
                    color: var(--accent-color);
                    opacity: 0.7;
                    margin-top: 1px;
                }
            }

            & #layer-buttons {
                display: flex;
                flex-direction: column;
                gap: 0.4em;
                padding: 0 8px;

                & .layer-btn {
                    background: transparent;
                    border: none;
                    width: 100%;
                    cursor: pointer;
                    padding: 0;

                    & .layer-item {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        padding: 8px 10px;
                        border-radius: 10px;
                        border: 0.5px solid transparent;
                        transition: background 0.15s, border-color 0.15s, opacity 0.15s;
                        text-align: left;

                        &:hover {
                            background: rgba(255, 255, 255, 0.06);
                            border-color: rgba(255, 255, 255, 0.1);
                        }

                        &.inactive {
                            opacity: 0.35;
                        }
                    }

                    & .layer-thumb {
                        width: 34px;
                        height: 34px;
                        border-radius: 8px;
                        background: rgba(255, 255, 255, 0.06);
                        border: 0.5px solid rgba(255, 255, 255, 0.1);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-shrink: 0;
                        filter: brightness(0) invert(1);

                        & img {
                            width: 32px;
                            height: 32px;
                            object-fit: contain;
                        }
                    }

                    & .layer-info {
                        flex: 1;
                        min-width: 0;

                        & .layer-name {
                            font-size: 13px;
                            font-weight: 500;
                            color: rgba(255, 255, 255, 0.85);
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }

                        & .layer-count {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            margin-top: 4px;
                            font-size: 11px;
                            color: rgba(255, 255, 255, 0.35);

                            & .progress-bar-wrap {
                                width: 52px;
                                height: 3px;
                                background: rgba(255, 255, 255, 0.1);
                                border-radius: 4px;
                                overflow: hidden;

                                & .progress-bar {
                                    height: 100%;
                                    border-radius: 4px;
                                    background: #1D9E75;
                                    transition: width 0.3s ease;
                                }
                            }
                        }
                    }

                    & .toggle-dot {
                        width: 7px;
                        height: 7px;
                        border-radius: 50%;
                        background: #1D9E75;
                        flex-shrink: 0;
                        transition: background 0.15s;

                        &.off {
                            background: rgba(255, 255, 255, 0.2);
                        }
                    }
                }
            }

            & .toolbar-text {
                & .toolbar-buttons {
                    padding: 8px;
                    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
                    display: flex;
                    flex-direction: column;
                    gap: 2px;

                    & button {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        padding: 8px 10px;
                        border-radius: 10px;
                        border: none;
                        background: transparent;
                        cursor: pointer;
                        color: rgba(255, 255, 255, 0.45);
                        font-size: 13px;
                        width: 100%;
                        transition: background 0.15s, color 0.15s;
                        text-align: left;

                        & .material-symbols-rounded {
                            font-size: 18px;
                            flex-shrink: 0;
                        }

                        &:hover {
                            background: rgba(255, 255, 255, 0.06);
                            color: rgba(255, 255, 255, 0.85);
                        }
                    }
                }

                & .toolbar-footer {
                    padding: 8px;
                    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
                    display: flex;
                    flex-direction: column;
                    gap: 2px;

                    & button {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        padding: 8px 10px;
                        border-radius: 10px;
                        border: none;
                        background: transparent;
                        cursor: pointer;
                        color: rgba(247, 122, 122, 0.45);
                        font-size: 13px;
                        width: 100%;
                        transition: background 0.15s, color 0.15s;
                        text-align: left;

                        & .material-symbols-rounded {
                            font-size: 18px;
                            flex-shrink: 0;
                        }

                        &:hover {
                            background: rgba(255, 49, 49, 0.06);
                            color: rgba(255, 46, 46, 0.85);
                        }
                    }
                }
            }

        }
    }

    & .map-container {
        margin-block: 1em;
        display: flex;
        justify-content: start;
        align-items: start;
        width: 100%;
        height: 750px;
        background: #000;
        border-radius: 0 40px 40px 0;
    }

    @media (max-width: 968px) {
        grid-template-columns: 1fr;
        width: 100%;
        padding-right: 0;
        border-radius: 0;

        & aside {
            z-index: 100000;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: color-mix(in srgb, var(--block-color) 90%, transparent);
            backdrop-filter: blur(12px);
            border-radius: 20px 20px 0 0;
            border-right: none;
            border-top: 0.5px solid rgba(255, 255, 255, 0.1);

            transform: translateY(calc(100% - 56px));
            transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);

            &.open {
                transform: translateY(0);
            }

            &::before {
                content: '';
                display: block;
                width: 32px;
                height: 3px;
                background: rgba(255, 255, 255, 0.2);
                border-radius: 99px;
                margin: 8px auto 0;
            }
        }

        & .map-container {
            height: 90svh;
            margin-block: 0;
            border-radius: 0;
        }
    }

}

.leaflet-attribution-flag,
.leaflet-control-attribution {
    display: none;
}

#ctx-menu {
    position: fixed;
    z-index: 9999;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 4px 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    display: none;
    font-family: inherit;

    &.visible {
        display: block;
    }

    &.ctx-header {
        padding: 6px 14px 4px;
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #666;
        border-bottom: 1px solid #2a2a2a;
        margin-bottom: 2px;
    }

    & .ctx-coords {
        padding: 4px 14px 8px;
        font-size: 12px;
        color: #888;
        font-family: monospace;
        border-bottom: 1px solid #2a2a2a;
        margin-bottom: 2px;
    }

    & .ctx-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 14px;
        font-size: 13px;
        color: #ccc;
        cursor: pointer;
        transition: background 0.1s;

        &:hover {
            background: #2a2a2a;
            color: #fff;
        }

        &.danger {
            color: #ff5555;

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

        & span {
            font-size: 16px;
            width: 18px;
            text-align: center;
        }
    }

    & .ctx-sep {
        height: 1px;
        background: #2a2a2a;
        margin: 2px 0;
    }
}

.marker {
    --marker-color: #378ADD;

    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);

    background: var(--marker-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    transition: 0.2s;

    &:hover {
        transform: rotate(-45deg) scale(1.2);
        box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.35);
    }

    &:active {
        transform: rotate(-45deg) scale(1.05);
    }

    & img {
        transform: rotate(45deg);
        width: 34px;
        height: 34px;
        filter: brightness(0) invert(1);
        object-fit: contain;
        display: block;
        pointer-events: none;
        user-select: none;
    }

    &.done {
        opacity: 0.38;
        filter: grayscale(1);
        transform: rotate(-45deg) scale(0.88);

        &:hover {
            opacity: 0.65;
            transform: rotate(-45deg) scale(1.0);
            filter: grayscale(0.4);
        }
    }
}

body:has(.reset-dialog[open]) {
    overflow-y: hidden;
}

.reset-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease-in-out;
    max-width: 400px;
    max-height: 300px;
    margin: auto;
    padding: 1em;
    border-radius: 12px;
    background: radial-gradient(circle at top left, var(--block-color), color-mix(in srgb, var(--block-color) 80%, transparent));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    color: var(--block-text);
    border: 1px solid var(--block-border);
    backdrop-filter: blur(5px);

    & h3 {
        margin-bottom: 12px;
        font-size: 1.25em;
        font-weight: 600;

    }

    & p {
        font-size: 0.85em;
        line-height: 1.4;
    }

    & .dialog-actions {
        margin-top: 1.5em;
        display: flex;
        justify-content: end;
        gap: 10px;

        & button {
            border-radius: 10px;
            padding: 6px 14px;
            border: 1px solid rgba(0, 0, 0, 0.6);
            font-size: 0.85em;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;

            &:nth-of-type(2) {
                background: linear-gradient(145deg, #ff3b3b, #c40000);
                color: white;
                border: none;
            }

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

            &:active {
                scale: 0.95;
            }

        }
    }

    &::backdrop {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
    }
}

/* #endregion */

/* #region RADIO */

.radio-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    & .radio-grid {
        border: 1px solid color-mix(in srgb, var(--block-border) 60%, transparent);
        background: linear-gradient(to bottom right,
                color-mix(in srgb, var(--block-border) 50%, transparent),
                color-mix(in srgb, transparent 80%, var(--accent-color)));
        margin-block: 3em;
        margin-inline: 1em;
        width: 100%;
        border-radius: 25px;
        padding: 1.5em 2.5em;
        gap: 3.5em;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s ease;

        & .radio-card {
            transition: transform 0.2s ease;
            display: flex;
            align-items: center;
            flex-shrink: 0;

            &.active {
                transform: scale(1.15);
                transform-origin: center;
                z-index: 1;
                position: relative;

                & img {
                    opacity: 1;
                    filter: brightness(1.05) drop-shadow(2px 2px 1px #000000);
                }
            }
        }

        & img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            border-radius: 12px;
            transition: all 0.3s ease;
            opacity: 0.35;
            filter: drop-shadow(2px 2px 1px #000000);

            &:hover {
                opacity: 0.7;
            }
        }
    }
}

#radioInfo {
    backdrop-filter: blur(12px);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    grid-template-columns: 150px 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px 10px;
    align-items: center;
    margin: 2em clamp(1rem, 6vw, 8rem) 1em;
    padding: 15px;
    color: #f2f2f2;
    border-radius: 30px;
    z-index: 3;
    transition:
        transform 0.5s ease,
        opacity 0.3s linear;

    & #playlistSelector {
        display: flex;
        gap: 1em 0.3em;
        flex-wrap: wrap;
        justify-content: start;
        align-items: center;

        & button {
            border: none;
            transition: all 0.2s ease-in;
            cursor: pointer;
            position: relative;
            font-family: var(--font-title);
        }
    }

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

    & img {
        width: 140px;
        height: auto;
        border-radius: 15px;
        grid-row: 1 / 4;
        grid-column: 1 / 2;
    }

    & h3 {
        grid-row: 1 / 2;
        grid-column: 2 / 4;
        font-size: 1.8em;
    }

    & .tracklist-title {
        font-size: 1.45em;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    & #radioDJ,
    & #radioGenre {
        display: inline;
        gap: 5px;
        grid-column: 2 / 3;

        & span {
            color: #f4eeee;
            font-weight: 100;
        }

        & p {
            font-family: "GTAArtDecoMedium";
            color: color-mix(in srgb, var(--block-border) 90%, var(--block-text) 95%);
        }
    }

    & #radioDJ {
        grid-row: 2 / 3;
    }

    & #radioGenre {
        grid-row: 3 / 4;
        margin-bottom: 1em;
    }

    & ol {
        grid-row: 4 / 5;
        grid-column: 1 / 4;
        border-top: 1px solid color-mix(in srgb, var(--block-border) 15%, transparent);
        padding-top: 0.5em;
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin: 0 5vw;
        list-style: none;


        & li {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 9px 14px;
            border-radius: 10px;
            border: 1px solid transparent;
            opacity: 0.46;
            cursor: pointer;
            transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
            margin-bottom: 0;
            font-size: 1em;
            margin-left: 0;

            &:hover {
                opacity: 0.72;
                background: color-mix(in srgb, var(--block-border) 8%, transparent);
            }

            &.active {
                opacity: 1;
                font-size: 1.08em;
                background: color-mix(in srgb, var(--block-border) 12%, transparent);
                border-color: color-mix(in srgb, var(--block-border) 25%, transparent);

                & .tl-play {
                    display: block;
                    transform: scale(1);
                    animation: icon-pulse 1.8s ease-in-out infinite;

                }

                & .tl-num {
                    display: none;
                }
            }

            & .tl-num,
            & .tl-play {
                width: 20px;
                flex-shrink: 0;
                text-align: center;
            }

            & .tl-play {
                display: none;
                font-size: 18px;
                color: color-mix(in srgb, var(--block-border) 90%, var(--block-text) 95%);
                animation: icon-pulse 1.8s ease-in-out infinite;

            }

            & .tl-num {
                font-size: 11px;
                font-weight: 500;
                color: color-mix(in srgb, var(--block-text) 50%, transparent);
            }


            & .tl-info {
                flex: 1;
                min-width: 0;
            }

            & .tl-title {
                font-size: 1em;
                font-weight: inherit;
                color: #f2f2f2;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.3;
            }

            & .tl-artist {
                font-size: 0.8em;
                color: color-mix(in srgb, #f2f2f2 60%, transparent);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                margin-top: 2px;
            }
        }
    }
}

.radio-footer {
    user-select: none;
    display: none;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    justify-items: space-between;
    padding: 10px 15px;
    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;
    z-index: 1000;

    &.active {
        display: grid;
    }

    & .footer-left {
        display: flex;
        align-items: center;
        gap: 20px;

        & .footer-album {
            border-radius: 10px;
            border: 3px solid color-mix(in srgb, var(--block-border) 30%, var(--block-text) 70%);
            background: linear-gradient(310deg,
                    color-mix(in srgb, var(--block-text) 30%, var(--block-border) 70%),
                    color-mix(in srgb, var(--block-border) 30%, var(--block-text) 70%));

            overflow: hidden;

            & img {
                width: 75px;
                height: 75px;
                object-fit: contain;
                filter: drop-shadow(1px 1px 0 rgb(0, 0, 0));

            }
        }

        & .footer-text {
            display: flex;
            flex-direction: column;
            gap: 0.3em;
            text-align: left;

            & #artistName {
                color: #e0e0e0;
                font-size: 14px;
            }

            & #songTitle {
                color: #ffffff;
                font-size: 16px;
                font-family: "GTAArtDecoMedium";
            }

            & #artistName,
            & #songTitle {
                max-width: none;
                overflow: hidden;
                white-space: nowrap;
                display: block;
                position: relative;

                @media (max-width: 900px) {
                    max-width: 150px;
                }

                @media (min-width: 1200px) {
                    max-width: 450px;
                }

                &.marquee {
                    & span {
                        display: inline-block;
                        animation: marquee 12s linear infinite;
                    }
                }
            }
        }
    }

    & .footer-center {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5em;

        & .footer-controls {
            display: flex;
            align-items: center;
            gap: 1em;
            transition: all 0.2s ease-in-out;
            justify-content: center;
            user-select: none;

            & .footer-pause,
            & .footer-play {
                color: #d0f2f8;
                font-size: 54px;
                text-shadow: 2px 2px 3px #0000005e;
            }

            & span {
                font-size: 42px;
                color: #cbeef8;
                text-shadow: 2px 2px 3px #0000005e;
                transition: all 0.2s ease-in-out;

                &:hover {
                    cursor: pointer;
                    transform: scale(1.05);
                }

                &:active {
                    transform: scale(0.99);
                    color: #e7c1fe;
                }
            }
        }

        & .footer-timer {
            display: flex;
            align-items: center;
            gap: 1em;
            width: 450px;
            color: #ebe9e9;
            font-family: "GTAArtDecoMedium";

            & #bar {
                flex: 1;
                height: 7px;
                background: rgba(192, 192, 192, 0.2);
                box-shadow: 0 0 1px #000000;
                border-radius: 12px;
                overflow: visible;
                transition: background 0.3s ease-out;

                &:hover {
                    background:
                        linear-gradient(to right, rgba(192, 192, 192, 0.3)), transparent;
                }

                & #currentBar {
                    width: 15%;
                    height: 100%;
                    background: linear-gradient(to right,
                            rgb(233, 128, 247),
                            rgb(245, 151, 255));
                    transition: all 0.3s ease-out;
                    border-radius: 25px;
                    position: relative;

                    &::after {
                        content: "";
                        position: absolute;
                        right: -5px;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 13px;
                        height: 13px;
                        background: #fff;
                        border-radius: 50%;
                        z-index: 100;
                    }

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

            & p {
                text-shadow: 1px 1px 2px #000;
                font-size: 1.1em;
                width: 55px;
                text-align: center;
            }
        }
    }

    & .footer-right {
        display: flex;
        align-items: center;
        justify-content: end;

        & .footer-volume {
            display: flex;
            align-items: center;
            gap: 1em;
            padding-right: 1.5em;

            & span {
                text-shadow: 2px 2px 3px #0000005e;
                font-size: 1.7em;
                color: #f2f2f2;
            }

            & input[type="range"] {
                -webkit-appearance: none;
                appearance: none;
                width: 150px;
                height: 7px;
                border-radius: 12px;
                background: rgba(192, 192, 192, 0.2);
                outline: none;
                cursor: pointer;
            }

            input[type="range"]::-webkit-slider-runnable-track {
                height: 7px;
                border-radius: 12px;
            }

            input[type="range"]::-webkit-slider-thumb {
                -webkit-appearance: none;
                width: 13px;
                height: 13px;
                background: #ffffff;
                border-radius: 50%;
                cursor: pointer;
                margin-top: -3px;
            }

            input[type="range"]::-moz-range-thumb {
                width: 13px;
                height: 13px;
                background: #ffffff;
                border-radius: 50%;
                cursor: pointer;
            }

            input[type="range"]::-moz-range-track {
                height: 7px;
                border-radius: 12px;
                background: rgba(192, 192, 192, 0.2);
            }
        }
    }
}

/* #endregion */

/* #region TRUCOS */
.platform-selector {
    margin: 2em auto 1em auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
    background: rgba(250, 250, 250, 0.05);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 18px;
    padding: 1em 1.5em;
    width: max-content;

    & button {
        font-size: 1em;
        padding: 0.5em 1em;
        border-radius: 10px;
        border: none;
        font-weight: 600;
        transition: all 0.2s ease-out;

        &:hover {
            background: color-mix(in srgb, var(--block-border) 30%, transparent);
            outline: 1px solid color-mix(in srgb, var(--block-border) 20%, transparent);
            color: var(--block-text);
        }

        &.active {
            background: color-mix(in srgb, var(--block-border) 60%, transparent);
            outline: 1px solid color-mix(in srgb, var(--block-border) 80%, transparent);
            color: var(--block-text);
        }
    }
}

#cheatsContainer {
    display: flex;
    flex-direction: column;
    padding: 1em 10em;
    gap: 1.5em;

    & section {
        margin: 1em 0;
        border: 2px solid color-mix(in srgb, var(--block-border) 60%, transparent);
        background: linear-gradient(135deg,
                color-mix(in srgb, var(--block-border) 40%, transparent),
                var(--block-color));
        padding: 2em 2.5em 0 2.5em;
        border-radius: 20px;

        &:nth-of-type(even) {
            background: linear-gradient(5deg,
                    color-mix(in srgb, var(--block-border) 40%, transparent),
                    var(--block-color));
        }

        & h3 {
            font-size: 1.6em;
            font-family: "GTAArtDecoMedium";
            text-shadow: 2px 2px #000000bf;
        }

        & .category-list {
            margin-block: 1em 0;

            & .cheat-item {
                padding: 12px 0;
                margin-block: 1em 0.7em;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);

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

                & h4 {
                    font-size: 1.1em;
                    margin-left: 15px;
                }

                & .cheat-code {
                    display: flex;
                    align-items: center;
                    margin: 0.5em 0 0.6em 1em;
                    gap: 0.4em;

                    & .pc-code {
                        display: inline-block;
                        padding: 4px 12px;
                        font-size: 1.1rem;
                        font-weight: 600;
                        letter-spacing: 1.5px;
                        background: linear-gradient(180deg, #ffffff, #e0e0e0);
                        color: #111;
                        border-radius: 6px;
                        border: 1px solid #999;
                        box-shadow:
                            0 3px 0 #888,
                            0 5px 8px rgba(0, 0, 0, 0.3);
                        font-family: monospace;
                        transition: 0.15s;

                        &:hover {
                            transform: translateY(2px);
                            box-shadow:
                                0 1px 0 #888,
                                0 2px 4px rgba(0, 0, 0, 0.2);
                            cursor: default;
                        }
                    }
                }
            }
        }
    }

    & img {
        width: 55px;
        height: auto;
    }
}

/* #endregion */

/* #region ANIMACIONES */
@keyframes neon-flicker {

    0%,
    100% {
        stroke: #ffc7f9;
        opacity: 1;
    }

    2% {
        opacity: 0.3;
    }

    5% {
        opacity: 1;
    }

    9% {
        opacity: 0.5;
    }

    14% {
        stroke: #ffffff;
        opacity: 1;
    }
}

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

    50% {
        transform: scale(1.04);
    }

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

.pop {
    animation: popAnim 0.4s ease;
}

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

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

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

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

@keyframes checklist-shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

@keyframes icon-pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(var(--marquee-distance));
    }

    50% {
        transform: translateX(var(--marquee-distance));
    }

    90% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

/* #endregion */

/* #region MEDIA QUERIES */

@media (max-width: 660px) {

    /* #region GENERAL */
    header {
        justify-content: center;
        gap: 3em;
        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 {
        max-width: 100vw;

        & .block {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            margin: 85px 5px 10px 5px;
            border-radius: 6px;
            border-width: 5px;
            text-align: center;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 1em;

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

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

                & h2 {
                    line-height: 1.5;
                    font-size: 1.85em;
                    text-wrap: balance;
                }

                & .mod-paragraph {
                    text-align: start;
                    font-size: 1.1em;
                    max-width: 33ch;
                    margin-inline: 1.3em;
                    line-height: 1.8;
                }
            }

            & .characters-container {
                margin-top: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;

                & .characters-header {
                    gap: 6px;
                    margin-inline: 0.5em;
                }

                & .characters-list {
                    margin: 2em 0 3em 0;
                    align-content: center;
                    gap: 2em 0.3em;
                    grid-template-columns: repeat(2, auto);
                    width: 100%;

                    & article {
                        max-width: 175px;

                        & .character-text {
                            display: flex;
                            flex-direction: column;
                            padding: 0.6em;
                            gap: 0.4em;

                            & p {
                                line-height: 1.1;
                                font-size: 1.1em;
                            }

                            & span {
                                font-size: 0.8em;
                            }
                        }
                    }
                }
            }
        }

        &.index {
            &::before {
                background-image: url("../images/main/background-mobile.webp");
            }

            & .block {
                box-shadow: 0px -60px 10px #00cc9c71;
                border-radius: 10px;
                background: linear-gradient(180deg,
                        rgba(141, 117, 239, 0.8),
                        rgba(85, 150, 229, 0.8),
                        rgba(141, 117, 239, 0.8));

                &::before {
                    border-radius: 12px;
                }
            }

            & #rightContent {
                max-width: 25vw;
                gap: 0.35em;

                & a {
                    &:first-of-type {
                        margin-top: 0.5em;
                    }

                    & img {
                        width: 75px;
                        height: auto;
                    }
                }
            }

            details {
                padding: 0;
                font-size: 1.3em;

                & .faq-section {
                    & h3 {
                        margin: 1em auto 0.3em auto;
                    }

                    & .faq-question {
                        & h4 {
                            text-wrap: balance;
                            max-width: 18ch;
                            margin: 0.9em auto 0.2em 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 {
            justify-content: flex-start;
            width: 100%;
            right: -250dvw;
            height: 100svh;

            & .right-content-nav {
                flex: 1;

                & .right-content-links {
                    & a {
                        font-size: 1.25em;
                    }

                    & p {
                        max-width: 15ch;
                    }
                }
            }

            & .right-content-logos {
                gap: 0.4em;
            }
        }

        & .support {
            padding: 1.5em 0;

            & p {
                line-height: 1.9;
                font-size: 1.3;
                margin-bottom: 1.5em;
            }

            & .support-buttons {
                gap: 0.8em;
            }
        }
    }

    /* #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 1.5em 15px;
                text-align: left;
                font-size: 1.3em;
                max-width: 50ch;
                line-height: 1.8;
            }
        }

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

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

    .countdown-wrapper {
        width: 85%;
        margin: 2em auto 4em auto;
        border-radius: 25px;
        padding: 0.5em 1em;
        justify-content: center;

        &::before {
            background: url("../images/main/countdown.webp");
            border-radius: 20px;
        }

        & .countdown-header {
            & h2 {
                line-height: 1.3;
                font-size: 1.7em;
            }
        }

        #countdown {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;

            & .time-box {
                & span {
                    font-size: 1.6em;
                }

                & p {
                    font-size: 0.7em;
                }

                & .time-separator {
                    top: 20%;
                    font-size: 1.5em;
                }
            }
        }
    }

    .news {
        margin: 3em auto 5em auto;
        border-radius: 45px;
        padding: 1.5em 0;

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

        & .news-article {
            margin: 2em auto;
            padding: 50px 30px;
            border-radius: 20px;

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

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

                & h4 {
                    text-align: center;
                }
            }

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

                & i {
                    width: 85%;
                    margin: 1.5em auto;
                    text-align: center;
                    line-height: 1.7;
                    color: #201f20;
                    font-size: 0.8em;
                }

                & img {
                    width: 100%;
                    min-height: 300px;
                }

                & a {
                    border: 2px solid rgba(26, 26, 26, 0.5);
                }
            }
        }

        & button {
            width: auto;
            font-size: 1.2em;
        }
    }

    /* #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 */
    .mod-title-header {

        &::before,
        &::after {
            width: 20vw;
        }
    }

    .mods-container {
        gap: 3em;

        & details {
            max-width: 380px;

            & summary {
                & .material-symbols-rounded.arrow {
                    top: 12px;
                    right: 12px;
                }

                & .mod-text {
                    gap: 0.6em;

                    & p {
                        font-size: 0.9em;
                    }
                }
            }

            &[open] {
                & .mod-expanded {
                    & nav {
                        flex-direction: column;
                        margin-bottom: 1em;

                        & a {
                            justify-content: center;
                            width: 100%;
                            padding: 1em 2em;
                            text-transform: uppercase;

                            &.active {
                                font-weight: 800;
                            }

                            & span {
                                font-size: 1.5em;
                            }
                        }
                    }

                    & .mod-features {
                        & .tab-content {
                            &.active {
                                & h5 {
                                    font-size: 1.5em;
                                }

                                & ul,
                                & ol {
                                    text-align: start;

                                    & li {
                                        line-height: 1.6;
                                    }
                                }

                                & .mod-author {
                                    & p {
                                        font-size: 0.95em;
                                        line-height: 1.25;
                                    }

                                    & .btn-info,
                                    & .btn-download {
                                        font-size: 1em;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    /* #endregion */

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

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

    .achievement-disclaimer {
        width: 90%;
        gap: 0.8em;
        text-align: start;

        & h5 {
            font-size: 1em;
        }

        & p {
            font-size: 0.9em !important;
            line-height: 1.4 !important;
        }

        & .achievement-warning {
            font-size: 0.85em;
            line-height: 1.9;
        }
    }

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

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

    /* #endregion */

    /* #region RADIO */
    .radio-container {
        overflow: hidden !important;

        & .radio-grid {
            overflow-x: scroll !important;
            overflow-y: visible !important;
            box-sizing: border-box;
            -webkit-overflow-scrolling: touch;
            gap: 1.8em;
            border-radius: 40px;
            padding: 0.5em 2em;
            margin-inline: 0;
            margin-block: 2em;
            display: flex;
            justify-content: start;
            scroll-snap-type: x mandatory;
            flex-wrap: nowrap;

            & .radio-card {
                &.active {
                    & img {
                        width: 90px;
                    }
                }
            }

            & img {
                width: 80px;
            }
        }
    }

    #radioInfo {
        display: flex;
        flex-direction: column;
        padding-bottom: 7em;
        border-radius: 10px;
        margin: 5px 5px 10px 5px;
        padding-top: 2em;
        text-align: center;
        overflow: hidden;

        &.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
            display: flex;
        }

        & img {
            width: 120px;
            height: auto;
        }

        & h3 {
            font-size: 1.5em;
        }

        & ol {
            display: flex;
            align-items: start;
            flex-direction: column;
            justify-content: space-between;
            text-align: left;
            gap: 0.35em;
            width: 85%;

            & li {
                user-select: none;
                font-size: 0.95em;
                align-items: center;
                width: 100%;
                flex-wrap: wrap;

                &.active {
                    opacity: 1;
                    font-weight: bold;
                    font-size: 1em;
                }

                &:hover {
                    opacity: 0.8;
                    cursor: pointer;
                }
            }
        }
    }

    .radio-footer {
        padding-bottom: 1em;
        display: none;
        gap: 0;
        justify-content: center;

        &.active {
            display: flex;
        }

        & .footer-left {
            display: none;
        }

        & .footer-center {
            & .footer-controls {
                width: 100%;
            }

            & .footer-timer {
                max-width: 400px;

                & #bar {
                    height: 10px;
                }
            }
        }

        & .footer-right {
            display: none;
        }
    }

    /* #endregion */

    /* #region TRUCOS */
    .platform-selector {
        margin: 2em 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 60%;
        max-width: 300px;
        gap: 0.5em;

        & button {
            height: 45px;
            border-radius: 15px;
        }
    }

    #cheatsContainer {
        padding: 1em 2em;

        & section {
            padding: 1em;

            & h3 {
                font-size: 1.7em;
            }

            & .category-list {
                margin-block: 0;

                & .cheat-item {
                    margin-block: 0;

                    & h4 {
                        font-size: 1.3em;
                        margin-bottom: 0.5em;
                        color: #dbdada;
                    }

                    & .cheat-code {
                        flex-wrap: wrap;
                        justify-content: center;
                        max-width: 50ch;
                    }
                }
            }
        }

        & img {
            width: 45px;
        }
    }

    /* #endregion */
}

@media (min-width: 661px) and (max-width: 900px) {
    body {
        max-width: 100vw;

        & .block {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        }

        & .block,
        & #radioInfo {
            margin: 5em 0 1em 0;

            .characters-list {
                grid-template-columns: repeat(2, auto);
            }
        }
    }

    .radio-footer {
        &.active {
            display: flex;
            justify-content: center;
        }

        & .footer-left,
        & .footer-right {
            display: none;
        }
    }
}

@media (min-width: 900px) and (max-width: 1600px) {
    body {
        max-width: 100vw;

        & .block,
        #radioInfo {
            padding: 2em;
            margin: 6em 0 1em 0;
        }
    }

    #artistName,
    #songTitle {
        max-width: 150px !important;
    }
}

/* #endregion */