:root {
    --apolo-red: #E2000F;
    --apolo-black: #000000;
    --apolo-dark-bg: #0b0d10;
    --apolo-card-bg: #14171f;
    --apolo-border: #222733;
}

/* Sobrescribir los botones danger de Bootstrap */
.btn-danger {
    background-color: var(--apolo-red) !important;
    border-color: var(--apolo-red) !important;
    color: #ffffff !important;
}

/* Efecto Hover para los botones danger */
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #ff1a2b !important;
    border-color: #ff1a2b !important;
    color: #ffffff !important;
}

/* Versión Outline Danger por si la usás en algún lado */
.btn-outline-danger {
    color: var(--apolo-red) !important;
    border-color: var(--apolo-red) !important;
}

.btn-outline-danger:hover {
    background-color: var(--apolo-red) !important;
    border-color: var(--apolo-red) !important;
    color: #ffffff !important;
}

/* Estilos generales y tipografía limpia */
body {
    background-color: var(--apolo-dark-bg);
    color: #e2e8f0;
}

/*SECCIONES*/

/*del banner de promos*/
.apolo-promo-banner {
    background: linear-gradient(90deg, #b3000c 0%, var(--apolo-red) 50%, #b3000c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid #000000;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(226, 0, 15, 0.25);
}

.apolo-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.apolo-marquee-track {
    display: flex;
    width: max-content;
    animation: apoloScrollText 25s linear infinite;
}

.apolo-marquee-track:hover {
    animation-play-state: paused;
    /* Se frena suavemente si el usuario pasa el cursor por encima */
}

.apolo-marquee-item {
    display: flex;
    align-items: center;
    padding-right: 3rem;
}

/* Animación continua de desplazamiento lento tipo tirita */
@keyframes apoloScrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*del banner de promos*/

/*NAV BAR*/
.apolo-topbar {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 1rem;
}

.apolo-topbar .apolo-search {
    max-width: 280px;
}

.navbar .border-top {
    background: rgba(255, 255, 255, 0.15);
}

/* Placeholder color para input oscuro */
.apolo-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}



/* Header elevado corporativo */
.nav-elevated {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(226, 0, 15, 0.15);
    border-bottom: 1px solid var(--apolo-border);
}

/* Hero Section Apolo */
.apolo-hero {
    background: linear-gradient(135deg, #000000 0%, #14171f 100%);
    border-top: 1px solid var(--apolo-border);
    border-bottom: 3px solid var(--apolo-red);
    padding: 70px 0;
}

/* Tarjetas de categorías Apolo */
.apolo-cat-card {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--apolo-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    min-height: 200px;
}

.apolo-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
    transition: opacity 0.3s ease;
}

.apolo-cat-card:hover {
    transform: translateY(-6px);
    border-color: var(--apolo-red);
    box-shadow: 0 12px 30px rgba(226, 0, 15, 0.25);
}

.apolo-cat-card .card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.apolo-cat-title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Botones institucionales */
.btn-apolo-primary {
    background-color: var(--apolo-red);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-apolo-primary:hover {
    background-color: #ff1a2b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(226, 0, 15, 0.4);
}