.info-button {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    background: #f486254d !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
    text-transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    vertical-align: initial !important;
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    transform: scale(1.1) !important;
}

.pop-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(8px);
}

.film-pop-info {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #000 100%);
    z-index: 1000;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
}

@keyframes slideUp {
    from { 
        transform: translateY(100%); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

.pop-content {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 20px;
    height: 100%;
    padding: 25px;
    align-items: center;
}

.pop-poster {
    width: 140px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
}

.pop-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
}

.pop-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pop-trailer {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.pop-trailer iframe {
    width: 100%;
    height: 100%;
    border: none;
    allow: autoplay; encrypted-media;
}

.no-trailer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(45deg, #333, #555);
    color: #ccc;
    font-size: 16px;
    border-radius: 12px;
}

.pop-info {
    display: flex;
    flex-direction: column;
    color: white;
    height: 200px;
    overflow-y: auto;
}
.short:hover .film-quality,
.short:hover .film-version {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

.short:hover .info-button {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.info-button {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}
.pop-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.pop-description {
    font-size: 14px;
    line-height: 1.6;
    color: #d0d0d0;
    text-align: justify;
    flex: 1;
}

.pop-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 107, 53, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-button:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
    .pop-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 15px;
        padding: 20px;
    }
    
    .pop-poster {
        display: none;
    }
    
    .pop-trailer {
        height: 180px;
    }
    
    .pop-title {
        font-size: 18px;
        text-align: center;
    }
    
    .film-pop-info {
        height: 45%;
    }
    
    .pop-info {
        height: auto;
    }
    
    .pop-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .meta-item {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .pop-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
        padding: 15px;
    }
    
    .pop-trailer {
        height: 200px;
        order: 1;
    }
    
    .pop-info {
        order: 2;
        height: auto;
    }
    
    .film-pop-info {
        height: 55%;
    }
    
    .pop-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .pop-description {
        font-size: 12px;
        line-height: 1.4;
        max-height: 80px;
        overflow-y: auto;
    }
    
    .pop-meta {
        margin-top: 10px;
        padding-top: 10px;
        gap: 8px;
    }
} 