/* ===== CABALLO DE SILICIO TRANSFORMADO - DISEÑO TECNOLÓGICO ===== */

/* Variables del Caballo de Silicio */
:root {
    --caballo-primary: #C70039;
    --caballo-secondary: #900C3F;
    --caballo-accent: #FF6B9D;
    --caballo-dark: #1A1A2E;
    --caballo-light: #F8F9FA;
    --caballo-glow: #C70039;
    --caballo-gradient: linear-gradient(135deg, #C70039, #FF6B9D);
    --caballo-shadow: 0 20px 40px rgba(199, 0, 57, 0.3);
    --caballo-border: 2px solid rgba(199, 0, 57, 0.3);
}

/* ===== SECCIÓN CABALLO TRANSFORMADA ===== */
.caballo-silicio {
    position: relative;
    padding: 8rem 0;
    background: var(--caballo-dark);
    overflow: hidden;
}

/* ===== TÍTULO PRINCIPAL TRANSFORMADO ===== */
.caballo-main-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--caballo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(199, 0, 57, 0.6);
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.caballo-main-title .title-gradient {
    background: linear-gradient(135deg, var(--caballo-primary), var(--caballo-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(199, 0, 57, 0.8));
}

.caballo-main-subtitle {
    font-size: 1.8rem;
    color: var(--caballo-light);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.caballo-main-subtitle .subtitle-accent {
    color: var(--caballo-accent);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.6);
    animation: subtitleGlow 4s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
    0% { 
        filter: drop-shadow(0 0 15px rgba(255, 107, 157, 0.4));
        text-shadow: 0 0 20px rgba(255, 107, 157, 0.6);
    }
    100% { 
        filter: drop-shadow(0 0 25px rgba(255, 107, 157, 0.8));
        text-shadow: 0 0 30px rgba(255, 107, 157, 0.9);
    }
}

/* Fondo Tecnológico */
.caballo-silicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(199, 0, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(199, 0, 57, 0.05) 50%, transparent 70%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-10px); }
    50% { transform: translateX(10px) translateY(10px); }
    75% { transform: translateX(-5px) translateY(5px); }
}

/* Grid de Fondo */
.caballo-silicio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(199, 0, 57, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(199, 0, 57, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Contenedor Principal */
.caballo-content {
    position: relative;
    z-index: 2;
}

/* ===== HERO TRANSFORMADO ===== */
.caballo-hero {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 2rem;
    background: rgba(199, 0, 57, 0.05);
    border: var(--caballo-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.caballo-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(199, 0, 57, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.caballo-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.caballo-hero-text {
    text-align: left;
}

.caballo-hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin-bottom: 3rem;
}

.highlight-text {
    font-size: 1.3rem;
    color: var(--caballo-light);
    font-weight: 500;
    padding: 1rem 2rem;
    background: rgba(199, 0, 57, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(199, 0, 57, 0.3);
    backdrop-filter: blur(10px);
}

.highlight-reason {
    font-size: 1.1rem;
    color: var(--caballo-accent);
    font-style: italic;
    padding: 1rem 2rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.3);
    backdrop-filter: blur(10px);
}

/* ===== FEATURES TAGS ===== */
.caballo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(199, 0, 57, 0.1);
    border: 2px solid rgba(199, 0, 57, 0.3);
    border-radius: 30px;
    color: var(--caballo-light);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
}

.feature-tag:hover {
    background: rgba(199, 0, 57, 0.2);
    border-color: var(--caballo-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(199, 0, 57, 0.3);
}

.feature-tag i {
    color: var(--caballo-accent);
    font-size: 1.2rem;
}

/* ===== ESTADÍSTICAS FLOTANTES ===== */
.caballo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    position: relative;
    padding: 2rem;
    background: rgba(199, 0, 57, 0.1);
    border: var(--caballo-border);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: -2s;
}

.stat-item:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--caballo-shadow);
    border-color: var(--caballo-primary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--caballo-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(199, 0, 57, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: var(--caballo-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===== GRID DE REVISTAS TRANSFORMADO ===== */
.revistas-container {
    margin-top: 4rem;
}

.revistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.revista-item {
    background: rgba(199, 0, 57, 0.05);
    border: var(--caballo-border);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.revista-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--caballo-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.revista-item:hover::before {
    opacity: 0.1;
}

.revista-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--caballo-shadow);
    border-color: var(--caballo-primary);
}

.revista-item h3 {
    position: relative;
    z-index: 2;
    color: var(--caballo-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.portada-revista {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 1;
}

.portada-revista:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(199, 0, 57, 0.4);
}

.portada-revista.activa {
    border: 3px solid var(--caballo-primary);
    box-shadow: 0 10px 30px rgba(199, 0, 57, 0.3);
}

/* Indicador de click eliminado - ya no se necesita */

.btn-revista {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: var(--caballo-gradient);
    color: var(--caballo-light);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(199, 0, 57, 0.3);
}

.btn-revista:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(199, 0, 57, 0.5);
}

/* ===== PAGINACIÓN TRANSFORMADA ===== */
.pagination-container {
    background: rgba(199, 0, 57, 0.05);
    border: var(--caballo-border);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(15px);
}

.pagination-info {
    text-align: center;
    margin-bottom: 2rem;
}

.pagination-info span {
    color: var(--caballo-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--caballo-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(199, 0, 57, 0.3);
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(199, 0, 57, 0.5);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    background: rgba(199, 0, 57, 0.1);
    color: var(--caballo-light);
    border: 1px solid rgba(199, 0, 57, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-number:hover,
.page-number.active {
    background: var(--caballo-gradient);
    color: white;
    border-color: var(--caballo-primary);
    transform: scale(1.1);
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 768px) {
    .caballo-silicio {
        padding: 3rem 0;
        margin: 0;
    }
    
    .caballo-main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .caballo-main-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .caballo-hero {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .caballo-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .caballo-hero-text {
        text-align: center;
    }
    
    .caballo-features {
        justify-content: center;
    }
    
    .caballo-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .revistas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .revista-item {
        padding: 1.5rem;
    }
    
    .pagination-container {
        padding: 2rem 1rem;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .caballo-silicio {
        padding: 2rem 0;
        margin: 0;
    }
    
    .caballo-main-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .caballo-main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .caballo-hero {
        padding: 1.5rem 0.75rem;
        margin-bottom: 2rem;
    }
    
    .caballo-hero-content {
        gap: 1.5rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .highlight-reason {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .feature-tag {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .caballo-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .revistas-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .revista-item {
        padding: 1rem;
    }
    
    .revista-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .pagination-container {
        padding: 1.5rem 0.75rem;
    }
    
    .pagination-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== KEYFRAMES ADICIONALES ===== */
@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(199, 0, 57, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(199, 0, 57, 0.6)); }
}

/* ===== NUEVOS MODALES ELEGANTES PARA REVISTAS ===== */

/* Modal de Portada */
.modal-portada-revista {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-portada-revista.active {
    opacity: 1;
    visibility: visible;
}

.modal-portada-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-portada-container {
    position: relative;
    width: 45vw;
    height: 90vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--caballo-primary);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(199, 0, 57, 0.5);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-portada-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--caballo-primary), var(--caballo-secondary));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-portada-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.modal-portada-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-portada-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-portada-content {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-portada-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.modal-portada-image:hover {
    transform: scale(1.02);
}

/* Modal de Índice */
.modal-indice-revista {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-indice-revista.active {
    opacity: 1;
    visibility: visible;
}

.modal-indice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-indice-container {
    position: relative;
    width: 45vw;
    height: 90vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--caballo-primary);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(199, 0, 57, 0.5);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-indice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--caballo-primary), var(--caballo-secondary));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-indice-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.modal-indice-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-indice-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-indice-content {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-indice-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.modal-indice-image:hover {
    transform: scale(1.02);
}

/* ===== NUEVOS BOTONES DE REVISTA ===== */
.revista-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-temas {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.btn-temas:hover {
    background: linear-gradient(135deg, #5a6268, #3d4043);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.btn-comprar {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #20c55a, #0f7a6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== CONTENEDOR DE IMAGEN MEJORADO ===== */
.revista-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.portada-revista {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portada-revista:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== SECCIÓN DE PRECIOS ===== */
.caballo-pricing {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(199, 0, 57, 0.1) 0%, rgba(255, 23, 68, 0.1) 100%);
    border: 2px solid rgba(199, 0, 57, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.caballo-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(199, 0, 57, 0.05) 50%, transparent 70%);
    animation: pricing-shine 4s ease-in-out infinite;
}

.pricing-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.pricing-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--caballo-primary);
}

.pricing-title i {
    font-size: 1.2rem;
    color: var(--caballo-accent);
}

.pricing-amounts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(199, 0, 57, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.price-item:hover {
    transform: translateY(-3px);
    border-color: var(--caballo-primary);
    box-shadow: 0 10px 25px rgba(199, 0, 57, 0.3);
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--caballo-gold);
}

.price-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--caballo-primary);
    text-shadow: 0 0 20px rgba(199, 0, 57, 0.5);
    line-height: 1;
}

.price-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-separator {
    font-size: 1rem;
    font-weight: 600;
    color: var(--caballo-accent);
    padding: 0.5rem;
    background: rgba(199, 0, 57, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(199, 0, 57, 0.1);
    border: 1px solid rgba(199, 0, 57, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.pricing-note i {
    color: var(--caballo-accent);
    font-size: 1rem;
}

/* Animación para el brillo del precio */
@keyframes pricing-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== RESPONSIVE PARA MODALES ===== */
@media (max-width: 768px) {
    .modal-portada-container,
    .modal-indice-container {
        max-width: 95vw;
        max-height: 95vh;
        margin: 5px;
    }
    
    .modal-portada-header,
    .modal-indice-header {
        padding: 15px 20px;
        flex-shrink: 0;
    }
    
    .modal-portada-title,
    .modal-indice-title {
        font-size: 1.1rem;
    }
    
    .modal-portada-content,
    .modal-indice-content {
        padding: 10px;
        flex: 1;
        min-height: 0;
    }
    
    .modal-portada-image,
    .modal-indice-image {
        width: 100%;
        height: auto;
        max-width: none;
    }
    
    .revista-buttons {
        flex-direction: column;
    }
    
    .btn-temas,
    .btn-comprar {
        flex: none;
    }
    
    /* Responsive para precios */
    .caballo-pricing {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .pricing-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .pricing-amounts {
        gap: 1rem;
    }
    
    .price-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .price-currency {
        font-size: 1rem;
    }
    
    .price-label {
        font-size: 0.7rem;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }
    
    .price-separator {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .pricing-note {
        margin-top: 0.8rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .pricing-note i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-portada-container,
    .modal-indice-container {
        max-width: 98vw;
        max-height: 98vh;
        margin: 2px;
    }
    
    .modal-portada-header,
    .modal-indice-header {
        padding: 10px 15px;
        flex-shrink: 0;
    }
    
    .modal-portada-title,
    .modal-indice-title {
        font-size: 0.9rem;
    }
    
    .modal-portada-content,
    .modal-indice-content {
        padding: 5px;
        flex: 1;
        min-height: 0;
    }
    
    .modal-portada-image,
    .modal-indice-image {
        width: 100%;
        height: auto;
        max-width: none;
    }
    
    /* Responsive para precios en móviles pequeños */
    .caballo-pricing {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .pricing-title {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .pricing-amounts {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .price-item {
        min-width: 90px;
        padding: 0.6rem;
    }
    
    .price-value {
        font-size: 1.3rem;
    }
    
    .price-currency {
        font-size: 0.9rem;
    }
    
    .price-label {
        font-size: 0.65rem;
        line-height: 1.3;
        text-align: center;
        white-space: nowrap;
    }
    
    .price-separator {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .pricing-note {
        margin-top: 0.6rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .pricing-note i {
        font-size: 0.8rem;
    }
}
