/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@font-face {
    font-family: 'Bilanidin2025';
    src: url('/fonts/Bilanidin2025.woff2') format('woff2'), url('/fonts/Bilanidin2025.woff') format('woff'), url('/fonts/Bilanidin2025.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BilanidineHex';
    src: url('/fonts/eHex.woff2') format('woff2'), url('/fonts/eHex.woff') format('woff'), url('/fonts/eHex.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-default: 'Manrope', sans-serif;
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-bilanidin: 'Bilanidin2025', sans-serif;
    --font-eHex: 'BilanidineHex', sans-serif;
}

:root {
    --color-default: #cccccc;
    --color-primary: #f92222;
    --color-secondary: #f9b3b3;
    --color-bg-default: #2a2a2a;
    --color-alt: #222222;
}

:root {
    scroll-behavior: smooth;
}

:root {
    --header-offset: 70px;
}

html, body {
    margin: 0;
}

html {
    --swiper-navigation-color: #f9b3b3;
    --swiper-pagination-color: #f9b3b3;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-default);
    color: var(--color-default);
    background-color: var(--color-bg-default);
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra el contenido verticalmente si es bajo */
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

    a:hover {
        color: #f85a40;
        text-decoration: none;
    }

    a.disabled {
        color: rgb(60, 100, 100, 0.8);
        pointer-events: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

.text-justify {
    text-align: justify !important;
}

/*--------------------------------------------------------------
# Bilanidin language
--------------------------------------------------------------*/
.bilanidin,
.bilanidin-ignore {
    font-family: var(--font-bilanidin);
}

.bilanidin {
    letter-spacing: -0.5rem;
    display: inline-block;
    cursor: pointer;
}

.eHex {
    font-family: var(--font-eHex);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
    padding: 30px 0;
    overflow: hidden;
}

.parallax {
    background-image: url('/img/starfield.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.fullscreen {
    min-height: 100vh;
    align-items: center;
    position: relative;
}

    .fullscreen:not(.parallax) {
        display: flex;
    }

section .card {
    text-shadow: none;
}

.sections-bg {
    background-color: #f6f6f6;
}

.section-header {
    text-align: center;
    padding-bottom: 60px;
}

    .section-header h2 {
        font-size: 3.2rem;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

    .section-header p {
        margin-bottom: 0;
        color: #6f6f6f;
    }

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.card-wrapper {
}

    .card-wrapper.section-left,
    .card-wrapper.section-right {
        margin-top: 40px;
    }

    .card-wrapper .card {
        background-color: #000;
        background-size: 100% auto;
        background-position: bottom;
        background-repeat: no-repeat;
        min-height: 250px;
        position: relative;
    }

        .card-wrapper .card h2,
        .card-wrapper .card h3 {
            color: #F00;
            /*text-shadow: 0 0 8px #F9B3B3, 0 0 20px #D22D2D;*/
        }

        .card-wrapper .card p {
            color: #F9B3B3;
            /*text-shadow: 0 0 8px #F9B3B3, 0 0 20px #D22D2D;*/
        }

        .card-wrapper .card .card-placeholder {
            width: 100%;
            aspect-ratio: 2 / 1;
            background: transparent;
            pointer-events: none;
        }

    .card-wrapper > a {
        display: block;
        border-radius: 1rem;
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

        .card-wrapper > a:hover {
            box-shadow: rgb(249, 179, 179) 0px 0px 6px, rgb(249, 179, 179) 0px 0px 12px, rgb(230, 90, 90) 0px 0px 24px, rgb(210, 45, 45) 0px 0px 48px;
            transform: translateY(-4px);
        }

@media screen and (max-width: 768px) {
    .section-header {
        padding-bottom: 0;
    }

    .card-wrapper .card .card-placeholder {
        visibility: collapse;
        height: 0px !important;
    }

    .card-wrapper.section-left,
    .card-wrapper.section-right {
        margin: 0.5rem;
    }

    .card-wrapper .card {
        background-color: #333 !important;
        background-blend-mode: overlay;
        align-items: center;
        min-height: 200px;
        background-image: none !important;
    }

        .card-wrapper .card.p-4 {
            padding: 0.5rem !important;
        }

        .card-wrapper .card.p-5 {
            padding: 0.6rem !important;
        }

        .card-wrapper .card h2,
        .card-wrapper .card h3 {
            margin-top: 1rem;
        }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: transparent;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
    text-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    box-shadow: inset 0 0 3px #F9B3B3, 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
}

    .scroll-top i {
        font-size: 24px;
        color: #f00;
        line-height: 0;
    }

    .scroll-top:hover {
        box-shadow: inset 0 0 10px #F9B3B3, 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
        text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
        color: #f00;
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# Scroll next button
--------------------------------------------------------------*/
.scroll-next {
    position: fixed;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 4px !important;
    z-index: 3 !important;
    bottom: 48px;
    width: 48px;
    height: 48px;
    border: 2px solid #f00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: pulse 2s infinite;
    box-shadow: inset 0 0 3px #F9B3B3, 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    background-color: transparent;
}

    .scroll-next span {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
        animation: bounce 1.5s infinite;
        box-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    }

    .scroll-next:hover {
        box-shadow: inset 0 0 10px #F9B3B3, 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/*@media screen and (max-width: 768px) {
    .scroll-next {
        visibility: collapse;
    }
}*/

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #333;
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 18px solid #fff;
        border-color: var(--color-primary) transparent var(--color-primary) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        -webkit-animation: animate-preloader 1.5s linear infinite;
        animation: animate-preloader 1.5s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Swiper
--------------------------------------------------------------*/
.swiper-slide img.object-fit-cover {
    pointer-events: none;
}

.swiper-button-next,
.swiper-button-prev {
    text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        text-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    }

.swiper-pagination span:hover {
    box-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
    height: 90px;
    background-color: #000;
}

    .header.sticked {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 80px;
        box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    }

    .header .logo img {
        transition: all 0.5s;
        max-height: 40px;
        margin-right: 6px;
    }

    .header .logo h1 {
        transition: all 0.5s;
        font-size: 24px;
        margin: 0;
        font-weight: 600;
        letter-spacing: 0.8px;
        color: #f00;
        font-family: var(--font-primary);
        font-weight: 500;
        font-style: normal;
    }

        .header .logo h1 span {
            color: #f96f59;
        }

    .header.transparent {
        background-color: transparent !important;
        border-bottom: none !important;
    }

        .header.transparent .logo h1 {
            color: #fff;
            text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
        }

.sticked-header-offset {
    margin-top: var(--header-offset);
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
.navbar .dropdown-divider {
    height: 1px;
    margin: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none !important;
    user-select: none !important;
}

@media (min-width: 1280px) {
    .navbar {
        padding: 0;
    }

        .navbar ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navbar li {
            position: relative;
        }

        .navbar > ul > li {
            white-space: nowrap;
            padding: 10px 0 10px 28px;
        }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 3px;
            font-family: var(--font-secondary);
            font-size: 16px;
            font-weight: 400;
            color: #fff;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

        .navbar > ul > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -6px;
            left: 0;
            background-color: #f00;
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }

        .navbar a:hover:before,
        .navbar li:hover > a:before,
        .navbar .active:before {
            visibility: visible;
            width: 100%;
        }

        .navbar a:hover:before,
        .navbar li:hover > a:before {
            box-shadow: none;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: #fff;
        }

        .navbar a:hover,
        .navbar li:hover > a {
            text-shadow: none;
        }

        .navbar .dropdown ul {
            display: block;
            position: absolute;
            left: 28px;
            top: calc(100% + 30px);
            margin: 0;
            margin-top: 17px;
            padding: 10px 0;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            background: #000;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
            transition: 0.3s;
            border-radius: 0px;
        }

            .navbar .dropdown ul li {
                min-width: 200px;
            }

            .navbar .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                font-weight: 400;
                color: #ffffff;
            }

                .navbar .dropdown ul a i {
                    font-size: 12px;
                }

                .navbar .dropdown ul a:hover,
                .navbar .dropdown ul .active:hover,
                .navbar .dropdown ul li:hover > a {
                    color: #ffffff;
                    border-left: 5px solid red;
                }

        .navbar .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navbar .dropdown .dropdown ul {
            top: 0;
            left: calc(100% - 30px);
            visibility: hidden;
        }

        .navbar .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: 100%;
            visibility: visible;
        }

    .header.transparent .navbar a,
    .header.transparent .navbar a:focus {
        color: rgba(255, 255, 255, 0.6);
    }

    .header.transparent .navbar > ul > li > a:before {
        background-color: #fff;
    }

    .header.transparent .navbar a:hover:before,
    .header.transparent .navbar li:hover > a:before,
    .header.transparent .navbar .active:before {
        visibility: visible;
        width: 100%;
    }

    .header.transparent .navbar a:hover:before,
    .header.transparent .navbar li:hover > a:before {
        box-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    }

    .header.transparent .navbar a:hover,
    .header.transparent .navbar .active,
    .header.transparent .navbar .active:focus,
    .header.transparent .navbar li:hover > a {
        color: #fff;
    }

    .header.transparent .navbar a:hover,
    .header.transparent .navbar li:hover > a {
        text-shadow: 0 0 2px #F9B3B3, 0 0 4px #F9B3B3, 0 0 6px #E65A5A, 0 0 8px #D22D2D;
    }
}

@media (min-width: 1280px) and (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

@media (min-width: 1280px) {

    .mobile-nav-show,
    .mobile-nav-hide {
        display: none;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        bottom: 0;
        transition: 0.3s;
        z-index: 9997;
    }

        .navbar ul {
            position: absolute;
            inset: 0;
            padding: 50px 20px 10px 0;
            margin: 0;
            background: #000;
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
            border-left: 5px solid red;
        }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            font-family: var(--font-primary);
            font-size: 15px;
            font-weight: 600;
            color: rgb(255 255 255);
            white-space: nowrap;
            transition: 0.3s;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

            .navbar a:hover,
            .navbar .active,
            .navbar .active:focus,
            .navbar li:hover > a {
                color: #f00;
            }

        .navbar .getstarted,
        .navbar .getstarted:focus {
            background: var(--color-primary);
            padding: 8px 20px;
            border-radius: 4px;
            margin: 15px;
            color: #fff;
        }

            .navbar .getstarted:hover,
            .navbar .getstarted:focus:hover {
                color: #f00;
                background: rgba(0, 131, 116, 0.8);
            }

        .navbar .dropdown ul,
        .navbar .dropdown .dropdown ul {
            position: static;
            display: none;
            padding: 10px 0;
            margin: 10px 20px;
            transition: all 0.5s ease-in-out;
            background-color: #000;
            border: none;
        }

        .navbar .dropdown > .dropdown-active,
        .navbar .dropdown .dropdown > .dropdown-active {
            display: block;
        }

    .mobile-nav-show {
        color: rgba(255, 255, 255, 0.6);
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
        margin-right: 10px;
    }

    .mobile-nav-hide {
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 9999;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .navbar {
            right: 0;
        }

            .mobile-nav-active .navbar:before {
                content: "";
                position: fixed;
                inset: 0;
                background: rgb(0 0 0 / 80%);
                z-index: 9996;
            }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer a {
    text-decoration: none;
    font-weight: 500;
}

    footer a:hover {
        color: #fff;
        text-decoration: underline;
    }

.site-footer {
    border-top: 5px solid red;
}

.footer-social a {
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-social a:hover {
        color: #fff;
        text-shadow: 0 0 3px #F9B3B3, 0 0 6px #F9B3B3, 0 0 8px #E65A5A, 0 0 12px #D22D2D;
    }

.footer-disclaimer p {
    margin-bottom: 0px;
    font-size: small;
}

footer address {
    line-height: 1.4;
    color: #ccc;
}

/*--------------------------------------------------------------
# Common Effects
--------------------------------------------------------------*/
/*** Glass Blur ***/
.glass-blur {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .glass-blur.card {
        background-color: rgba(33, 33, 33, 0.25);
    }

@media screen and (max-width: 768px) {
    .glass-blur.card {
        background-color: rgba(255, 255, 255, 0.05) !important;
        background-blend-mode: initial;
    }
}

/*** Button Glow ***/
.btn-glow {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(255, 0, 0, 0.2);
    --bs-btn-border-color: rgba(255, 0, 0, 0.6);
    --bs-btn-hover-bg: rgba(255, 51, 51, 0.8);
    --bs-btn-hover-border-color: rgba(255, 51, 51, 0.9);
    --bs-btn-focus-shadow-rgb: 255, 51, 51;
    --bs-btn-active-bg: rgba(200, 0, 0, 0.8);
    --bs-btn-active-border-color: rgba(200, 0, 0, 1);
    --bs-gradient: linear-gradient(135deg, rgba(255,0,0,0.15), rgba(128,0,0,0.25));
    color: var(--bs-btn-color);
    background: var(--bs-gradient);
    border: 1px solid var(--bs-btn-border-color);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3), 0 0 10px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

    .btn-glow:hover {
        background: linear-gradient(135deg, rgba(255, 51, 51, 0.8), rgba(200, 0, 0, 0.6));
        border-color: var(--bs-btn-hover-border-color);
        box-shadow: 0 0 8px #F9B3B3, 0 0 16px #E65A5A, 0 0 32px #D22D2D;
    }

/*** Button Outline Glow ***/
.btn-outline-glow {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 255, 51, 51;
    box-shadow: inset 0 0 3px rgba(255, 0, 0, 0.4), 0 0 4px rgba(255, 0, 0, 0.5), 0 0 8px rgba(200, 0, 0, 0.3);
    transition: box-shadow 0.2s ease-in-out;
}

    .btn-outline-glow:hover {
        box-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
    }

/*** Highlights ***/
.highlight {
    animation: btnHighlight 6s ease-in-out infinite;
}

.btn-glow.highlight {
    position: relative;
    overflow: hidden;
}

    .btn-glow.highlight::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, transparent 0%, rgba(255, 128, 128, 0.3) 50%, transparent 100% );
        transform: skewX(-20deg);
        animation: btnGlowHighlightRed 6s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes btnGlowHighlightRed {
    0%, 83% {
        left: -60%;
    }

    92% {
        left: 50%;
    }

    100% {
        left: 120%;
    }
}

/*** CRT Scanlines ***/
.crt-overlay {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .crt-overlay::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 10;
        background: repeating-linear-gradient( to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1) 1px, transparent 2px, transparent 4px );
        animation: crt-scanlines 2s linear infinite;
    }

@keyframes crt-scanlines {
    0% {
        background-position-y: 0;
    }

    100% {
        background-position-y: 4px;
    }
}

/*--------------------------------------------------------------
# Section
--------------------------------------------------------------*/
.section-header-wrapper {
    margin-top: 3rem;
}

/*--------------------------------------------------------------
# Hero section
--------------------------------------------------------------*/
#hero {
    font-display: swap;
    font-weight: 500;
    font-style: normal;
    text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
}

    #hero.sticked-header-offset {
        margin-top: 0;
    }

    #hero h1 {
        font-size: 5.2rem;
    }

    #hero h2.bilanidin {
        font-size: 4.5rem;
    }

    #hero .lead {
        font-size: 1.8rem;
    }

.hero-logo {
    top: 38% !important;
}

    .hero-logo img {
        max-width: 640px;
    }

.hero-title .bilanidin {
    padding: 0;
    color: #CC0000;
    text-shadow: 0 0 4px rgba(0,0,0,0.4), 0 0 8px rgba(0,0,0,0.6), 0 0 16px rgba(0,0,0,0.75);
}

@media screen and (max-width: 768px) {
    #hero h1 {
        font-size: 3.2rem;
    }

    #hero h2.bilanidin {
        font-size: 3rem;
        letter-spacing: -0.35rem;
    }

    #hero .lead {
        font-size: 1.8rem;
    }

    .hero-logo {
        top: 20% !important;
    }

        .hero-logo img {
            max-width: 320px;
        }

    .hero-title {
        margin-top: 60px;
    }
}

/*--------------------------------------------------------------
# The Game section
--------------------------------------------------------------*/
.section-traveller {
    font-weight: 500;
    font-style: normal;
    padding-bottom: 0;
}

    .section-traveller h2 {
        text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
    }

    .section-traveller h4 {
        color: #f00;
        border-bottom: 3px solid red;
    }

    .section-traveller .lead {
        font-size: 2.4rem;
        border: none;
    }

    .section-traveller .bilanidin {
        padding: 0;
        color: #CC0000;
        text-shadow: 0 0 4px rgba(0,0,0,0.4), 0 0 8px rgba(0,0,0,0.6), 0 0 16px rgba(0,0,0,0.75);
        letter-spacing: -0.25rem;
    }

    .section-traveller .section-left .card {
        background-image: url("/img/home/corp-landscape.png");
    }

    .section-traveller .section-mid .card {
        background-image: url("/img/home/allegiances.png");
    }

    .section-traveller .section-right .card {
        background-image: url("/img/home/alien-deal.png");
    }

    .section-traveller .anchor-image-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 0;
        pointer-events: none;
        width: auto;
    }

    .section-traveller .community-img {
        max-height: 65vh;
        object-fit: contain;
        margin: 0;
    }

    .section-traveller .community-right {
        margin-left: auto;
        margin-right: 5vw;
        z-index: 1;
        position: relative;
        background-color: rgba(0, 0, 0, 0.35);
        padding: 1.5rem;
        border-left: 3px solid red;
        backdrop-filter: blur(6px);
    }

    /*** Glass Blur ***/
    .section-traveller .glass-blur {
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

@media screen and (max-width: 768px) {
    .section-traveller h1 {
        font-size: 2.8rem;
    }

    .section-traveller .lead {
        font-size: 2.0rem;
    }

    .section-traveller .anchor-image-wrapper {
        position: static;
        z-index: auto;
        pointer-events: auto;
    }

    .section-traveller .community-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .section-traveller .community-right {
        margin: 2rem auto 0 auto;
        max-width: 100%;
        border-left: none;
        background-color: transparent;
        backdrop-filter: none;
        padding: 0 2rem;
    }
}

/*--------------------------------------------------------------
# The Game section
--------------------------------------------------------------*/
.section-the-game {
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    text-shadow: 0 0 10px #F9B3B3, 0 0 20px #F9B3B3, 0 0 40px #E65A5A, 0 0 80px #D22D2D;
}

    .section-the-game h1 {
        font-size: 5.2rem;
    }

    .section-the-game h2 {
        font-size: 3.2rem;
        margin: 0;
    }

    .section-the-game h3.bilanidin {
        font-size: 3.2rem;
        margin: 0;
    }

    .section-the-game .bilanidin {
        padding: 0;
        color: #CC0000;
        text-shadow: 0 0 4px rgba(0,0,0,0.4), 0 0 8px rgba(0,0,0,0.6), 0 0 16px rgba(0,0,0,0.75);
        letter-spacing: -0.25rem;
    }

    .section-the-game .lead {
        font-size: 1.8rem;
    }

    /*.section-the-game .swiper-slide .container {
        }*/

    /*.section-the-game .slide-0 {
        }*/

    /*.section-the-game .slide-0 h2 {
        }*/

    /*.section-the-game .slide-0 .section-left .card {
        background-image: url("/img/home/corp-landscape.png");
        }*/

    /*.section-the-game .slide-0 .section-mid .card {
        background-image: url("/img/home/allegiances.png");
        }*/

    /*.section-the-game .slide-0 .section-right .card {
        background-image: url("/img/home/alien-deal.png");
        }*/

    /*.section-the-game .slide-1 {
        }*/

    /*.section-the-game .slide-1 h2 {
        }*/

    .section-the-game .slide-1 .section-left .card {
        background-image: url("/img/home/important-world.png");
    }

    .section-the-game .slide-1 .section-right .card {
        background-image: url("/img/home/non-important-world.png");
    }

    /*.section-the-game .slide-2 {
        }*/

    /*.section-the-game .slide-2 h2 {
        }*/

    .section-the-game .slide-2 .section-left .card {
        background-image: url("/img/work-in-progress_sq512.png");
    }

    /*.section-the-game .slide-2 .section-mid .card {
        background-image: url("/img/home/allegiances.png");
        }*/

    .section-the-game .slide-2 .section-right .card {
        background-image: url("/img/work-in-progress_sq512.png");
    }

    /*.section-the-game .slide-3 {
        }*/

    /*.section-the-game .slide-3 h2 {
        }*/

    .section-the-game .slide-3 .section-left .card {
        background-image: url("/img/work-in-progress_sq512.png");
    }

    .section-the-game .slide-3 .section-mid .card {
        background-image: url("/img/work-in-progress_sq512.png");
    }

    .section-the-game .slide-3 .section-right .card {
        background-image: url("/img/work-in-progress_sq512.png");
    }


@media screen and (max-width: 768px) {
    .section-the-game h1 {
        font-size: 3.2rem;
    }

    .section-the-game .lead {
        font-size: 1.3rem;
    }

    .section-the-game .card img {
        max-width: 8rem;
    }
}

/*--------------------------------------------------------------
# Call to Action section
--------------------------------------------------------------*/
.call-to-action {
    border-bottom: 5px solid red;
}

    .call-to-action h2 {
        color: #f00;
        text-align: left;
        border-bottom: 5px solid red;
        padding-bottom: 4px;
        margin-bottom: 8px;
    }

    .call-to-action h3 {
        color: #f00;
        text-align: left;
        border-bottom: 3px solid red;
    }

    .call-to-action h4 {
        text-align: right;
    }

    .call-to-action p {
        text-align: right;
        padding-left: 40%;
    }

/*--------------------------------------------------------------
# About section
--------------------------------------------------------------*/
.about-us {
    background-image: url("/img/hexmap.jpg")
}

    .about-us .container {
        background-color: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-us h2 {
        color: #000;
        text-align: left;
        border-bottom: 5px solid #000;
        padding-bottom: 4px;
        margin-bottom: 8px;
    }

    .about-us h3 {
        color: #f00;
        text-align: left;
        border-bottom: 3px solid red;
    }

    .about-us h4 {
        text-align: right;
    }

    .about-us p {
    }

    .about-us .section-header p {
        color: #000;
    }

    .about-us .lead {
        text-align: right;
    }

/*--------------------------------------------------------------
# Branding section
--------------------------------------------------------------*/
.branding {
    margin: 0;
    padding: 20px 0;
}

/*--------------------------------------------------------------
# Article Page
--------------------------------------------------------------*/
.article-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.article {
    position: relative;
    z-index: 0;
    padding: 2rem;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .article h1 {
        color: #f00;
        border-bottom: 5px solid red;
    }

    .article .meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .article .lead {
        color: white;
        text-align: right;
    }

    .article .info {
        color: var(--color-primary);
    }

        .article .info span {
            color: #0f0;
        }

    .article h2,
    .article h3 {
        color: #d00;
    }

    .article p {
        color: #ccc;
    }

    .article strong {
        color: #fff;
    }

/*--------------------------------------------------------------
# Blog Page
--------------------------------------------------------------*/
.blog-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blog,
.blog-post {
    position: relative;
    z-index: 0;
    padding: 2rem;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .blog h1,
    .blog-post h1 {
        color: #ff0000;
        padding-bottom: 5px;
        border-bottom: solid #f00 5px;
    }

    .blog-post h2 {
        color: #ff0000;
    }

    .blog .card-body {
        color: #c9c9c9;
    }

        .blog .card-body .h4 {
            color: #f00;
            border-bottom: solid #f00 2px;
        }

.blog-aside {
    padding: 1rem 0;
}

    .blog-aside .card-title {
        color: #f00;
        border-bottom: solid #f00 2px;
    }

/* Desktop: aside fijo/pegajoso a la derecha, reservando hueco */
@media (min-width: 992px) {
    .blog-aside {
        position: fixed;
        top: 96px; /* ajusta según altura de tu header fijo */
        right: 24px; /* separación del borde */
        width: 320px; /* ancho de la columna */
        z-index: 2;
    }

    /* Deja espacio a la derecha para que no lo tape */
    .blog .container,
    .blog-post .container {
        margin-right: 360px; /* 320 + margen; ajusta a gusto */
    }

    /* Si usas imagen header de ancho completo dentro del post, opcionalmente: */
    .post-header-image {
        background-size: cover;
        background-position: center;
        position: relative;
    }

        .post-header-image .overlay {
            background: rgba(0,0,0,.35);
            width: 100%;
            height: 100%;
        }
}

/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/
.tcw-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.03);
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
    backdrop-filter: blur(2px);
}

    .tcw-newsletter .form-control:focus {
        background-color: rgba(255, 255, 255, 0.06);
        border-color: rgba(179, 247, 249, 0.5);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4), 0 0 4px rgba(179, 247, 249, 0.2);
        outline: none;
    }

    .tcw-newsletter .form-control::placeholder {
        color: #bbb;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Timeline
--------------------------------------------------------------*/

.circle {
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    max-height: 50px;
    z-index: 2;
}

.timeline-section.row {
    display: flex;
}

    .timeline-section.row .col-2 {
        display: inline-flex;
        align-self: stretch;
        align-items: center;
        justify-content: center;
        position: relative;
    }

        .timeline-section.row .col-2::after {
            content: '';
            position: absolute;
            border-left: 3px solid #000;
            z-index: 1;
        }

        .timeline-section.row .col-2.bottom::after {
            height: 50%;
            left: 50%;
            top: 50%;
        }

        .timeline-section.row .col-2.full::after {
            height: 100%;
            left: 50%;
        }

        .timeline-section.row .col-2.top::after {
            height: 50%;
            left: 50%;
            top: 0;
        }

.timeline-section.justify-content-end .col-2.full::after {
    left: calc(50% - 3px);
}


.timeline div {
    padding: 0;
    height: 40px;
}

.timeline hr {
    border-top: 3px solid #000;
    margin: 0;
    top: 17px;
    position: relative;
}

.timeline .col-2 {
    display: flex;
    overflow: hidden;
}

.timeline .corner {
    border: 3px solid #000;
    width: 100%;
    position: relative;
    border-radius: 15px;
}

.timeline .top-right {
    left: 50%;
    top: -50%;
}

.timeline .left-bottom {
    left: -50%;
    top: calc(50% - 3px);
}

.timeline .top-left {
    left: -50%;
    top: -50%;
}

.timeline .right-bottom {
    left: 50%;
    top: calc(50% - 3px);
}

/*--------------------------------------------------------------
# Modal Overlay
--------------------------------------------------------------*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hidden {
    display: none;
}

/*--------------------------------------------------------------
# Clean Layout
--------------------------------------------------------------*/
body.clean-layout {
}

.clean-layout {
}

    .clean-layout .layout-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .clean-layout .layout-content {
        display: flex;
        flex: 1;
    }

    .clean-layout footer {
    }

/*--------------------------------------------------------------
# Error Pages
--------------------------------------------------------------*/
.error-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

    .error-content .accordion {
        cursor: pointer;
        margin-top: 2rem;
        padding: 1rem;
        background-color: rgba(33,33,33,0.8);
        border-radius: 6px;
    }

        .error-content .accordion.strong {
            color: #f00;
        }

    .error-content .accordion-content {
        display: none;
        margin-top: 1rem;
        text-align: left;
    }


    .error-content .accordion.open .accordion-content {
        display: block;
    }

/*--------------------------------------------------------------
# Sophont transtalions
--------------------------------------------------------------*/
.aslan,
.kkree,
.vargr,
.zirusirka,
.zhodani {
    cursor: pointer;
}

.translator-tooltip {
    position: absolute;
    background-color: rgba(10, 10, 10, 0.95);
    color: #ffdddd;
    padding: 6px 12px;
    border-left: 5px solid red;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 9999;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    max-width: 360px;
    max-height: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*--------------------------------------------------------------
# Bilanidin language
--------------------------------------------------------------*/
.bilanidin-tooltip {
    position: absolute;
    background-color: rgba(10, 10, 10, 0.95);
    color: #ffdddd;
    padding: 0;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 9999;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    max-width: 480px;
    max-height: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .bilanidin-tooltip .tooltip-head {
        padding: 6px 12px;
        margin: 0;
        border-left: 5px solid red;
        border-bottom: 2px solid red;
    }

    .bilanidin-tooltip .tooltip-body {
        padding: 6px 12px;
        margin: 0;
        border-left: 2px solid red;
    }

/*--------------------------------------------------------------
# Warning Marquee
--------------------------------------------------------------*/
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background: yellow;
    color: black;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    padding: 0;
    position: relative;
    border-top: 5px dashed black;
    border-bottom: 5px dashed black;
}

.marquee-content {
    display: inline-block;
    padding-left: 0;
    animation: marquee 20s linear infinite;
}

    .marquee-content span {
        margin: 0;
    }

.marquee-item {
    margin: 0;
    margin-right: 3rem;
}

    .marquee-item p {
        margin: 0;
    }


@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #000;
    color: #f33;
    border-top: 1px solid #f33;
    border-bottom: 1px solid #f33;
    padding: .5rem 0;
}

.marquee__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    animation: marquee-scroll var(--marquee-duration, 20s) linear infinite;
    will-change: transform;
}

.marquee__set {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

    /* Items */
    .marquee__set > span {
        flex: 0 0 auto;
    }

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
    }
}
