:root {
    --primary: #EEAB00;
    --secondary: #8E194E;
    --tertiary: rgba(238, 171, 0, 0.05);
    --quaternary: rgba(142, 25, 78, 0.05);
    --locked-gray: #696969;

    --font-family-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-weight-thin: 100;
    --font-weight-xlight: 200;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --font-weight-ultra: 950;
}


body, body * {
    font-family: var(--font-family-base), sans-serif;
    font-style: normal;
    font-weight: var(--font-weight-regular);
}

body {
    height: 100%;
    overflow-x: hidden;
    padding-right: 0 !important;
}

.page {
    min-height: 70%;
    z-index: 1;
    position: relative;
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    color: white;
}

.d-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* ========================================
   FONDO DE VIDEO
   ======================================== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url('../../img/general/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -100;
}

.background-video {
    position: absolute;
    right: 5%;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

#mobile-video {
    display: none;
}

#desktop-video {
    display: block;
}

.btn-close-modal {
    background-color: var(--secondary);
    border-radius: 8px;
    border: 2px solid var(--secondary);
    text-transform: none !important;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    color: var(--secondary);
    border: 2px solid var(--secondary);
    background: transparent;
}

/* Modales */
.modal-title, .modal h5 {
    color: var(--secondary);
}

.modal .caption {
    font-size: 12px;
    text-align: justify;
    color: var(--mdb-modal-color) !important;
}

.modal p strong {
    font-weight: var(--font-weight-bold) !important;
}

/* Dropdown personalizado */
.dropdown-toggle::after {
    display: none !important;
}

/* ========================================
   SCROLLBAR PERSONALIZADA
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary);
    opacity: 0.8;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}

@media (max-width: 1600px) {
    .background-video {
        left: -7%;
    }
}

/* Desktop Large (1400px) */
@media (max-width: 1400px) {
    .background-video {
        left: -10%;
    }
}

/* Desktop Medium (1200px) */
@media (max-width: 1200px) {
    .content {
        padding: 15px;
    }
}

/* Tablet (991px) */
@media (max-width: 991px) {
    .background-video {
        left: -40%;
    }

    .content {
        padding: 12px;
    }

    .page {
        min-height: 73%;
    }
}

@media (max-width: 767px) {
    .page {
        align-items: start !important;
    }
}

/* Mobile (557px) */
@media (max-width: 557px) {
    #desktop-video {
        display: none;
    }

    #mobile-video {
        display: block;
    }

    .video-container {
        background-image: url('../../img/general/bg_mobile.jpg');
    }

    .background-video {
        top: -18%;
        left: 0;
    }

    .content {
        padding: 10px;
    }

    .page {
        min-height: 75%;
    }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    .page {
        min-height: 77%;
    }
}

.mt-custom {
    margin-top: 2rem;
}

.mb-custom {
    margin-bottom: 2rem;
}

.pt-custom {
    padding-top: 2rem;
}

.pb-custom {
    padding-bottom: 2rem;
}

/* Clases de texto */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

.bg-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.bg-overlay-light {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}