/* #region GENERAL */

:root {
    --font-title: "GTAArtDeco";
    --accent-color: #afbcfc;
    --block-border: #c9ecef;
    --block-text: #f4f4f4;
    --title-color: #95e1ff;
    --block-color: #402e69;
}

::selection {
    background: var(--accent-color);
    color: #2f2f2f;
}

::-moz-selection {
    background: var(--accent-color);
    color: #2f2f2f;
}

body {
    background-image: url("/assets/images/main/backgrounds/background_VI.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;

    @media (min-width: 768px) {
        background-attachment: fixed;
    }

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

    & .block,
    #radioInfo {
        background: linear-gradient(to bottom, #36395c, #402e69);
    }

    & footer {
        color: color-mix(in srgb, var(--accent-color) 25%, var(--block-text));
    }
}

.block {

    & .text-container {

        & h1 {
            font-weight: 600;
            text-align: center;
            background-image: linear-gradient(to bottom, #79b3ff, #ff95d6, #ffc37f);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        & .characters-container {

            & .characters-header {
                & h2 {
                    background-image: linear-gradient(to bottom, #8fbaf3, #f5a3d5, #ecc598);
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                }

                &::before,
                &::after {
                    background: linear-gradient(90deg, transparent, #ccbdff, transparent);

                }
            }


        }
    }

}

#rightContent {
    & .right-content-nav {
        & .right-content-footer {

            & .footer-settings:nth-of-type(1),
            & .footer-settings:nth-of-type(2) {
                opacity: 0.2;
                cursor: not-allowed !important;

                & label {
                    cursor: inherit;
                }
            }
        }
    }
}

/* #endregion */

/* #region FICHA TÉCNICA */
.ficha-tecnica {
    border-color: #acdaf3 !important;
    background: radial-gradient(circle at bottom right, #4b60c7ac, #b64cbbac, #e57da5ac, #e89b58ac);
    color: #ffffff;

    & table {
        & tr {
            border-color: #e69df0;
        }
    }
}



/* #endregion */

/* #region LÍNEA DE TIEMPO */


body.timeline {
    & main {
        margin-inline: auto;
        max-width: 1250px;

        & #timelineLoader {
            min-width: 65vw;
            min-height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: stretch;
        }

        & #timelineContainer {
            width: 100%;
            min-height: 90vh;
            display: flex;
            flex-direction: column;

            & .timeline-last-updated {
                font-size: 0.8em;
                color: rgba(200, 190, 255, 0.8);
                letter-spacing: 0.5px;
                text-transform: uppercase;
                text-align: center;
                margin-block: 0.5em 3em;
                margin-inline: auto;
                text-wrap: balance;
            }

            & article {
                display: flex;
                flex-direction: column;
                align-items: stretch;
                padding: 0 3em;
                margin: 1em 0 2.5em 0;

                & p {
                    padding-left: 1.5em;
                    text-align: left;
                    position: relative;
                    max-width: 100%;
                    font-size: clamp(1rem, 3vw, 1.1rem);
                    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

                    &::before {
                        content: "";
                        height: 100%;
                        width: 1px;
                        position: absolute;
                        left: 0;
                        background-color: #9277e9;
                    }

                    & .timeline-icon {
                        margin-right: 0.2em;
                        vertical-align: middle;

                        &.timeline-icon--timeline {
                            color: #60d9fa;
                            filter: drop-shadow(0 0 5px rgba(96, 217, 250, 0.6));
                        }

                        &.timeline-icon--verified {
                            color: #60a8fa;
                            filter: drop-shadow(0 0 5px rgba(96, 145, 250, 0.4));
                        }

                        &.timeline-icon--campaign {
                            color: #84fa60;
                            filter: drop-shadow(0 0 5px rgba(96, 250, 109, 0.4));
                        }

                        &.timeline-icon--warning {
                            color: #f0a500;
                            filter: drop-shadow(0 0 5px rgba(250, 196, 96, 0.4));
                        }

                        &.timeline-icon--trophy {
                            color: #f0fd3b;
                            filter: drop-shadow(0 0 5px rgba(250, 227, 96, 0.4));
                        }

                        &.timeline-icon--schedule {
                            color: #827ae9;
                            filter: drop-shadow(0 0 5px rgba(121, 127, 212, 0.4));
                        }

                        &.timeline-icon--play_circle {
                            color: #e97a7a;
                            filter: drop-shadow(0 0 5px rgba(212, 121, 121, 0.4));
                        }

                        &.timeline-icon--newspaper {
                            color: #efeff7;
                            filter: drop-shadow(0 0 5px rgba(252, 252, 255, 0.4));
                        }
                    }

                    &+p {
                        margin-top: -0.5em;
                        font-size: 1.05em;
                        color: #d9d9f8;
                        line-height: 1.4;

                        &::before {
                            background-color: #9277e9b7;
                        }
                    }

                }

                & h3 {
                    text-align: left;
                    font-size: clamp(1.4rem, 5vw, 1.4rem);
                    background-image: linear-gradient(to bottom, #61a6ff, #a19bff);
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-size: 100% 90%;

                }

                & h4 {
                    text-align: left;
                    color: #91c1ffd5;
                    font-size: clamp(0.75rem, 3.5vw, 0.8rem);
                }

                & .timeline-image {
                    display: flex;
                    justify-content: center;
                    width: fit-content;
                    border-radius: 20px;
                    margin: 25px auto 50px auto;

                    & img {
                        max-width: 40vw;
                        max-height: 45vh;
                        height: auto;
                        border-radius: 12px;
                        border: 3px solid #d6aaff !important;
                        cursor: pointer;
                        transition: all 0.3s ease;

                        &:hover {
                            border-color: #c084fc;
                            box-shadow: 0 12px 35px rgba(168, 85, 247, 0.6);
                            transform: scale(1.02);
                        }
                    }
                }



                & a {
                    text-decoration: none;
                    color: #79b3ff;
                    transition: color 0.15s ease-in-out;
                    font-weight: 500;

                    &:hover {
                        color: #fbbf24;
                        text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
                    }

                    &:active {
                        color: #ec4899;
                    }
                }
            }


            & .timeline-divider {
                height: 2px;
                border-radius: 1em;
                width: 100%;
                background: linear-gradient(90deg, transparent, #ff9ecf, #79b3ff, transparent);
                margin-bottom: 2em;
            }
        }
    }

    & .timeline-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 10px;
        right: 30px;
        background: rgba(187, 99, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.7);
        padding: 0.7em;
        border-radius: 100%;
        color: #ffffff;
        cursor: pointer;
        transition: background 0.15s ease, scale 0.4s ease, border-color 0.2s ease;
        box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.5);

        &:active {
            background: rgba(145, 26, 236, 0.802);
            scale: 0.85;
        }

        &:hover {
            border-color: #c084fc;
        }
    }
}




/* #endregion */

/* #region MEDIA QUERIES */
@media screen and (max-width: 660px) {

    body {
        background: radial-gradient(circle at top, rgb(26, 23, 37), rgb(52, 37, 105));
    }

    body.timeline {
        & main {

            & #timelineLoader {
                min-width: 90vw;
            }

            & #timelineContainer {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: stretch;

                & .timeline-last-updated {
                    font-size: 0.7em;
                    font-weight: 100;
                    max-width: 60ch;
                }

                & article {
                    padding: 0;

                    & .timeline-icon {
                        font-size: 1em;
                    }

                    & p {
                        padding-inline: 0.9em;
                        font-size: 1.1em;
                        text-wrap: balance;
                        text-align: start;

                        &+p {
                            font-size: 0.95em;
                            line-height: 1.6;
                            text-align: center;
                        }
                    }

                    & h3 {
                        text-align: center;
                    }

                    & h4 {
                        text-align: center;
                    }

                    & img {
                        max-width: 90%;
                    }
                }
            }
        }

        & .timeline-arrow {
            bottom: 40px;
            z-index: 10000;
        }
    }
}

/* #endregion */