body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-primary {
    border-radius: 2rem;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(to right, #ff4b2b, #ff416c);
}

.card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-body {
    padding: 1rem 1.25rem;
}

.card-title {
    font-weight: 600;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    object-position: top;
}

h2, h3 {
    font-weight: 600;
}

footer {
    font-size: 0.85rem;
}

.story-albums {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.story-albums::-webkit-scrollbar {
    display: none;
}

.album-circle {
    width: 100px;
    flex-shrink: 0;
}

.album-circle img {
    width: 71px;
    height: 71px;
    margin-top: 11px;
    object-fit: contain;
}

.album-label {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Estilos para navegación en Magnific Popup */
.mfp-arrow {
    position: absolute;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    opacity: 0.65;
    cursor: pointer;
    background: none;
    border: 0;
    outline: none;
    transition: opacity 0.2s;
}

.mfp-arrow:hover {
    opacity: 1;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    border-right-width: 21px;
    border-left-width: 0;
    border-right-color: #fff;
}

.mfp-arrow-left:before {
    margin-left: 31px;
}

.mfp-arrow-right:before {
    border-right-width: 0;
    border-left-width: 21px;
    border-left-color: #fff;
    margin-left: 39px;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 0 8px;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.mfp-title {
    color: #fff;
    line-height: 1.4;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
}

/* Animación zoom para imágenes */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Mejora para dispositivos móviles */
@media screen and (max-width: 800px) {
    .mfp-arrow {
        width: 60px;
    }
    
    .mfp-arrow:before {
        border-top-width: 15px;
        border-bottom-width: 15px;
        border-right-width: 15px;
    }
    
    .mfp-arrow-left:before {
        margin-left: 20px;
    }
    
    .mfp-arrow-right:before {
        border-left-width: 15px;
        margin-left: 25px;
    }
}

/* Prevenir scroll cuando la galería está abierta */
body.mfp-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}
